ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.62k stars 9.97k forks source link

Only video downloaded (no audio) #32750

Open Lieta2 opened 6 months ago

Lieta2 commented 6 months ago

Verbose log

$ youtube-dl -v -f bestvideo+bestaudio/best https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/playlist.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', 'bestvideo+bestaudio/best', 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/playlist.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.12 (CPython) - Linux-6.5.0-26-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[debug] Invoking downloader on 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/chunklist_b4550000_vo_sleng_t64SERfNTAwMA==.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo'
[download] Destination: playlist-playlist.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3565.0 Safari/537.36
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
' -i 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/chunklist_b4550000_vo_sleng_t64SERfNTAwMA==.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' -c copy -f mp4 file:playlist-playlist.mp4.part
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[tcp @ 0x5f2b35050fc0] Starting connection attempt to 152.195.34.33 port 443
[tcp @ 0x5f2b35050fc0] Successfully connected to 152.195.34.33 port 443
[hls @ 0x5f2b3504c900] Skip ('#EXT-X-VERSION:4')
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_0.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[hls @ 0x5f2b3504c900] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_0.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[tcp @ 0x5f2b35366fc0] Starting connection attempt to 152.195.34.33 port 443
[tcp @ 0x5f2b35366fc0] Successfully connected to 152.195.34.33 port 443
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_1.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[hls @ 0x5f2b3504c900] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_1.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[tcp @ 0x5f2b3568d640] Starting connection attempt to 152.195.34.33 port 443
[tcp @ 0x5f2b3568d640] Successfully connected to 152.195.34.33 port 443
[h264 @ 0x5f2b35989fc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[hls @ 0x5f2b3504c900] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
Input #0, hls, from 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/chunklist_b4550000_vo_sleng_t64SERfNTAwMA==.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo':
  Duration: 00:11:05.34, start: 0.080000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
  Stream #0:0: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:playlist-playlist.mp4.part':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_2.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35363ac0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_2.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_3.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35374ec0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_3.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_4.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35363ac0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_4.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_5.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35374ec0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_5.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_6.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35363ac0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_6.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_7.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35374ec0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_7.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_8.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35363ac0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_8.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
[hls @ 0x5f2b3504c900] HLS request for url 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_9.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo', offset 0, playlist 0
[https @ 0x5f2b35374ec0] Opening 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/media_b4550000_vo_sleng_t64SERfNTAwMA==_9.ts?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo' for reading
^Cframe= 1330 fps=999 q=-1.0 Lsize=   27967kB time=00:00:53.08 bitrate=4316.2kbits/s speed=39.9x    
video:27950kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.059957%
Input file #0 (https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/chunklist_b4550000_vo_sleng_t64SERfNTAwMA==.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo):
  Input stream #0:0 (video): 1330 packets read (28620676 bytes); 
  Total: 1330 packets (28620676 bytes) demuxed
Output file #0 (file:playlist-playlist.mp4.part):
  Output stream #0:0 (video): 1330 packets muxed (28620676 bytes); 
  Total: 1330 packets (28620676 bytes) muxed
[AVIOContext @ 0x5f2b3536c340] Statistics: 2 seeks, 113 writeouts
[AVIOContext @ 0x5f2b3568b200] Statistics: 14460725 bytes read, 0 seeks
[AVIOContext @ 0x5f2b35988900] Statistics: 15003340 bytes read, 0 seeks
[AVIOContext @ 0x5f2b353418c0] Statistics: 32392 bytes read, 0 seeks
Exiting normally, received signal 2.

ERROR: Interrupted by user
lieta@lieta:/disk/Video/recordings$ 
lieta@lieta:/disk/Video/recordings$ 
lieta@lieta:/disk/Video/recordings$ youtube-dl -v --list-formats https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/playlist.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--list-formats', 'https://ltv2060.cloudycdn.services/store/_definst_/tmsp00060/vodt/04/bb/719582/kdy_a22-0270-007.smil/playlist.m3u8?Ki1AY6MeZGXUdnqDt3svOhgY_CCnm8xCMmT-sdMUu7nMOu6_RLDIvREOFrmayP_juy8cj5BfKP87hUUOpQLOlEwRkWrf0SWHOYG6CaK_YMlZmgXloPv6hiOdPOzV0xw540VO22RhN0tl5cmrJTNJwBpRhufFFCJJWitVo1rO5_lSfHjWI_ujQuPRoHfGEKQ8L6MQJxXAPF3_QdXIDumKtHZuZuBoCEO0BAgKfeo']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.12 (CPython) - Linux-6.5.0-26-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[info] Available formats for playlist:
format code   extension  resolution note
grp0-English  mp4        audio only [eng] 
grp0-Latvian  mp4        audio only [lav] 
grp1-English  mp4        audio only [eng] 
grp1-Latvian  mp4        audio only [lav] 
grp2-English  mp4        audio only [eng] 
grp2-Latvian  mp4        audio only [lav] 
SD            mp4        640x360     950k 
HD_2500       mp4        1280x720   2200k 
HD_5000       mp4        1920x1080  4550k  (best)

Description

The downloaded file contains only video, no audio. If the link times out, please, take m3u8 from here

dirkf commented 6 months ago

A manifest (like the m3u8 here) may not be downloadable outside the context of the site from which it was captured. It may be time-limited, or require additional HTTP headers, such as Referer, Origin, Authorization or cookies. Ideally, some one would write an extractor for replay.lsm.lv.

But in this case, there seems to be a problem with the manifest itself, or with our parsing of it. It looks like yt-dl thinks the video formats are actually combined (hence the (best) label in the format listing.

I think that the replay.lsm.lv videos may be geo-restricted so I can't easily test this.

Please install the the nightly build, which should improve your yt-dl experience in other ways. List the formats for a new m3u8. If you now get the video formats marked video only, try your original command with the new manifest.

Otherwise (if the result is the same) try

  1. -f best+bestaudio to merge the video and audio.
  2. -f best,bestaudio and then merge the resulting video and audio manually.

Substitute specific format IDs to get other than best...

And do let us know what happened either way.

Lieta2 commented 6 months ago

-f best+bestaudio works as expected. Thanks.

dirkf commented 6 months ago

I think "... as hoped" would be more like it.

If you could save the text of one of these manifests with video-only formats that weren't tagged video only and attach it to the issue, we could investigate why the video formats weren't tagged video only (combined is the default).

Lieta2 commented 6 months ago

The manifest looks like this:

#EXTM3U
#EXT-X-VERSION:4
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp2",LANGUAGE="lav",NAME="Latvian",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_b384000_ao_sllav_t64TGF0dmlhbg==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp1",LANGUAGE="lav",NAME="Latvian",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_b192000_ao_sllav_t64TGF0dmlhbg==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp0",LANGUAGE="lav",NAME="Latvian",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_b96000_ao_sllav_t64TGF0dmlhbg==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp2",LANGUAGE="eng",NAME="English",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_b384000_ao_sleng_t64RW5nbGlzaA==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp1",LANGUAGE="eng",NAME="English",DEFAULT=NO,AUTOSELECT=NO,URI="chunklist_b192000_ao_sleng_t64RW5nbGlzaA==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="grp0",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_b96000_ao_sleng_t64RW5nbGlzaA==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc"
#EXT-X-STREAM-INF:BANDWIDTH=4550000,NAME="HD_5000",RESOLUTION=1920x1080,AUDIO="grp2"
chunklist_b4550000_vo_sleng_t64SERfNTAwMA==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc
#EXT-X-STREAM-INF:BANDWIDTH=2200000,NAME="HD_2500",RESOLUTION=1280x720,AUDIO="grp1"
chunklist_b2200000_vo_sleng_t64SERfMjUwMA==.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc
#EXT-X-STREAM-INF:BANDWIDTH=950000,NAME="SD",RESOLUTION=640x360,AUDIO="grp0"
chunklist_b950000_vo_sleng_t64U0Q=.m3u8?RUBRor5Op2vBCO3wtfMAwQfOvF4ivoe9Bpsu_uoHwImm1H35G32AlN3a3k2bR1zZ4xMObtqVq6VXoIYsPSHyiGKMIXqH9Mb5KEqd5MbstrcmPLfPbEgOk8wBe-m5tXRU2x50Uyy_ee6pc5oLQpscXK4qGcKYXJ51A0yjukcfySFbs7K-8vIaeTqTw1ADZEx7dZ0ZugofCEFoFkZVKaLUxbEgYdCU7ORwBTarEroc

Where can I download nightly builds from?

dirkf commented 6 months ago

For nightly builds, see #30839, but https://github.com/ytdl-org/yt-dl-nightly/releases.

Thanks for the manifest, which is very helpful. I've documented the problem below. You could unsubscribe the issue if you don't care about these details.

Logically, if a stream described by an #EXT-STREAM-INF line has an AUDIO attribute that references the GROUP-ID of an #EXT-X-MEDIA:TYPE=AUDIO line, the stream should be video-only, but according to the specification (quoted below) there must also be a CODECS attribute, missing in the problem manifest.

From dstftw's comment in the _parse_m3u8_formats() code, there was a deliberate choice to ignore the AUDIO group in the #EXT-STREAM-INF lines because we can't be sure whether a non-conforming line defines a combined or video-only format ([2] is #12211):

                # As per [1, 4.3.4.1.1] any EXT-X-STREAM-INF tag which
                # references a rendition group MUST have a CODECS attribute.
                # However, this is not always respected, for example, [2]
                # contains EXT-X-STREAM-INF tag which references AUDIO
                # rendition group but does not have CODECS and despite
                # referencing an audio group it represents a complete
                # (with audio and video) format. So, for such cases we will
                # ignore references to rendition groups and treat them
                # as complete formats.

Apparently there's no way to process such degenerate lines (with no CODECS) that would work for this manifest and also handle the case in #12211. But that site no longer exists in the same form (toggle.sg became mewatch.sg, and if I recall correctly it uses a different video host) and perhaps they've fixed the manifests. It might be safe to change the work-around to favour the more likely case here. Or, we could make the code that should set video-only depend on a flag set on the extractor class so that an extractor for a broken site can force the existing behaviour (or add a new kwarg).

This code is the same in yt-dlp, attributed to inactive (?) devs shirt-dev and Lesmiscore: @pukkandan, @bashonly.

pukkandan commented 6 months ago

Related: https://github.com/yt-dlp/yt-dlp/pull/5924 and linked issues

attributed to inactive (?) devs shirt-dev and Lesmiscore:

If you are looking at git-blame, it's just the code being moved around

dirkf commented 6 months ago

I assumed so and did not @ them. But does anyone have a view about which hack would be better in future?