[FFmpeg-user] Decode H264 and save to yuv file
Paul B Mahol
onemda at gmail.com
Fri Jul 26 22:00:41 CEST 2013
On 7/26/13, edward20 <edward.chopuryan at gmail.com> wrote:
> Hello everyone,
>
> I am new here and I am trying to decode video using ffmpeg c API and save
> as
> yuv file with YUV420P pixel format.
>
> All examples that I have seen they converting extracted frames to RGB or
> PPM
> and then saving them to file.
> But I want to save as YUV. I don't know do I have to convert frames after
> decoding them or maybe after decoding the frames are already YUV frames.
> Any
> help will be appreciated.
Usually videos are in yuv420 and decoder outputs it in yuv420 planar
format. So after decoding there is nothing left to do.
But perhaps you need packed yuv format?
More information about the ffmpeg-user
mailing list