Closed scarline closed 8 years ago
Update ffmpeg.
Did it with the original compilation guide: https://trac.ffmpeg.org/wiki/CompilationGuide
Problem persists:
ERROR: audio conversion failed: [aac @ 0x1d591c0] Alternatively use the non experimental encoder 'libvo_aacenc'. ERROR: Only mp3 and m4a/mp4 are supported for thumbnail embedding for now.
I tried to convert the webm via ffmpeg to m4a directly, this works. So this problem seems to be linked with youtube-dl.
Currently youtube-dl favors avconv over ffmpeg. Add --prefer-ffmpeg
to use ffmpeg.
I want to download a video with embedded thumbnail and convert it to mp4:
youtube-dl -t --audio-quality 0 --audio-format m4a --embed-thumbnail --add-metadata -x --metadata-from-title '%(artist)s - %(title)s' --ignore-errors https://www.youtube.com/watch?v=FyASdjZE0R0
The conversattion to mp3 works propberly, but to m4a it fails:
Shell:
[youtube] FyASdjZE0R0: Writing thumbnail to: The Chainsmokers - Roses (Audio) ft. ROZES-FyASdjZE0R0.jpg [download] The Chainsmokers - Roses (Audio) ft. ROZES-FyASdjZE0R0.webm has already been downloaded [download] 100% of 3.66MiB [fromtitle] parsed artist: The Chainsmokers [fromtitle] parsed title: Roses (Audio) ft. ROZES [ffmpeg] Adding metadata to 'The Chainsmokers - Roses (Audio) ft. ROZES-FyASdjZE0R0.webm' [ffmpeg] Destination: The Chainsmokers - Roses (Audio) ft. ROZES-FyASdjZE0R0.m4a ERROR: audio conversion failed: [aac @ 0x20a0a80] Alternatively use the non experimental encoder 'libvo_aacenc'. ERROR: Only mp3 and m4a/mp4 are supported for thumbnail embedding for now.
LOG:
What is the purpose of your issue?