[FFmpeg-user] raw file to video

Kieran O Leary kieran.o.leary at gmail.com
Sat Oct 15 11:32:26 EEST 2022


Hi,


On Sat, Oct 15, 2022 at 9:06 AM Naveen.B <navins.2006 at gmail.com> wrote:

>
> Which video player have you used to play it back, have you tried another
> like mpv?
> .mp4 and .avi, -mpv I tried but I got an error message.
>

I meant which video player, like VLC etc. MPV is another player, not a
command line flag.
Anyhow  I didn't even know that x264 supported gray, but looks like vlc
supports it. Can you try this:
ffmpeg -pixel_format
gray10be -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v libx264 -pic_fmt
yuv420p -crf 18
raw_video.mp4

Perhaps switching to yuv420p will help with h264 playback compatibility?

Best,

K


More information about the ffmpeg-user mailing list