playing multiple videos in sequence

Carlos Rafael Giani crg7475 at mailbox.org
Tue Nov 12 18:15:00 UTC 2019


Take a look at playbin's about-to-finish signal. Sounds like what you need.

On 12.11.19 17:05, Krishna, Shyam wrote:
>
> I would like play them sequentially. I looked at splitfilesrc , it 
> takes only one uri which is the location of the directory having all 
> the files. I want to control the order in which the videos can be played.
>
> I think I am looking for a solution which can take an array of uri or 
> some callback mechanism using which I can dynamically play desired 
> video when the current video reaches EOS. Does the pipeline or playbin 
> objects provide any mechanism to achieve this requirement ?
>
> Best Regards,
>
> Shyam
>
> Date: Mon, 11 Nov 2019 10:26:37 -0700
>
> From: Ed Colgan <ecolgan at cardinalpeak.com 
> <mailto:ecolgan at cardinalpeak.com>>
>
> To: Discussion of the development of and with GStreamer
>
>                <gstreamer-devel at lists.freedesktop.org 
> <mailto:gstreamer-devel at lists.freedesktop.org>>
>
> Subject: Re: playing multiple videos in sequence
>
> Message-ID:
>
>                
> <CAL4J6P1N0VJFdTyCxtzqZs4pUCX4iJMF7V8Z2LjQghB3zLwXFQ at mail.gmail.com 
> <mailto:CAL4J6P1N0VJFdTyCxtzqZs4pUCX4iJMF7V8Z2LjQghB3zLwXFQ at mail.gmail.com>>
>
> Content-Type: text/plain; charset="utf-8"
>
> Are these sequential files that you want to play seamlessly or are you 
> looking to play them independently?  If they are sequential, look at 
> using multifilesrc or splitfilesrc in your pipeline.
>
> On Mon, Nov 11, 2019 at 9:12 AM Krishna, Shyam 
> <shyam.krishna at philips.com <mailto:shyam.krishna at philips.com>>
>
> wrote:
>
> > Hi All,
>
> >
>
> >
>
> >
>
> >                I am working on a C++ Qt project .How do I play
>
> > multiple videos in sequence using Gstreamer ? I have a list of URIs
>
> > referring to multiple files on the disk. I want to play one video 
> after another.
>
> >
>
> >
>
> >
>
> > Best Regards,
>
> >
>
> > Shyam
>
> >
>
> > ------------------------------
>
> > The information contained in this message may be confidential and
>
> > legally protected under applicable law. The message is intended solely
>
> > for the addressee(s). If you are not the intended recipient, you are
>
> > hereby notified that any use, forwarding, dissemination, or
>
> > reproduction of this message is strictly prohibited and may be
>
> > unlawful. If you are not the intended recipient, please contact the
>
> > sender by return e-mail and destroy all copies of the original message.
>
> > _______________________________________________
>
> > gstreamer-devel mailing list
>
> > gstreamer-devel at lists.freedesktop.org 
> <mailto:gstreamer-devel at lists.freedesktop.org>
>
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
>
> > s.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7
>
> > C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac28
>
> > 5306e4%7C0%7C0%7C637091370154695038&sdata=yuJfHX6zKkxLTqBpsE6MyBHR
>
> > IwtP2t9j0dHbm9z9JK4%3D&reserved=0
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL: 
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Farchives%2Fgstreamer-devel%2Fattachments%2F20191111%2Fef0a6c03%2Fattachment-0001.html&data=02%7C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637091370154695038&sdata=JLVuejfVBPitcRrmB%2FTz6NfeYI0Q88SU1xXVSLHQzk0%3D&reserved=0>
>
> ------------------------------
>
> *From:* Krishna, Shyam
> *Sent:* Monday, November 11, 2019 9:42 PM
> *To:* gstreamer-devel at lists.freedesktop.org
> *Subject:* playing multiple videos in sequence
>
> Hi All,
>
>                I am working on a C++ Qt project .How do I play 
> multiple videos in sequence using Gstreamer ? I have a list of URIs 
> referring to multiple files on the disk. I want to play one video 
> after another.
>
> Best Regards,
>
> Shyam
>
>
> ------------------------------------------------------------------------
> The information contained in this message may be confidential and 
> legally protected under applicable law. The message is intended solely 
> for the addressee(s). If you are not the intended recipient, you are 
> hereby notified that any use, forwarding, dissemination, or 
> reproduction of this message is strictly prohibited and may be 
> unlawful. If you are not the intended recipient, please contact the 
> sender by return e-mail and destroy all copies of the original message.
>
> _______________________________________________
> 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/20191112/40713fab/attachment.html>


More information about the gstreamer-devel mailing list