olivier@infolibre.org
2001-Oct-31 12:06 UTC
[vorbis-dev] OggMux, a simple ogg file multiplexer
Hello, I have in the past few days played a bit with libogg. My goal is to learn enough of it to try wrapping current tarkin codecs into an ogg file, with vorbis sound eventually. I did work on a small program which allows you to easyly (de)multiplex Ogg files in a way which seems to conform to the docs. You can do things like: oggmux in1.ogg in2.ogg in3.ogg - mux3.ogg oggmux mux3.ogg - /dev/null out1.ogg /dev/null ogg123 out1.ogg and hear sound that was in in2.ogg . However i didn't found any player which would accept a multiplexed file, maybe the bug is in my code .. I'll investigate this trying to patch decoder_example.c to support mux files. You can find the code and README at http://code.infolibre.org/oggmux/archive/oggmux-0.1.0.tar.gz . btw, my name is Olivier Barbut, live in Paris, france, I'm 21 and I do follow this list since about a year and tarkin-dev too, pleased to meet you ;) -- Olivier Barbut SCOP InfoLibre --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> I have in the past few days played a bit with libogg. My goal is to learn > enough of it to try wrapping current tarkin codecs into an ogg file, with > vorbis sound eventually. > I did work on a small program which allows you to easyly (de)multiplex > Ogg files in a way which seems to conform to the docs. You can do things > like:Did you even look at the stuff in the ogg-tools module? Check out ogg-tools/oggmerge There's already a framework for you to add new types there. We dont' currently have a demuxer, so that maybe something you can share :) jack. --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday, October 31, 2001, at 12:06 , olivier@infolibre.org wrote:> However i didn't found any player which would accept a multiplexed file, > maybe the bug is in my code .. > I'll investigate this trying to patch decoder_example.c to support mux > files.That would be cool. Or better yet patch libvorbisfile. :) Not playing multiplexed streams is a know bug with all current implementations (except the code in ogg-tools) and the fix is on the 'required' list for rc3. Later, olivier wrote:> btw, I've seen you're in Holger's w3d BUGS file asked about ogg-wrapping > the current codec. I'm currently investing ways to do that, so let's > port > this discussion to tarkin-dev ?Absolutely! Welcome, -r --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hey all...is there a place I go for the proposed standard on what the comments will look like in a vorbis file? I know artist, track and all that are standardized (at least by ogginfo) but what about things like CDDB_ID or GENRE (yeah I know nobody uses it) or ENCODE_DATE (if anybody else uses it). I'm really interested in trying to encode my ogg files so that any utilities I use will be compatable with the tags. I do realize that one of the standards is to have no standard and keep it open but it certainly helps to use a more standard tag so that you can play an ogg file on something like xmms and winamp and all the proper values for the file show up in both players. Plus it allows for much easier input into a database automatically if most things are standardized. Thanks for any input, Chris --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
olivier@infolibre.org
2001-Nov-01 12:50 UTC
[vorbis-dev] OggMux, a simple ogg file multiplexer
On Wed, Oct 31, 2001 at 12:40:57PM -0800, rillian wrote:> On Wednesday, October 31, 2001, at 12:06 , olivier@infolibre.org wrote: > >I'll investigate this trying to patch decoder_example.c to support mux > >files. > > That would be cool. Or better yet patch libvorbisfile. :)Well today was a free day here and I spent some time looking at it ;) The patch attached does "allmost" allow libvorbisfile to play the first stream in an interlaced ogg files, if vorbis, while keeping current seeking and chained-only multiplexing features, at least using ogg123 and xmms plugin. It has one major bug: if the playing logical stream is part of an interlaced file the pcmlenght is garbage, and can have unexpexted results (still better than now). A quick way to fix it would be to disable pcmlenght/seeking if such a file is detected. It is an ugly hack, because it does works by hiding data in _get_next_page() in some unwanted case. Olivier <HR NOSHADE> <UL> <LI>text/plain attachment: vorbisfile-multiplex.diff </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: vorbisfile-multiplex.diff Type: application/octet-stream Size: 7054 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20011101/1e19c363/vorbisfile-multiplex.obj