Caps Do Not Completely Specify the Output Format

RedMarsBlueMoon fred.sund at gmail.com
Wed Oct 28 22:15:20 UTC 2020


Hi Everyone! 

I'm completely new to GStreamer so sorry about probably doing stupid things!
:)

My goal is to learn if the omx h264 Hardware decoder for my raspberry Pi 4
works in GStreamer.  (it doesn't in avcodec)
The first step is me trying to use gstreamer to decode just an h264 file.
This is a demuxed file that has only the h264 video component.

The closest Iv'e come so far is this but it still doesn't play:
(note I'm trying to start with a non omx decoder to make things more likely
to work at first. Once it does I will swap to omx)


gst-launch-1.0 -v -m filesrc location=/home/pi/Videos/mulan.h264 !
video/x-h264,format=I420,width=1920,height=804,framerate=24/1 ! v4l2h264dec
! autovideosink


*The error messages I get are:*

Got message #39 from element "capsfilter0" (error): GstMessageError,
gerror=(GError)NULL, debug=(string)"gstcapsfilter.c\(455\):\
gst_capsfilter_prepare_buf\ \(\):\
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0:\012Output\ caps\ are\
unfixed:\ EMPTY";

and
ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter
caps do not completely specify the output format.
Output caps are unfixed: EMPTY
ERROR: pipeline doesn't want to preroll.


It seems the docs are saying that 'autovideosink' accepts any kind of input
so I have no clue what to try now.

Any ideas? 

Cheers
Fred








--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list