[vorbis] copying comments from one ogg file to another

Khopesh vorbis at khopis.com
Sun Mar 16 12:27:22 PST 2003



is there any way to do this?
say i have an ogg that originally came from a radio broadcast recording, and 
i later obtain an ogg vorbis file encoded from the cd.  i would want to copy 
the comments from the first file to the second.

i had hoped ogginfo could do this, or else oggenc, but they cannot.  (see my 
previous email "downsampling/pealing bitrate from file1.ogg to file2.ogg", 
where i complain about oggenc not being able to modify ogg input.)

i suppose my suggestion would be:
   ogginfo -i comments.ogg nocomments.ogg
   oggenc -i comments.ogg input.wav
where -i (and --iherit) stand for 'inherit comments from', taking all 
unspecified comment tags from that input (so `oggenc -i comments.ogg -l "new 
album" input.wav` would have the same comments as the comments.ogg file 
except with the album name as "new album").

thanks!
-khopesh

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list