Hello, I have a Gnlcomposition with 2 gnlfilesources (videofiles), I need to render text in a customizable manner. For instance, at certain time file1 needs text over it and file2 doesn't and viceversa or even both could need the text rendered over them.
I could put a text in the common queue, so it always appears and it isn't the needed behavior. I appreciate any clue, thanks Rossana The pipeline GnlComposition gnlfilesource1 --------------------gnlOperarion--------queue-----sink // I put the textoverlay between the queue and the sink gnlfilesource2 gnlOperation //for crossfade purposes alpha1 ----------videomixer--------ffmpegcolor alpha2 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello,
Have you tried using the Gstreamer Editing Services to do that? Transitions and text overlay are supported already: *http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESTimelineTextOverlay.html *http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESTimelineStandardTransition.html I know it is not really the answer to your technical question but GES seems to be best suited for this particular problem. Also as GES is built upon gnonlin, you could have a look at the code to see how we handle that. Regards, Thibault Saunier On Mon, 2011-11-21 at 18:03 -0200, Rossana Guerra wrote: > Hello, I have a Gnlcomposition with 2 gnlfilesources (videofiles), I > need to render text in a customizable manner. For instance, at certain > time file1 needs text over it and file2 doesn't and viceversa or even > both could need the text rendered over them. > I could put a text in the common queue, so it always appears and it > isn't the needed behavior. > > I appreciate any clue, thanks > > Rossana > > > The pipeline > > > GnlComposition > > gnlfilesource1 > > --------------------gnlOperarion--------queue-----sink // I put > the textoverlay between the queue and the sink > gnlfilesource2 > > > gnlOperation //for crossfade purposes > > alpha1 > ----------videomixer--------ffmpegcolor > alpha2 > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for your response, the idea behind this is for subtitles.
I'll give a try, I am very clueles as new on this, so I couldn't get the scope of these plugins. I'll write back with some result. Regards Rossana 2011/11/21 Thibault Saunier <[hidden email]> Hello, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello,
> Thanks for your response, the idea behind this is for subtitles. > I'll give a try, I am very clueles as new on this, so I couldn't get > the scope of these plugins. > > I'll write back with some result. Could you explain what you want to do exactly because if you just want to play a video with subtitles, there is no need to use gnonlin, and you should look at playbin2 that handles everything for you. Regards, Thibault Saunier _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
hello, this is my scenario, I need a player with crossfade, for this I use a Gnlcomposition. I didn't find out another way to do this, the playbin2 solution wasn't the best solution for this purpose.
Besides I need to blend text/png/jpeg/subtitles/clock over the video stream according the playlist configuration (The playlist has this information, time to blend a peg, if the video has subtitles or a clock, etcj). The subtitles go with certain videos not all of them. In the same way, the clock. The png/jpeg has moments in the timeline to be render, they don't blend all the time over one video. I hope you understand the problem I need to solve. Thanks for your interest. Rossana 2011/11/22 Thibault Saunier <[hidden email]> Hello, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |