I have been able to play ATSC video with dvbsrc, flutsdemux, ...
using a gst-launch command line (within a shell script that parses and mplayer channels.conf): gst-launch --gst-debug-no-color dvbsrc modulation="QAM 256" frequency=${FREQ} ! flutsdemux name=ts program-number=${PROGRAM} ts.audio_${HAID} ! decodebin ! queue max-size-buffers=0 max-size-time=0 ! audioconvert ! alsasink ts.video_${HVID} ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! queue max-size-buffers=0 max-size-time=0 ! videoscale method=0 ! video/x-raw-yuv, height=608 ! queue max-size-buffers=0 max-size-time=0 ! ffmpegcolorspace ! xvimagesink force-aspect-ratio=true If I do not specify the audio and video PIDs, I get nothing. I am now trying to replicate the functionality in a "C" program. The problem is that I do not have the audio_%04x and video_%04x pads until the stream begins to decode. Unlink decodebin, which emits the "new-decoded-pad" signal, flutsdemux has no way to tell me that it has created the "sometimes" pads. Could someone point me to an example or reference that describes dynamically linking to the src pads of flutsdemux? ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Thu, 2008-12-11 at 15:36 -0800, Dan Taylor wrote:
> (...) > I am now trying to replicate the functionality in a "C" program. The > problem is that I do not have the audio_%04x and video_%04x pads until > the stream begins to decode. Unlink decodebin, which emits the > "new-decoded-pad" signal, flutsdemux has no way to tell me that it > has created the "sometimes" pads. It should emit "pad-added" signals, see: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GstElement-pad-added (gst-inspect doesn't list the standard GObject, GstObject and GstElement properties and signals, only those added by subclasses of GstElement). Btw, flutsdemux has been moved to gst-plugins-bad recently and is now superseded by the new 'mpegtsdemux' there. Cheers -Tim ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you. That was exactly what I was missing.
> -----Original Message----- > From: Tim-Philipp Müller [mailto:[hidden email]] > Sent: Friday, December 12, 2008 3:43 AM > To: [hidden email] > Subject: Re: [gst-devel] flutsdemux src pads > > On Thu, 2008-12-11 at 15:36 -0800, Dan Taylor wrote: > > > (...) > > I am now trying to replicate the functionality in a "C" > program. The > > problem is that I do not have the audio_%04x and video_%04x > pads until > > the stream begins to decode. Unlink decodebin, which emits the > > "new-decoded-pad" signal, flutsdemux has no way to tell me that it > > has created the "sometimes" pads. > > It should emit "pad-added" signals, see: > > http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstre > amer/html/GstElement.html#GstElement-pad-added > > > (gst-inspect doesn't list the standard GObject, GstObject and > GstElement > properties and signals, only those added by subclasses of GstElement). > > Btw, flutsdemux has been moved to gst-plugins-bad recently and is now > superseded by the new 'mpegtsdemux' there. > > Cheers > -Tim > > > > -------------------------------------------------------------- > ---------------- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las > Vegas, Nevada. > The future of the web can't happen without you. Join us at > MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009 > .visitmix.com/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |