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
132.39k stars 10.04k forks source link

[DramaFever] Specific video has audio disappearing after 2 seconds #16473

Open cnguye opened 6 years ago

cnguye commented 6 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-x', '--audio-format', 'mp3', '--audio-quality', '320k', '--sub-lang', 'en', '--write-sub', 'https://www.dramafever.com/drama/4769/7/She_Was_Pretty/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.05.09
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg 3.4.2, ffprobe 3.4.2
[debug] Proxy map: {}
[dramafever] Downloading main.js
[dramafever] 4769.7: Downloading video JSON
[dramafever] 4769.7: Downloading stream JSON
[dramafever] 4769.7: Downloading m3u8 information
[dramafever] 4769.7: Downloading subtitles JSON
[info] Writing video subtitles to: She Was Pretty - Episode 7-4769.7.en.vtt
[debug] Invoking downloader on 'https://df-c.dramafever.com/v10/fbc8ae32-07fe-11e7-86b1-0a043106d4ff/2187249482/hls4/-/audio/eng/128/index.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1223
[download] Destination: She Was Pretty - Episode 7-4769.7.mp4
[download] 100% of 67.60MiB in 02:35
[debug] ffmpeg command line: ffprobe -show_streams "file:She Was Pretty - Episode 7-4769.7.mp4"
[ffmpeg] Fixing malformed AAC bitstream in "She Was Pretty - Episode 7-4769.7.mp4"
[debug] ffmpeg command line: ffmpeg -y -i "file:She Was Pretty - Episode 7-4769.7.mp4" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:She Was Pretty - Episode 7-4769.7.temp.mp4"
[debug] ffmpeg command line: ffprobe -show_streams "file:She Was Pretty - Episode 7-4769.7.mp4"
[ffmpeg] Destination: She Was Pretty - Episode 7-4769.7.mp3
[debug] ffmpeg command line: ffmpeg -y -i "file:She Was Pretty - Episode 7-4769.7.mp4" -vn -acodec libmp3lame "-b:a" 320k "file:She Was Pretty - Episode 7-4769.7.mp3"
Deleting original file She Was Pretty - Episode 7-4769.7.mp4 (pass -k to keep)

<end of log>

Description of your issue, suggested solution and other information

For some reason this specific video's audio cuts off after 2 seconds. I have tried the episodes before it and the audio contains no issues. Edit: The episodes after have their audio cut about 10 second in. I am only downloading the audio to test if all the audio is there instead of downloading the whole video with audio to save time in testing the audio. The issue still exists when I download the audio with video.

My command for above: youtube-dl -v -x --audio-format mp3 --audio-quality 320k --sub-lang en --write-sub https://www.dramafever.com/drama/4769/7/She_Was_Pretty/

Problem still exists with: youtube-dl --sub-lang en --write-sub https://www.dramafever.com/drama/4769/7/She_Was_Pretty/

kashpie commented 6 years ago

Same thing happens to me, with any video on the site, with version 2018.09.10.

ringofyre commented 6 years ago

Can confirm using mpv and vlc with youtube-dl version 2018.09.26 on Linux-4.18.0-1-amd64-x86_64-with-debian-9.5 with Command-line args: [u'-v', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://www.dramafever.com/drama/5200/1/my-id-is-gangnam-beauty/'] Also youtube-dl -x --audio-format mp3 --audio-quality 0 -u PRIVATE -p PRIVATE https://www.dramafever.com/drama/5200/1/my-id-is-gangnam-beauty/ Gives me a 2 sec sound file.

lyndalopez544 commented 5 years ago

@remitamine @cnguye close this issue as dramafever is no longer available. #20868