View Full Version : @DSPguru: support for AVI input in BeSweet?
bb
5th September 2002, 11:11
Is there any way of using AVI directly as BeSweet input? BeSweet could read (one of) the auds stream(s) and feed it directly into the conversion chain. This way we would save an extra demuxing step, like "Save WAV" in VirtualDub.
I'm asking because in the DV forum there are a lot of people (like me) who capture DV type-2 from their camcorders. Nowadays you have to demux the WAV first before you can transcode to, let's say, MP3.
The most exciting tool would be a BeSweet ACM codec with all the options available which I could select directly in VirtualDub... (just an idea, probably too difficult).
bb
DSPguru
5th September 2002, 12:25
BeSweet ACM was an old plan...
anyway, i do plan to support AVI inputs. only question is.. when :confused:
bb
5th September 2002, 14:34
Originally posted by DSPguru
only question is.. when :confused:
I know what you mean... Same problem here: not enough time for all the good ideas.
bb
DSPguru
5th September 2002, 16:38
Originally posted by bb
I know what you mean... Same problem here: not enough time for all the good ideas.:) & :(
pacohaas
5th September 2002, 17:00
great minds think alike, eh? :sly:
bb
25th November 2002, 20:01
Some first feedback for BeSweet's AVI input (v1.5b7):
Tested on an MJPEG AVI, captured from TV. 44.1kHz PCM audio stream ("CD quality"). I could not transcode the audio, neither form the multisegment file (14 segments) nor from a short test clip I extracted (normal AVI file). I tried to transcode to ogg, here's the command line:
"c:\Video\BeSweet1.5b7\BeSweet.exe" -core( -input "G:\Test.avi" -output "G:\Test.ogg" ) -ogg( -q 0.250 )
The error message said "Error 69: Could not initialize vorbis engine (wrong parameters?)".
I tried AVS input as well, didn't work. BeSweet apparently doesn't like AviSynth frame serving.
If AVI input shall be useful for captures, then we'd need multisegment capabilities, and furthermore trim support.
I did not yet try to convert audio from a DV file, that's next.
bb
DSPguru
26th November 2002, 19:58
please post your logfile, and attach the first 10kb of the avi :).
bb
26th November 2002, 20:03
Oops, you should have told me before... (needed some space on my HDD)
Ok, next time I will.
bb
DSPguru
29th November 2002, 14:55
and here's next time..
retry with beta8 :D.
bb
30th November 2002, 10:34
Ok, here's my first DV test, but still on beta 7:
Commandline:
"C:\Video\Audio\BeSweet1.5b7\BeSweet.exe" -core( -input "C:\Temp\Berlin200210_6_DVtype2.avi" -output "C:\Temp\Berlin200210_6_DVtype2.ogg" ) -ogg( -q 0.250 )
No log file was generated; the prompt came back after a few seconds.
This was all the screen output I got:
BeSweet v1.5b7 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.16 by Myers Carpenter <myers@users.sf.net>
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\Berlin200210_6_DVtype2.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.250
[00:00:00:000] +---------------------
And attached you find the first frame of the DV file (including audio).
Sincerely
bb
bb
30th November 2002, 10:50
Beta 8: This time I got an Ogg Vorbis file with a length of 00:01:13 (9 KB in size), but the DV video (4.22 GB in size) has a length of 00:20:10. And there was no sound in the Ogg file.
Same command line as above (except for the BeSweet path, of course).
BTW: I used azid.dll of BeSweet 1.4, because it wasn't included in the beta archives.
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\Berlin200210_6_DVtype2.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.250
[00:00:00:000] +---------------------
[00:01:13:472] Conversion Completed !
[00:01:13:472] Actual Avg. Bitrate : 0kbps
[00:00:29:000] <-- Transcoding Duration
Visit DSPguru's Homepage at :
http://DSPguru.doom9.net/
bb
DSPguru
30th November 2002, 13:33
again, i would need the logfile and the avi's header.
bb
30th November 2002, 20:03
I posted a one-frame AVI, is that enough for the header?
Here's a logfile (after I finally found out how to create one via command line), see attachment.
:)
bb
DSPguru
30th November 2002, 20:35
hi bb :),
this logfile seems to be incomplete and it says "BeSweet v1.5b7"..
also, i fail to find the avi header...
Originally posted by bb
I finally found out how to create one via command linetry your luck with OggMachine ;)
bb
1st December 2002, 00:29
There's no AVI header in berlin_dvtype2.avi? :confused:
The log file was indeed from beta 7, here's the beta 8 version (not much of a difference, if you ask me...):
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Logging start : 10/31/02 , 00:07:25.
C:\Video\Audio\BeSweet1.5b8\BeSweet.exe -core( -input C:\Temp\Berlin200210_6_DVtype2.avi -output C:\Temp\Berlin200210_6_DVtype2.ogg -logfilea c:\temp\besweetlog.txt ) -ogg( -q 0.250 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\Berlin200210_6_DVtype2.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.250
[00:00:00:000] +---------------------
[00:01:13:472] Conversion Completed !
[00:01:13:472] Actual Avg. Bitrate : 0kbps
[00:01:13:000] <-- Transcoding Duration
Logging ends : 10/31/02 , 00:08:38.
Again the command line:
"C:\Video\Audio\BeSweet1.5b8\BeSweet.exe" -core( -input "C:\Temp\Berlin200210_6_DVtype2.avi" -output "C:\Temp\Berlin200210_6_DVtype2.ogg" -logfilea "c:\temp\besweetlog.txt" ) -ogg( -q 0.250 )
I fail to see how this can be valuable information for your debugging efforts, but I wish you all the best. :)
bb
pacohaas
2nd December 2002, 01:24
Originally posted by bb
I posted a one-frame AVI, is that enough for the header?I see the audio format as 32 kHz, stereo, 16-bit Little Endian. Does that help DG?
DSPguru
2nd December 2002, 19:42
Originally posted by pacohaas
I see the audio format as 32 kHz, stereo, 16-bit Little Endian. Does that help DG? where did you see that ?
@bb
could you report the result of the following commandline :
C:\Video\Audio\BeSweet1.5b8\BeSweet.exe -core( -input C:\Temp\Berlin200210_6_DVtype2.avi -output C:\Temp\Berlin200210_6_DVtype2.wav -logfilea c:\temp\besweetlog.txt -2ch ) -ota( -g max )
bb
2nd December 2002, 20:42
Here we go:
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Logging start : 11/01/02 , 20:40:47.
C:\Video\Audio\BeSweet1.5b8\BeSweet.exe -core( -input C:\Temp\Berlin200210_6_DVtype2.avi -output C:\Temp\Berlin200210_6_DVtype2.wav -logfilea c:\temp\besweetlog.txt -2ch ) -ota( -g max )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\Berlin200210_6_DVtype2.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Overall Track Gain: 1.#IOdB
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +---------------------
[00:01:13:472] Conversion Completed !
[00:01:13:472] Actual Avg. Bitrate : 1024kbps
[00:00:06:000] <-- Transcoding Duration
Logging ends : 11/01/02 , 20:40:53.
It's true: The audio is sampled at 32 kHz (my camcorder does not support anything else...)
bb
DSPguru
2nd December 2002, 23:20
Originally posted by bb
[00:00:00:000] | Overall Track Gain: 1.#IOdB looks like BeSweet doesn't recognize the audio type.
if there's no avi header, it's no wonder. if there is, please post the first 100kb of the avi file + 100kb of extracted audio stream.
ps,
BeSweet currently supports : pcm/wav 16bit, MPx, ac3.
pacohaas
3rd December 2002, 04:14
@DSPGuru: i just happened to be on my mac when i saw this post, so i downloaded the avi and opened it in quicktime and saw that info for the sound.
DSPguru
3rd December 2002, 05:57
Originally posted by pacohaas
@DSPGuru: i just happened to be on my mac when i saw this post, so i downloaded the avi and opened it in quicktime and saw that info for the sound. downloaded from where ?
bb
3rd December 2002, 07:04
@DSPguru: I guess you missed my attachment from 30th November, first post (berlin_dvtype2.zip). That's the beginning of the DV AVI, which I think should contain the header you are requesting all the time.
Do you want me to upload a longer file (it's DV, so it'll get large very soon...)?
As for the sound: It's PCM WAV 16 Bit, sampled at 32 kHz. BeSweet supports that; I've converted many of these audio streams going the "VirtualDub - Save WAV - BeSweet" way.
I can post a few seconds of WAV this evening. And hopefully I can then continue to test captured MJPEGs again.
bb
DSPguru
3rd December 2002, 20:05
try :
BeSweet.exe -core( -input C:\Temp\Berlin200210_6_DVtype2.avi -output C:\Temp\Berlin200210_6_DVtype2.pcm -payload -logfile c:\temp\besweetlog.txt )
and then :
BeSweet.exe -core( -input C:\Temp\Berlin200210_6_DVtype2.pcm -output C:\Temp\Berlin200210_6_DVtype2.wav -2ch -logfilea c:\temp\besweetlog.txt ) -ota( -fs 32000 )
bb
5th December 2002, 12:51
New testing results:
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Logging start : 12/05/02 , 12:45:58.
C:\Video\Audio\BeSweet1.5b8\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm -payload -logfile C:\Temp\DSPguru\besweetlog.txt )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm
[00:00:00:000] +---------------------
[ 9437184] Conversion Completed !
[00:00:38:000] <-- Transcoding Duration
Logging ends : 12/05/02 , 12:46:36.
BeSweet v1.5b8 by DSPguru.
--------------------------
Logging start : 12/05/02 , 12:47:03.
C:\Video\Audio\BeSweet1.5b8\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav -2ch -logfilea C:\Temp\DSPguru\besweetlog.txt ) -ota( -fs 32000 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[00:00:49:152] Conversion Completed !
[00:00:49:152] Actual Avg. Bitrate : 1536kbps
[00:00:00:000] <-- Transcoding Duration
Logging ends : 12/05/02 , 12:47:03.
The first command resulted in a 9 MB PCM file (9.437.184 Bytes), the second in a 9 MB WAV file (9.437.228 Bytes).
It seems as if the avi reader always stops at the same point for some reason.
bb
bb
11th December 2002, 07:24
Anything else for me to test?
bb
DSPguru
11th December 2002, 07:55
maybe testing other AVI streams..
bb
11th December 2002, 08:03
Ok, I'll be back...
bb
DSPguru
17th December 2002, 19:13
@bb
please retest your "problematic" avi with beta9 (http://BeSweet.notrace.dk/beta.html) :)
bb
18th December 2002, 11:22
Oh, thanks,
I read this just after having finished some further testing on an MJPEG capture. Here are the results (still beta 8):
PicVideo MJPEG capture 767.162 KB (4 min 1 sec)
Audio: PCM WAV 44.100 Hz 16 Bit
Results:
1: PCM file 10.884 KB
2: WAV file 10.884 KB (58 sec, skips somewhere in the middle)
3: OGG file 660 KB (1 min 2 sec, skips somewhere in the middle)
The skips appear to occur at the same position (localized one after a few seconds). The first and the last few seconds are ok.
Log 1:
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Logging start : 12/18/02 , 10:58:58.
C:\Video\BeSweet1.5b8\BeSweet.exe -core( -input G:\DSPguru\CAPTURE000.00.avi -output G:\DSPguru\CAPTURE000.00.pcm -payload -logfile G:\DSPguru\besweetlog1.txt )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : G:\DSPguru\CAPTURE000.00.avi
[00:00:00:000] | Output: G:\DSPguru\CAPTURE000.00.pcm
[00:00:00:000] +---------------------
[ 11144688] Conversion Completed !
[00:00:02:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 10:59:00.
Log 2:
BeSweet v1.5b8 by DSPguru.
--------------------------
Logging start : 12/18/02 , 11:00:23.
C:\Video\BeSweet1.5b8\BeSweet.exe -core( -input G:\DSPguru\CAPTURE000.00.pcm -output G:\DSPguru\CAPTURE000.00.wav -2ch -logfilea G:\DSPguru\besweetlog2.txt ) -ota( -fs 44100 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : G:\DSPguru\CAPTURE000.00.pcm
[00:00:00:000] | Output: G:\DSPguru\CAPTURE000.00.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[00:00:58:045] Conversion Completed !
[00:00:58:045] Actual Avg. Bitrate : 1536kbps
[00:00:01:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 11:00:24.
Log 3:
BeSweet v1.5b8 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Logging start : 12/18/02 , 11:07:36.
C:\Video\BeSweet1.5b8\BeSweet.exe -core( -input G:\DSPguru\CAPTURE000.00.avi -output G:\DSPguru\CAPTURE000.00.OGG -logfilea G:\DSPguru\besweetlog3.txt ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.250 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : G:\DSPguru\CAPTURE000.00.avi
[00:00:00:000] | Output: G:\DSPguru\CAPTURE000.00.OGG
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.250
[00:00:00:000] +---------------------
[00:01:02:944] Conversion Completed !
[00:01:02:944] Actual Avg. Bitrate : 85kbps
[00:00:11:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 11:07:47.
Sincerely
bb
bb
18th December 2002, 11:59
Now the DV file again, this time using beta 9:
DV type-2 AVI 4.432.342 KB (20 min 10 sec)
Audio: PCM WAV 32.000 Hz 16 Bit
Results:
1: PCM file 151.255 KB
2: WAV file 151.256 KB (13 min 26 sec, no skips, "mickey mouse voices, i.e. high pitch)
3: OGG file 7.576 KB (12 min 06 sec, no skips, no high pitch, but kind of stuttering and crackling, like samples are skipped regularly)
The audio seems to be complete, it just plays too fast, or it's too short.
Log 1:
BeSweet v1.5b9 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Logging start : 12/18/02 , 11:29:35.
C:\Video\Audio\BeSweet1.5b9\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm -payload -logfile C:\Temp\DSPguru\besweetlog.txt )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm
[00:00:00:000] +---------------------
[ 154885120] Conversion Completed !
[00:03:23:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 11:32:58.
Log 2:
BeSweet v1.5b9 by DSPguru.
--------------------------
Logging start : 12/18/02 , 11:34:09.
C:\Video\Audio\BeSweet1.5b9\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav -2ch -logfilea C:\Temp\DSPguru\besweetlog.txt ) -ota( -fs 32000 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.pcm
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[00:13:26:693] Conversion Completed !
[00:13:26:693] Actual Avg. Bitrate : 1536kbps
[00:00:36:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 11:34:45.
Log 3:
BeSweet v1.5b9 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Logging start : 12/18/02 , 11:44:15.
C:\Video\Audio\BeSweet1.5b9\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.ogg -logfilea C:\Temp\DSPguru\besweetlog3.txt ) -ota( -g max ) -ogg( -q 0.250 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 0.017dB
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.250
[00:00:00:000] +---------------------
[00:12:06:040] Conversion Completed !
[00:12:06:040] Actual Avg. Bitrate : 85kbps
[00:06:38:000] <-- Transcoding Duration
Logging ends : 12/18/02 , 11:50:53.
bb
DSPguru
18th December 2002, 23:16
thanks for all inputs, bb. it seems like we're getting closer !
please try the following commandline :
C:\Video\Audio\BeSweet1.5b9\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav -logfilea C:\Temp\DSPguru\besweetlog4.txt -2ch )
bb
19th December 2002, 10:01
You're welcome. Here's the requested test result:
DV type-2 AVI 4.432.342 KB (20 min 10 sec)
Audio: PCM WAV 32.000 Hz 16 Bit
Result:
WAV file 90.756 KB (12 min 06 sec, no skips, no high pitch, but kind of stuttering and crackling, like samples are skipped regularly). The effect is the same as with the OGG file in my last test, and the duration is the same, too.
The audio seems to be complete, it just plays too fast, or it's too short.
BeSweet v1.5b9 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Logging start : 12/19/02 , 09:42:23.
C:\Video\Audio\BeSweet1.5b9\BeSweet.exe -core( -input C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi -output C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav -logfilea C:\Temp\DSPguru\besweetlog4.txt -2ch )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\Berlin200210_6_DVtype2.avi
[00:00:00:000] | Output: C:\Temp\DSPguru\Berlin200210_6_DVtype2.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] +---------------------
[00:12:06:040] Conversion Completed !
[00:12:06:040] Actual Avg. Bitrate : 1024kbps
[00:04:43:000] <-- Transcoding Duration
Logging ends : 12/19/02 , 09:47:06.
bb
DSPguru
21st December 2002, 20:41
i believe i nailed it! thank you for all those helpful inputs !
check attachment :
bb
22nd December 2002, 10:30
Well, I checked my DV file with the test scripts and your new software, but unfortunately... :p No, just kiddin', all worked fine. PCM, WAV, and OGG outputs were exactly 20min 10sec as they were supposed to be. The sound was perfect (I mean as perfect as the crappy source...).
Thank you very much, great job!
May I recommend your beta to the users in the DV forum?
Three more comments:
1. For the capture guys (like me) multisegment support would be great. Should not be a big thing: The multiple segments are just like one file split at certain byte positions without caring about the internal file structure. All you need to do is read one file after another instead of just one, following a numbering scheme (.00, .01, .02, etc.).
2. AviSynth support would be even greater. Just for completeness, no pushing, I know you are working on BeSynth.
3. Concerning the max. gain feature -ota( -g max ): If the max. gain found drops to 0.0 dB, would it be possible to break the loop instead of reading the entire file till the end? That would save quite some time if there's nothing to gain.
I'll be back soon with single file MJPEG capture test results. I don't expect any problems, though.
bb
DSPguru
22nd December 2002, 12:04
great news bb !-)
yes, you can recommend more users to work with the latest beta.
1. not sure i understand your request..
isn't your request already covered by BeSweet's support for batch-processing (using .lst files) ?
3. yea, it's in my todo list.. :D
Cheers,
Dg.
bb
22nd December 2002, 18:14
Some more good news: the MJPEG captures work well with the new version, too.
Umm, the .lst support: wouldn't it create a separate audio file for each AVI in the list? With AVS support the segmented file support would be obsolete, because AviSynth has a SegmentedAviSource command.
bb
DSPguru
22nd December 2002, 20:12
.lst is meant for merging streams.
DSPguru
23rd December 2002, 00:05
Originally posted by bb
3. Concerning the max. gain feature -ota( -g max ): If the max. gain found drops to 0.0 dB, would it be possible to break the loop instead of reading the entire file till the end? That would save quite some time if there's nothing to gain.i've written something to handle this, but didn't have the time to debug, let me know if this works well in v1.5b10.
bb
23rd December 2002, 19:47
Ok, I'll test that .lst option. Won't help much, because I'm afraid we have to deal with cut-out commercials as well. So I guess it's better to wait for BeSynth.
The beta10 addition did not work. Here's the log:
BeSweet v1.5b10 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Logging start : 12/23/02 , 19:41:31.
C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input c:\Temp\Banditen.avi -output c:\Temp\Banditen.ogg ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.200 )C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input c:\Temp\Banditen.avi -output c:\Temp\Banditen.ogg -logfile C:\Temp\BeSweet.log ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.200 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : c:\Temp\Banditen.avi
[00:00:00:000] | Output: c:\Temp\Banditen.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.200
[00:00:00:000] +---------------------
The original on-screen output looked like this:
BeSweet v1.5b10 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : c:\Temp\Banditen.avi
[00:00:00:000] | Output: c:\Temp\Banditen.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.200
[00:00:00:000] +---------------------
_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦
£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP
)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?â
Í?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_ÂÜÛ¦e?âÍ?@?_qP)©ÆØîv¦£ý¦ü»?Î_
... and some more weird characters (seemed to be a regular pattern).
bb
bb
23rd December 2002, 19:54
Umm, regarding my above post: This time the source AVI had an Ogg Vorbis compressed audio stream, not PCM WAV. Seems like BeSweet's audio reader does not decompress.
Unfortunately I had to clean up my HDD, so I don't have my Berlin DV file any more. But I have an equivalent one (same settings) which I will use for another test.
Stay tuned.
bb
bb
23rd December 2002, 20:44
Here we go:
Test DV file (type-2, 44.1 kHz this time) has a length of 10 min 0 sec.
"Maximum Gain Found" drops to 0.0 dB after 1 min 50 sec, but BeSweet 1.5 beta 10 continues till the end (the whole 10 minutes).
So I'd say no, your quick fix didn't work. :scared:
By the way: what do you think about type-1 support? :)
bb
DSPguru
24th December 2002, 06:36
Ok, I'll test that .lst option. Won't help much, because I'm afraid we have to deal with cut-out commercials as well. So I guess it's better to wait for BeSynth.1. i guess you could first edit the .avi .
2. BeSynth will take time..
Umm, regarding my above post: This time the source AVI had an Ogg Vorbis compressed audio stream, not PCM WAV. Seems like BeSweet's audio reader does not decompress.no, ogg vorbis decoding isn't supported yet.
ps, could you attach the header of that avi file ?
So I'd say no, your quick fix didn't work. :scared::logfile: :-)
By the way: what do you think about type-1 support? :) can you supply info :) ?
bb
24th December 2002, 12:24
Originally posted by DSPguru
1. i guess you could first edit the .avi .
Yes, but then you'll loose the speed advantage, because you need to save the edited AVI before you can proceed with BeSweet. You'd need huge amounts of HDD space as well, because while saving the edits you need to have enough space for the original and the edited file. In that case I prefer to use the original file and VirtualDub's edits or AviSynth Trims for the video, and Save WAV for the audio...
2. BeSynth will take time..
Oh well... ;)
no, ogg vorbis decoding isn't supported yet.
ps, could you attach the header of that avi file ?
See attachment.
:logfile: :-)
Here we go:
BeSweet v1.5b10 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using Ogg Vorbis v1.0 dlls (http://www.vorbis.com).
Logging start : 12/23/02 , 20:10:20.
C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input c:\Temp\Kegeln2002_DV_type2.avi -output c:\Temp\Kegeln2002_DV_type2.ogg -logfile C:\Video\Audio\BeSweet1.5b10\BeSweet.log ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.200 ) -profile( ~~~~~ Default Profile ~~~~~ )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : c:\Temp\Kegeln2002_DV_type2.avi
[00:00:00:000] | Output: c:\Temp\Kegeln2002_DV_type2.ogg
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +-------- OGG --------
[00:00:00:000] | VBR Quality : 0.200
[00:00:00:000] +---------------------
[00:10:00:254] Conversion Completed !
[00:10:00:254] Actual Avg. Bitrate : 83kbps
[00:02:54:000] <-- Transcoding Duration
Logging ends : 12/23/02 , 20:13:14.
can you supply info :) ?
DV type-1 contains the audio intermuxed in the video stream instead of a separate auds stream. In fact this is true for both, type-1 and type-2, so type-2 contains the audio twice: in the vids stream and in the auds stream.
For technical info see:
http://www.microsoft.com/hwdev/tech/stream/vidcap/dvavip.asp
See also:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/directx_cpp/htm/dvdataintheavifileformat.asp
http://www.adamwilt.com/
bb
DSPguru
24th December 2002, 15:00
Originally posted by bb
Yes, but then you'll loose the speed advantage, because you need to save the edited AVI before you can proceed with BeSweet. You'd need huge amounts of HDD space as well, because while saving the edits you need to have enough space for the original and the edited file. In that case I prefer to use the original file and VirtualDub's edits or AviSynth Trims for the video, and Save WAV for the audio...i know, i know..
C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input c:\Temp\Kegeln2002_DV_type2.avi -output c:\Temp\Kegeln2002_DV_type2.ogg -logfile C:\Video\Audio\BeSweet1.5b10\BeSweet.log ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.200 ) -profile( ~~~~~ Default Profile ~~~~~ ) as suspected :), in beta10 i only handled tha ota's maxgain algo to stop on 0db. didn't handle azid's maxgain yet.
DV type-1 contains the audio intermuxed in the video stream instead of a separate auds stream. In fact this is true for both, type-1 and type-2, so type-2 contains the audio twice: in the vids stream and in the auds stream.
For technical info see:
http://www.microsoft.com/hwdev/tech/stream/vidcap/dvavip.asp
See also:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/directx_cpp/htm/dvdataintheavifileformat.asp
http://www.adamwilt.com/
bb 10x, i'll check that out!
Dg.
DSPguru
24th December 2002, 17:54
your attachment (banditen) looks like avi+mp3 to me. doesn't look like vorbis..
bb
26th December 2002, 15:16
Yes, you're right, the file has an MP3 track (was that one really that old?!), not Ogg Vorbis. So I should better say BeSweet's AVI reader does not yet support MP3 decompression. But I guess the same is true for Ogg Vorbis.
Regarding the max. gain thing: could you suggest an appropriate ota commandline? (Ok, I'm lazy. I'll see if I can do that myself...)
Merry Christmas,
bb
DSPguru
27th December 2002, 02:18
Originally posted by bb
Yes, you're right, the file has an MP3 track (was that one really that old?!), not Ogg Vorbis. So I should better say BeSweet's AVI reader does not yet support MP3 decompression. But I guess the same is true for Ogg Vorbis.mp3 decompression should be supported..
i suspect there's an issue with the length of filenames.
can you rename that file to a.avi and try again ?
Regarding the max. gain thing: could you suggest an appropriate ota commandline? (Ok, I'm lazy. I'll see if I can do that myself...)remove -azid( --maximize ) and add -ota( -g max ).
Merry Christmas,
Dg.
EDIT :
BeSweet v1.5b10 package have been updated and will now stop on 0db also on azid's maxgain.
Zeus
27th December 2002, 10:01
Hi,
between all the sad news, I'm surely allowed to post a success, hm? :)
I have an DV-file type-2 with 32 kHz PCM audio, and managed to convert the audio to AC-3 directly from the AVI with beta 10. BTW: beta 9 was buggy for that, but that's fixed in beta 10. Here is the log:
BeSweet v1.5b10 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using AC3enc.dll v0.21 by Fabrice Bellard (http://ffmpeg.org).
Logging start : 12/27/02 , 09:46:09.
BeSweet -core( -input E:\Video\DV-AVI\Test-scenes04.avi -output E:\Video\DV-AVI\Test-scenes04.avi! -logfile BeSweet_log.txt ) -ac3enc( -b 384 ) -shibatch( --rate 48000 )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : E:\Video\DV-AVI\Test-scenes04.avi
[00:00:00:000] | Output: E:\Video\DV-AVI\Test-scenes04.avi!
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] | Dest. Sample-Rate: 48.0KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | AC3 bitrate : 384
[00:00:00:000] | Channels Mode : 2.0
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:01:02:717] Conversion Completed !
[00:01:02:717] Actual Avg. Bitrate : 383kbps
[00:00:37:000] <-- Transcoding Duration
Logging ends : 12/27/02 , 09:46:46.
Don't get confused about the "AVI!" extension, I used a batch file to automaticly rename the output file to *.ac3 :)
Good job for now! I like your BeSweet!
CU,
Zeus.
DSPguru
27th December 2002, 10:19
very very nice zeus ! here's what BeSweet did in a single shot :
avi-> 32khz pcm-> 48khz pcm-> ac3.
bb
27th December 2002, 14:27
Here's the log of "Banditen" AVI renamed to a.avi. Same result as in my previous post (strange characters on screen again: is stdout used as the decompressor's output stream?).
May I add that I believe it's a VBR audio stream?
BeSweet v1.5b10 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using hip.dll v1.17 by Myers Carpenter <myers@users.sf.net>
Using VOBInput.dll v1.3 by DVD2SVCD (http://www.dvd2svcd.org)
Logging start : 12/27/02 , 14:07:30.
C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input C:\Temp\DSPguru\a.avi -output C:\Temp\DSPguru\a.wav -logfilea C:\Temp\DSPguru\besweetlog4.txt -2ch )
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Temp\DSPguru\a.avi
[00:00:00:000] | Output: C:\Temp\DSPguru\a.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | A/V Delay found : 0msec
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
Now the -ota ( -g max ) problem again:
Commandline:
C:\Video\Audio\BeSweet1.5b10\BeSweet.exe -core( -input C:\Temp\DSPguru\Kegeln2002_DV_Type2.avi -output C:\Temp\DSPguru\Kegeln2002_DV_Type2.ogg -logfilea C:\Temp\DSPguru\besweetlog5.txt ) -ota( -g max ) -ogg( -q 0.250 )
The max gain search does not end when 0.0dB is reached.
Using this commandline (generated by BeSweet GUI 0.6 b66):
"C:\Video\Audio\BeSweet1.5b10\BeSweet.exe" -core( -input "c:\Temp\DSPguru\Kegeln2002_DV_type2.avi" -output "c:\Temp\DSPguru\Kegeln2002_DV_type2.ogg" -logfile "C:\Video\Audio\BeSweet1.5b10\BeSweet.log" ) -azid( -n1 -c normal -L -3db --maximize ) -ogg( -q 0.200 ) -profile( ~~~~~ Default Profile ~~~~~ )
I can't see the max gain search starting (directly transcodes).
bb
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.