uvch264src freezes when using its "vidsrc"
Submitted by Bence Varga
Link to original bug (#758219)
Description
Created attachment 315732
Output of using both sources.
When starting the following chain:
gst-launch-1.0 -v -e uvch264src device=/dev/video1 name=src auto-start=true \
src.vfsrc ! queue ! video/x-raw,format=(string)YUY2,width=320,height=240,framerate=10/1 ! xvimagesink sync=false \
src.vidsrc ! queue ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! avdec_h264 ! xvimagesink sync=false
the sresult is only the viewfinder (vfsrc) emitting a single frame. If I remove the vidsrc part, the result is (as expected) a live preview of the camera:
gst-launch-1.0 -v -e uvch264src device=/dev/video1 name=src auto-start=true \
src.vfsrc ! queue ! video/x-raw,format=(string)YUY2,width=320,height=240,framerate=10/1 ! xvimagesink sync=false
1st machine tested:
Linux 3.16.7-ckt11
GStreamer 1.7.0 (GIT)
Logitec C920-C
2nd machine:
Linux 3.16.0-4-amd64
GStreamer 1.4.4
Logitec C930
I attached the file with the output of:
gst-launch-1.0 -vvv --gst-debug=uvch264src:5 -e uvch264src device=/dev/video1 name=src auto-start=true src.vfsrc ! queue ! video/x-raw,format=(string)YUY2,width=320,height=240,framerate=10/1 ! xvimagesink sync=false src.vidsrc ! queue ! video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! avdec_h264 ! xvimagesink sync=false
Already described here: http://gstreamer-devel.966125.n4.nabble.com/uvch264src-Only-broken-examples-td4665446.html
I just noticed this issue is already flagged as invalid in https://bugzilla.gnome.org/show_bug.cgi?id=756776 -- but no, 1.4.5 did not fix it as I'm experiencing it with 1.7.
Attachment 315732, "Output of using both sources.":
gst.txt
Version: 1.x