Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube-dl gives invalid argument error #5767
Comments
|
This seems to happen on 2 different computers |
|
Can you run the following command and paste the output?
|
|
$ ffmpeg -y -i 'Forget _ Pogo-vOreqez4v9Y.f137.mp4' -i 'Forget _ Pogo-vOreqez4v9Y.f141.m4a' -c copy -map 0 |
|
Due to the
|
|
I'm closing the issue, follow one of the options posted by @yan12125. |
|
Since it is apparently an official ffmpeg build, would it be a good idea to have youtube-dl detect when ffmpeg has this problem and give better feedback than "ERROR: xxx.mp4: Invalid argument"? |
It seems to be caused by how it calls ffmpeg?
$ youtube-dl -vf 137+bestaudio https://www.youtube.com/watch?v=vOreqez4v9Y✌️ 0 -map 1🅰️ 0 'Forget _ Pogo-vOreqez4v9Y.temp.mp4'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-vf', u'137+bestaudio', u'https://www.youtube.com/watch?v=vOreqez4v9Y']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.15
[debug] Python version 2.7.8 - Linux-3.16.7-21-desktop-x86_64-with-SuSE-13.2-x86_64
[debug] exe versions: ffmpeg 2.6.2, ffprobe 2.6.2
[debug] Proxy map: {}
[youtube] vOreqez4v9Y: Downloading webpage
[youtube] vOreqez4v9Y: Extracting video information
[youtube] vOreqez4v9Y: Downloading DASH manifest
[debug] Invoking downloader on 'https://r3---sn-qxo7sn7l.googlevideo.com/videoplayback?id=bceadea9ecf8bfd6&itag=137&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=79396471&lmt=1432133772301353&dur=168.042&sver=3&signature=08EF9F5BA30D6A280E38E07DD7831D01054BAA5B.6419C0F2E572CE377576CDBDE0619B94FE423C93&upn=fGHZfzQDT70&fexp=916724,930827,9405975,9406715,9406838,9407641,9407664,9407715,9408142,9408292,9408710,9408941,9412526,9412708,9412773,9412857,9415081,945137,948124,952612,952637,952642&mt=1432169077&key=dg_yt0&ip=71.222.215.10&ipbits=0&expire=1432190775&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Forget _ Pogo-vOreqez4v9Y.f137.mp4 has already been downloaded
[download] 100% of 75.72MiB
[debug] Invoking downloader on 'https://r3---sn-qxo7sn7l.googlevideo.com/videoplayback?id=bceadea9ecf8bfd6&itag=141&source=youtube&requiressl=yes&pl=17&ms=au&mv=m&mm=31&ratebypass=yes&mime=audio/mp4&gir=yes&clen=5360407&lmt=1432133647549956&dur=168.112&sver=3&signature=240D44742EBCF1C83E3BC91F707E74F8E1B9E4DD.1AE7F7CDC201A9EBD539EA1A177D78D374057C10&upn=fGHZfzQDT70&fexp=916724,930827,9405975,9406715,9406838,9407641,9407664,9407715,9408142,9408292,9408710,9408941,9412526,9412708,9412773,9412857,9415081,945137,948124,952612,952637,952642&mt=1432169077&key=dg_yt0&ip=71.222.215.10&ipbits=0&expire=1432190775&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,ms,mv,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Forget _ Pogo-vOreqez4v9Y.f141.m4a has already been downloaded
[download] 100% of 5.11MiB
[ffmpeg] Merging formats into "Forget _ Pogo-vOreqez4v9Y.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'Forget _ Pogo-vOreqez4v9Y.f137.mp4' -i 'Forget _ Pogo-vOreqez4v9Y.f141.m4a' -c copy -map 0
ERROR: Forget _ Pogo-vOreqez4v9Y.temp.mp4: Invalid argument
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1529, in post_process
files_to_delete, info = pp.run(info)
File "/usr/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 590, in run
self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args)
File "/usr/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 148, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers