I was trying to convert ogv video to avi using ffmpeg. It does convert without any error but the output video seems to be corrupt. Does not matter which format I convert it to, out put is same as shown in screenshot.
ffmpeg command :
ffmpeg -i original.ogv -sameq converted.avi
ffmpeg version : 0.7
ubuntu : 11.10 - 64 bit
Original video screenshot
Converted video screenshot
tl;dr: use Handbrake.
Ha. I had this exact issue with
ffmpeg
yesterday when making an animated gif for this question:I used gtk-recordMyDesktop to record the screen but when I tried to do anything with
ffmpeg
, it just filled up with artefacts. To compound issues, I tried converting with desktop video editing software (I wanted to crop too) and they all just blew up. Probably something to do with the 3840x1200 frame size.I'm sure there's a pure-
ffmpeg
for removing these artefacts but I just installed Handbrake and converted the ogv to a high-quality mp4 file, which I then used inffmpeg
to convert out to my animated gif.Pain in the bum, but it doesn't take long for short clips, and in your case, it might even simplify things.
Two options at least for you.
Install Kazam screencaster which supports outputting of webm format and compatible with uploading to Youtube where .OGV is not without conversion.
Compile a newer ffmpeg from source to convert OGV. A very easy to follow guide is Compile latest FFMPEG and X264.
I had the same problem. Little squares everywhere in converted output from ogv. I tried mencoder and obtained the same result:
until I explicitly gave the -vc theora option:
This time the output was fine.
I also uninstalled ffmpeg 0.7.3, downloaded the latest source from the git repository, compiled and installed it. Now the same ffmpeg command converts ogv videos nicely.
HTH