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.
Don't call ffmpeg with -x with video splited #7744
Comments
|
That's what it does by default:
|
|
If that's not what you want, please elaborate on what you need. |
|
mm, i'll explain a little more. In windows we don't have always the ffmpeg specially for normal users, so if we want download for example the audio of a youtube video we do 'youtube-dl "some video" -x' and it download the m4a file, but then it try to call ffmpeg, and if only need the audio it feels don't is necesary, bacause when it don't found it send the error messsage, obvs we can use the -i option but we will skip other problems we can be interested, for example an audio don't is downloaded. |
|
Ok, but note that some player doesn't play or have problems playing the m4a audio file generated by YouTube and ffmpeg is required to fix the file. |
|
yes, but if the m4a file is corrupted ffmpeg will can't fix it, but if the player want other format to can reproduce it then call ffmpeg. |
Hi all, well here a little thing, some pages like youtube actually split the videos in videa and audio, so in this case youtube-dl shouldn't call ffmpeg.
(-x option) && (page with splited videos) && ((audio format not specified) || (audio format = to the downloaded format)) -> don't call ffmpeg
a logic explanation :D (&& and, || or)
Thx.