Screenly Forum

RTMP not working

Hello i used to be able to display RTMP streams in OSE. So far i cannot.

I am trying Sprint 10 i believe.

Raspberry Model|Model 3B+ Revision: 1.3 Ram: 1 GB Sony UK
Screenly Version|production@6c2c2fd

Is there anything i can do log wise to see why it is not loading the RTMP stream? VLC media player displays it fine.

THanks!
Chad

Is something broken with omxplayer?

I tried running the same commands that arein the screenly system info and each one replies:
have a nice day :wink:

17:25:33 T:18446744072217723388 DEBUG: DllBcm: Using omx system library
17:25:33 T:18446744072217724686 DEBUG: DllOMX: Using omx system library
17:25:33 T:18446744072217725402 DEBUG: DllAvFormat: Using libavformat system library
17:25:33 T:18446744072217727455 WARNING: Failed to acquire D-Bus name ‘org.mpris.MediaPlayer2.omxplayer’
17:25:33 T:18446744072217727855 WARNING: DBus connection failed, trying alternate
17:25:33 T:18446744072217729683 DEBUG: DBus connection succeeded
17:25:33 T:18446744072217731086 DEBUG: Keyboard: DBus connection succeeded
17:25:33 T:18446744072217731315 DEBUG: OMXThread::Create - Thread with id 1855955424 started
17:25:33 T:18446744072217731466 DEBUG: DllAvUtilBase: Using libavutil system library
17:25:33 T:18446744072217731492 DEBUG: DllAvCodec: Using libavcodec system library
17:25:33 T:18446744072217731513 DEBUG: DllAvFormat: Using libavformat system library
17:25:33 T:18446744072217732532 DEBUG: COMXPlayer::OpenFile - avformat_open_input rtmp://live.restream.io/pul
17:25:38 T:18446744072222842816 DEBUG: COMXPlayer::OpenFile - avformat_open_input enabled SEEKING
17:25:38 T:18446744072222843037 ERROR: COMXPlayer::OpenFile - avformat_open_input rtmp://live.restream.io/pul
17:25:38 T:18446744072222844545 DEBUG: OMXThread::Run - Exited thread with id 1855955424
17:25:38 T:18446744072222845152 DEBUG: OMXThread::StopThread - Thread stopped

I tried with the bunny test stream and it does now work also.

17:29:04 T:18446744072428906061 DEBUG: DllBcm: Using omx system library
17:29:04 T:18446744072428907274 DEBUG: DllOMX: Using omx system library
17:29:04 T:18446744072428908002 DEBUG: DllAvFormat: Using libavformat system library
17:29:04 T:18446744072428909627 WARNING: Failed to acquire D-Bus name ‘org.mpris.MediaPlayer2.omxplayer’
17:29:04 T:18446744072428909762 WARNING: DBus connection failed, trying alternate
17:29:04 T:18446744072428911328 DEBUG: DBus connection succeeded
17:29:04 T:18446744072428912371 DEBUG: Keyboard: DBus connection succeeded
17:29:04 T:18446744072428912616 DEBUG: OMXThread::Create - Thread with id 1855955424 started
17:29:04 T:18446744072428912777 DEBUG: DllAvUtilBase: Using libavutil system library
17:29:04 T:18446744072428912803 DEBUG: DllAvCodec: Using libavcodec system library
17:29:04 T:18446744072428912823 DEBUG: DllAvFormat: Using libavformat system library
17:29:04 T:18446744072428913920 DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
17:29:34 T:18446744072459001948 ERROR: COMXPlayer::interrupt_cb - Timed out
17:29:34 T:18446744072459002444 DEBUG: COMXPlayer::OpenFile - avformat_open_input enabled SEEKING
17:29:34 T:18446744072459009695 ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
17:29:34 T:18446744072459015390 DEBUG: OMXThread::Run - Exited thread with id 1855955424
17:29:34 T:18446744072459016063 DEBUG: OMXThread::StopThread - Thread stopped

I found an old memory card for OSE and it’s omxplayer is working. How do i get new installation of OSE to install this version?

pi@OSEpi:~ $ /usr/bin/omxplayer -v
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Wed, 05 Jul 2017 16:40:39 +0100
Version : 5a25a57 [debian]
Repository: git@github.com:XECDesign/omxplayer.git

I am wondering if omxplayer has updated their code to work with Raspberry Pi 4 and now it does not work on 3. I just installed it on Pi4 with Buster and it works. It streams RTMP just fine.

pi@CareyPi:~ $ omxplayer -v
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Thu, 01 Aug 2019 12:50:43 +0000
Version : f543a0d [master]
Repository: https://github.com/popcornmix/omxplayer.git

pi@CareyPi:~ $ 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

I think it was a firewall problem. Streaming is working.