how do I convert .iso to .mp4 without mounting with ffmpeg

The problem is – I want to convert .iso with dvd to .mp4 (h264/ac3), but I cannot mount it via mount -o loop, because I’m on a virtual machine that doesn’t allow to do that. Googling doesn’t help. For now I’m trying to use mencoder for the task, but it’s hard for me to convert … Read more

Using ffmpeg to encode a raw video to H.264 format

On a Ubuntu 10.04, I am trying to encode a raw video (YUV format) to a H.264 encoded video using below ffmpeg commands: ffmpeg -i input.mp4 output.h264 but I get an error saying Unsupported codec for output stream #0.0 Then when I try this option: ffmpeg -i input.mp4 -formats h264 output.h264 it still does not … Read more

What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I’d like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern H.264 AVC and H.265 HEVC compression algorithms over the DVD-standard MPEG2 I hope to … Read more

What parameters should I be looking at to reduce the size of a .MOV file?

My Canon 60D creates .MOV files when recording video and I’ve found out that the .MOV container has an H264 video stream and a PCM audio stream. I’ve used ffmpeg and GSpot to look at some of my videos, and I see what seem to be pretty high bitrates (22,000kbps for 640×480, 45,000 for 1920×1080). … Read more

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