Explorar o código

[rtp] Pass --realtime to rtmpdump (Fixes #4882)

A workaround for video jumping back in time.
Naglis Jonaitis %!s(int64=10) %!d(string=hai) anos
pai
achega
1a2548d9e9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      youtube_dl/extractor/rtp.py

+ 1 - 0
youtube_dl/extractor/rtp.py

@@ -49,6 +49,7 @@ class RTPIE(InfoExtractor):
             'ext': ext,
             'ext': ext,
             'vcodec': config.get('type') == 'audio' and 'none' or None,
             'vcodec': config.get('type') == 'audio' and 'none' or None,
             'player_url': 'http://programas.rtp.pt/play/player.swf?v3',
             'player_url': 'http://programas.rtp.pt/play/player.swf?v3',
+            'rtmp_real_time': True,
         }]
         }]
 
 
         return {
         return {