Am Mo., 24. Feb. 2020 um 21:06 Uhr schrieb Totte Karlsson
<[email protected]>:
>
> > You can try the following:
> > $ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt 
> > yuv420p -crf
> > 23 output1...
> > $ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt 
> > yuvj420p -crf
> > 23 output2...
>
> I tried both yuv420p and yuvj420p as suggested, and both results in color 
> flashing distorted videos.

Then please add -pix_fmt gray before "-i".

> > Note that avi is generally not considered a good idea to store h264.
>
> What is a considered good choice for storing h264?

mkv, mov (and friends), mpegts

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to