What bunch of ffmpeg scripts do I need to get HTML5-compatible “Video for everybody”?

What list of commands should I do in ffmpeg/mencoder/some_other_CLI_app to get a video in all the right formats to use Video for Everybody? i.e. Is there a subtlety that prevents there being a mechanical tutorial that says VIDEO=video.mp4 TYPE=$(ffmpeg –find-information-about-the-video … ) ffmpeg … > video.mov ffmpeg … > video.flv ffmpeg … > video.webm ffmpeg … Read more

FFmpeg/avidemux: fix packed B-frames

I’m transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing so, mpeg4 issues the following warning Video uses a non-standard and wasteful way to store B-frames (‘packed B-frames’). Consider using a tool like VirtualDub or … Read more

How can I re-encode H.264 video with minimal quality loss?

I have a lot of MPEG-TS files (.TS container but H.264 video) and playback is fine except that when you skip forward/backward or fast forward it’s very sluggish and gets pixelated, etc. I’ve been trying to do research and I’m guessing that they were encoding with very few reference blocks (ie. it’s a capture from … Read more

Convert AVI (Xvid) to MP4 (H.264) keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output (ffmpeg -i input.avi): FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 28 2012 10:03:40 with gcc 4.4.6 20120305 … Read more