Stuck in Extracting Calibration Frames when video is muted

Hi, first of all, thank you for providing this great software!

I’m currently testing it, but I keep running into an issue where the process gets stuck at a certain point.

I’m using two ELP USB cameras (USBFHD01M-BL36) and recording videos in .avi format without audio. I suspect that the problem is related to the missing audio track, as I encounter an error at this stage.

Processing Failed Transcoding failed: Audio extraction failed: Command ‘[‘C:\\Users\\Marvin\\AppData\\Local\\VideoStitcher\\app-0.3.0\\resources\\dist_bundle\\bin\\ffmpeg.EXE’, ‘-y’, ‘-loglevel’, ‘error’, ‘-i’, ‘C:\\Programmierung\\FootballTracker\\KameraTest2\\left.avi’, ‘-vn’, ‘-ac’, ‘1’, ‘-ar’, ‘16000’, ‘-acodec’, ‘pcm_s16le’, ‘C:\\Users\\Marvin\\AppData\\Roaming\\video-stitcher\\backend_data\\temp\\match-1774442318842\\audio1.wav’]’ returned non-zero exit status 4294967274.

I tried adding a “fake” audio track using ffmpeg:

ffmpeg -f lavfi -i anullsrc -i right.avi -shortest -c:v copy -c:a pcm_s16le right-audio.avi

With this workaround, the error no longer appears. However, the process then gets stuck in the “extracting calibration frames” step.

I also tested around with multiple lens profiles but nothing really helps.

Thank you!

Hi,

Thanks for trying the software. V2 is coming soon by the way!

The issue was indeed that it had no audio. When you added the audio, it probably computed a bad video offset, and resulted in the black frame you are seeing.

I was actually just trying yesterday to use footage from “usb” cameras (so no sound) and I fixed this issue by changing the code so it defaults to 0 seconds offset in case of no audio.

Let me push this update. In the meantime, you can try putting a real audio in the two videos, and it will fix it.

The release is out (v.0.3.1). It only contains the fix for you issue. Hopefully it will now work.
Try using short videos so you don’t spend too much time waiting, so you can try different lenses.

Your videos should already be synchronised, because there is no audio.

You can either download the new release (you will potentially need to uninstall the old version, not sure) or you git pull from main, if you cloned the repository.

Thanks.

Wow you are insane :slight_smile: Thanks for this quick response and fix.

It works like a charm now :+1: I’m really looking forward for your Version 2. The features sound very promising :slight_smile:

2 Likes