[gst-devel] Mpeg ts mux --missing audio
yangsb
yangsb05 at gmail.com
Wed Mar 25 08:33:17 CET 2009
I found another phenomenon.
If I use " Ctrl + c " to break the mux processing before it finished, the ts
file I get contains no audio .
If I wait until the mux processing finished successfully, the ts file I get
does contain audio.
So , maybe a little bug of ts muxer.
yangsb wrote:
>
> Thanks for you quick reply.
> I tried to install a totem player , But failed( My OS is RedHat enterprise
> as 4 ).
> I used the mpegdemux instead.
> My pipeline is like this :
> ##########################################################################
> gst-launch -v --gst-debug-level=2 \
> filesrc location=/home/opensource/out_264_for_6446.ts \
> ! mpegtsdemux name=demux demux. ! audio/mpeg ! queue ! filesink
> location=test.aac
>
> gst-launch -v --gst-debug-level=2 \
> filesrc location=/home/opensource/out_264_for_6446.ts \
> ! mpegtsdemux name=demux demux. ! video/x-h264 ! queue ! filesink
> location=test.264
> #############################################################################
> The result is that I can split the video and audio correctly.
> So, I believe that the file can be played by gstreamer player.
>
>
>
>
> Edward Hervey wrote:
>>
>> 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.
>>
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based
>> development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Mpeg-ts-mux---missing-audio-tp22617660p22696456.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list