View Full Version : Fix crash of wavi
Chikuzen
16th June 2011, 18:29
Yesterday, i got a crash with wavi.exe.
I read the code, and ascertained the cause.
P.S.
This binary also includes this patch (http://sourceforge.net/tracker/?func=detail&aid=2957741&group_id=196137&atid=956250).
Fix version is here.
b66pak
16th June 2011, 18:56
thanks a lot...
_
tebasuna51
17th June 2011, 00:51
Thanks Chikuzen
Chikuzen
18th September 2011, 02:14
Since it seems that libvfw32.a was added to mingw-w64, I compiled wavi for 64bit.
wavi106m_x86_x64.zip (http://www.mediafire.com/download.php?l7ad7fdxkjb43ua)
note: I seldom use avisynth64. so, it is not often checking.
hlrsnd
18th June 2014, 23:52
Sorry to revive this old thread but I can't get wav audio from an AVI made by an old Canon camera. Wavi is able to correctly determine the length of the audio but it can only write exactly one second of audio, which sounds perfect, before stopping.
Batch file is super simple as a test:
wavi_x64 mvi_4522.avi test.wav
pause
Here's the MediaInfo report on the avi file:
General
Complete name : ...MVI_4522.AVI
Format : AVI
Format/Info : Audio Video Interleave
File size : 343 MiB
Duration : 3mn 2s
Overall bit rate : 15.7 Mbps
Mastered date : 2013-11-29 18:18:12
Writing application : CanonMVI06
Video
ID : 0
Format : JPEG
Codec ID : MJPG
Duration : 3mn 2s
Bit rate : 15.0 Mbps
Width : 640 pixels
Height : 480 pixels
Original height : 960 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.629
Stream size : 327 MiB (95%)
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 3mn 2s
Bit rate mode : Constant
Bit rate : 705.6 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 15.4 MiB (4%)
Alignment : Aligned on interleaves
Interleave, duration : 1000 ms (29.99 video frames)
Interleave, preload duration : 1000 ms
Any suggestions? I'm guessing the problem has something to do with the interleave duration of exactly one second but then what?
filler56789
19th June 2014, 01:17
^ Try an intermediate Avisynth script, try both AVISource() and DirectShowSource().
OR... use the 32-bit version of wavi.exe.
hlrsnd
19th June 2014, 02:10
Trying to avoid using an Avisynth script. I thought wavi worked without it. No? 32 bit version of wavi has the same problem.
filler56789
19th June 2014, 03:34
an AVI made by an old Canon camera
Then it looks like the AVI file was muxed incorrectly, or in an "uncommon" way. AVISource() probably WON'T work in this case. You could remux it with ffmpeg, VirtualDub, or AVI-Mux GUI. Or even better, extract the audio to an uncompressed WAV file, doing without wavi altogether.
hlrsnd
19th June 2014, 12:21
Some background on what I'm trying to do. I have 20-30 AVI files each in various folders. All are straight from my 2008 Canon camera which uses mjpeg and mono wav for its AVI files. I am trying to write a batch file to crawl through each folder and encode using X264, qaac, and mp4box. I know how to do this using avisynth but want to avoid that because I'd have to write 20-30 AVS files. (Unless there is a way to have them written automatically). My current batch file works fine using X264 on the AVIs but I can't extract the wavs for qaac to convert.
I'm getting close to extracting the audio using ffmpeg but not quite there yet. May try BeSweet next. Suggestions welcome.
Reino
21st June 2014, 21:19
I don't use qaac, but for opus that would most likely be:
ffmpeg.exe -i "MVI_4522.AVI" -vn -f wav - | "opusenc.exe" --bitrate 64 --raw --raw-rate 44100 --raw-chan 1 - "MVI_4522.opus"But if it's such a problematic file, perhaps you can upload a sample?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.