Dmitrii Mikhailov
Dmitrii Mikhailov

Reputation: 5221

Problems with video playback

I have h264 video track and aac audio track inside mp4 container and I want to play it, but when I run my pipeline there's just first frame shown and no sound.

Here's my pipeline:

gst-launch filesrc location=/home/dmitry/Downloads/big_buck_bunny.mp4 ! qtdemux name=demux \
    demux.audio_00 ! queue ! faad ! audioconvert ! audioresample ! autoaudiosink \
    demux.video_00 ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink 

Upvotes: -1

Views: 144

Answers (1)

thiagoss
thiagoss

Reputation: 2094

Your queues might not be large enough for this scenario. You should try using playbin2 or decodebin for decoding and it will automatically adjust the queue sizes for playback.

If you have to stick to this pipeline, try setting larger values to the max-size-* properties on the queues.

On a plus side: please move to 1.2 version, 0.10 is obsolete for 2 years now.

Upvotes: 1

Related Questions