playbin2 undecoded video and about-to-finish signal
Krutskikh Ivan
stein.hak at gmail.com
Thu Mar 31 10:21:57 UTC 2016
Ok!
I ran a few tests on this setup:
I have a directory containing these files:
0000-00012.mp4 0412-00121.mp4 1014-00120.mp4 1616-00120.mp4
2217-00120.mp4 2818-00122.mp4 3421-00120.mp4 4023-00120.mp4
4624-00122.mp4 5228-00120.mp4 5831-00088.mp4
0011-00121.mp4 0613-00120.mp4 1214-00121.mp4 1816-00120.mp4
2417-00120.mp4 3020-00120.mp4 3621-00122.mp4 4223-00121.mp4
4826-00121.mp4 5428-00122.mp4
0212-00120.mp4 0813-00121.mp4 1415-00121.mp4 2016-00121.mp4
2617-00121.mp4 3220-00121.mp4 3823-00120.mp4 4424-00120.mp4
5027-00121.mp4 5630-00121.mp4
All of those are h264 videos with mp4 muxing
I start a gstreamer pipeline with:
gst-launch-1.0 splitmuxsrc location=/archive/test/*.mp4 ! mpegtsmux !
tcpserversink host=0.0.0.0 port=5000
I get:
gstsplitmuxsrc.c(533): gst_splitmux_pad_loop ():
/GstPipeline:pipeline0/GstSplitMuxSrc:splitmuxsrc0:
streaming task paused, reason not-negotiated (-4)
ОШИБКА: конвейер не хочет подготавливаться (PREROLL).
However if I do
gst-launch-1.0 splitmuxsrc location=/archive/test/*.mp4 ! mpegpsmux !
tcpserversink host=0.0.0.0 port=5000
I can view my video just fine...
matroskamux streamable=true
also fails, but on the client side (vlc player)
2016-03-31 13:00 GMT+03:00 Tim Müller <tim at centricular.com>:
> On Thu, 2016-03-31 at 12:40 +0300, Krutskikh Ivan wrote:
>
> > All would be so much easier if gstreamer would have some sort of
> > playlist src element...
>
> What splitmuxsrc does it more advanced than what playbin does if you
> play the files with about-to-finish.
>
> splitmusrc will stitch together the file parts *seamlessly* without any
> gaps (despite the audio/video streams not being the exact same length
> in practice).
>
> Cheers
> -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160331/46a3c78f/attachment.html>
More information about the gstreamer-devel
mailing list