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.
option "--extract-audio" causes 'Malformed AAC bitstream detected" error on ted.com #15374
Comments
|
Outdated ffmpeg. |
|
The point of an Ubuntu LTS release is to not have to update pieces. |
|
yes, this is what happens with obsolete software, the logic of LTS is faulty & most definitely inconsistent when certain things need constant updates (usually security) some sort of hybrid approach is better, i'm not saying automatic latest versions, but at the very least they could make packages called ffmpeg1, ffmpeg2, ffmpeg3 or something even if you cant install more than one at the same time (like if they use the same executable names for compatibility with software calling the binary) now according to launchpad, there is ffmpeg 2.8.13 from september, yet you are on 2.8.11 from february? does TED work without ffmpeg? i remember how youtube uses the old up to 720p30 h264 non-dash format when ffmpeg is not installed |
|
@kn00tcn - I really appreciate your response. The logic of LTS has served me very well for about 8 years. Ubuntu LTS releases receive security updates for 5 years. I've had occasional issues with hardware incompatibility, especially 18-24 months after the LTS release (i.e. just before the next LTS release). Ubuntu 18.04 is scheduled for April. Ubuntu snap packages will hopefully solve certain issues such as this ffmpeg one where updates are needed more frequently. Unfortunately, the ffmpeg snap is still a "classic" snap therefore brings certain risks that normal snap packages don't have. Yes, TED works without ffmpeg, but only if you download the video and audio together. I want just audio. |
|
i havent tried checking what formats appear from ted until now
so i guess audio is hls only, requiring an hls capable downloader/streamer, was also thinking maybe you could find the same talk on YT, but those audio streams say dash rather than simple http it's more work, but since it at least is able to grab a file, you could just demux out the audio after downloading one of the http formats i am also wondering... maybe you can use ffmpeg to load one of the streams directly as an input instead of ytdl, then copy the audio stream as the output? (your log showed some 'malformed aac' error with a suggested ffmpeg option to use) edit: i just tried h264-320k, this is actually an aac audio only stream that i dont think used ffmpeg, but the length in players/mediainfo is wrong at 20sec yet 40mb ............ hardware compatibility yes, another thing i've noticed is debian's ytdl is almost a year old, this makes zero sense since it's specifically an app that doesnt change much, but always requires new fixes, at least debian's testing repos contain newer versions around once a month i used to browse mate's issue tracker, on multiple occasions they have to work around mint's lagging behind since mint was staying on gtk2 while mate was migrating most things to gtk3 & dropping support for gtk2 (or at the very least having trouble solving some of the bugs of gtk2) i read about great new features of various packages or environments or the major changes for amd gpu drivers, then get disappointed to hear LTS distros wont get the updates for months if not years, they also have to manage to backport security updates years later when upstream would have moved on (it's probably not even possible to backport everything, i heard some of the recent spectre/meltdown fixes dont work as well for kernels before 4.14) meanwhile something like fedora gets great reviews from phoronix michael about how it's straightforward when running the dist-upgrade, i think linus uses it as well, they're not rolling release, but sometimes mesa gets an update, kernel updated of course, some other libs like node or gcc wait until major fedora versions to change, which would be after half a year |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.01.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Using youtube-dl to download a full video of this same URL works as expected. What's more, after the full download, the --extract-audio option for same URL properly strips the video and leaves a good .m4a file.