Problem in qtmux

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem in qtmux

Gurpreet

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


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel