Skip to content
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

Wrong audio date rate detected #50

Open
chrschmidt opened this issue Sep 2, 2020 · 3 comments
Open

Wrong audio date rate detected #50

chrschmidt opened this issue Sep 2, 2020 · 3 comments

Comments

@chrschmidt
Copy link

For a file with
Duration: 01:19:47.01, start: 0.000000, bitrate: 299 kb/s
Stream #0:0: Video: msmpeg4v3 (MP43 / 0x3334504D), yuv420p, 320x240, 284 kb/s, 30.04 fps, 30.04 tbr, 30.04 tbn, 30.04 tbc
Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, fltp, 8 kb/s
avd3 created a creq to move the audio up to 1575kbit/s (see 13395761). avd2 submitted the original and correct 8kbit/s.

@DvdKhl DvdKhl added this to the Version 3.1 milestone Sep 3, 2020
@DvdKhl
Copy link
Owner

DvdKhl commented Sep 3, 2020

Looks that is related to the new MediaInfoLib Version.
Could you rerun the file with --Reports=MediaInfoXmlReport and --ReportFileName=MILReport.xml and append that report here?

@kheldorn
Copy link
Collaborator

kheldorn commented Sep 3, 2020

What I noticed is that AVD3/MIL2008 reports a way shorter audio track duration than AVD2 did.

https://anidb.net/file/971541

<File>
  <General>
    <Count Unit="">331</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">General</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <VideoCount Unit="">1</VideoCount>
    <AudioCount Unit="">1</AudioCount>
    <Video_Format_List Unit="">MPEG-4 Visual</Video_Format_List>
    <Video_Format_WithHint_List Unit="">MPEG-4 Visual (Microsoft)</Video_Format_WithHint_List>
    <Video_Codec_List Unit="">MPEG-4 Visual</Video_Codec_List>
    <Audio_Format_List Unit="">WMA</Audio_Format_List>
    <Audio_Format_WithHint_List Unit="">WMA</Audio_Format_WithHint_List>
    <Audio_Codec_List Unit="">WMA</Audio_Codec_List>
    <CompleteName Unit="">f:\Anime (DDD)\test\twnqx\시간탐험대/돈데크만 [1989] 09 가짜돈데크만,10 스타탄생,11 마술지팡이,12 금주법시대.avi</CompleteName>
    <FolderName Unit="">f:\Anime (DDD)\test\twnqx</FolderName>
    <FileNameExtension Unit="">시간탐험대/돈데크만 [1989] 09 가짜돈데크만,10 스타탄생,11 마술지팡이,12 금주법시대.avi</FileNameExtension>
    <FileName Unit="">시간탐험대/돈데크만 [1989] 09 가짜돈데크만,10 스타탄생,11 마술지팡이,12 금주법시대</FileName>
    <FileExtension Unit="">avi</FileExtension>
    <Format Unit="">AVI</Format>
    <Format-Info Unit="">Audio Video Interleave</Format-Info>
    <Format-Extensions Unit="">avi</Format-Extensions>
    <Format_Commercial Unit="">AVI</Format_Commercial>
    <InternetMediaType Unit="">video/vnd.avi</InternetMediaType>
    <Interleaved Unit="">No</Interleaved>
    <FileSize Unit="byte">187933876</FileSize>
    <Duration Unit="ms">5028385</Duration>
    <OverallBitRate Unit="bps">298997</OverallBitRate>
    <FrameRate Unit="fps">30.041</FrameRate>
    <FrameCount Unit="">151057</FrameCount>
    <StreamSize Unit="byte">4568391</StreamSize>
    <StreamSize_Proportion Unit="">0.02431</StreamSize_Proportion>
    <File_Created_Date Unit="">UTC 2020-09-03 05:49:30.649</File_Created_Date>
    <File_Created_Date_Local Unit="">2020-09-03 07:49:30.649</File_Created_Date_Local>
    <File_Modified_Date Unit="">UTC 2020-09-03 05:50:45.000</File_Modified_Date>
    <File_Modified_Date_Local Unit="">2020-09-03 07:50:45.000</File_Modified_Date_Local>
    <Encoded_Library Unit="">Converted by AsfTools v2.21</Encoded_Library>
  </General>
  <Video>
    <Count Unit="">377</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Video</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <StreamOrder Unit="">0</StreamOrder>
    <ID Unit="">0</ID>
    <Format Unit="">MPEG-4 Visual</Format>
    <Format_Commercial Unit="">MPEG-4 Visual</Format_Commercial>
    <InternetMediaType Unit="">video/MP4V-ES</InternetMediaType>
    <CodecID Unit="">MP43</CodecID>
    <CodecID-Info Unit="">Microsoft MPEG-4 v3 (pre-standard)</CodecID-Info>
    <CodecID-Hint Unit="">Microsoft</CodecID-Hint>
    <Duration Unit="ms">5028385</Duration>
    <BitRate Unit="bps">281738</BitRate>
    <Width Unit="pixel">320</Width>
    <Height Unit="pixel">240</Height>
    <PixelAspectRatio Unit="">1.000</PixelAspectRatio>
    <DisplayAspectRatio Unit="">1.333</DisplayAspectRatio>
    <FrameRate Unit="fps">30.041</FrameRate>
    <FrameCount Unit="">151057</FrameCount>
    <Compression_Mode Unit="">Lossy</Compression_Mode>
    <BitsPerPixel Unit="">0.122</BitsPerPixel>
    <StreamSize Unit="byte">177085129</StreamSize>
    <StreamSize_Proportion Unit="">0.94227</StreamSize_Proportion>
  </Video>
  <Audio>
    <Count Unit="">280</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Audio</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <ID Unit="">1</ID>
    <Format Unit="">WMA</Format>
    <Format_Commercial Unit="">WMA</Format_Commercial>
    <Format_Version Unit="">Version 2</Format_Version>
    <CodecID Unit="">161</CodecID>
    <CodecID-Info Unit="">Windows Media Audio</CodecID-Info>
    <CodecID-Url Unit="">http://www.microsoft.com/windows/windowsmedia/format/codecdownload.aspx</CodecID-Url>
    <Duration Unit="ms">17646</Duration>
    <Source_Duration Unit="ms">5028307</Source_Duration>
    <BitRate Unit="bps">9992</BitRate>
    <Channels Unit="channel">1</Channels>
    <SamplingRate Unit="Hz">11025</SamplingRate>
    <SamplingCount Unit="">194547</SamplingCount>
    <BitDepth Unit="bit">16</BitDepth>
    <StreamSize Unit="byte">6280356</StreamSize>
    <StreamSize_Proportion Unit="">0.03342</StreamSize_Proportion>
    <Interleave_VideoFrames Unit="">4.19</Interleave_VideoFrames>
    <Interleave_Duration Unit="ms">139</Interleave_Duration>
    <Interleave_Preload Unit="ms">696</Interleave_Preload>
  </Audio>
