How to choose pixfmt output for video generator

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to choose pixfmt output for video generator

Martin Vignali
Hello,

I would like to use a generator for testing
Some generator, seems to have several pix fmt supported, but can't find the
way to choose one

For example allyuv seems to support yuv444p, gbrp

./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
-loglevel debug
==> Output yuv444p

./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
-loglevel debug
==> Following log, seems to output yuv444p then convert to gbrp

Thanks

Martin
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to choose pixfmt output for video generator

Carl Eugen Hoyos-2
2018-10-09 22:41 GMT+02:00, Martin Vignali <[hidden email]>:

> Hello,
>
> I would like to use a generator for testing
> Some generator, seems to have several pix fmt supported, but can't find the
> way to choose one
>
> For example allyuv seems to support yuv444p, gbrp
>
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
> -loglevel debug
> ==> Output yuv444p
>
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
> -loglevel debug
> ==> Following log, seems to output yuv444p then convert to gbrp

$ ffmpeg -f lavfi -i allyuv=rate=5:duration=1,format=gbrp

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

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to choose pixfmt output for video generator

Martin Vignali
Le mar. 9 oct. 2018 à 22:48, Carl Eugen Hoyos <[hidden email]> a écrit :

> 2018-10-09 22:41 GMT+02:00, Martin Vignali <[hidden email]>:
> > Hello,
> >
> > I would like to use a generator for testing
> > Some generator, seems to have several pix fmt supported, but can't find
> the
> > way to choose one
> >
> > For example allyuv seems to support yuv444p, gbrp
> >
> > ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
> > -loglevel debug
> > ==> Output yuv444p
> >
> > ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
> > -loglevel debug
> > ==> Following log, seems to output yuv444p then convert to gbrp
>
> $ ffmpeg -f lavfi -i allyuv=rate=5:duration=1,format=gbrp
>
>
Thanks

Martin
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to choose pixfmt output for video generator

Paul B Mahol
In reply to this post by Martin Vignali
On 10/9/18, Martin Vignali <[hidden email]> wrote:

> Hello,
>
> I would like to use a generator for testing
> Some generator, seems to have several pix fmt supported, but can't find the
> way to choose one
>
> For example allyuv seems to support yuv444p, gbrp
>
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt yuv444p -f null -
> -loglevel debug
> ==> Output yuv444p
>
> ./ffmpeg -f lavfi -i allyuv=rate=5:duration=1 -pix_fmt gbrp -f null -
> -loglevel debug
> ==> Following log, seems to output yuv444p then convert to gbrp

allyuv supports only yuv444p,

on other hand yuvtestsrc supports more yuv format, for more info consult source.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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