Ok sorry for bothering, but I already asked people who understand about theme, been in IRCs and everything, and got banned from one channel just for asking a simple question, anyway frustrations aside, I have livestreamer installed, and also a dir with mpv+youtube-dl+rtmpdump (and they are installed).
Anyway, I was trying to make a workaround for a certain stream, I'll give a example link:
http://www.rtp.pt/play/p2077/john-oliver
That's the stream for RTP Play a portuguese channel, so what happens is that livestreamer has no support for rtp play, and i've been struggling with youtube-dl+mpv
I tried to read the manual, and searched deep and wide however I do not understand how to workaround streams that ask for rtmp.Code:Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\WINDOWS\system32>mpv http://www.rtp.pt/play/p2077/john-oliver Playing: http://www.rtp.pt/play/p2077/john-oliver Failed to open rtmp://rtpvodfs.fplive.net/rtpvod. Exiting... (Errors when loading file) C:\WINDOWS\system32>
Also I tried livestreamer, it has not support for this kind of stream.
So sorry for the noob question but do I have to config somehow rtmpdump, and if so how do I do it?Code:Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\WINDOWS\system32>livestreamer http://www.rtp.pt/play/p2077/john-oliver error: No plugin can handle URL: http://www.rtp.pt/play/p2077/john-oliver C:\WINDOWS\system32>
Thanks!
+ Reply to Thread
Results 1 to 14 of 14
-
-
hi
Code:mpv 'http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls&streams=p2077_1_30092016.mp4.m3u8:1024'
Code:livestreamer "rtmp://rtpvodfs.fplive.net/rtpvod//mp4:/nas2.share/h264/512x384/p2077/p2077_1_30092016" best
-
-
Code:
view-source:http://www.rtp.pt/play/p2077/john-oliver
Code:<script> RTPPLAY.currentHPListProgram = 2077; if ($("#player_prog").length > 0) { RTPPLAY.player.newPlayer({ "hls_url": "http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls&streams=p2077_1_30092016.mp4.m3u8:1024", "oas_site_page":"rtp.pt/play/ondemand/video/p2077/e252604" , "id":"player_prog","file": "/nas2.share/h264/512x384/p2077/p2077_1_30092016.mp4", "vttfile": "", "image": "http://img0.rtp.pt/EPG/imgth/phpThumb.php?src=/multimedia/screenshots/p2077/p2077_1_30092016.jpg&q=30&v=3&w=350","application": "rtpvod","streamer": "rtpvodfs.fplive.net","width": 620,"height": 350,"autostart": true,"type":"video","mp4":1,"vod":true}); } RTPPLAY.startPage.programPage(); </script>
-
@biezom still both don't work,
Code:Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\Users\Carlos>mpv http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls&streams=p2077_1_30092016.mp4.m3u8:1024 Playing: http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls Empty playlist! Exiting... (End of file) 'streams' is not recognized as an internal or external command, operable program or batch file. C:\Users\Carlos>mpv 'http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls&streams=p2077_1_30092016.mp4.m3u8:1024' Playing: 'http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls [file] Cannot open file ''http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls': Invalid argument Failed to open 'http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls. Exiting... (Errors when loading file) 'streams' is not recognized as an internal or external command, operable program or batch file. C:\Users\Carlos>livestreamer "rtmp://rtpvodfs.fplive.net/rtpvod//mp4:/nas2.share/h264/512x384/p2077/p2077_1_30092016" best [cli][info] Found matching plugin stream for URL rtmp://rtpvodfs.fplive.net/rtpvod//mp4:/nas2.share/h264/512x384/p2077/p2077_1_30092016 [cli][info] Available streams: live (worst, best) [cli][info] Opening stream: live (rtmp) [cli][error] No data returned from stream C:\Users\Carlos>
-
ok
try mpv "URl_LINK" instead of mpv 'URl_LINK' because i think it's a problem with the ' ' in command prompt on windows so prefer " "
Code:mpv "http://cdn-ondemand-rtp.dcp.adaptive.level3.net/nas2.share/h264/512x384/p2077/index.m3u8?tlm=hls&streams=p2077_1_30092016.mp4.m3u8:1024"
try
Code:livestreamer "rtmp://rtpvodfs.fplive.net/rtpvod playpath=mp4:/nas2.share/h264/512x384/p2077/p2077_1_30092016" best
-
@biezom thank you so much, it was the syntax, I think I will even build a guide to my own guide in my site for record! Thank you so much!
Edit: Just to clear things out, the mpv trick worked, but not the livestreamer one, but I don't care I only need one to workLast edited by silveringking; 3rd Oct 2016 at 13:12. Reason: Forget to say something
-
Hi I'm having yet another problem with a stream, this time: http://sic.sapo.pt/direto , it says it fails to download the m3u8:
Code:Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\Users\Carlos>mpv http://sic.sapo.pt/direto Playing: http://sic.sapo.pt/direto [ytdl_hook] ERROR: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] youtube-dl failed, trying to play URL directly ... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (1)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (2)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (3)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (4)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (5)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] Connection lost! Attempting to reconnect (6)... [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed [ffmpeg] http: HTTP error 416 Requested Range Not Satisfiable [ffmpeg] Seek failed Failed to recognize file format. Exiting... (Errors when loading file) C:\Users\Carlos>
Code:Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\Users\Carlos>mpv "http://live.impresa.pt/live/sic/sic.m3u8" Playing: http://live.impresa.pt/live/sic/sic.m3u8 [ytdl_hook] ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] youtube-dl failed, trying to play URL directly ... [ffmpeg] http: HTTP error 403 Forbidden Failed to open http://live.impresa.pt/live/sic/sic.m3u8. Exiting... (Errors when loading file) C:\Users\Carlos>
-
hi
it's geo-restricted, probably you used a proxy through your web browser but this proxy works just through your web browser and not for all traffic so
Code:HTTP Error 403: Forbidden
-
example with free proxy (free so not really efficient some lag)
Code:youtube-dl --proxy "http://94.46.163.111:8080" "http://live.impresa.pt/live/sic/sic.m3u8" -o- |"C:\Users\Carlos\mpv" -
Last edited by biezom; 8th Oct 2016 at 10:20.
-
Similar Threads
-
rtmp
By rodgerlee in forum Video Streaming DownloadingReplies: 0Last Post: 17th Nov 2015, 13:40 -
Rtmp?
By JekylHyde in forum Video Streaming DownloadingReplies: 30Last Post: 3rd Dec 2014, 13:15 -
DVD Flick error 53 File not found workaround
By RowRowYourBoat in forum Newbie / General discussionsReplies: 3Last Post: 17th Oct 2014, 22:20 -
Workaround for 99 title limit
By jm169896 in forum Authoring (DVD)Replies: 11Last Post: 6th Feb 2013, 17:40 -
Need Help! HD rtmp
By POVAR33 in forum Video Streaming DownloadingReplies: 0Last Post: 9th Dec 2012, 13:26