You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
How to use the mfx_gst_h264vd decoding H264 (contains the raw data for I420) RTSP stream ??
exsample :
gst-launch-1.0 rtspsrc typefind=true location=rtsp://admin:[email protected]:554/live/main name=IPtsmuxer3 ! queue max-size-bytes=0 max-size-buffers=3 max-size-time=0 ! rtph264depay ! video/x-h264,framerate=30/1 ! avdec_h264 name=ipdec ! videoconvert name=IPIPU qos=true ! video/x-raw, format=BGRx, width=1920, height=1080 ! queue ! ximagesink -v
this is working very well . because avdec_h264 have format of I420 out .
information follow :
avdec_h264:ipdec.GstPad:src: caps = "video/x-raw,\ format=(string)I420,\ width=(int)1920,\ height=(int)1080,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ chroma-site=(string)mpeg2,\ colorimetry=(string)bt709,\ framerate=(fraction)30/1"
but :
gst-launch-1.0 rtspsrc typefind=true location=rtsp://admin:[email protected]:554/live/main name=IPtsmuxer3 ! queue max-size-bytes=0 max-size-buffers=3 max-size-time=0 ! rtph264depay ! video/x-h264,framerate=30/1 ! mfx_gst_h264vd name=ipdec ! mfx_gst_vpp format=8 ! video/x-raw, format=BGRx, width=1920, height=1080 ! queue ! ximagesink this is not working
bacause mfx_gst_h264vd out format is only nv12
The text was updated successfully, but these errors were encountered:
Most of MediaSDK decoders (including AVC) support only NV12. In order to convert to BGRx please try something like:
... rtph264depay ! video/x-h264,framerate=30/1 ! mfx_gst_h264vd name=ipdec ! autovideoconvert ! ximagesink
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How to use the mfx_gst_h264vd decoding H264 (contains the raw data for I420) RTSP stream ??
exsample :
gst-launch-1.0 rtspsrc typefind=true location=rtsp://admin:[email protected]:554/live/main name=IPtsmuxer3 ! queue max-size-bytes=0 max-size-buffers=3 max-size-time=0 ! rtph264depay ! video/x-h264,framerate=30/1 ! avdec_h264 name=ipdec ! videoconvert name=IPIPU qos=true ! video/x-raw, format=BGRx, width=1920, height=1080 ! queue ! ximagesink -v
this is working very well . because avdec_h264 have format of I420 out .
information follow :
avdec_h264:ipdec.GstPad:src: caps = "video/x-raw,\ format=(string)I420,\ width=(int)1920,\ height=(int)1080,\ pixel-aspect-ratio=(fraction)1/1,\ interlace-mode=(string)progressive,\ chroma-site=(string)mpeg2,\ colorimetry=(string)bt709,\ framerate=(fraction)30/1"
but :
gst-launch-1.0 rtspsrc typefind=true location=rtsp://admin:[email protected]:554/live/main name=IPtsmuxer3 ! queue max-size-bytes=0 max-size-buffers=3 max-size-time=0 ! rtph264depay ! video/x-h264,framerate=30/1 ! mfx_gst_h264vd name=ipdec ! mfx_gst_vpp format=8 ! video/x-raw, format=BGRx, width=1920, height=1080 ! queue ! ximagesink this is not working
bacause mfx_gst_h264vd out format is only nv12
The text was updated successfully, but these errors were encountered: