Using ffmpeg to encode a raw video to H.264 format
Fresh3 days ago
Mar 15, 202698284 viewsConfidence Score0%
0%
Problem
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: but I get an error saying Unsupported codec for output stream #0.0 Then when I try this option: it still does not encode. Now I understood that ffmpeg uses libx264 for encoding to…
Error Output
ffmpeg -i input.mp4 output.h264
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Using ffmpeg to encode a raw video to H.264 format
Low Risk
First of all, those commands you use look syntactically incorrect. In order to have ffmpeg use x264, you need to supply the argument. Now, if you have a raw YUV file, you need to tell ffmpeg which pixel format, which size, etc. is used: Change these…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix