Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
1818 views
Converting FLAC with images into OGG with ffmpeg/libvorbis creates corrupt files
I have a [script](https://github.com/akerbos/scripts/blob/master/music2thumb.rb) that extracts a specified subset of my music collection. Most of my music is FLAC; since space (and supported formats) may be an issue on the target device (smartphon, car radio, ...) it can also convert "down" to OGG f...
I have a [script](https://github.com/akerbos/scripts/blob/master/music2thumb.rb) that extracts a specified subset of my music collection. Most of my music is FLAC; since space (and supported formats) may be an issue on the target device (smartphon, car radio, ...) it can also convert "down" to OGG for MP3. I figured out [a while ago](https://unix.stackexchange.com/a/176948/17409) how to convert FLAC to OGG so that meta data is kept: ffmpeg -v quiet -y -i "${infile}" \ -codec:a libvorbis -qscale:a 6 -map_metadata 0 \ "${outfile}" However, I noticed that the resulting file won't play in my Android app if the FLAC contained a cover image. I did [some digging](https://github.com/akerbos/OGGvAMF) ; the short of it is, ffmpeg seems to create corrupt OGGs in this case. Is this a bug, or do I have to pick different parameters?
Raphael (2095 rep)
Feb 1, 2017, 10:20 PM • Last activity: Oct 22, 2023, 06:06 PM
4 votes
2 answers
2508 views
Copy FLAC tags to MP3 files?
I have a number of FLAC files that I'm converting into MP3 files with the following: flac -cd file.flac | lame ... - file.mp3 Is there a utility which will copy Vorbis (FLAC and OGG) metadata, convert it to appropriate ID3 tags, and tag an MP3 with the same tags as the FLAC file?
I have a number of FLAC files that I'm converting into MP3 files with the following: flac -cd file.flac | lame ... - file.mp3 Is there a utility which will copy Vorbis (FLAC and OGG) metadata, convert it to appropriate ID3 tags, and tag an MP3 with the same tags as the FLAC file?
Naftuli Kay (41346 rep)
Jan 2, 2015, 04:14 AM • Last activity: Feb 28, 2023, 03:15 PM
10 votes
3 answers
3189 views
Searching for a command line tagging tool for mp3 and ogg that supports pictures
I am searching a command-line tagging tool that supports ogg- and mp3-tagging and allows to add a picture to the tags. Currently I use [`lltag`][1] but that does not support pictures. [`dagger`][2] is the tool I use before but it is lacking picture support as well. [1]: http://home.gna.org/lltag/ [2...
I am searching a command-line tagging tool that supports ogg- and mp3-tagging and allows to add a picture to the tags. Currently I use lltag but that does not support pictures. dagger is the tool I use before but it is lacking picture support as well.
ddeimeke (4737 rep)
Dec 7, 2010, 07:36 AM • Last activity: Aug 15, 2022, 06:46 PM
12 votes
3 answers
15152 views
Convert FLAC files to OGG Vorbis
Are there any Linux tools for transcoding and syncing music directories? I encode my music to FLAC, which I keep on an external hard drive. Some time ago I transcoded this collection to OGG Vorbis, in a different directory. Since then I have added to the FLAC collection. I am looking for a tool that...
Are there any Linux tools for transcoding and syncing music directories? I encode my music to FLAC, which I keep on an external hard drive. Some time ago I transcoded this collection to OGG Vorbis, in a different directory. Since then I have added to the FLAC collection. I am looking for a tool that scans my main (FLAC) collection and transcodes any new additions into the smaller (Vorbis) collection. What I have in mind is something that worked like Unison or Rsync (but was able to ignore the fact that the files are in different formats) but also transcoded during the copy process. Are there any tools that do something like this?
user65870 (121 rep)
Apr 22, 2014, 03:50 PM • Last activity: Jul 20, 2021, 06:12 AM
2 votes
1 answers
1459 views
How to make a static binary build of vorbis-tools ogg123?
In order to run `ogg123` (for getting wav from ogg vorbis) I need to get (not found) or compile static build. I tried this on Amazon Linux (the same version as current AWS Lambda): ./configure --disable-shared --enable-static make LDFLAGS=-lm SHARED=0 CC='gcc -static' Produced `ogg123` filesize is 2...
In order to run ogg123 (for getting wav from ogg vorbis) I need to get (not found) or compile static build. I tried this on Amazon Linux (the same version as current AWS Lambda): ./configure --disable-shared --enable-static make LDFLAGS=-lm SHARED=0 CC='gcc -static' Produced ogg123 filesize is 288K but when I copied that file to another Amazon Linux and tried to run I get error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory
Vitaly Zdanevich (378 rep)
Oct 18, 2017, 11:21 AM • Last activity: Oct 19, 2017, 02:38 PM
7 votes
1 answers
2685 views
Mass ID3 tag editor like vorbistagedit?
My favorite tool for batch editing of vorbis comments is vorbistagedit. I can do `vorbistagedit *.ogg` and it lets me edit the metadata in all my ogg files at once in my favorite editor (emacs). I'm wondering if there is a tool that works in a similar fashion for id3 tags? I could see it opening up...
My favorite tool for batch editing of vorbis comments is vorbistagedit. I can do vorbistagedit *.ogg and it lets me edit the metadata in all my ogg files at once in my favorite editor (emacs). I'm wondering if there is a tool that works in a similar fashion for id3 tags? I could see it opening up a file that looked something like: : file1.mp3 + file1.mp3 TIT2=Title TPE1=Artist TALB=Album : file2.mp3 + file3.mp3 ... And I could add/edit tags as I see fit, and when I close out the $EDITOR, it writes the tags back to the files. It wouldn't have to work exactly like that, but I think that would be my ideal. Anything would be easier than a bunch of BASH for loops with id3v2. If nothing like it exists, I might end up writing my own that uses the eyeD3 library. And please don't bother suggesting EasyTag. It's a great program, but I'm looking for something that doesn't require a GUI. **P.S.** For those who don't want to bother reading the comments below, I simply modified vorbistagedit to support id3 tags in mp3 files. The modified script can be found on [GitHub](https://github.com/goodevilgenius/tagedit) .
Dan Jones (253 rep)
Dec 13, 2012, 01:40 AM • Last activity: Dec 26, 2014, 12:13 AM
3 votes
2 answers
2091 views
How to add an audio file to a shell script
How can I add an audio file (OGG vorbis) into a shell script making the script as small as possible and at the same time being able to execute it on as most systems as possible? I want the audio file be played. I don’t want it to be `uuencode`d, because sharutils are not installed on many systems. b...
How can I add an audio file (OGG vorbis) into a shell script making the script as small as possible and at the same time being able to execute it on as most systems as possible? I want the audio file be played. I don’t want it to be uuencoded, because sharutils are not installed on many systems. base64 is nice, but makes the file/script bigger, which I don’t want. Should I use mplayer or the play command from the sox package? Is it more common on Linux/BSD systems? Or is there another media player mostly installed? Should I convert the audio file to another format/codec (if that doesn’t make the file much bigger) to have more possible players to play the file back or is OGG vorbis a good choice?
erik (17679 rep)
Feb 7, 2014, 03:39 PM • Last activity: Dec 25, 2014, 10:16 PM
Showing page 1 of 7 total questions