m3u8 file not working?
Opened this issue · 1 comments
egh commented
With chromecast audio, this is not working for me:
🤔 catt cast https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/chunklist_b250000.m3u8
Casting remote file https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/chunklist_b250000.m3u8...
Playing "chunklist_b250000" on "Living Room speaker"...
The "startup sound" plays on the speaker, but that is all.
youtube-dl
works for this:
🤔 youtube-dl https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/chunklist_b250000.m3u8
[generic] chunklist_b250000: Requesting header
[generic] chunklist_b250000: Downloading m3u8 information
[download] Destination: chunklist_b250000-chunklist_b250000.mp4
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[hls,applehttp @ 0x55af2210cac0] Opening 'https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/media_b250000_62337.aac' for reading
Input #0, hls,applehttp, from 'https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/chunklist_b250000.m3u8':
Duration: N/A, start: 49647.837867, bitrate: 124 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Audio: aac (HE-AAC), 48000 Hz, stereo, fltp, 124 kb/s
Metadata:
variant_bitrate : 0
Output #0, mp4, to 'file:chunklist_b250000-chunklist_b250000.mp4.part':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s
Metadata:
variant_bitrate : 0
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0x55af2210cac0] Opening 'https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/media_b250000_62338.aac' for reading
[hls,applehttp @ 0x55af2210cac0] Opening 'https://cdnlive.shooowit.net/rtvalive/smil:channel7.smil/media_b250000_62339.aac' for reading
size= 256kB time=00:00:20.13 bitrate= 104.2kbits/s speed=12.7x
^C
generates a playable file: chunklist_b250000-chunklist_b250000.mp4.part
chunklist_b250000-chunklist_b250000.mp4.part: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
theychx commented
I've looked into this, and there is definitely some minor issues in catt
with mime-types and manifests such as this.
However, even after implementing a workaround, I still cant get any of my chromecast devices to play this using catt
(the content inside the manifest plays fine).