i.mx 8mini - supports 60fps, but i get internal data stream error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx 8mini - supports 60fps, but i get internal data stream error

1,297 Views
santhosh2
Contributor IV

Dear members,

i.mx8mini supports 60fps but i get error when i give command $ gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw, width=320,height=240,framerate=(fraction)60/1' ! textoverlay text=CAM1 font-desc=56 ! videoconvert ! x264enc tune=zerolatency ! rtph264pay ! udpsink host=192.168.36.102 port=10000

The error reported is internal data stream error:-pastedImage_1.png

Thanks and regards,

Santhosh

0 Kudos
Reply
4 Replies

1,136 Views
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

one can try decode example
gst-launch-1.0 filesrc location=file.mp4 ! video/quicktime ! qtdemux ! queue ! vpudec ! queue ! waylandsink sync=false

camera transcode:
gst-launch-1.0 v4l2src ! video/x-raw,format=NV12,width=1920,height=1080 ! queue max-size-time=0 ! vpuenc_h264 ! h264parse ! vpudec ! queue max-size-time=0 ! waylandsink enable-tile=true sync=false

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,136 Views
santhosh2
Contributor IV

Hi igor,

I tried  $gst-launch-1.0 v4l2src ! video/x-raw,format=NV12,width=1920,height=1080 ! queue max-size-time=0 ! vpuenc_h264 ! h264parse ! vpudec ! queue max-size-time=0 ! waylandsink enable-tile=true sync=false

And got :-pastedImage_1.png

Thanks and regards,

Santhosh

0 Kudos
Reply

1,136 Views
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

what camera are you using, could you try with Demo Image from

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

is below pipeline working for you (MIPI CSI camera accessory; part number: MINISASTOCSI & MIPI DSI to HDMI Converter)

1080p @60 fps camera capture:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080 ! waylandsink

Best regards
igor

0 Kudos
Reply

1,136 Views
santhosh2
Contributor IV

I will check with new camera

0 Kudos
Reply