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.
[ffmpeg] Merging formats into xxxxxx.mp4 ‒ERROR xxxxxxxx.temp.mp4: Invalid argument #5693
Comments
|
Post the full output you get when running with |
|
Post the output of |
|
Could you post the output of |
|
Here is output of ffmpeg command:
|
|
I think this part of the configuration is relevant:
Does it work if you tell it you output an mkv file: Does it works if you specify |
|
mkv works.
Ubuntu:
ffmpeg in OpenSuse built without h264 support. |
|
Should we handle it or just tell users to use |
|
@Wikinaut so, not a youtube-dl issue. You can workaround by specifying merge output format to mkv using |
|
It will just complicate the code, I prefer telling the users to use some youtube-dl option or install ffmpeg with h264 support. |
|
Why complicate? All this logic would be placed in one single place that's easily maintainable. The only problem with this is how much reliable these heuristics are. Most likely we will receive bugreports like that over and over again (similarly to outdated avconv) and telling users to install ffmpeg with proper formats support won't change anything (obviously very few will build ffmpeg themselves and most will treat youtube-dl broken). |
|
Since it would only be used to decide if it should default to
I think we should consider using a different format query based on the ffmpeg configuration (to not pollute the YoutubeDL class, it should probably go inside a method of the merger). For example if it doesn't have h264 support but has webm support, we could use |
|
Please let me drop in again. I already said that I suppose that it could be ffmeg problem (I will come back to that later). A silent fallback to -f best is IMHO not a solution. As you already mentioned in #5661 (comment) , such a default can be set by the user in the configuration file. My proposal is to let youtube-dl better detect and notifying the user that ffmpeg is having a problem, i.e. that needed codecs are missings in installed ffmpeg, which cannot be only ffmpeg-version based. See my top posting, the output of ffmpeg in my case is "Unable to find a suitable output format for xxxxxx.mp4". |
|
@jacobian in reply to your question #5693 (comment)
Yes, the merge command using the mkv works for me. And now? |
|
http://dpaste.com/0071B22#wrap is the ouput of ffmpeg -version and ffmpeg -formats of the version from the PACKMAN repository, it contains the lib264 and lib265 encoders but the format list looks to be the limit one as of OpenSuse Tumbleweed.
|
|
I'm on openSuse Tumbleweed, same problem here... It worked on openSuse 13.2. |
|
I'm on openSuse Leap, same problem here :( it worked on Fedora 22, Linux Mint 17 |
Using a fresh OpenSuse Tumbleweed, and fresh youtube-dl, and when trying to
I got this error
The real output of ffmpeg is:
I don't know whether this is an ffmpeg or youtube-dl issue, perhaps anyone can help. Youtube-dl should in any case show a correct error message, perhaps with a hint, what how to overcome this problem.