Hello ! I'm using ogginfo quite often to generate a up to date list of all files I encoded so far. I noticed that it almost always reads the whole ogg file (to determine bitrate?) which is awfully slow if you have more than a gig of ogg. How can I speed up the process? Best regards, Sascha -- I get enough exercise just pushing my luck. --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 07:38 PM 3/11/02 +0100, you wrote:> >Hello ! > >I'm using ogginfo quite often to generate a up to date list of all >files I encoded so far. I noticed that it almost always reads the >whole ogg file (to determine bitrate?) which is awfully slow if you >have more than a gig of ogg. > >How can I speed up the process?ogginfo reads the entire file for other reasons - it's designed to check a lot of things, and it'll probably get slower in the future. Use a program appropriate to what you need, instead - ogginfo is not the right tool for this job. Michael <p>--- >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@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 suggest the switch be -f/--fast. Cheers, Ross Levis. Kenneth Arnold wrote:> ogginfo decodes the whole file to test stream integrity. > > Any objections to a quick add of a -s/--short info mode as a flag so > it scans headers only? (probably what mp3stat essentially does) > > -- > Kenneth Arnold <ken@arnoldnet.net> > - "Know thyself." >--- >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@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 guess so but in 99% of cases, the new option will produce exactly the same output but work faster :) Ross. Kenneth Arnold wrote:> Nitpick all you want -- I suggested -s because it really is shorter > (more of just the essentials) and -f is sometimes used to specify > input files, but there are reasons for -f also. In the end it doesn't > really matter. > > I need to fix up my ssh to xiph.org before I can do this change though > (claims server doesn't support protocol v2, but I know it's wrong > since it's only two patchlevels below my own client and the configs > are valid; suspect something less obvious wrong on my side). I can > still log in manually using an old ssh1 key I keep around just for > that purpose, but my v2 (primary) key is on there... anyway not > anything you have to be concerned with ;) > > -- > Kenneth Arnold <ken@arnoldnet.net> > - "Know thyself." >--- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.