Help - Search - Members - Calendar
Full Version: using --picture in flac
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
DrGreen
I'm trying to use the --picture switch while re encoding my flac files, but without success.

If I do
CODE
$ flac --fast --picture="|image/jpeg|||./Artwork/Front.jpg" --output-name="CDImage.flac.new" CDImage.flac


I get no errors, but the picture is not imported
CODE
$ metaflac --export-picture-to=p.jpg CDImage.flac.new
CDImage.flac.new: ERROR: FLAC file has no PICTURE block

metaflac --list shows no picture block either.

if I then do
CODE
$ metaflac --import-picture-from="|image/jpeg|||./Artwork/Front.jpg" CDImage.flac.new

it works as expected. metaflac --list shows the picture block and --export-picture-to also works.

Any ideas?

thanks
DrGreen
ok, found the problem.

Apparently, picture importing is not working when the source is a flac file. Tried to decode the flac to wav first and then encode it with the same arguments and the picture was there.

Could someone confirm that this is indeed a bug and not something really bad on my side?

Thanks
jcoalson
yep, that's the bug. you can track it here now:
http://sourceforge.net/tracker/index.php?f...amp;atid=113478

thanks,
Josh
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.