-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packing error audio-video-duration-mismatch due to misformatted audio duration value #927
Comments
interesting. Is this a 32khz 4 channel dv and you used the But yes, the audio duration is mis-expressed and is evaluated in https://github.com/mipops/dvrescue/blob/main/tools/dvpackager#L1291. I'm confused how it comes out like that on windows, perhaps the windows line breaks, prevent the @JeromeMartinez, currently |
please also test with https://mediaarea.net/download/snapshots/binary/dvrescue-gui/20240731/ |
@dericed This video was recorded on a consumer Sony camcorder that would have been sold near the end of 1999 or very early 2000. I'm not sure the exact model.... but just to give you an idea of what probably recorded it. Here's the output from MediaInfo (the GUI version) for the audio portions:
The first audio # 1 seems to be what has the audio. The second one has proved to be blank. |
This is the mediainfo output of the DV file, right? In dvpackager, if the DV is like this with four audio channels then the 3rd and 4th channels should be tested to see if any audio is there and if not, then the packager will just skip them when packaging to a container. |
@dericed Right - this is from a bare DV file. I opened it in MediaInfo GUI, went to the text mode, and copied that snippet. I did not even know that these things could possibly contain 4 audio channels until very recently... This was recorded on a consumer Sony camcorder, so there's no way it could possibly have actually recorded anything more than stereo. And indeed, now that #925 is fixed, I was able to look at only the audio DIF blocks, and, unsurprisingly, the second half of them are all zeros. So concluding, this is from a DV file with four 32 kHz channels (2x stereo), and the latter two are totally blank (zero). Examining one of the packaged MKV file outputs in Media Info GUI, and going to text mode, I also see this:
So I guess the testing mechanism you mention might be broken? Audio 1 and 2 are both stereo, and I've noticed when ingesting this file into Hybrid that it detects two audio tracks... the second one being totally blank. |
While attempting to package a DV file into an MKV file, I got this error from debug logs. This is on Windows with the
dvrescue_GUI_22.12.20240730_Windows_x64
nightly build. Before using this nightly build, I converted all the line endings in\scripts
to Unix (see #925 )It looks like somehow the
AUD_DUR
has several durations in it that have been improperly concatenated to make a single, non-sensical string that can't be compared with the video duration: note the#VID_DUR=(3701931.000000), AUD_DIR=(3701931.0000003701931.0000003701931.0000003701931.000000), DUR_DIFF=()
line.I did get an MKV file on the output, so I'm assuming it's actually fine, and this error is misleading noise.
The text was updated successfully, but these errors were encountered: