Asynchronous KLV data to mpegtsmux locking up stream

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Asynchronous KLV data to mpegtsmux locking up stream

scottca
I need to demux and remux a transport stream that has asynchronous klv data
in it using mpegtsmux.
No problem with the video portion (without klv enabled), but with the klv
enabled the streaming stops as soon as it receives the first klv buffer. I
assumed it was because the klv has no pts timestamp (-1) set and the
mpegtsmux doesn't know when to add it?  I tried overwriting the klv
buffer.pts but it still stops. Is there something I am missing? Is there a
trick to make mpegtsmux pass through asyc klv data without any video frames
as they received? I added a queue on the klv stream but that did not help
either. Suggestions?







--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Asynchronous KLV data to mpegtsmux locking up stream

scottca
Additional notes: I do not even get a handoff signal on klv ....
My connections look like this
Config1
TsFile->tsmux(klv.new-pad)-(sinkpad)A.Identity-A.Queue(srcpad)-(sinkpad)mpegtsmux
->
       
->tsmux(h264.new-pad)-(sinkpad)B.Identity-B.Queue(srcpad)-(sinkpad)mpegtsmux->TsFileStream

Config2
TsFile->tsmux(klv.new-pad)-(sinkpad)A.Identity
       
->tsmux(h264.new-pad)-(sinkpad)B.Identity-B.Queue(srcpad)-(sinkpad)mpegtsmux->TsFileStream

I have a Handoff Handler on both A and B Identity elements to view buffers
In Config2 I get a A.handoff but not in the Config1 setup
In both configurations I get video handoff on B until the new-pad is added
to A and it stops
Config2 creates a TsFile just fine.

Any suggestions, thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Asynchronous KLV data to mpegtsmux locking up stream

scottca
For Mpeg Asynchronous streams,
simple adding the mpegparse in the stream fixed it and is working
but this fix did not work for the H264

TsFile->tsmux(klv.new-pad)-(sinkpad)A.Identity-A.Queue(srcpad)-(sinkpad)mpegtsmux->  
       
->tsmux(mpeg.new-pad)-(sinkpad)B.Identity-B.Parse-B.Queue(srcpad)-(sinkpad)mpegtsmux->TsFileStream

Is there a parser for klv? I could not find one



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel