-
.mov (h264) to .flv using ffmpeg
I should first clarify, I’m using iffmpeg which is a skin for ffmpeg, but it works the same…
Anyway, to the problem. I have a video that’s a .mov with an .h264 codec. At about 4400kbs, 1280x720p, 59.97fps and 3:20 in length, it ends up being around 115mb. When I upload said video to Youtube they magically compress it down to 28mb, without much of a loss of quality.
So, I set 28mbs as my target because I’m trying to deliver the video as an .flv for our companies website. The intention being to stream the video from our own flash player. I figure, if YouTube can do it, I can figure it out.
Here’s the problem: I can’t get the .mov over to a .flv without a huge loss in quality. Every time I lower the kbs below 2048 I end up with this weird problem where ever other half second the screen becomes blotchy. Plus, I can’t get it to be nearly as small as the videos I see on YouTube.
What bugs me is this: If I decide to convert it from a .mov to a (smaller) .mov I can actually reach my target. I have converted the video from the settings above to a video that has: 1024kbs, 23.97fps, but everything else is the same. It still looks good, and it’s only 27mb.
What bugs me even more is knowing that .flv can contain a .h264. So, why can’t I use the same settings on my .flv and have it look the same? Heck, when I use the same settings, the file ends up being twice as big and looking much worse!
Any thoughts? Is it .flv that’s the problem? Is it iffmpeg? I wonder if ffmpeg uses .h264 inside of it’s .flvs? If not, is there some simple way to take my lovely .h264 from the .mov that it’s in and just drop it into a .flv? I’m kinda lost at this point…