question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tvr.by : Belarus public service

See original GitHub issue

Checklist

  • This is a bug report.
  • This is a plugin request.
  • This is a feature request.
  • I used the search function to find already opened/closed issues or pull requests.

Description

Belarus public service consists of 5 channels aired on their website : http://www.tvr.by RTMP and HLS protocol are used. Belarus 1 and Belarus 24 are available abroad, for others it’s Belarus only.

  • Belarus 1 : http://www.tvr.by/televidenie/belarus-1/
  • Belarus 2 : http://www.tvr.by/televidenie/belarus-2/
  • Belarus 3 : http://www.tvr.by/televidenie/belarus-3/
  • Belarus 5 : http://www.tvr.by/televidenie/belarus-5/
  • Belarus 24 : http://www.tvr.by/televidenie/belarus-24/

Expected / Actual behavior

Stream addresses are located in page source :

  • Belarus 1 : http://live.streaming.hoster.by:1935/belarus1/live/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDI6MTcgUE0maGFzaF92YWx1ZT1zUXJ3OElLWXk4ZUhkOXpSM0I0K3lRPT0mdmFsaWRtaW51dGVzPTEyMA==

  • Belarus 2 : http://live.streaming.hoster.by:1935/belarus2/live/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDY6MDkgUE0maGFzaF92YWx1ZT12K3pOK2JQSGRYR3hhcFBkQ3Q4NmxRPT0mdmFsaWRtaW51dGVzPTEyMA==

  • Belarus 3 : http://video.tvr.by:1935/belarus3/live/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDc6MjQgUE0maGFzaF92YWx1ZT1QVUYwSCtiVFBNSUtpOTdESUJMbHRBPT0mdmFsaWRtaW51dGVzPTEyMA==

  • Belarus 5 : rtmp://live.streaming.hoster.by:1935/belarus5?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDg6MDAgUE0maGFzaF92YWx1ZT0vRnZDQXRIY3c2TGNGWlJUOU1PNEVnPT0mdmFsaWRtaW51dGVzPTEyMA==///live&debug=1&m=video&st=6N9MnjRHG54ZkxsHvC9j0IoN0FJ5GxW8nj7pn5w5kHnenjEHvC91UaF8kSnetSlNvC97UaJBnjRHtS9JvC9BUxz4GdFI31EHOHnsk5JBGCAD3a4ekQbLtQTLPjWHPHn8n5hLGdM46SnetCVHGNneyQAVvC9j0azMkxmbU5Gh0iuRUQnHOjA8n59zk5k43Iy4UNnetNVHUamb35WXG5J8U5FN0d4BkSne6N9cnjRatib8n5yL0IoN0aW1njRH3dWh6SWb2xz4fcu8UfZ80d4BkSWa0aWz0xY8G5J8U5FN0d4BkSW5GxW8viybUf9bvd9zk5k43HWNGxmXG5J8Gxz4nHVH05JbkfyHkayL0dJNnjRHtCn8n5DHOjTbyCVH3ayNkxwBUaJ80cnHOHnWy19HOSn8n5Wh053HOH9NGSn8n5yBGi98fcybUf9bnj7pn59IfcyRnjRHtSn8n59InjRHtSn8n59IfaEHOjABtQwJvC912dJc05FMkSnetSVH3i9LnjRWvC9j0IoN0d9IUaJ80cnHOHnVXgAHvC9BUxz4GdFI31nHOHnsvan+PCJ50ambPHn8n5yBGi98fc9z04Ja0aWz0xYHOI8HUaJ80cnHOH95k5k5k5UHXSVH3a4ZnjRHtjtlvQDbtHn8n59IUaJ80cnHOH95k5k5k5UHXTrr

In the past Belarus 5 also used HLS streaming method, I wonder why did they switch to rtmp.

  • Belarus 24 : http://video.tvr.by:1935/belarus24/live/playlist.m3u8

Reproduction steps / Stream URLs to test

RTMP

