Why is the flag `GST_PAD_FLAG_EOS` set for element `v4l2src`, when the pipeline is modified dynamically?

vk_gst venkateshkuppan26 at gmail.com
Thu Aug 30 16:19:49 UTC 2018


Hello Antonio,

1. Since the pipeline has to many elements and the script is too huge, I
made 2 versions of the test, and again there are different behaviour. The
first pipeline is same as mentioned earlier with a slight modification: 

v4l2src -> queue -> h264parse -> avdec_h264 -> identity ->
imagefreeze(added/removed dynamically based on user-input) -> glupload ->
glcolorconvert ->gltransformation -> glimagesink

Here is the script:  full_test.py
<http://gstreamer-devel.966125.n4.nabble.com/file/t378365/full_test.py>  
Since I have disabled the gltransformation in this code, the info(paused
state) regarding the v4l2src is no longer seen. This is something new, that
I just encountered now when creating this test script to upload here on the
site. 
However, with gltransformation applied again, the info log about v4l2src
going to paused state is shown.  


2. The new script I created has the following pipeline : 
v4l2src -> queue -> imagefreeze(dynamic) -> glimagesink 

Here is the script:  minml_ifreeze.py
<http://gstreamer-devel.966125.n4.nabble.com/file/t378365/minml_ifreeze.py>  
Here the logs about v4l2src are not seen. 

3. I have also replaced the `v4l2src` with `videotestsrc` and these logs are
not seen again.

However, my basic goal was to apply 'gltransformation':
a. on a paused video( this was the reason to use imagefreeze) which is
triggered by a user input
b. on next user input, resume the live video again. 


Regards



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list