[FFmpeg-user] H.264 to YUV
Zenny
garbytrash at gmail.com
Wed Nov 4 20:36:07 CET 2015
On 11/4/15, Lou <lou at lrcd.com> wrote:
> On Wed, 4 Nov 2015 02:10:26 -0800 (PST)
> Student_M <theresa.b.baier at student.hs-rm.de> wrote:
>
>> Hi all,
>>
>> I'm trying to extract YUV-Images from H.264 Videos with this Code:
>>
>> ffmpeg -i in.h264 -c:v rawvideo -pix_fmt yuv422p10le -s 1920x1080 -f
>> image2
>> out-%03d.yuv
ffmpeg -i "INPUTFILE.h264" -map 0:0 -map 0:1 -c:v mjpeg -b:v 10000k
-c:a pcm_s16le -b:a 128k "OUTPUTFILE.yuv"
Works for me. Make changes to the pix_fmt as per your need.
>
> Please include the complete console output from your command.
>
>> When I do this I always get Pictures looking like this
>> <http://ffmpeg-users.933282.n4.nabble.com/file/n4672967/Untitled_2.jpg>
>
> Error 404: File not found.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list