</File>

https://anidb.net/file/971535

<File>
  <General>
    <Count Unit="">331</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">General</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <VideoCount Unit="">1</VideoCount>
    <AudioCount Unit="">1</AudioCount>
    <Video_Format_List Unit="">MPEG-4 Visual</Video_Format_List>
    <Video_Format_WithHint_List Unit="">MPEG-4 Visual (Microsoft)</Video_Format_WithHint_List>
    <Video_Codec_List Unit="">MPEG-4 Visual</Video_Codec_List>
    <Audio_Format_List Unit="">WMA</Audio_Format_List>
    <Audio_Format_WithHint_List Unit="">WMA</Audio_Format_WithHint_List>
    <Audio_Codec_List Unit="">WMA</Audio_Codec_List>
    <CompleteName Unit="">f:\Anime (DDD)\test\twnqx\시간탐험대/돈데크만 [1989] 25 클레오파트라의질투,26 우주선속에서,27 명탐정셜록홈즈,28 다시만난알카포네.avi</CompleteName>
    <FolderName Unit="">f:\Anime (DDD)\test\twnqx</FolderName>
    <FileNameExtension Unit="">시간탐험대/돈데크만 [1989] 25 클레오파트라의질투,26 우주선속에서,27 명탐정셜록홈즈,28 다시만난알카포네.avi</FileNameExtension>
    <FileName Unit="">시간탐험대/돈데크만 [1989] 25 클레오파트라의질투,26 우주선속에서,27 명탐정셜록홈즈,28 다시만난알카포네</FileName>
    <FileExtension Unit="">avi</FileExtension>
    <Format Unit="">AVI</Format>
    <Format-Info Unit="">Audio Video Interleave</Format-Info>
    <Format-Extensions Unit="">avi</Format-Extensions>
    <Format_Commercial Unit="">AVI</Format_Commercial>
    <InternetMediaType Unit="">video/vnd.avi</InternetMediaType>
    <Interleaved Unit="">No</Interleaved>
    <FileSize Unit="byte">179295432</FileSize>
    <Duration Unit="ms">4787014</Duration>
    <OverallBitRate Unit="bps">299636</OverallBitRate>
    <FrameRate Unit="fps">30.041</FrameRate>
    <FrameCount Unit="">143803</FrameCount>
    <StreamSize Unit="byte">4426638</StreamSize>
    <StreamSize_Proportion Unit="">0.02469</StreamSize_Proportion>
    <File_Created_Date Unit="">UTC 2020-09-03 05:49:32.792</File_Created_Date>
    <File_Created_Date_Local Unit="">2020-09-03 07:49:32.792</File_Created_Date_Local>
    <File_Modified_Date Unit="">UTC 2020-09-03 05:51:09.542</File_Modified_Date>
    <File_Modified_Date_Local Unit="">2020-09-03 07:51:09.542</File_Modified_Date_Local>
    <Encoded_Library Unit="">Converted by AsfTools v2.21</Encoded_Library>
  </General>
  <Video>
    <Count Unit="">377</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Video</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <StreamOrder Unit="">0</StreamOrder>
    <ID Unit="">0</ID>
    <Format Unit="">MPEG-4 Visual</Format>
    <Format_Commercial Unit="">MPEG-4 Visual</Format_Commercial>
    <InternetMediaType Unit="">video/MP4V-ES</InternetMediaType>
    <CodecID Unit="">MP43</CodecID>
    <CodecID-Info Unit="">Microsoft MPEG-4 v3 (pre-standard)</CodecID-Info>
    <CodecID-Hint Unit="">Microsoft</CodecID-Hint>
    <Duration Unit="ms">4787014</Duration>
    <Source_Duration Unit="ms">4786914</Source_Duration>
    <BitRate Unit="bps">284246</BitRate>
    <Width Unit="pixel">320</Width>
    <Height Unit="pixel">240</Height>
    <PixelAspectRatio Unit="">1.000</PixelAspectRatio>
    <DisplayAspectRatio Unit="">1.333</DisplayAspectRatio>
    <FrameRate Unit="fps">30.041</FrameRate>
    <FrameCount Unit="">143803</FrameCount>
    <Compression_Mode Unit="">Lossy</Compression_Mode>
    <BitsPerPixel Unit="">0.123</BitsPerPixel>
    <StreamSize Unit="byte">170081722</StreamSize>
    <StreamSize_Proportion Unit="">0.94861</StreamSize_Proportion>
  </Video>
  <Audio>
    <Count Unit="">280</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Audio</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <ID Unit="">1</ID>
    <Format Unit="">WMA</Format>
    <Format_Commercial Unit="">WMA</Format_Commercial>
    <Format_Version Unit="">Version 2</Format_Version>
    <CodecID Unit="">161</CodecID>
    <CodecID-Info Unit="">Windows Media Audio</CodecID-Info>
    <CodecID-Url Unit="">http://www.microsoft.com/windows/windowsmedia/format/codecdownload.aspx</CodecID-Url>
    <Duration Unit="ms">24320</Duration>
    <Source_Duration Unit="ms">4787072</Source_Duration>
    <BitRate Unit="bps">8000</BitRate>
    <Channels Unit="channel">1</Channels>
    <SamplingRate Unit="Hz">8000</SamplingRate>
    <SamplingCount Unit="">194560</SamplingCount>
    <BitDepth Unit="bit">16</BitDepth>
    <StreamSize Unit="byte">4787072</StreamSize>
    <StreamSize_Proportion Unit="">0.02670</StreamSize_Proportion>
    <Interleave_VideoFrames Unit="">3.85</Interleave_VideoFrames>
    <Interleave_Duration Unit="ms">128</Interleave_Duration>
    <Interleave_Preload Unit="ms">512</Interleave_Preload>
  </Audio>
