Gstreamer - imx

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Gstreamer - imx

Duchassin Frederic

Hello,

 

I’m’ working on GStreamer linux player on UDP and RTP MPEG2-TS stream.

Target board is an Apalis IMX6q from Toradex.

I get several macro blocks or the screen freeze sometimes and I don’t really know why.

 

To launch UDP play I use the following command:

gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 ! decodebin use-buffering=1 name=dec dec. ! queue ! imxipuvideosink dec. ! queue ! audioconvert ! volume volume=10 ! alsasink

RTP player :

gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)MP2T-ES" ! rtpjitterbuffer ! rtpmp2tdepay ! decodebin use-buffering=1 name=dec dec. ! queue ! imxipuvideosink dec. ! queue ! audioconvert ! volume volume=10 ! alsasink

 

in Decodebin, Use-buffering=1 doesn’t change anything !

 

Have you got an idea why performance are so bad ?

 

Fred

 


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

Re: Gstreamer - imx

Vincent Génieux-2
Le 28/07/2017 à 14:15, Duchassin Frédéric a écrit :

> Hello,
>
>  
>
> I’m’ working on GStreamer linux player on UDP and RTP MPEG2-TS stream.
>
> Target board is an Apalis IMX6q from Toradex.
>
> I get several macro blocks or the screen freeze sometimes and I don’t
> really know why.
>
>  
Hello,

It looks like you have packet loss. Please, first check the cpufreq
governor ?

On my system, it is located here :

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand


On some system, you may set it to 'performance' to avoid packet loss.

# echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

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