I’m owner of colibri t20 module. I have a problem with hardware decoding. I have read knowledge base about video playback with openmax. Thanks to that info I managed to display
full hd local files using gstreamer and openmax nvidia plugins (nv_omx_h264dec).
The next step was to do the same with streaming media (ip camera) but I can’t make this work.
The video is showing but it’s running slow and playback becomes choppy. It does not freeze, it just very slow (maybe about 5 fps) and looks like I don’t have enough resources to handle stream.
It’s working fine on my PC.
The pipeline I’m currently using:
gst-launch rtspsrc location="rtsp://10.1.1.111:554/Streaming/Channels/1.sdp" ! rtph264depay ! nv_omx_h264dec ! nv_gl_eglimagesink
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock (gst-launch-0.10:15087): GLib-GObject-WARNING **: gsignal.c:2459: signal `on-npt-stop' is invalid for instance `0x42e0b810' omx_setup error while setting FilterTimestamp WARNING: from element /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0: Could not decode stream. Additional debug info: /dvs/git/dirty/git-master_linux-k310/external/gstreamer/gst-openmax/omx/gstomx_h264dec.c(84): sink_setcaps (): /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0: Received Invalid Width/Height - using 720/480 Allocating new output: 1280x720 (x 8)
This is the part worrying me most. Seems like hardware decoding is not used in this case:
WARNING: from element /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0: Could not decode stream.
The video from camera is in 720p resolution, h264 codec, baseline profile.
Can you help me or maybe hardware decoding is working only for local files?