user1257527
user1257527

Reputation: 31

Audio stopped in avi file using gstreamer

I tried to play avi file using gst-launch utility. when i played seperatly audio and video both are working fine.if i tried run both using

gst-launch filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! adpcmdec ! alsasink demux.video_00 ! queue ! ffdec_mpeg4_msv2 ! xvimagesink

audio stoping. gst-launch playbin uri=file:///sample.avi with playbin working fine.

Can some body tell the reason and do i need to set any other arguments in pipeline. Thanks in advance

Upvotes: 0

Views: 569

Answers (1)

ensonic
ensonic

Reputation: 3440

You forgot the queue on the audio side: gst-launch filesrc location=sample.avi ! avidemux name=demux demux.audio_00 ! queue ! adpcmdec ! alsasink demux.video_00 ! queue ! ffdec_mpeg4_msv2 ! xvimagesink

Upvotes: 0

Related Questions