Problem decoding audio using gnonlin

Ralph ralph.gucwa at racelogic.co.uk
Fri Jan 13 07:12:34 PST 2012


I'm trying to use gnonlin for playing a sequence of avi file fragments.  All
avi files are the same:
video: Xvid ISO MPEG-4 720x576 25fps
audio: MPEG-1 Layer 2 48KHz 192kb/s stereo

The audio is played using:
gnlfilesource - gnlcomposition - autoaudiosink

I link gnlcomposition to autoaudiosink when gnlcomposition creates a dynamic
audio pad.
The source pad reports the following caps:
{audio/x-raw-int, channels=(int)[ 1, 2 ], rate=(int)[ 4000, 96000 ],
signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16;
audio/x-raw-int, channels=(int)[ 1, 2 ], rate=(int)[ 4000, 96000 ],
signed=(boolean)true, endianness=(int)1234, width=(int)32, depth=(int)32;
audio/x-raw-float, channels=(int)[ 1, 2 ], rate=(int)[ 4000, 96000 ],
endianness=(int)1234, width=(int)32; audio/x-raw-float, channels=(int)[ 1, 2
], rate=(int)[ 4000, 96000 ], endianness=(int)1234, width=(int)64}

It looks like an already decoded audio stream ("audio/x-raw" caps), but
instead of a nice sound, a terrible digital noise can be heard from the
speakers.
What am I doing wrong?

A sample video file is available at:  http://ralphos.com/video/test6.avi
http://ralphos.com/video/test6.avi  (only left channel contains audible
sound).



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-decoding-audio-using-gnonlin-tp4292412p4292412.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list