[FFmpeg-user] Raw YUV Conversion
chema at berkeley.edu
Sat Sep 1 02:52:52 EEST 2018
Yeah, that worked.
Thanks a lot!
On Fri, Aug 31, 2018 at 4:37 PM Moritz Barsnick <barsnick at gmx.net> wrote:
> On Fri, Aug 31, 2018 at 16:02:48 -0700, Chema Gonzalez wrote:
> > $ ffmpeg -y -f rawvideo -pixel_format nv12 -s 1280x720 -i in.yuv -f
> > rawvideo -pixel_format yuv420p out.yuv
> > Getting the same file out doesn't seem right to me.
> > Output #0, rawvideo, to 'out.yuv':
> > Metadata:
> > encoder : Lavf56.40.101
> > Stream #0:0, 0, 1/25: Video: rawvideo, 1 reference frame (NV12 / 0x3231564E), nv12, 1280x720, 1/25, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
> Indeed. The issue is that you are trying to use "-pixel_format" as an
> output option, but it is used by ffmpeg for input only. For specifying
> the output format, use "-pix_fmt".
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user