[gst-devel] MPEG-2 TS Muxing

Kshitij Gupta gupta.kshi at gmail.com
Thu Jul 24 19:55:24 CEST 2008


Hi,
   I am trying a similar gst pipeline to transcode a file in mp2ts file
format with h264 and aac as codecs. Using the following pipeline

gst-launch -v filesrc location=/home/kgupta/testflv/limca.flv ! decodebin
name=d ! queue ! videorate ! ffmpegcolorspace ! videoscale !
video/x-raw-yuv,height=144,width=176,framerate=\(fraction\)15/1 ! ffenc_h264
! flutsmux name=mux ! filesink location=limca_aac_h264_faacadts.ts d. !
queue ! audioconvert ! audioresample ! audio/x-raw-int, endianness=1234,
signed=\(boolean\)true, width=\(int\)16, depth=\(int\)16,
rate=\(int\)16000,channels=\(int\)1 ! faac bitrate=16000 ! mux.

Now I am trying to play this file with vlc.  The video plays good but no
audio.  Are there some obvious mistakes in my approach ??

I am using the following versions
gst-fluendo-mpegmux-0.10.4
libtsmux-0.3.0

Thanx
Kshitij

On Fri, May 30, 2008 at 2:34 PM, Peter Maersk-Moller <
peter at maersk-moller.net> wrote:

> Just a little remark for others wanting to test or hack. This command
> will get you the lot.
>
>   svn co https://core.fluendo.com/gstreamer/svn/trunk
>
> Thanks
>
> Peter Maersk-Moller
>
> Julien Moutte wrote:
> > Fluendo has a MPEG TS muxer. We recently introduced support M2TS 192.
> > https://core.fluendo.com/gstreamer/svn/trunk/gst-fluendo-mpegmux/
> >
> > Best regards,
> >
> > Julien Moutte,
> > FLUENDO S.A.
> >
> > Peter Maersk-Moller wrote:
> >> Hi
> >>
> >> Trying to see if I can get gstreamer to encode a a/v source into a
> >> H.264/aac MPEG-2 TS stream. A/V encoding seems to work well, but the TS
> >> encoding part seems not to be supported.
> >>
> >> I'm looking into copy some code from VLC to create a TS mux plugin, but
> >> would like to ask first,  if anyone else is working on something like
> >> that ? As I see it, we need to convert the two ES streams into to PES
> >> packet stream into a TS packet stream, which then could use either a UDP
> >> output plugin, a http server plugin (when finished) or a RTSP server
> >> plugin (if planned). So ES in PES in TS is needed. ES in PES in TS in
> >> RTP seems not to be widely used, so thsi is skipped.
> >>
> >> However, we would also need to create PAT and PMT to make the stream
> >> useful for many applications (such as Set Top Boxes not quite as clever
> >> as Mplayer).
> >>
> >> Best regards
> >>
> >> Peter Maersk-Moller
> >>
> >>
> -------------------------------------------------------------------------
> >> 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
> >> gstreamer-devel at lists.sourceforge.net
> >> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080724/27173a73/attachment.htm>


More information about the gstreamer-devel mailing list