popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.02k stars 333 forks source link

RSTP not wworking on buster #806

Open boluwatugbo opened 3 years ago

boluwatugbo commented 3 years ago

Im running a rasbian buster but i tried all possible means to stream rstp of hikvision camera but not working just exit with have a niceday need help sir

popcornmix commented 3 years ago

omxplayer is deprecated in favour of vlc. Do you have the issue with vlc?

maniac-0s commented 2 years ago

I just have set it up here and it runs like a charm nonstop. I am accessing rtsp stream of UniFi Security Cameras.

pi@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Installed it via the displaycameras package: https://github.com/Anonymousdog/displaycameras but can run it standalone without the wrapper as well.

pi@raspberrypi:~ $ apt search omxplayer Sortierung... Fertig Volltextsuche... Fertig omxplayer/testing,now 20190723+gitf543a0d-1 armhf [installiert] Command line media player for Raspberry Pi

maniac-0s commented 2 years ago

omxplayer is deprecated in favour of vlc. Do you have the issue with vlc?

Well, VLC doesn't play Unifi rtsp streams...

` [00007fc484008f90] access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0

[00007fc484008f90] access_realrtsp stream debug: rtsp connected

[00007fc484008f90] access_realrtsp stream warning: only real/helix rtsp servers supported for now

[00007fc484008f90] main stream debug: no access modules matched

[00007fc49400aed0] main input error: Your input can't be opened

[00007fc49400aed0] main input error: VLC is unable to open the MRL 'rtsp://xxxxxx:7447/5c92564dcb8ad47097929faa_1'. Check the log for details.

`

omxplayer does it without any issues out of the box and my Raspi 4 load is as low as 0.20 constantly.

Would really be pity if such a well tuned program like omxplayer gets replaced by a full X app like VLC.

popcornmix commented 2 years ago

VLC doesn't require X. It can be run fullscreen from outside X.

wasilius commented 2 years ago

Hello there,

I also have difficulties to migrate to vlc. Would it be possible to make a little tutorial about all the configuration options that are needed? I can get a video running but how do I get multiple videos right next to each other?

Most options I pass to the command (neither vlc or cvlc) seemt to be ignored. I am using compute module 3.

Thank you and best wishes!

Sebastian

popcornmix commented 2 years ago

There's some useful info here: https://github.com/RPi-Distro/vlc/issues/12

SummerSeaSun commented 2 years ago

There's a more simple explanation of the main problem, reported here:

https://stackoverflow.com/questions/69766748/cvlc-cannot-play-rtsp-omxplayer-instead-can/69908355#69908355

popcornmix commented 2 years ago

RTSP is working with vlc in latest bullseye image. https://forums.raspberrypi.com/viewtopic.php?p=1936216#p1936216