playing and parsing mpeg2ts file

Duchassin Frederic duchassin at sefram.fr
Fri Mar 29 10:00:28 UTC 2019


Hello,

If i want to parse a stream while playing.

this pipeline should do this :

                                              / videoqueue | kmssink / 
  [ decodebin           (playing_branch) \ audioqueue | alsasink filesrc 
| queue | typefind | tee                                              \ 
  [ queue | tsparse | filesink ]                  (parsing_branch)

My problem is that my pipeline doesn't want to start like if a queue 
reach his limit.

If i remove the parsing branch, all is playing correctly.

So i try to debug reading the queue size/level :

m_pVideoqueue maxbuffers= 200 maxbytes= 10485760 maxtime= 1000000000 ns

m_pVideoqueue currentbuffers= 0 currentbytes= 0 currenttime= 0 ns

m_pAudioqueue maxbuffers= 200 maxbytes= 10485760 maxtime= 1000000000 ns

m_pAudioqueue currentbuffers= 0 currentbytes= 0 currenttime= 0 ns

m_pQueueTsParse maxbuffers= 2000 maxbytes= 100000000 maxtime= 0 ns

m_pQueueTsParse currentbuffers= 201 currentbytes= 823296 currenttime= 0 ns

But i don't know how to analyze correctly the problem even with the 
level/size ! Is someone could explain me the problem ?

Attached you can find the dot file with all the pipeline.

Thanks in advance for your help

Frédéric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190329/10a05fe4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugqueue.dot
Type: application/msword-template
Size: 19346 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190329/10a05fe4/attachment-0001.bin>


More information about the gstreamer-devel mailing list