[gst-devel] Problem in qtmux

Gurpreet gurpreet at tataelxsi.co.in
Thu Sep 2 13:07:28 CEST 2010


Hi All..

I m encoding pcm file with faac and then muxing it with qtmux. I am 
using this pipeline. file is being played in VLC and QT player.

gst-launch filesrc blocksize=2048  
location=/home/Gurpreet/inputfilesmp4/Sample_Files/New_Folder/CH1_48000_mono_16bit.pcm 
! audio/x-raw-int, channels=1, rate=48000,  width=16, depth=16, 
endianness=1234, signed=true ! faac  ! aacparse ! audio/mpeg,rate=48000, 
channels=1, mpegversion=4, layer=3 ! qtmux ! filesink 
location=/home/Gurpreet/outputfilesmp4/exp_mov.mov


But Whenever i m setting faac property "outputformat=1"  ( for ADTS 
Header ) then

gst-launch filesrc blocksize=2048  
location=/home/Gurpreet/inputfilesmp4/Sample_Files/New_Folder/CH1_48000_mono_16bit.pcm 
! audio/x-raw-int, channels=1, rate=48000,  width=16, depth=16, 
endianness=1234, signed=true ! faac  outputformat=1 ! aacparse ! 
audio/mpeg,rate=48000, channels=1, mpegversion=4, layer=3 ! qtmux ! 
filesink location=/home/Gurpreet/outputfilesmp4/exp_mov.mov

then the generated file is being played in vlc but in QT bar is moving 
but no audio is coming. what could be the error ?
outputformat=0 is for RAW Aac
outputformat=1 is for ADTS

is this bug in qtmux ? what could be the reason ?

instead of that if i m reading aac (RAW) file with filesrc and then 
passing it to qtmux  then mov file is being played in vlc as well as in 
quicktime.
but if i m reading aac (ADTS) file with filesrc then passing it to qtmux 
then mov file is playing fine in vlc player but in qt,,bar is moving but 
no audio is coming..

where is the problem ?? in qtmux or quicktime doesnot support adts file 
in mov container.

Thanks
Gurpreet


-- 
/

Gurpreet Singh
Tata Elxsi Ltd.
Bangalore
+91-8022984127
+91-9019219511

/


    Rabba Mehar Kari Asi Ud-de Aasre Tere



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100902/74200550/attachment.htm>


More information about the gstreamer-devel mailing list