</File>

https://anidb.net/file/971549

<File>
  <General>
    <Count Unit="">331</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">General</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <VideoCount Unit="">1</VideoCount>
    <AudioCount Unit="">1</AudioCount>
    <Video_Format_List Unit="">MPEG-4 Visual</Video_Format_List>
    <Video_Format_WithHint_List Unit="">MPEG-4 Visual (Microsoft)</Video_Format_WithHint_List>
    <Video_Codec_List Unit="">MPEG-4 Visual</Video_Codec_List>
    <Audio_Format_List Unit="">WMA</Audio_Format_List>
    <Audio_Format_WithHint_List Unit="">WMA</Audio_Format_WithHint_List>
    <Audio_Codec_List Unit="">WMA</Audio_Codec_List>
    <CompleteName Unit="">f:\Anime (DDD)\test\twnqx\시간탐험대/돈데크만 [1989] 35 시간의미로1,36 시간의미로2 [完].avi</CompleteName>
    <FolderName Unit="">f:\Anime (DDD)\test\twnqx</FolderName>
    <FileNameExtension Unit="">시간탐험대/돈데크만 [1989] 35 시간의미로1,36 시간의미로2 [完].avi</FileNameExtension>
    <FileName Unit="">시간탐험대/돈데크만 [1989] 35 시간의미로1,36 시간의미로2 [完]</FileName>
    <FileExtension Unit="">avi</FileExtension>
    <Format Unit="">AVI</Format>
    <Format-Info Unit="">Audio Video Interleave</Format-Info>
    <Format-Extensions Unit="">avi</Format-Extensions>
    <Format_Commercial Unit="">AVI</Format_Commercial>
    <InternetMediaType Unit="">video/vnd.avi</InternetMediaType>
    <Interleaved Unit="">No</Interleaved>
    <FileSize Unit="byte">91334148</FileSize>
    <Duration Unit="ms">2438632</Duration>
    <OverallBitRate Unit="bps">299624</OverallBitRate>
    <FrameRate Unit="fps">30.043</FrameRate>
    <FrameCount Unit="">73263</FrameCount>
    <StreamSize Unit="byte">2216781</StreamSize>
    <StreamSize_Proportion Unit="">0.02427</StreamSize_Proportion>
    <File_Created_Date Unit="">UTC 2020-09-03 05:49:34.525</File_Created_Date>
    <File_Created_Date_Local Unit="">2020-09-03 07:49:34.525</File_Created_Date_Local>
    <File_Modified_Date Unit="">UTC 2020-09-03 05:50:19.520</File_Modified_Date>
    <File_Modified_Date_Local Unit="">2020-09-03 07:50:19.520</File_Modified_Date_Local>
    <Encoded_Library Unit="">Converted by AsfTools v2.21</Encoded_Library>
  </General>
  <Video>
    <Count Unit="">377</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Video</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <StreamOrder Unit="">0</StreamOrder>
    <ID Unit="">0</ID>
    <Format Unit="">MPEG-4 Visual</Format>
    <Format_Commercial Unit="">MPEG-4 Visual</Format_Commercial>
    <InternetMediaType Unit="">video/MP4V-ES</InternetMediaType>
    <CodecID Unit="">MP43</CodecID>
    <CodecID-Info Unit="">Microsoft MPEG-4 v3 (pre-standard)</CodecID-Info>
    <CodecID-Hint Unit="">Microsoft</CodecID-Hint>
    <Duration Unit="ms">2438632</Duration>
    <BitRate Unit="bps">282363</BitRate>
    <Width Unit="pixel">320</Width>
    <Height Unit="pixel">240</Height>
    <PixelAspectRatio Unit="">1.000</PixelAspectRatio>
    <DisplayAspectRatio Unit="">1.333</DisplayAspectRatio>
    <FrameRate Unit="fps">30.043</FrameRate>
    <FrameCount Unit="">73263</FrameCount>
    <Compression_Mode Unit="">Lossy</Compression_Mode>
    <BitsPerPixel Unit="">0.122</BitsPerPixel>
    <StreamSize Unit="byte">86071439</StreamSize>
    <StreamSize_Proportion Unit="">0.94238</StreamSize_Proportion>
  </Video>
  <Audio>
    <Count Unit="">280</Count>
    <StreamCount Unit="">1</StreamCount>
    <StreamKind Unit="">Audio</StreamKind>
    <StreamKindID Unit="">0</StreamKindID>
    <ID Unit="">1</ID>
    <Format Unit="">WMA</Format>
    <Format_Commercial Unit="">WMA</Format_Commercial>
    <Format_Version Unit="">Version 2</Format_Version>
    <CodecID Unit="">161</CodecID>
    <CodecID-Info Unit="">Windows Media Audio</CodecID-Info>
    <CodecID-Url Unit="">http://www.microsoft.com/windows/windowsmedia/format/codecdownload.aspx</CodecID-Url>
    <Duration Unit="ms">17646</Duration>
    <Source_Duration Unit="ms">2438693</Source_Duration>
    <BitRate Unit="bps">9992</BitRate>
    <Channels Unit="channel">1</Channels>
    <SamplingRate Unit="Hz">11025</SamplingRate>
    <SamplingCount Unit="">194547</SamplingCount>
    <BitDepth Unit="bit">16</BitDepth>
    <StreamSize Unit="byte">3045928</StreamSize>
    <StreamSize_Proportion Unit="">0.03335</StreamSize_Proportion>
    <Interleave_VideoFrames Unit="">4.19</Interleave_VideoFrames>
    <Interleave_Duration Unit="ms">139</Interleave_Duration>
    <Interleave_Preload Unit="ms">417</Interleave_Preload>
  </Audio>
</File>

@kheldorn
Copy link
Collaborator

kheldorn commented Nov 1, 2021

8238 with MIL 2109 still shows this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants