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.
Clarifying the marformed stream error message #15155
Comments
|
How "command to fix" will look like depends on your environment. Current message gives you well enough information of what you should do. |
|
Honestly, I don't know what it means more than "the stream is broken". Using the search engine to find "how to fix a malformed stream using avconv" yields nothing valuable. I could possibly just copy-paste the args from here [1], but an average user won't dig through the sources to find out, which commands are the ones to use... Even some ffmpeg warnings are much more clearer, more or less
whatever the |
|
You don't need to do anything yourself. You only need to have ffmpeg installed. That's what an average used should do. |
|
@dstftw what if you don't have root access? |
|
You don't need root access. |
|
Installing packages via the package-manager needs root access, compiling ffmpeg/avconv from sources is much too much for an average user. And some systems don't even have it in their repos, e.g. CentOS. |
|
You don't need to install it per se. You only need ffmpeg to be in |
|
Ok, I didn't notice that ffmpeg has static builds available. That's a rarity in the Linux world. |
Currently, if a video stream is malformed, a warning is issued and the user is asked to install ffmpeg
https://github.com/rg3/youtube-dl/blob/54009c246e8eed38cfa8dc3eecb5619c1c81a1f2/youtube_dl/YoutubeDL.py#L1962
The warning should state, what the command to fix it should be. Sometimes we want to use computers with high-network bandwidth to download the video and fix it, if needed, on our computers with root access, where we can install arbitrary software, such as
ffmpegoravconv.Alternatively, the docs should say more about it - currently searching for
malformin the readme and the manpage returns nothing.