hi all!
Can someone perhaps help as to why this keeps happening with large files (+20gb). I've tried it with streams that are only 30ish mins long and it works fine.
CODE:
youtube-dl https://www.twitch.tv/videos/402510440
[twitch:vod] 402510440: Downloading vod info JSON
[twitch:vod] 402510440: Downloading vod access token
[twitch:vod] 402510440: Downloading m3u8 information
[download] Eugene - Prune Gang - NoPixel-v402510440.mp4 has already been downloaded
[download] 100% of 29.59GiB
[ffmpeg] Fixing malformed AAC bitstream in "Eugene - Prune Gang - NoPixel-v402510440.mp4"
ERROR: Conversion failed!
searched relentlessly for an answer and can't find one. I've tried updating ffmpeg and Youtube-dl which didn't work. However, it did manage to work yesterday randomly for a file that was 32gb.
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
Code:
[download] Eugene - Prune Gang - NoPixel-v402510440.mp4 has already been downloaded
Code:C:\>youtube-dl -F https://www.twitch.tv/videos/402510440 [twitch:vod] 402510440: Downloading vod info JSON [twitch:vod] 402510440: Downloading vod access token [twitch:vod] 402510440: Downloading m3u8 information [info] Available formats for v402510440: format code extension resolution note Audio_Only mp4 audio only 202k , mp4a.40.2 160p mp4 284x160 283k , avc1.4D400C, mp4a.40.2 360p mp4 640x360 710k , avc1.4D401E, mp4a.40.2 480p mp4 852x480 1430k , avc1.4D401E, mp4a.40.2 720p mp4 1280x720 2286k , avc1.4D401F, mp4a.40.2 720p60-0 mp4 1280x720 3217k , avc1.4D401F, mp4a.40.2 720p60-1 mp4 1280x720 Source 6391k , avc1.640020, mp4a.40.2 (best)
-
Have you examined the temp file(s)?
(youtube-dl saves them if the download is not complete, or even after download if the -k parameter is passed to youtube-dl on the command line)
How many temp files are present? Check if the temp file(s) have audio and video together, or as separate files.
Try to process them directly with ffmpeg. If the audio is a separate file, try to process just that file with ffmpeg to fix the malformed AAC bitstream.
If the temp files have audio and video as separate files, and you are able to use ffmpeg to fix the malformed AAC bitstream, then try to mux them with something other than ffmpeg, such as MKVToolNix.
If the temp file is just a single file with audio and video together, then try to play the temp file directly, or use ffmpeg to extract just the audio to a new mp4 to fix the malformed AAC bitstream. -
Deleted the prior file and redownloaded it with the same problem:
youtube-dl -f 720p60-1 https://www.twitch.tv/videos/402510440
[twitch:vod] 402510440: Downloading vod info JSON
[twitch:vod] 402510440: Downloading vod access token
[twitch:vod] 402510440: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 3977
[download] Destination: Eugene - Prune Gang - NoPixel-v402510440.mp4
[download] 100% of 29.59GiB in 03:12:27
[ffmpeg] Fixing malformed AAC bitstream in "Eugene - Prune Gang - NoPixel-v402510440.mp4"
ERROR: Conversion failed!
Looked at the temp file and its not accessible. Seems like ffmpeg gives up trying to fix it half way through? I'll take a look at MKToolNix. The size of the temp file fluctuates when the ffmpeg is trying to fix the AAC bitstream -
Found the fix, basically, I cleared loads of space on my harddrive. The temp file size was moving up and down when the ffmpeg was trying to fix it so I thought it could be because I was running out of space which would also explain the smaller files working perfectly. So I guess when I download a file say 15gb I actually need 30gb just so the ffmpeg would work. The file downloaded still stays at 15gb when it's finished.
thanks for the help anyway guys! -
You might need at least three times the space, with the temp files, the fix files, and the muxed output.
Similar Threads
-
Downloading streams from box.com?
By Spiny Norman in forum Video Streaming DownloadingReplies: 5Last Post: 14th Nov 2018, 17:17 -
Need help with downloading live streams from new player on camsite
By BiankaHolms in forum Video Streaming DownloadingReplies: 0Last Post: 19th Jul 2018, 09:14 -
Youtube-dl not seeing all streams?
By nick1977 in forum Video Streaming DownloadingReplies: 1Last Post: 20th Jun 2017, 08:10 -
Seeking free conversion-downloading program, or just the best downloading
By jimmo in forum Video ConversionReplies: 6Last Post: 8th Jan 2017, 15:32 -
Downloading video streams in my browser
By dschulberg in forum Video Streaming DownloadingReplies: 8Last Post: 26th Feb 2015, 15:58