popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.01k stars 334 forks source link

Omxplayer hanging after looping a video for 2 times on Pi Zero W #790

Open RfAkramKarimi opened 3 years ago

RfAkramKarimi commented 3 years ago

Hi, I am facing issue with the latest version of the omxplayer (01 Aug 2019 build, version f543a0d) that it hangs right after playing video for 2 times in a loop. I am using the following CLI command. I am using raspberry pi zero W with Waveshare 1280x400 screen omxplayer --win 0,0,1280,400 --loop Videos/file.mp4

I have tried to update the packages using: sudo apt update sudo apt upgrade

But of no use.

I have tried allocating higher GPU memory to as high as 256 from a default value of 64 but of no use. I have tried both .mp4 and .h264 formats of same video but the issue persists. I have tried different video files but all with same issue.

Can someone guide me as I am novice to Raspberry pi. Thanks for your help in advance.

SebDominguez commented 3 years ago

Are you able to restart your player after a crash? Or do you need to reboot your Pi?

RfAkramKarimi commented 3 years ago

Once it freezes, system becomes non responsive and I have to do the hardware power reset (reboot). Next time, omx player freezes again after running the video for 2 time.

On Fri, 6 Nov 2020, 4:55 pm Sébastien Dominguez, notifications@github.com wrote:

Are you able to restart your player after a crash? Or do you need to reboot your Pi?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/popcornmix/omxplayer/issues/790#issuecomment-723093077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUMMH6VPN5QAAHWRWCKQBLSOP55FANCNFSM4TKJEY5Q .

SebDominguez commented 3 years ago

Seems related to my issue #789. Unfortunately it seems that Omxplayer is being depreciated in favor to Vlc according to #782. There is a lot of people having this kind of issue with Omxplayer and I don't thing this project is still active...

RfAkramKarimi commented 3 years ago

When I play my video in vlc player; it appears half cut. I don't know why. That's why I had switched to omxplayer where the video plays fine(although 2 times only) and covers full screen 1280×400.

I don't know how can I fix vlc player issue. Any leads on that?

On Fri, 6 Nov 2020, 5:08 pm Sébastien Dominguez, notifications@github.com wrote:

Seems related to my issue #789 https://github.com/popcornmix/omxplayer/issues/789. Unfortunately it seems that Omxplayer is being depreciated in favor to Vlc according to

782 https://github.com/popcornmix/omxplayer/issues/782. There is a lot

of people having this king of issue with Omxplayer and I don't thing this project is still active...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/popcornmix/omxplayer/issues/790#issuecomment-723099489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUMMH7PXCNLHC5NZ23H553SOP7O7ANCNFSM4TKJEY5Q .

SebDominguez commented 3 years ago

I'm afraid that I can't help you with your specific use case since I'm not using a Pi Zero... But here with my Pi 4 Vlc is playing fine. Did you tried the --fullscreen option with vlc?

popcornmix commented 3 years ago

omxplayer is deprecated in favour of vlc so it's best to solve the issue through vlc.

Create an issue here: https://github.com/RPi-Distro/vlc/issues You'll need to be more specific about the problem "half cut" - e.g. link to a photo of screen. Mediainfo of file and/or a sample file that shows the issue would also be useful.