Hello,
I am able to get pretty smooth 1920x1080 mp4 video-audio playback with the following gstreamer command:
$this->bbcode_second_pass_code('', '
gst-launch-1.0 -vv playbin uri=file://$PWD/video1.mp4
')
But I'm not able to find the actual pipeline being used and does it involve the vpu.
Note: I've attached the output of the gst playbin command if it helps. (also available here: https://gist.github.com/enzeneer/6c801ad0485099fee428)
I tried to create my own pipeline with imxvpudec, alsasink and imgeglvivsink, but not able to recreate the playback.
$this->bbcode_second_pass_code('', '
gst-launch-1.0 filesrc location=video1.mp4 typefind=true ! qtdemux ! imxvpudec ! imxeglvivsink qtdemux ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink
(gst-launch-1.0:3580): GStreamer-WARNING **: 0.10-style raw audio caps are being created. Should be audio/x-raw,format=(string).. now.
WARNING: erroneous pipeline: could not link audioconvert0 to alsasink0
')
So the question is 2 fold:
(1) Does the playbin method use the vpu decoding? How can it be confirmed?
(2) How to construct the correct pipeline for mp4 AV playback?
Thanks