Could anybody provide working pipeline for playing video and audio from mp4 file?
I've tried this which looks pretty much line in wiki pipelines examples, but it is not playing anything:
gst-launch -v filesrc location=/home/root/big_buck_bunny.mp4 !
qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0
max-size-bytes=0 ! TIAuddec1 ! alsasink demux.video_00 ! queue ! TIViddec2 fram
erate=30 ! TIDmaiVideoSink videoStd=D1_PAL videoOutput=composite
Here's the output:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-h264, profile=(string)main, level=(string)3.1, codec_data=(buffer)01
4d401fffe10019674d401fe8802802dd8088000003000800000301e078c1889001000568ebc3cb20, width=(int)1280, height=(int)720, framerate=(fraction
)30/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-h264, profile=(string)main, level=(string)3.1, codec_data=(buffer)014
d401fffe10019674d401fe8802802dd8088000003000800000301e078c1889001000568ebc3cb20, width=(int)1280, height=(int)720, framerate=(fraction)
30/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:sink: caps = video/x-h264, profile=(string)main, level=(string)3.1, codec_data=(b
uffer)014d401fffe10019674d401fe8802802dd8088000003000800000301e078c1889001000568ebc3cb20, width=(int)1280, height=(int)720, framerate=(
fraction)30/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstTIViddec2:tividdec20.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, framerate=(fraction)30/1, width
=(int)1280, height=(int)720
/GstPipeline:pipeline0/GstTIDmaiVideoSink:tidmaivideosink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, framerate=(fractio
n)30/1, width=(int)1280, height=(int)720
I've also tried this pipeline:
gst-launch filesrc location=/home/root/big_buck_bunny.mp4 ! qtdemux name=demux \
demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! TIAuddec1 codecName=aacdec engineName=codecServer ! alsasink \
demux.video_00 ! queue ! TIViddec2 codecName=h264dec engineName=codecServer ! TIDmaiVideoSink videoStd=D1_PAL videoOutput=composite useUserptrBufs=true numBufs=4
It just freezes on:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...