France.tv audio truncated
See original GitHub issueChecklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.02.04.1
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones
Verbose log
$ youtube-dl -v "https://www.france.tv/france-5/ernest-et-celestine/saison-1/2263037-les-petits-fantomes.html"
[debug] System config: []
[debug] User config: ['--no-playlist', '--format', 'bestvideo[height<=1080]+bestaudio/best', '--write-sub', '--embed-subs', '--add-metadata']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.france.tv/france-5/ernest-et-celestine/saison-1/2263037-les-petits-fantomes.html']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.04.1
[debug] Python version 3.9.1 (CPython) - Linux-5.10.13-arch1-1-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[FranceTVSite] 2263037-les-petits-fantomes: Downloading webpage
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading video JSON
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading geo restriction info
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading signed hls_v5_os manifest URL
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading m3u8 information
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading signed m3u8-download manifest URL
[FranceTV] a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de: Downloading m3u8 information
[info] Writing video subtitles to: Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fr.vtt
[debug] Invoking downloader on 'https://cloudreplayfrancetv.akamaized.net/37f652fd6a106/968227092_france-domtom_TA.ism/ZXhwPTE2MTI2NzE1OTh+YWNsPSUyZjM3ZjY1MmZkNmExMDYlMmY5NjgyMjcwOTJfZnJhbmNlLWRvbXRvbV9UQS5pc20qfmhtYWM9Y2IwY2ZmNDQ5ZjYwOWIxNDc0MjAzZThkNTc5NzZlYjI4YTllODRmOWFlOGM3NTRkODhmNWJlODRkNjVlZGU4Ng==/968227092_france-domtom_TA-video=2000000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 94
[download] Destination: Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-2218.mp4
[download] 100% of 178.69MiB in 01:25
[debug] Invoking downloader on 'https://cloudreplayfrancetv.akamaized.net/37f652fd6a106/968227092_france-domtom_TA.ism/ZXhwPTE2MTI2NzE1OTh+YWNsPSUyZjM3ZjY1MmZkNmExMDYlMmY5NjgyMjcwOTJfZnJhbmNlLWRvbXRvbV9UQS5pc20qfmhtYWM9Y2IwY2ZmNDQ5ZjYwOWIxNDc0MjAzZThkNTc5NzZlYjI4YTllODRmOWFlOGM3NTRkODhmNWJlODRkNjVlZGU4Ng==/968227092_france-domtom_TA-audio_fre=96000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 94
[download] Destination: Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-audio-aacl-96-Audio_Français.mp4
[download] 100% of 8.78MiB in 00:39
[ffmpeg] Merging formats into "Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-2218.mp4' -i 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-audio-aacl-96-Audio_Français.mp4' -c copy -map 0:v:0 -map 1:a:0 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.temp.mp4'
Deleting original file Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-2218.mp4 (pass -k to keep)
Deleting original file Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fhls_v5_os-audio-aacl-96-Audio_Français.mp4 (pass -k to keep)
[ffmpeg] Adding metadata to 'Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.mp4' -c copy -metadata 'title=Ernest et Célestine - Les petits fantômes' -metadata date=20210206 -metadata 'description=En allant cueillir des mûres, Célestine découvre un vieux moulin envahi par le lierre. Ernest prétend que le bâtiment est hanté, mais loin d'"'"'effrayer Célestine, cela aiguise sa curiosité...' -metadata 'comment=En allant cueillir des mûres, Célestine découvre un vieux moulin envahi par le lierre. Ernest prétend que le bâtiment est hanté, mais loin d'"'"'effrayer Célestine, cela aiguise sa curiosité...' -metadata purl=francetv:a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.temp.mp4'
[ffmpeg] Embedding subtitles in 'Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.mp4' -i 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fr.vtt' -map 0 -c copy -map -0:s -map -0:d -c:s mov_text -map 1:0 -metadata:s:s:0 language=fra 'file:Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.temp.mp4'
Deleting original file Ernest et Célestine - Les petits fantômes-a4ce04f8-b3f6-4e8f-bf33-7be90a1cc8de.fr.vtt (pass -k to keep)
Description
When downloading this video or this one, the audio track only lasts until about halfway through the video. The rest is silence. On the website, audio plays fine all the way through a video.
I’ve noticed that this does not happen when I use -f best
explicitly so this may have something to do with bestaudio
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
FranceTV: hlsnative corrupts soundtrack in videos ... - GitHub
A single download provides a video with truncated sound (a few minutes). This therefore requires in order: downloading the "audio file only"; to ......
Read more >French public broadcasters protest Macron's plan to scrap TV ...
Citing fears for its independence, France's public broadcasting sector went on strike Tuesday to denounce President Emmanuel Macron's plan ...
Read more >How to auto select best HLS or DASH stream, and why one ...
Following a recent overhaul of the france.tv "replay" streaming ... average video bitrate 1967kbps, audio stream truncated at 6min48s (see ...
Read more >Truncated Theme Tune - TV Tropes
A show's Theme Tune is the way it gets the attention, and hopefully is good enough to get people remembering and singing it...
Read more >head of audio clip doesn't get played... and in export too.
My outputs consist of short 1080i TV spots, usually between 30 and 50 seconds long. The audio media being truncated is typically a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I confirm the issue, and the workaround (
-f best
)I’ve just noticed that this only happens on one of my machines, so I compared their output
youtube-dl -v "https://www.france.tv/france-5/ernest-et-celestine/saison-1/2316889-la-petite-voix-de-celestine.html" # on working machine
youtube-dl -v "https://www.france.tv/france-5/ernest-et-celestine/saison-1/2316889-la-petite-voix-de-celestine.html" # on failing machine
The immediately obvious difference is that the working machine bails out of extracting with hlsnative:
…whereas the failing machine does not. I can’t surmise what causes them to be different, but it led me to discover that if I use
--hls-prefer-ffmpeg
on the up-until-now-failing machine, it works fine, and I get a file with audio throughout.e: The m3u8 manifests downloaded by either machine are identical.