playing multiple videos in sequence

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

playing multiple videos in sequence

shyam

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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playing multiple videos in sequence

Ed Colgan
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

RE: playing multiple videos in sequence

shyam
In reply to this post by shyam

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 <[hidden email]>

To: Discussion of the development of and with GStreamer

               <[hidden email]>

Subject: Re: playing multiple videos in sequence

Message-ID:

               <[hidden email]>

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 <[hidden email]>

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

> [hidden email]

> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist

> s.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=02%7

> C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac28

> 5306e4%7C0%7C0%7C637091370154695038&amp;sdata=yuJfHX6zKkxLTqBpsE6MyBHR

> IwtP2t9j0dHbm9z9JK4%3D&amp;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&amp;data=02%7C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637091370154695038&amp;sdata=JLVuejfVBPitcRrmB%2FTz6NfeYI0Q88SU1xXVSLHQzk0%3D&amp;reserved=0>

 

------------------------------

 

 

From: Krishna, Shyam
Sent: Monday, November 11, 2019 9:42 PM
To: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: playing multiple videos in sequence

Carlos Rafael Giani-2

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 <[hidden email]>

To: Discussion of the development of and with GStreamer

               <[hidden email]>

Subject: Re: playing multiple videos in sequence

Message-ID:

               <[hidden email]>

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 <[hidden email]>

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

> [hidden email]

> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist

> s.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=02%7

> C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac28

> 5306e4%7C0%7C0%7C637091370154695038&amp;sdata=yuJfHX6zKkxLTqBpsE6MyBHR

> IwtP2t9j0dHbm9z9JK4%3D&amp;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&amp;data=02%7C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637091370154695038&amp;sdata=JLVuejfVBPitcRrmB%2FTz6NfeYI0Q88SU1xXVSLHQzk0%3D&amp;reserved=0>

 

------------------------------

 

 

From: Krishna, Shyam
Sent: Monday, November 11, 2019 9:42 PM
To: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: playing multiple videos in sequence

Ed Colgan
In reply to this post by shyam
There are EOS messages posted to the bus.  It is very well documented, for example:  https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html?gi-language=c

On Tue, Nov 12, 2019 at 9:05 AM Krishna, Shyam <[hidden email]> 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 <[hidden email]>

To: Discussion of the development of and with GStreamer

               <[hidden email]>

Subject: Re: playing multiple videos in sequence

Message-ID:

               <[hidden email]>

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 <[hidden email]>

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

> [hidden email]

> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist

> s.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=02%7

> C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac28

> 5306e4%7C0%7C0%7C637091370154695038&amp;sdata=yuJfHX6zKkxLTqBpsE6MyBHR

> IwtP2t9j0dHbm9z9JK4%3D&amp;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&amp;data=02%7C01%7C%7C45764c35b7524281ea0e08d76739c67d%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C637091370154695038&amp;sdata=JLVuejfVBPitcRrmB%2FTz6NfeYI0Q88SU1xXVSLHQzk0%3D&amp;reserved=0>

 

------------------------------

 

 

From: Krishna, Shyam
Sent: Monday, November 11, 2019 9:42 PM
To: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel