OpenMax h264 decoding in gstreamer 1.0

Hi I’m trying to use the Jetson Tegra K1’s hardware decoder for h264 with gstreamer.
I’m using gstreamer (1.4, uninstalled setup) and the Tegra specific sources for libgstomx and gstegl from here: https://developer.nvidia.com/linux-tegra-rel-19
The omxh264enc plugin seems to work fine but the omxh264dec somehow doesn’t…
There are some problems in the file gstomxvideodec.c so I added some debug statements but since my knowledge of openmax is very limited, I don’t really get what the problem is… there seems to be a “Not implemented” error for the OMX_SetConfig Macro for the decoder handler that somehow tries to set the video alignment…

Has anyone already tried this / got it to work ?

(Changed gstomxvideodec.c: https://www.dropbox.com/s/f6td50dythhau51/gstomxvideodec.c
Output: https://www.dropbox.com/s/fhc5psk8emz6rca/Output.txt )

Thanks
Lukas

Output.txt (4.89 KB)
gstomxvideodec.txt (116 KB)

Hi s00500,
Can you please attach both files here instead? I don’t have dropbox access.

Ok I’ve attatched them to the first Post (gstomxvideodec is obviously a c file not a txt but the uploader doesn’t accept a .c file extension =D )

Hi,
Please try following pipeline instead:
gst-launch-1.0 --gst-debug-level=3 rtspsrc location=rtsp://root:root@10.41.1.120/axis-media/media.amp ! rtph264depay ! h264parse ! omxh264dec ! videoconvert ! videoscale ! xvimagesink

Please let me know what happens now.