error "no element "video"" when input is yuv
Weipeng HE
heweipeng at gmail.com
Wed Aug 10 15:22:21 UTC 2016
Hi,
video/x-raw and video/x-h264 are incompatible video types. You cannot
link them without conversion. In other words, you need to put encoder
element between them.
Best,
Weipeng
On 10/08/16 16:52, Claire Mantel wrote:
> Hello,
>
>
>
> I’m trying to input a 420 yuv file.
>
> I’m trying the following command line:
>
>
>
> gst-launch-1.0 filesrc
> location=/mnt/sdcard/testGSTPipelines/IRSeq_BUTIV_Davis1A_420_short.yuv ! \
>
> video/x-raw,format=i420,width=640,height=512,framerate=25/1 \
>
> ! video/x-h264! filesink location=test.mp4
>
>
>
> And get the error “(gst-launch-1.0:1231): GStreamer-CRITICAL **:
> gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
>
> WARNING: erroneous pipeline: no element "video" ”
>
>
>
> The weird thing is that when I encapsulate the same yuv file in avi it
> works well with the command line:
>
>
>
> gst-launch-1.0 filesrc
> location=/mnt/sdcard/testGSTPipelines/IRSeq_BUTIV_Davis1A_420_short.avi ! \
>
> video/x-h264 ! filesink location=test.mp4
>
>
>
> Any idea what I might be doing wrong?
>
> Thanks in advance!
>
>
>
> Claire
>
>
>
>
>
>
>
> _______________________________________________
> 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