Loading several videos at the same time

waldemar valdemar at gmail.com
Thu Jan 29 16:12:01 PST 2015


Good day everyone!

I've been assigned to a project to develop a video mixing app. This app
might display several videos at the time, from different files and entering
the scene at any given time. Thing something like this, but with a lot less
videos:
25 years of The Simpsons couch gags (554 episodes) at the same time
https://www.youtube.com/watch?v=isFooVmbjcg
(actually I only need to display some... 9 videos at the time on a grid).

Or this one:
(All the episodes of the 1st season of Friends overlapped)
https://www.youtube.com/watch?v=6MbJi0xtnEA

For the task I've chosen gst-editing-services, which has performed great...
as long as the videos don't start playing at the same time. If all the
videos are required to appear as soon as the pipeline starts playing the
thing will play IF I only include a small number of them (max. 4), then the
more videos I add the more likely the pipeline will throw an error... and
playing all the 9 videos is impossible.

The code I use is heavily based on ges-launch.c
(https://github.com/aleb/gst-editing-services/blob/master/tools/ges-launch.c)
and actually, I've modified this utility command to force the videos to
start playing at the beginning (start=0) and shows the same problem.

So here's the error I'm encountering:
[ERROR] Error from element qtdemux112: GStreamer encountered a general
stream error.
[DEBUG] Debugging info: qtdemux.c(4434): gst_qtdemux_loop ():
/GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/GnlComposition:gnlcomposition1/GnlSource:gnlsource5/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin5/GstDecodeBin:decodebin14/GstQTDemux:qtdemux12:
streaming stopped, reason error

And sometimes this one:
ERROR from element multiqueue4: Internal data stream error.
Debugging info: gstmultiqueue.c(1524): gst_multi_queue_loop ():
/GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/GnlComposition:gnlcomposition1/GnlSource:gnlsource1/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin3/GstMultiQueue:multiqueue4:
streaming stopped, reason error

I guess the app is out of sync in between loading the files and playing the
pipeline. Is there anyway I  could preload all the clips needed for the
pipeline??? Or how could I solve this??

Thank you guys.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Loading-several-videos-at-the-same-time-tp4670504.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list