hello, i’ve ran into a few issues while working with an mkv file.
i’ve imported a movie (mkv), trimmed a short section of the scene, and exported it.
the resulting file has several problems:
audio track selection – the exported file chose the commentary track instead of the main movie audio. it would be helpful if the app could detect multiple audio tracks and let users choose which one to include before export.
exported file duration – the output file still retains the duration of the entire original movie, even though only the ~12 sec trimmed portion contains data. everything beyond the trimmed section is blank. depending on the player, it either freezes on the final frame or turns black if you scrub past that point.
audio/video misalignment – in the exported file, the audio begins at 00:00:00, but the video doesn’t appear until 00:00:04, causing a noticeable sync issue at the start.
it would be great to see more complete mkv support, especially around proper audio track selection and accurate trimming behavior during export.
Check if your input MKV file has the audio delay flag. It probably is ignored when VEAI muxes the video? Probably the same thing happens with audio track selection. The commentary might be track #0 and VEAI just takes the first track. But perhaps if the track you want has the “default” flag it will be selected instead.
In any case VEAI should definitely select all tracks when muxing the video and preserve all flags and metadata (something that is very easy to do with the MKVToolNix CLI, no need to reinvent the wheel)
It seems like everything looks in order, and the commentary track isn’t even selected as default, so I guess it just merged everything when I exported from VideoAI.
My only goal here is to export snippets of a movie for fun, so I might be better off just converting the container to a MP4 file. I guess it would behave normally. I just wish this was easier, being able to do all this in the native MKV format that the movie comes in. man, i dont really know what im talking about…
i didnt see anything about an audio delay tag but im not too worried about it. the audio seemed to be in sync still but the video just had empty data for the first 4 sec.
The picture I assume refers to the input video. It’s possible then that VEAI selected the first english track.
As for the delay, click on your audio track and look at the right side where the properties are, there is a category for “timestamps and default duration” with a few options that may have been set.
honestly… i shouldn’t have to double-check the mkv tracks in a different program before importing it to VideoAI. if its doing this with 4 different mkv files so far, then… yeah there’s a common denominator here lol. i should be able to choose the tracks on a mkv, and get the proper metadata on export.
im waiting for a bigger SSD to arrive so i can remux it to a mp4, but i just dont have the disk space atm since its like a 16gb file. its just annoying to do a workaround and make a new file just so it will behave properly.
we can close this, this really has become just a suggestion
The app is not designed to work with macOS beta versions and there can be some issues when running it.
It would be very beneficial for us to have the logs to look at for understanding in this issue otherwise the team can not see what happened when the app was processing the file. We can try and replicate with other video files but that does not mean that they have the same audio and subtitle tracks or other variables that your system might have.