Some thing wrong happens when I play rtsp stream by gst on imx8qxp board:
But it works fine on imx8m board. Here is the log:
Same result when I use "rtspsrc location=rtsp://192.168.1.19:554/1/h264major latency=200 ! rtph264depay ! h264parse ! queue ! vpudec ! appsink sync=false" in my app.
Any clue about this?
Thanks,
Ale
Hello Ale2,
Make sure that both are playing the latest linux bsp, there is A53 in MX8M and A35 in MX8QX, but should not difference in display mode.
with the
gst-inspect-1.0 v4l2h264dec
you can see the difference between both processor on encoding time. Also Try the file
gst-launch-1.0 playbin uri=file:/run/media/sda1/big_buck_bunny.mp4 video-sink="imxvideoconvert_g2d ! queue ! autovideosink"
To avoid display issues.
Regards
Hi,
Thanks for your reply! We expect to get data in NV12 format. In this case, we do not want to use imxvideoconvert_g2d to do further processing.
We write codes in Qt like:
VideoCapture cap;
cap.open( "rtspsrc location=rtsp://admin:admin@192.168.1.42:554/1/0.sdp ! rtph264depay ! h264parse ! queue ! vpudec! queue ! appsink sync=false", CAP_GSTREAMER)
It works well in imx8m. Then we want to port the app to imx8x. We modify the code to this:
VideoCapture cap;
cap.open( "rtspsrc location=rtsp://admin:admin@192.168.1.42:554/1/0.sdp ! rtph264depay ! h264parse ! queue ! v4l2h264dec ! queue ! appsink sync=false", CAP_GSTREAMER)
And the display error occurs in imx8x.
In IMX8GStreamerGuide.pdf, It is ok to parse rtspsrc without imxvideoconvert_g2d. Is there something we should do in this process?