more questions
James
jam at tigger.ws
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 ! \
autovideosink
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
https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html?gi-language=c <https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html?gi-language=c>
says -o file, but that option does not exist. How can I find what parse did to make a pipeline
thanks
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210424/922a593c/attachment.htm>
More information about the gstreamer-devel
mailing list