AW: Freescale iMX6: Unable to play recorded videos inspite of using option "-ev"
Thornton, Keith
keith.thornton at zeiss.com
Mon Jul 30 12:03:03 UTC 2018
Hi, the pipeline encodes and then decodes the video. Instead of avdec_h264 you need h264parse and qtmux
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von vk_gst
Gesendet: Montag, 30. Juli 2018 13:24
An: gstreamer-devel at lists.freedesktop.org
Betreff: Freescale iMX6: Unable to play recorded videos inspite of using option "-ev"
I am trying to run the following command on Freescale iMX6 to record the testvideosrc in a file.
gst-launch-1.0 -e videotestsrc !
video/x-raw,width=640,height=480,framerate=30/1 ! imxvpuenc_h264 !
h264parse ! avdec_h264 ! filesink location=cx1.mp4
However, when I try to read the file, VLC media player, says the following:
Unidentified codec:
VLC could not identify the audio or video codec
My final goal is to convert the script into a python-gstreamer application which I have already done. The code is as attached in the file.
imx_test1.imx_test1
<http://gstreamer-devel.966125.n4.nabble.com/file/t378365/imx_test1.imx_test1>
I use the following command to execute the script:
$ GST_DEBUG=2 ./imx_test1 -ev
However, even with this the file is created and I can confirm this by using the command 'stat' on the file.
Can anyone tell me where I am going wrong?
Regards.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list