I have been trying for about 14 days now to get a problem under control - so far no luck. Of course I have already researched here in the forum, but could not find something suitable.
My goal is to replace the audio tracks of my music VHS recordings (made via DVD recorder) with simultaneously recorded audio files (made via an external audio recorder) in WAV format.
I think my idea was to be too good to be true:
1. Simply demux the VHS video files (VIDEO_TS) and then use the AC3 audio track as a reference for the separately recorded WAV file.
2. Multiplexing the then exactly tailored and edited/optimised WAV file with the demuxed M2V video file, for example via MKVToolnix - done.
But, far from it!
The difficulties are already starting at point 1:
I have not been able to extract a audio file that would be suitable as a reference for my WAV file.
All the programs I've tested so far, extract video and audio files that are unusable. When I multiplex these files for testing purposes, audio and video become out of sync after a certain amount of time. My multiplex programs are: ImagoMPEG-Muxer and MKVToolnix
The programs I had tested for demuxing so far were: DGMPGDec, Avidemux, TMPGEnc and ProjectX.
The only partially positive exception was ProjectX. After multiplexing the before generated files, audio an video are in sync. Unfortunately, ProjectX corrects the generated files while demuxing in the first place and discards, for example, erroneous GOP files. Then of course, the length of my WAV file are no longer consistent with the newly generated ProjectX audio file.
There must be a way to generate video and audio files from the VHS recordings that work together synchronously, without these "GOP file corrections".
Even if I generate the VOB files of the recorded DVD-R of the DVD recorder with the program VOB2MPG to a single MPEG file, audio and video are absolutely in sync. Unfortunately, I can not create single video and audio files from these MPEG files that are in sync - again for the above reasons.
Maybe someone has an idea?