No sound after 1 second after AAC decode to usb sound card, but output to file seems OK

Sebastian Dröge sebastian at centricular.com
Thu Dec 5 00:05:28 PST 2013


On Mi, 2013-12-04 at 20:56 +0800, Diaz Soho wrote:
> Hi all,
> 
> the pipe I used for verification:
> 1. gst-launch-0.10 -v
> http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a!
> qtdemux ! ffdec_aac ! audioconvert ! audio/x-raw-int,width=16 !
> filesink
> location=/var/tmp/usb/sda1/aac_test.pcm
> 
> 2. gst-launch-0.10 -v
> http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a!
> qtdemux ! ffdec_aac ! audioconvert ! audio/x-raw-int,width=16 !
> alsasink
> 
> 
> 
> In the pipe 1 , the output file /var/tmp/usb/sda1/aac_test.pcm can be
> played normally.
> In the pipe 2, the output from usb sound card can not be hear normally
> after about 1 seconds.
> 
> Does anyone have any idea about the issue?

The problem might be that decoding can't happen in realtime or there are
any other synchronization problems. You should see some hints if you
look at the GStreamer debug output.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131205/d8166ae0/attachment.pgp>


More information about the gstreamer-devel mailing list