Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

Aditya Oza
Hello,

just received Raspberry pi 4B - 4 GB model.

I have tested below command for recording and streaming parallelly from Raspberry pi camera using Gstreamer pipeline.

sudo  gst-launch-1.0  -v v4l2src device=/dev/video0 do-timestamp=true ! tee name=tee ! capsfilter caps="video/x-raw,width=1920,height=1080,framerate=30/1,bitrate=40000" ! queue ! videoflip method=rotate-180 ! videoconvert  ! videorate ! queue ! omxh264enc ! queue ! avimux ! queue ! filesink location = test.h264 qos=true --gst-debug=GST_QOS:5 ! queue ! videoscale method=1 ! videoconvert ! capsfilter caps="video/x-raw,width=256,height=144,framerate=30/1" ! queue  ! videoflip method = rotate-180 ! queue ! omxh264enc  ! queue ! h264parse ! mpegtsmux ! rtpmp2tpay ! multiudpsink clients=192.168.5.255:1234 ttl=1  auto-multicast=true  

After running this same command at 480p30fps and 720p30fps they working fine but same command at 1080p 30fps  frame skipping problem and also in video bottom line appeared as green.

so please suggest me when 1080p at 30 fps not working. 
Any reason??  







_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

Baby Octopus
Administrator
Hard to predict why there could be frame drops. You need to check where the
bottleneck is. What Is the CPU load that you see for 1080? Is it being maxed
out? Is the memory maxed out? Or is the input itself dropping the buffers
and unable to capture raw YUV buffers at that rate? I mostly think the issue
is at capture side and v4l2 is unable to capture with the physical inteface




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

Aditya Oza
I running this command on my new latest raspberry pi 4 - 4 GB model and image
file is raspbian duster.

I check cpu and memory usage when my command is running.

cpu: average 30%
memory: 203 mb

I run this command not directly in terminal, once I have create c file after
compile it run a.out file.

One thing I Observe while running a.out file htop show multiple process of
gst-streamer.

I attached here image fi </file/t378874/Capture1.png> le while running a.out
file.

Please suggest me how to get perfect recording without frame skipping  in
1080p ??






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

Baby Octopus
Administrator
How do you capture the input. What interface?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Frame skip problem in 1080p-30fps in Raspberry pi4 using Gstreamer

Nicolas Dufresne-5
In reply to this post by Aditya Oza
Le mercredi 17 juillet 2019 à 00:19 -0500, Aditya Oza a écrit :

> I running this command on my new latest raspberry pi 4 - 4 GB model and image
> file is raspbian duster.
>
> I check cpu and memory usage when my command is running.
>
> cpu: average 30%
> memory: 203 mb
>
> I run this command not directly in terminal, once I have create c file after
> compile it run a.out file.
>
> One thing I Observe while running a.out file htop show multiple process of
> gst-streamer.
>
> I attached here image fi </file/t378874/Capture1.png> le while running a.out
> file.
>
> Please suggest me how to get perfect recording without frame skipping  in
> 1080p ??
>
Nable hides the fact that this is a mailing list, as an end result, we
only see the text you wrote, everything else is lost. Best is to come
by the mailing list and send us a mail.

>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment