[gst-devel] Mpeg ts mux --missing audio

Edward Hervey bilboed at gmail.com
Fri Mar 20 11:43:37 CET 2009


Does it work with totem or any other gstreamer player ?


On Fri, 2009-03-20 at 03:23 -0700, yangsb wrote:
> I tried to mux a mpeg2-ts file with h264video and aac audio.
> I used the mpegtsmux in gst-plugin-bad-0.10.9.
> 
> My pipeline is this :
> gst-launch -v --gst-debug-level=$dbg \
>         filesrc location=davincieffect_ntsc.264  \
>         ! h264parse ! mux. \
>         filesrc location=davincieffect.aac ! aacparse ! mux. \
>         mpegtsmux name=mux \
>         ! filesink location=out_264_for_6446.ts
> 
> When I played the ts file using mplayer, 
> Only video can be seen.
> Audio is missing.
> 
> The following is  messages from Mplayer:
> 
> 
> ####################################################################
> Playing /home/filesys/opt/gst_dm355/out_264_for_6446.ts.
> TS file format detected.
> VIDEO H264(pid=64) AUDIO AAC(pid=65) NO SUBS (yet)!  PROGRAM N. 1
> FPS seems to be: 29.970030  
> [VO_SDL] Using driver: x11.
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
>  
> Too many video packets in the buffer: (1042 in 8399231 bytes).
> Maybe you are playing a non-interleaved stream/file or the codec failed?
> For AVI files, try to force non-interleaved mode with the -ni option.
> 
> FAAD: Failed to initialize the decoder!
> ADecoder init failed :(
> ADecoder init failed :(
> Cannot find codec for audio format 0x4134504D.
> 
> Read DOCS/HTML/en/codecs.html!
> Audio: no sound
> Starting playback...
> VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
> VO: [sdl] 720x480 => 720x480 Planar YV12
> 
> ################################################################
> 
> Hope to get some advice.
> Thanks
> Best regards. 





More information about the gstreamer-devel mailing list