Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Display Modes
Old 3rd August 2002, 07:31   #1  |  Link
TheXung
Registered User
 
Join Date: Apr 2002
Posts: 201
Rehuff for Vorbis

There is an interesting utility for vorbis which optimizes the huffman tables so that a vorbis file is losslessly ~3% smaller. As we speak the discussion rages over at xiph http://www.xiph.org/archives/vorbis-...0207/0210.html

I've been playing with it a little and it indeed does work. However, when the optimized vorbis file muxed into video, it results in the same file size as the unoptimized file. I was wondering if this is a problem with oggmux, oggDS or just the nature of muxing.

I had to go through the trouble of downloading the ogg headers to compile it, so I figure I might as well attach the exec for people to try out.
TheXung is offline   Reply With Quote
Old 3rd August 2002, 10:42   #2  |  Link
Jon Ingram
Registered User
 
Join Date: Feb 2002
Posts: 24
Re: Rehuff for Vorbis

Quote:
I had to go through the trouble of downloading the ogg headers to compile it, so I figure I might as well attach the exec for people to try out. [/B]
Does this compile include the patches in this message? They are necessary to stop rehuff from outputting invalid streams.
Jon Ingram is offline   Reply With Quote
Old 3rd August 2002, 16:30   #3  |  Link
TheXung
Registered User
 
Join Date: Apr 2002
Posts: 201
Yes
TheXung is offline   Reply With Quote
Old 3rd August 2002, 21:59   #4  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
rehuff had been integrated within BeSweet 1.4RC6.
DSPguru is offline   Reply With Quote
Old 5th August 2002, 08:19   #5  |  Link
ookzDVD
DVD Rebuilder!
 
ookzDVD's Avatar
 
Join Date: Oct 2001
Posts: 1,147
@DSPguru,

So.. how to use the rehuff from the BeSweet ?
Can I use it with the OggMachine GUI ?
Or I have to wait 'til the next version of OggMachine ?

Thank you.
ookzDVD is offline   Reply With Quote
Old 6th August 2002, 00:05   #6  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
no gui support so far

you'd need to add -ogg( --two-pass ) in BeSweetGUI freetext entry.
DSPguru is offline   Reply With Quote
Old 7th August 2002, 06:03   #7  |  Link
ookzDVD
DVD Rebuilder!
 
ookzDVD's Avatar
 
Join Date: Oct 2001
Posts: 1,147
@DSPguru,

thank you for the info,
3% is not significant for me
ookzDVD is offline   Reply With Quote
Old 18th August 2002, 00:12   #8  |  Link
unplugged
Registered User
 
unplugged's Avatar
 
Join Date: Oct 2001
Location: Italia
Posts: 412
Well

Why Ogg seeking sux so badly after rehuff?
Tried with Winamp 2.80 + in_vorbis 1.2 and any media player (that uses OggDS):
Ogg loses seek capability.
Just to inform, anyone noticed this?

(Besweet 14RC7)
unplugged is offline   Reply With Quote
Old 19th August 2002, 01:15   #9  |  Link
gnoshi
Registered User
 
Join Date: Feb 2002
Posts: 29
I have observed the same problem.
I believe that is one of the things that has prevented rehuff becoming part of the standard ogg vorbis packages.
I have not yet found a way of resolving this, but no doubt someone somewhere is looking at the problem, and will come up with a solution sometime in the future.
At that point hopefully it will become part of the standard packages (which would be pretty sweet).

gnoshi
gnoshi is offline   Reply With Quote
Old 19th August 2002, 02:41   #10  |  Link
unplugged
Registered User
 
unplugged's Avatar
 
Join Date: Oct 2001
Location: Italia
Posts: 412
update

When further muxed in Ogg Movies it plays and seeks flawlessly, probably the seek problem resides in the Ogg container created by Rehuff.
unplugged is offline   Reply With Quote
Old 20th August 2002, 01:40   #11  |  Link
gnoshi
Registered User
 
Join Date: Feb 2002
Posts: 29
I'd test this but I'm in the office right now - but if someone else is inspired.
What happens if you get the rehuffed ogg, demux it, and remux it using graphedit (or equivalent). Does it counteract the size improvement; fix the seeking; anyone?

If no-one else has time to test this or wants to I'll give it a go tonight if my machine is working (damn them new motherboards).

gnoshi
gnoshi is offline   Reply With Quote
Old 20th August 2002, 02:45   #12  |  Link
unplugged
Registered User
 
unplugged's Avatar
 
Join Date: Oct 2001
Location: Italia
Posts: 412
update 2

ummmm...

But now, I can't manage to split my big .ogm without "illegal operation" errors by Tobias' OggCut...
Again, I think that the (previous reuffed) sound files have *something* to do with this .

Finally, I can only advise: Don't use this 0.0 alpha problematic tool
unplugged is offline   Reply With Quote
Old 20th August 2002, 17:20   #13  |  Link
canadian_fbi
Registered User
 
canadian_fbi's Avatar
 
Join Date: Feb 2002
Location: TN, USA
Posts: 168
i used rehuff (--two-pass in besweet) just recently:

encoded fine.
saved some space.
played/seeked fine in winamp.
muxed fine.
played fine throughout the movie.

i didn't cut the ogm, so i can't comment on that, but i can tell you that i used rehuff with no problems.
canadian_fbi is offline   Reply With Quote
Old 20th August 2002, 20:24   #14  |  Link
unplugged
Registered User
 
unplugged's Avatar
 
Join Date: Oct 2001
Location: Italia
Posts: 412
found the real problem...

it was one of the .SRT sub-titles inserted in my list (8 ), that has too few entries (23) , all concentrated in the ogm's 1st part.
For some reason when I am going to split the 2nd part OggCut crashes, probably because that sub-title track results empty (no sub-title entries fallen in 2nd part).

The strange thing is that when I have modified the SRT to insert a little sub-title entry (just "." for 20ms) falling in the 2nd part... this didn't avoid the problem and OggCut still crashes.
Anyway, the 1st part can be splitted without error(s), the 2nd only without that SRT in the big main .ogm.

Of course, reuff-ed vorbis tracks works (and the *little* space gain is also equally noticeable in .ogm), sorry for previous post.
Quote:
played/seeked fine in winamp.
This (strangely) never worked to me, I have Winamp 2.80 with final in_vorbis 1.2 but seeking doesn't work starting from 20% of file (as I move the bar after ~20% the file reach the end, sequential steps with arrows work...)
unplugged is offline   Reply With Quote
Old 23rd August 2002, 04:16   #15  |  Link
canadian_fbi
Registered User
 
canadian_fbi's Avatar
 
Join Date: Feb 2002
Location: TN, USA
Posts: 168
Quote:
Originally posted by unplugged
This (strangely) never worked to me, I have Winamp 2.80 with final in_vorbis 1.2 but seeking doesn't work starting from 20% of file (as I move the bar after ~20% the file reach the end, sequential steps with arrows work...)
hmm, i just wanted to say that i experienced something like that tonight on a file about 45 minutes long. actually, at first it seeked fine, but then after seeking a few times it seemed to "break". i'll try muxing it in and see if that creates any problems; i doubt it will, but this is pretty odd.

p.s.: i have the same winamp/in_vorbis as you do too.
canadian_fbi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:50.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.