PDA

View Full Version : [megui] Error with audio cutter


anonova
6th February 2008, 04:51
i've been trying to remove commericals out of my tv recordings, but I can't get the audio cutter to work. I successfully made the cut file, and then loaded it up into the audio cutter. The queue tabs says everything is done, but I don't get a file. I check the log, and besplit is splitting the wav correctly. It's when it joins them it errors.

"[00:00:00:000] | Input : C:\Documents and Settings\User\Local Settings\Temp\tmp1A0.tmp
Error: Input file isn't a valid WAVE file"

Any ideas?

Here's the log.

------------------------------------------------------

Starting job job2 at 9:26:57 PM

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 9:27:29 PM

------------------------------------------------------

Log for job job2

Job commandline: "C:\Program Files\megui\tools\besplit\BeSplit.exe"
-core( -input "C:\Videos\football T01 48K 16bit 2ch.wav"
-prefix "C:\Videos\football T01 48K 16bit 2ch_cut_0_"
-type wav -a ) -split( 33.2999333333333 461.194066666667 46.4458 963.295666666667 1147.61313333333
1436.5351 1606.83856666667 1833.69853333333 )
BeSplit v0.9b6 by DSPguru.
--------------------------

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : C:\Videos\football T01 48K 16bit 2ch.wav
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Channels Count: 2, Bitrate: 1536kbps
[00:00:00:000] | Output Prefix : C:\Videos\football T01 48K 16bit 2ch_cut_0_
[00:00:00:000] +---------------------
[00:00:33:300] | Starting address = 0x618f2c.
[00:30:33:700] +---------------------
[00:00:32:000] <-- Process Duration
[00:30:33:700] Operation Completed !


Visit BeSplit's Webpage at :
http://BeSplit.doom9.org/

------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_02.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_04.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_06.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_08.wav', deleting...
Deletion succeeded.

Postprocessing finished!

End of log for job2
------------------------------------------------------


Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job3 at 9:27:29 PM

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 9:27:29 PM

------------------------------------------------------

Log for job job3

Job commandline: "C:\Program Files\megui\tools\besplit\BeSplit.exe"
-core ( -input "C:\Documents and Settings\User\Local Settings\Temp\tmp1A0.tmp"
-prefix "C:\Videos\football T01 48K 16bit 2ch_cut.wav"
-type wav -join )
[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : C:\Documents and Settings\User\Local Settings\Temp\tmp1A0.tmp
Error: Input file isn't a valid WAVE file
BeSplit v0.9b6 by DSPguru.
--------------------------

Quiting...

------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_01.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_03.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_05.wav', deleting...
Deletion succeeded.

Found intermediate output file 'C:\Videos\football T01 48K 16bit 2ch_cut_0_07.wav', deleting...
Deletion succeeded.

Postprocessing finished!

End of log for job3
------------------------------------------------------

Kurtnoise
6th February 2008, 13:25
how did you create this wav file ?

Load it through MediaInfo or GSport-like and post the result here...

anonova
6th February 2008, 18:47
The program I use to capture the video and audio labels the audio as "WAV (LPCM), 48.0 KHz (WAV / LPCM), 1536 kbps." It captures into an mpg, so I just let the D2V Creator demux it for me.

here's the results for the demuxed wav.

General #0
Complete name : C:\Videos\football T01 48K 16bit 2ch.wav
Format : Wave
Format/Family : RIFF
File size : 349 MiB
PlayTime : 31mn 44s
Bit rate : 1536 Kbps

Audio #0
Codec : PCM
Codec/Family : PCM
Codec/Info : Microsoft PCM
Bit rate : 1536 Kbps
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits

And one of the cut wavs besplit returns, which is pretty much the same:

General #0
Complete name : C:\Videos\football T01 48K 16bit 2ch_cut_0_01.wav
Format : Wave
Format/Family : RIFF
File size : 78.4 MiB
PlayTime : 7mn 7s
Bit rate : 1536 Kbps

Audio #0
Codec : PCM
Codec/Family : PCM
Codec/Info : Microsoft PCM
Bit rate : 1536 Kbps
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits

Probably not useful, but here's a screen shot showing megui is telling me done instead of error.
http://img176.imageshack.us/img176/6182/meguiug6.th.png (http://img176.imageshack.us/my.php?image=meguiug6.png)

anonova
9th February 2008, 17:27
I seemed to have figured out the problem. Join and those segment lists really lack documentation...

Here's the command I use.

besplit -core( -input "C:\Videos\segments.lst" -prefix "C:\Videos\football T01 48K 16bit 2ch_join.wav" -type wav -join)

Looks similar to the one megui uses, right? The only true difference is at the end, I took out the space after -join. It doesn't error out then.

Since I can't see the tmp file megui creates for the segment list (tmp1A0.tmp the last time I tried), I had to make my own segment list file. Relative paths would not work for me. I had to put the full path and filename for it to work.

C:\Videos\football T01 48K 16bit 2ch_cut_0_01.wav
C:\Videos\football T01 48K 16bit 2ch_cut_0_03.wav
C:\Videos\football T01 48K 16bit 2ch_cut_0_05.wav
C:\Videos\football T01 48K 16bit 2ch_cut_0_07.wav

Here's a weird thing that also happens that should be taken into consideration. Say you're working in a folder located at C:\Videos\this_folder_has_a_really_really_really_really_long_path\. besplit can't work with paths plus filenames longer than 100 characters! You'll get an error showing it cut off the end.

Error openning Input file : "C:\Videos\this_folder_has_a_really_really_really_really_long_path\football T01 48K 16bit 2ch_cut_0_".