Having trouble playing this raw h264 file using the hardware decoding
gst-launch-1.0 filesrc location=main.h264 ! queue ! h264parse ! omxh264dec ! \ nveglglessink -e Here is some info on it, Plays with ffplay using showall switch: codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 profile=High codec_type=video codec_time_base=6/359 codec_tag_string=[0][0][0][0] codec_tag=0x0000 width=1920 height=1080 coded_width=1920 coded_height=1088 has_b_frames=0
This is the error:
gst-launch-1.0 filesrc location=main.h264 ! h264parse ! omxh264dec
skip-frames=0 ! nveglglessink -e
Setting pipeline to PAUSED …
Using winsys: x11
Pipeline is PREROLLING …
Got context from element ‘eglglessink0’: gst.egl.EGLDisplay=context,
display=(GstEGLDisplay)NULL;
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_caps_is_empty: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_caps_truncate: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_caps_fixate: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_caps_get_structure: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_structure_get_string: assertion ‘structure != NULL’ failed
(gst-launch-1.0:8785): GStreamer-CRITICAL **: 22:20:56.829:
gst_mini_object_unref: assertion ‘mini_object != NULL’ failed
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1920x1088 (x 8), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3605: Send
OMX_EventPortSettingsChanged: nFrameWidth = 1920, nFrameHeight = 1080
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.036195933
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Hi,
We are deprecating omx plugins. Please replace omxh264dec with nvv4l2decoder and try again.