Hi,
I want to develop a plugin which uses two video files on input (raw yuv for now) But after few hours of googling and trying different options from gst-launch I cannot figure out how to read input from two files. My plugin has two sinks and one source. I want to use two filesrc as an input and one filesink as an output. Can somebody show the example of usage for gst-launch in that case, please? ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
You should give the gstreamer manual a good thorough reading.
http://gstreamer.org/data/doc/gstreamer/head/manual/html/chapter-gstreamer.html What you seek to do is the principle reason for which gstreamer was written! On Sat, Oct 31, 2009 at 5:52 PM, Michael Joachimiak <[hidden email]> wrote: > Hi, > I want to develop a plugin which uses two video files on input (raw yuv for > now) > But after few hours of googling and trying different options from gst-launch > I cannot figure out how to read input from two files. > My plugin has two sinks and one source. I want to use two filesrc as an > input and one filesink as an output. Can somebody show the example of usage > for gst-launch in that case, please? > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- http://codebad.com/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Sorry, poor link. Here is the TOC:
http://gstreamer.org/data/doc/gstreamer/head/manual/html/index.html On Sat, Oct 31, 2009 at 8:21 PM, Donny Viszneki <[hidden email]> wrote: > You should give the gstreamer manual a good thorough reading. > > http://gstreamer.org/data/doc/gstreamer/head/manual/html/chapter-gstreamer.html > > What you seek to do is the principle reason for which gstreamer was written! > > On Sat, Oct 31, 2009 at 5:52 PM, Michael Joachimiak > <[hidden email]> wrote: >> Hi, >> I want to develop a plugin which uses two video files on input (raw yuv for >> now) >> But after few hours of googling and trying different options from gst-launch >> I cannot figure out how to read input from two files. >> My plugin has two sinks and one source. I want to use two filesrc as an >> input and one filesink as an output. Can somebody show the example of usage >> for gst-launch in that case, please? >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > > -- > http://codebad.com/ > -- http://codebad.com/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you.
At least you wanted to help. I was asking for gst-launch command specific usage, which I coudn't find in the manuals (plugin writer's and gstreamer manual) and many other pages. I am answering my-self: gst-launch -v encoder name=s264 ! filesink location=./Out filesrc location=./Grasshopper/texture/Grasshopper_Right.yuv ! s264.sink_right filesrc location=./Grasshopper/texture/Grasshopper_Left.yuv ! s264.sink_left encoder has two sinks and to address them I need to name the encoder using 'name'. I was trying to use its name taken from gst-inspect with the index (encoder0.sink_left and encoder0.sink_right) but it wasn't working. After the encoder's name I use sinks names. So the comand line is a little bit different comparing to the simple ones given in the gst-launch manual. Many thanks to owner of that blog for the hint: http://tristanswork.blogspot.com/2008/08/multichannel-audio-with-gstreamer.html 2009/11/1 Donny Viszneki <[hidden email]> Sorry, poor link. Here is the TOC: -- Your Sincerely Michael Joachimiak ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Sun, 2009-11-01 at 21:27 +0200, Michael Joachimiak wrote:
Hi, > gst-launch -v encoder name=s264 ! filesink location=./Out filesrc > location=./Grasshopper/texture/Grasshopper_Right.yuv ! s264.sink_right > filesrc location=./Grasshopper/texture/Grasshopper_Left.yuv ! > s264.sink_left You might also need find the videoparse element from gst-plugins-bad useful here to make sure your yuv input is chunked properly and has the right caps set. > encoder has two sinks and to address them I need to name the encoder > using 'name'. I was trying to use its name taken from gst-inspect with > the index (encoder0.sink_left and encoder0.sink_right) but it wasn't > working. > After the encoder's name I use sinks names. > So the comand line is a little bit different comparing to the simple > ones given in the gst-launch manual. A patch to the man page (gstreamer/tools/gst-launch.1.in) adding an example that demonstrates how to connect to specific pads by name would be much appreciated. Cheers -Tim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
I downloaded gstreamer-0.10.25. Should I change the manpage and post diff file here? If yes which file should I change? 2009/11/1 Tim-Philipp Müller <[hidden email]> On Sun, 2009-11-01 at 21:27 +0200, Michael Joachimiak wrote: -- Your Sincerely Michael Joachimiak ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Sun, 2009-11-01 at 22:38 +0200, Michael Joachimiak wrote:
> I downloaded gstreamer-0.10.25. > Should I change the manpage ... Yes, that'd be great, thanks! > and post diff file here? Please file a bug in bugzilla (see http://gstreamer.freedesktop.org/bugs/) and attach the diff there, to make sure it doesn't get lost or forgotten about. > If yes which file should I change? tools/gst-launch.1.in Cheers -Tim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I posted it as Bug 600382
Thanks for help. 2009/11/2 Tim-Philipp Müller <[hidden email]>
-- Your Sincerely Michael Joachimiak ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |