Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot embed chapters to audio #406

Open
ksi opened this issue Feb 14, 2024 · 6 comments
Open

[BUG] Cannot embed chapters to audio #406

ksi opened this issue Feb 14, 2024 · 6 comments
Labels
yt-dlp related Not a bug about the app but with the yt-dlp library

Comments

@ksi
Copy link

ksi commented Feb 14, 2024

Describe the bug
Some videos cannot be downloaded successfully. It failes on chapter adding in audio only mode. See logs.

To Reproduce
Try to download the video in audio only mode: https://youtube.com/watch?v=Ao-746CujAE&si=qfoMLu2cQdb6v28w

(please complete the following information):

  • Android Version: 14
  • App Version: 1.7.2
  • Other Device Information: 2024.02.13.232701

Additional context

 -N "3" --cookies "/data/user/0/com.deniscerri.ytdl/cache/cookies.txt" --trim-filenames "202" --no-mtime --sponsorblock-remove "music_offtopic,selfpromo,preview,sponsor,intro,outro,filler,interaction" --parse-metadata "%(channel,uploader,creator,artist|null)s:%(uploader)s" --parse-metadata "%(uploader)s:%(album_artist)s" --parse-metadata "%(release_year,release_date>%Y,upload_date>%Y)s:%(meta_date)s" --parse-metadata "video:%(uploader)s:%(album_artist)s" --parse-metadata "%(album,title)s:%(meta_album)s" -x --audio-format "m4a" -P "/data/user/0/com.deniscerri.ytdl/cache/downloads/677" -S "hasaud,acodec:aac,ext:m4a" --embed-metadata --embed-thumbnail --convert-thumbnails "jpg" -o "%(uploader,channel)s - %(title)s.%(ext)s" "https://youtube.com/watch?v=Ao-746CujAE&si=qfoMLu2cQdb6v28w"

WARNING: unable to embed using mutagen; chapter 3 title: 'utf-8' codec can't decode byte 0xd0 in position 254: unexpected end of data
ERROR: Postprocessing: Unable to embed using ffprobe & ffmpeg;   Stream #1:0 -> #0:1 (copy)

@ksi ksi added the bug Something isn't working label Feb 14, 2024
@ksi ksi changed the title [BUG] [BUG] Cannot embed chapters to audio Feb 14, 2024
@zaednasr
Copy link
Collaborator

Does this happen always or just in this video because judging from the command it looks fine

@ksi
Copy link
Author

ksi commented Feb 15, 2024 via email

@zaednasr
Copy link
Collaborator

Well this app relies on ytdlp. Ytdlp has to fix the download process and it will work in the app too

@zaednasr zaednasr added the yt-dlp related Not a bug about the app but with the yt-dlp library label Feb 15, 2024
@zaednasr zaednasr removed the bug Something isn't working label Feb 24, 2024
@ksi
Copy link
Author

ksi commented Feb 29, 2024

As for me workaround is:

  • open command from error log and copy it
  • open Terminal and paste the command
  • remove --embed-metadata from command and run it

In this case file will be downloaded and processed successfully.

@tusharchopra07
Copy link
Contributor

It can't be the solution of your problem, still if it's working, I guess you can simply disable embed metadata from settings

@ksi
Copy link
Author

ksi commented Feb 29, 2024

I don't know what exactly does it embed. It tries to embed chapters, but I cannot see chapters in my podcatcher even if the issue is not reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yt-dlp related Not a bug about the app but with the yt-dlp library
Projects
None yet
Development

No branches or pull requests

3 participants