rtmpdump -r "rtmp://live.streaming.hoster.by:1935/belarus1" -a "belarus1?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDg6MDk6MDkgUE0maGFzaF92YWx1ZT1Rc1FETXhZYkFQRkIxV1BpN0c2eXpBPT0mdmFsaWRtaW51dGVzPTEyMA==" -f "WIN 24,0,0,221" -W "http://www.tvr.by/plugines/uppod/uppod.swf" -p "http://www.tvr.by/televidenie/belarus-1/" -y "live" | %systemdrive%\progra~1\videolan\vlc\vlc -
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO:   language                und
INFO:   timescale               12800.00
INFO:   length                  46715904.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                und
INFO:   timescale               44100.00
INFO:   length                  160957440.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         44100.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                31.00
INFO:   avcprofile              100.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   788.00
INFO:   height                  576.00
INFO:   frameWidth              788.00
INFO:   frameHeight             576.00
INFO:   displayWidth            788.00
INFO:   displayHeight           576.00
INFO:   framerate               25.00
INFO:   moovposition            524272534.00
8768.223 kB / 62.42 sec
ERROR: Download: Failed writing, exiting!

HLS

streamlink "hlsvariant://http://live.streaming.hoster.by:1935/belarus1/live/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDI6MTcgUE0maGFzaF92YWx1ZT1zUXJ3OElLWXk4ZUhkOXpSM0I0K3lRPT0mdmFsaWRtaW51dGVzPTEyMA==" best
[cli][info] Found matching plugin stream for URL hlsvariant://http://live.streaming.hoster.by:1935/belarus1/live/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDc6NDI6MTcgUE0maGFzaF92YWx1ZT1zUXJ3OElLWXk4ZUhkOXpSM0I0K3lRPT0mdmFsaWRtaW51dGVzPTEyMA==
[cli][info] Available streams: 576p (worst, best)
[cli][info] Opening stream: 576p (hls)
[cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
[cli][info] Player closed
[cli][info] Stream ended

Environment details (operating system, python version, etc.)

Windows 7 PRO/Python 2.7.13

Comments, logs, screenshots, etc.

RTMP command was sniffed with rtmpdumphelper : http://www.nirsoft.net/utils/rtmp_dump_helper.html

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
karlo2105commented, Feb 15, 2017

In the past when Adobe flash was spreaded i was hunting for rtmp streams, it used to be my hobby how to dump rtmp. I used to spend more time to dump rtmp than to watch channels. As rtmp was fading away, my interest declined before i discovered livestreamer which provided pipe to vlc and i started to go after m3u8. I managed to find pycrypto for windows and chrippa included decoding support. Honestly I don’t watch much TV only sports sometimes football mostly. French and Swiss plugins are very valuable to me. But i thought that it could interest somebody that’s why i filled up form for those plugins. 😃 I am grateful to developers for plugins and enhancements. I don’t have skills for developping that’s why I try to contribute differently. When i have spare time i make different tests.

1reaction
beardypigcommented, Feb 16, 2017

I suppose… PR en route.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Belteleradio - Wikipedia
The National State TV and Radio Company of the Republic of Belarus known as ... is the state television and radio broadcasting service...
Read more >
How to watch Belarus 5 (TVR BY) outside Belarus - VPNxD
Follow our simple VPN guide to watch Belarus 5 anywhere in the world. Never miss your favorite sports events, stream Premier and Champion...
Read more >
Types of Belarusian entry visas and visa support documents
Depending on the purpose of travel to Belarus the following categories of visas are issued: ♢ diplomatic; ♢ service; ♢ business travel;
Read more >
Belarus: Freedom on the Net 2021 Country Report
36 The NTEC provides peering services through the BY-IX internet exchange point (IXP). Beltelecom, the country's largest telecommunications company, owns and ...
Read more >
nacionalna državna radiotelevizija Republike Belorusije
Makayonka, 9, Belarus · Минск, ул. ... Website: tvr.by ... Belgium · Federal Public Service Finance · non-official source.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found