Unable to select format types

jack81964 jackson.c.solley at nasa.gov
Mon Jul 11 20:14:33 UTC 2016


I am encoding a 10-bit 4:2:2 video in H.265.  According to:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-types-definitions.html
I should be able to use Y42B as "format=(string)Y42B" but when I enter this,
I get "erroneous pipeline: could not link queue0 to omxh265enc-omxh265enc0". 
It's odd though because I know for a fact the video is 4:2:2 but I can use
'I420' and get a compression.  With I420 I get two errors "Could not write
to resource" and "Interal data overflow" but when I look at the new video's
properties it has been compressed.  I have had trouble getting video to
display in VLC, and I think this may be the root of it.  How do I correct
the Y42B issue?  Or what is the best format for me to use? Here is my code:

gst-launch-1.0 filesrc location=/home/ubuntu/user/Videos/raw_vid.yuv
blocksize 4147200 ! capsfilter caps='video/x-raw, framerate=(fraction)30/1,
width=(int)1920, height=(int)1080, format=(string)Y42B' ! queue ! omxh265enc
! filesink location=/home/ubuntu/user/Videos/new_vid.h265 -e



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Unable-to-select-format-types-tp4678606.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list