AnsweredAssumed Answered

No sound when playing mp4 file

Question asked by bl z on Oct 10, 2014



I am trying to use gstreamer to play mp4 file (H264+AAC). I got video playing on my screen but no audio come out.

The speaker is working because I am able to play mp3.


The command I am using is:


gst-launch --gst-debug-level=2 -v filesrc location=filename.mp4 typefind=true ! aiurdemux name=demux demux. \

! queue max-size-buffers=0 max-size-time=0 ! vpudec ! mfw_v4lsink demux. \

! queue max-size-buffers=0 max-size-time=0 ! beepdec ! audioconvert ! 'audio/x-raw-int,channels=2' \

! alsasink device=hw:0,0


From the debug print, I find following error:


beepdec beepdec.c:871:gst_beepdec_chain: Call decode failed, ret = 0x1

beepdec beepdec.c:899:gst_beepdec_chain: Call getDecoderPara failed, ret = 0x2

Could anyone advise what the problem is? Is there anything missing for beepdec to decode AAC audio?


My full debug print is attached for reference.


Thanks in advance for any help.

Original Attachment has been moved to: