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

ffmpeg -formats and alac #1

Open
jonnyrobbie opened this issue Jun 5, 2017 · 0 comments
Open

ffmpeg -formats and alac #1

jonnyrobbie opened this issue Jun 5, 2017 · 0 comments

Comments

@jonnyrobbie
Copy link

jonnyrobbie commented Jun 5, 2017

gnupod_addsong.pl --decode=aac song.flac fails with

gnupod_addsong.pl Version 0.99.9-DEVEL (C) Adrian Ulrich
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/bin/gnupod_convert_FLAC.pl line 126.
* [****] Skipping 'song.flac', unknown file type

 Done

Looking at the lines 124-126 in gnupod_convert_FLAC.pl it seems that maybe ffmpeg changed how it outputs supported codecs and muxers, because ffmpeg -formats now outputs the first column in DE format and not DEA format, and -formats does not have any line containing 'alac', but -codecs does.

Forcing line 126 to return (1); works, but it is a dirty kludge and not a proper bugfix (as I don't know any perl, so I cannot fix it myself).

EDIT: I found another issues. I'm not sure if they all have the same cause with changed ffmpeg, so I'll leave it here.

gnupod_addsong.pl (and mktunes.pl) somehow fails to copy over tags if the song was decoded from flac. The source flac has all the tags. Target mp3 as well as aac seems to be stripped completely of tags, target m4a(alac) seems to retained tags in the metadata in the file itself, but all of them fail to show the tags in gnupod_search.pl as well as in the iPod Classic 80G itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant