more questions

James jam at
Sat Apr 24 07:18:39 UTC 2021

Learning but still lots to go.

I have a test pipeline

gst-launch-1.0 -t v4l2src name=source device=/dev/video2 ! \
            video/x-h264,width=1920,height=1080,framerate=30/1 ! \
            h264parse ! queue ! avdec_h264 ! \

I coded that as

        pipeline = gst_parse_launch ("v4l2src name=source ! "
            "video/x-h264,width=1920,height=1080,framerate=30/1 ! "
            "h264parse ! queue ! avdec_h264 ! autovideosink", NULL);

The two do not yield the same result, in particular the gst-launch does feedback 1920x1080 to the card.
The compiled code does not, so the card stays in its native 720x576 resolution.

What and why <>

says -o file, but that option does not exist. How can I find what parse did to make a pipeline

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list