Hello, I have built my own source plugin which currently only reads a file from the HD. (works similar to filesrc) Using my own source plugin I can play back MPEG2-PS files but when I try to play an MPEG2-TS file I get an error message saying: "Element doesn't implement handling of this stream. Please file a bug." This message appears after gst_xxx_start() has been called but, before gst_xxx_create() is called. (gst_xxx_create() never gets called) How come I can play MPEG2-PS but not MPEG2-TS? Any advice would be appreciated. Thank you, Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, 2008-03-17 at 20:08 -0700, [hidden email] wrote:
> Hello, > > I have built my own source plugin which currently only reads a file from > the HD. > (works similar to filesrc) > > Using my own source plugin I can play back MPEG2-PS files but > when I try to play an MPEG2-TS file I get an error message saying: > "Element doesn't implement handling of this stream. Please file a bug." > > This message appears after gst_xxx_start() has been called but, > before gst_xxx_create() is called. (gst_xxx_create() never gets called) > > How come I can play MPEG2-PS but not MPEG2-TS? they don't have the same syntax. Here's everything you need http://en.wikipedia.org/wiki/MPEG_transport_stream In the references section, there is a link to a PDF file: 13818-1.pdf that is the ISO/IEC standard You will need to depacketize a TS stream differently. HTH, waiming > > Any advice would be appreciated. > > Thank you, > > Daniel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by danielkun
Hi,
I was actually trying to do the opposite of what you are doing. In my case I'm able to play MPEG2-TS over RTP comfortably. You would need to depacketise your RTP payload which is of 188 bytes and further parse it accordingly. You can refer to mpegtsdemux, tsparse and related plugin codes in gst-plugins-good. Can you help me a bit with MPEG2-PS? Currently I've depayloaded it and passed to mpegpsdemux and further to mpeg2dec. I get raw frames over here and further I want to encode them to H264. However, openh264 and x264enc are unresponsive to my data and I get an empty file at the output. Thanks in advance, Aniket -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |