video freezing on the screen but gstreamer still running

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

video freezing on the screen but gstreamer still running

gilmotta
Hello everybody,

I am writing a Java app for Imx8 (ARM) running Ubuntu 18.04. I have a stress
test that plays random videos (Big Buck Bunny.mp4 is one of them) every 5
minutes.

From time to time, gstreamer just freezes but there is no error or issues in
the syslog. I look into HTOP and I see that gstreamer is still consuming cpu
at 15% which is the normal for me. If I wait long enough, I receive EOS from
gstreamer as if it terminated the video normally with the Total showed
frames, Playing for and fps information, etc.

It does not matter the length of the video. I have seen the problem with 2
minutes and 30 minutes long videos.

HTOP is showing no memory leaks or anything wrong.

If I play again it plays normally. the issue is intermittent and it does not
lock up the hardware.

Any help will be greatly appreciated.

If you are a gstreamer veteran , I will pay you a bounty to work with me to
uncover this issue.

Thanks so much,
Gil



--
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: video freezing on the screen but gstreamer still running

Nicolas Dufresne-5
Le mercredi 08 janvier 2020 à 15:15 -0600, gilmotta a écrit :
> Hello everybody,
>
> I am writing a Java app for Imx8 (ARM) running Ubuntu 18.04. I have a stress
> test that plays random videos (Big Buck Bunny.mp4 is one of them) every 5
> minutes.

Is this happening with software decoder or is this with NXP kernel +
NXP GStreamer elements (assuming they exist) ? Ubuntu Bionic has
GStreamer 1.14, have you tried to build GStreamer yourself to compare
against newer versions ?

>
> From time to time, gstreamer just freezes but there is no error or issues in
> the syslog. I look into HTOP and I see that gstreamer is still consuming cpu
> at 15% which is the normal for me. If I wait long enough, I receive EOS from
> gstreamer as if it terminated the video normally with the Total showed
> frames, Playing for and fps information, etc.
>
> It does not matter the length of the video. I have seen the problem with 2
> minutes and 30 minutes long videos.
>
> HTOP is showing no memory leaks or anything wrong.
>
> If I play again it plays normally. the issue is intermittent and it does not
> lock up the hardware.
>
> Any help will be greatly appreciated.
>
> If you are a gstreamer veteran , I will pay you a bounty to work with me to
> uncover this issue.

Any warning with GST_DEBUG=3 environment set ?

>
> Thanks so much,
> Gil
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: video freezing on the screen but gstreamer still running

Stephenwei
In reply to this post by gilmotta
Would you try gst-launch to got the same issue?
or more detail information(elements of a pipeline)?




-----
GStreamer is a convenient multimedia platform, I like it.
Develop the NVR system on ARM/x86(c/python)
Use python to generate NVR is crazy, of course works fine.

--
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: video freezing on the screen but gstreamer still running

gilmotta
I tried the gst-launch1-0 and it works for days without issues.



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