VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. 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

    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>
    I tried to read the manual, and searched deep and wide however I do not understand how to workaround streams that ask for rtmp.

    Also I tried livestreamer, it has not support for this kind of stream.

    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>
    So sorry for the noob question but do I have to config somehow rtmpdump, and if so how do I do it?

    Thanks!
    Quote Quote  
  2. ...
    Last edited by sysanin; 8th Oct 2016 at 07:42.
    Quote Quote  
  3. 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
    Quote Quote  
  4. @biezom for future reference how do I get the rtmp link (or the other link) from the browser, must I search in html code? I might also look into the streams

    Edit: I use firefox

    @sysanin

    Click image for larger version

Name:	printmpv.png
Views:	363
Size:	82.1 KB
ID:	38786

    As I see i set up everything, I even add a path for mpv in windows system properties.
    Quote Quote  
  5. 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&amp;q=30&amp;v=3&amp;w=350","application": "rtpvod","streamer": "rtpvodfs.fplive.net","width": 620,"height": 350,"autostart": true,"type":"video","mp4":1,"vod":true});
    }
    RTPPLAY.startPage.programPage();
    </script>
    Quote Quote  
  6. @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>
    Quote Quote  
  7. 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"
    and for livestreamer
    try

    Code:
    livestreamer "rtmp://rtpvodfs.fplive.net/rtpvod playpath=mp4:/nas2.share/h264/512x384/p2077/p2077_1_30092016" best
    Quote Quote  
  8. @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 work
    Last edited by silveringking; 3rd Oct 2016 at 13:12. Reason: Forget to say something
    Quote Quote  
  9. 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>
    However I found it in the source and it gave me and error anyway:

    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>
    Thanks!
    Quote Quote  
  10. 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
    Quote Quote  
  11. 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" -
    need ffmpeg in youtube-dl folder
    Last edited by biezom; 8th Oct 2016 at 10:20.
    Quote Quote  
  12. Originally Posted by biezom View Post
    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
    Yes, I know now, I understand, I know what happened, I'm in Germany and that is a Portuguese website, just one question, does the proxy needs to be Portuguese, how can I figure out the countries allowed?

    Thanks!
    Quote Quote  
  13. ..
    Last edited by danielko; 22nd Nov 2017 at 22:21. Reason: no one helped
    Quote Quote  
  14. ..
    Last edited by danielko; 22nd Nov 2017 at 22:17. Reason: no one helped
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!