For a specified hieght does Gstreamer pipeline automatically compute width of frame

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

For a specified hieght does Gstreamer pipeline automatically compute width of frame

Raghu Msrp
Hi All.

Just curious to know if only height of the frame is specified in gstreamer pipeline, does gstreamer compute width automatically. My frame size is height 1280, width =720. But If don't specify width =720, will gstreamer know the width will be always 720

gst-launch-1.0 nvcamerasrc sensor-id=0  ! queue !
'video/x-raw(memory:NVMM), height=1280, format=NV12' ! omxh264enc
bitrate=3000000 control-rate=2  ! 'video/x-h264, streamformat=(string)byte-stream' ! h264parse 

Appreciate your help.

Regards
Raghu

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: For a specified hieght does Gstreamer pipeline automatically compute width of frame

Nicolas Dufresne-5
Le jeudi 06 juin 2019 à 12:16 +0530, Raghu Msrp a écrit :
> Hi All.
>
> Just curious to know if only height of the frame is specified in gstreamer pipeline, does gstreamer compute width automatically. My frame size is height 1280, width =720. But If don't specify width =720, will gstreamer know the width will be always 720

It will pick a supported width for the height based on the caps
intersection. This happens at the source, this is often called
"fixate".

>
> gst-launch-1.0 nvcamerasrc sensor-id=0  ! queue !
> 'video/x-raw(memory:NVMM), height=1280, format=NV12' ! omxh264enc
> bitrate=3000000 control-rate=2  ! 'video/x-h264, streamformat=(string)byte-stream' ! h264parse
>
> Appreciate your help.
>
> Regards
> Raghu
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment