Tool/software: Linux
We use gst-launch-1.0 to play video on EVMSK. There is an exception.
The playback instructions are as follows:
gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-AV-Short-400x240.mp4
SDK version: 05.03.00.07
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
We use gst-launch-1.0 to play video on EVMSK. There is an exception.
The playback instructions are as follows:
gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-AV-Short-400x240.mp4
SDK version: 05.03.00.07
Hello,
Please try something like these pipelines:
gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-AV-Short-720x420.mp4 video-sink="videoconvert ! videoscale ! autovideosink" -v
and
gst-launch-1.0 filesrc location=TearOfSteel-AV-Short-720x420.mp4 ! qtdemux ! mpeg4videoparse ! avdec_mpeg4 ! videoconvert ! videoscale ! autovideosink -v
Best Regards,
Margarita
Hello,
I am sorry I forgot please stop weston first in this case.
/etc/init.d/weston stop
BR
Margarita
Hello,
This is the pipeline when weston is running:
gst-launch-1.0 filesrc location=TearOfSteel-AV-Short-720x420.mp4 ! qtdemux ! mpeg4videoparse ! avdec_mpeg4 ! videoconvert ! 'video/x-raw,format=(string)NV12, width=720,height=420' ! videoscale ! waylandsink
You must set the capsfilter after videoconvert.
If you want to scale the video you must set the one more capsfilter but after videoscale like this:
gst-launch-1.0 filesrc location=TearOfSteel-AV-Short-720x420.mp4 ! qtdemux ! mpeg4videoparse ! avdec_mpeg4 ! videoconvert ! 'video/x-raw,format=(string)NV12, width=720,height=420' ! videoscale ! 'video/x-raw,format=(string)NV12, width=420,height=240' ! waylandsink
Here is the same pipeline but with playbin
gst-launch-1.0 playbin uri=file:///usr/share/ti/video/TearOfSteel-AV-Short-720x420.mp4 video-sink=" videoconvert ! 'video/x-raw,format=(string)NV12, width=720,height=420' ! videoscale ! 'video/x-raw,format=(string)NV12, width=420,height=240' ! waylandsink"
Hope this helps.
BR
Margarita