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

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jun 6 21:10:44 UTC 2019


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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190606/5af2a799/attachment.sig>


More information about the gstreamer-devel mailing list