HI All
Just Now We use the below command to decoding the mp4 contents:
Our sdk is 2.00.02.11
kernel is 4.1.18
The board is a custom board.
gst-launch-1.0 -v filesrc location=/usr/share/ti/video/TearOfSteel-AV-Short-720x420.mp4 ! qtdemux ! h264parse ! ducatih264dec ! vpe ! waylandsink
But it will failed because of some error like this:
root@am57xx-evm:~# gst-launch-1.0 -v filesrc location=/usr/share/ti/video/TearOfSteel-AV-Short-720x420.mp4 ! qtdemux ! h264parse ! ducatih264dec ! vpe ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
Additional debug info:
/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-good/1.2.3-r0-arago1/gst-plugins-good-1.2.3/gst/isomp4/qtdemux.c(4402): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstQTDemux:qtdemux0.GstPad:video_0: caps = NULL
/GstPipeline:pipeline0/GstQTDemux:qtdemux0.GstPad:audio_0: caps = NULL
Freeing pipeline ...
We have refered to this websit processors.wiki.ti.com/.../Processor_Training:_Multimedia
and try the command, but it also failed.
gst-launch-1.0 -v filesrc location=example_h264.mp4 ! qtdemux ! h264parse ! \
ducatih264dec ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)720, height=(int)480' ! kmssink