View Full Version : vorbis tools--> Vcut Problem
philippas
26th February 2002, 20:23
I tried to cut a ogg file with vcut but i get the following message when the program terminates:
Processing: Cutting at 10
Found EOS before cut point.
Cutpoint not within stream. Second file will be empty
Error writing first output file
No matter what value i set for the cut point i get the above message. Any ideas ?
The line used to run the program is the following:
C:\vorbis\vcut C:\audio.ogg c:\audio1.ogg c:\audio2.ogg 10
gnoshi
27th February 2002, 00:03
If you are using the VCUT that came with rc3 of vorbis, it doesn't appear to work under windows.
There was a thread about this on hydrogenaudio ( http://www.hydrogenaudio.org/forums/showthread.php?threadid=934 ) but a working vcut can be found here: http://www.incog.freeserve.co.uk/vcut-win32-fixed.zip
That may work better for you.
(This is only if you are using win32... otherwise this is a useless post)
gnoshi
ChristianHJW
27th February 2002, 09:03
Vcut doesnt help you much AFAIK, because its only done for audio, not video and so it doesnt even know about the existence of keyframes or such .... and if you cut a movie you have to cut on keyframes of course.
unplugged
27th February 2002, 12:38
Originally posted by ChristianHJW
Vcut doesnt help you much AFAIK, because its only done for audio, not video and so it doesnt even know about the existence of keyframes or such .... and if you cut a movie you have to cut on keyframes of course.
no, if it works good it maybe quite useful, you don't have to encode/re-encode :mad: separately the WAVs (the splitted wav) after you have found exact times to "balance" size for CD1 and CD2...
ChristianHJW
27th February 2002, 16:24
My apologies, i understand now, you are defining the point where to cut in Nandub, cut the video only in tow AVIs, cut the Ogg Vorbis audio stream with VCut and then finally mux the 2 audio and 2 video streams using Tobias filters, right ?
Maybe the better method even to the one described in my FAQ ??
philippas
27th February 2002, 19:56
@gnoshi
Yep this version is working, but i think the max filesize that Vcut can handle is 128mb :confused:
Maybe it's hardcoded in the program.
Anyone knows how many ogg audio frames are equal with a second, msec ? Because the cut value in Vcut splits in frames.
MaTTeR
27th February 2002, 20:03
If you find any bugs with the tools please report them to-
http://bugs.xiph.org/
The developers seem pretty quick to fix the issue. Last bug on Vcut was fixed in 25 minutes:)
philippas
27th February 2002, 20:23
My mistake it hasn't got a max filesize of 128mb. I was looking a file that was 146mb and not the one that i was splitting which indeed was 128mb.
Anyone knows how many ogg audio frames are equal with a second, msec ? Because the cut value in Vcut splits in frames.
MaTTeR
27th February 2002, 20:38
Originally posted by philippas
Anyone knows how many ogg audio frames are equal with a second, msec ?
I suspect the answer might be buried in here somewhere. However I was unable to find it.
EDIT- Forgot the link http://xiph.org/ogg/vorbis/doc/vorbis.html
philippas
27th February 2002, 21:38
Ok i got confused with term frames for the audio, which is the same as samples. Thus if you encode a 48khz source, i.e from DvD,
EDIT:
1 sec =48000 frames = 48000 samples.
unplugged
27th February 2002, 22:03
Originally posted by ChristianHJW
My apologies, i understand now, you are defining the point where to cut in Nandub, cut the video only in tow AVIs, cut the Ogg Vorbis audio stream with VCut and then finally mux the 2 audio and 2 video streams using Tobias filters, right ?
Maybe the better method even to the one described in my FAQ ??
Yes, I have already used Nandub and its vorbis extension to define split points by saving fragments of "those AVIs that never worked"... (AVI+DivX+Vorbis)
(of course, regulary with few tries and comparing size).
However now I'm going to use new util called AviSplitCalc.
I also use Nandub to split the entire WAV giving it as input and using "Save WAV..." option (very simply!:D), of course with VCUT I don't need this step and especially don't have to re-oggencode WAV fragments :p...
I'm not sure :confused:... but in a past discussion you told that giving Vorbis input for audio to Nandub and using "Save WAV..." would generate Vorbis files (fragments of original). Did you mean this in that post?
This files have a sort windows media header, classic RIFF signature...
I didn't manage to use them in any way... :( even if it's substantially vorbis sound...
Do you have made an Ogg guide?
Can you pass me the URL?
gnoshi
28th February 2002, 02:06
MaTTeR... yeah, I noticed that the vorbis guys (my heroes actually) had fixed that, and someone on the xiph list were a little irked (reasonably enough imho) by some ppl on hydrogenaudio fixing things themselves rather than bug reporting (on occasion).
Just that that is the only link I knew of to a precompiled binary.
no offense intended to anybody by this post; so don't take any.
gnoshi
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.