Hi

this leads to corruption at the end of mp2 and ac3

 huffyuv_mp2.mkv
 221184 tmpvid.raw
-32016 tmpaud.raw
-    0     0  3999#    0     0  3999#    0     0
+31760 tmpaud.raw
+    0     0  3999#    0     0  3999#    0     1 A
 ------
 huffyuv_libmp3lame.mkv
 221184 tmpvid.raw
@@ -146,8 +146,8 @@
 ------
 huffyuv_ac3.mkv
 221184 tmpvid.raw
-32192 tmpaud.raw
-    0     0  3999#    0     0  3999#    0     0
+31936 tmpaud.raw
+    0     0  3999#    0     0  3999#    0     1 A

the A at the end means the audio and video tracks differ in length


If you look at framecrc you see this:
before:
0,          7,          7,        1,   110592, 0x3e9a9a45
1,     113408,     113408,     1536,     3072, 0x00000000
1,     114944,     114944,     1536,     3072, 0x00000000
1,     116480,     116480,     1536,     3072, 0x00000000
1,     118016,     118016,     1536,     3072, 0x00000000
1,     119552,     119552,     1536,     3072, 0x00000000
1,     121088,     121088,     1536,     3072, 0x00000000
1,     122624,     122624,     1536,     3072, 0x00000000
1,     124160,     124160,     1536,     3072, 0x00000000
1,     125696,     125696,     1536,     3072, 0x00000000
1,     127232,     127232,     1536,     3072, 0x00000000


after:
0,          7,          7,        1,   110592, 0x3e9a9a45
1,     113408,     113408,     1536,     3072, 0x00000000
1,     114944,     114944,     1536,     3072, 0x00000000
1,     116480,     116480,     1536,     3072, 0x00000000
1,     118016,     118016,     1536,     3072, 0x00000000
1,     119552,     119552,     1536,     3072, 0x00000000
1,     121088,     121088,     1536,     3072, 0x00000000
1,     122624,     122624,     1536,     3072, 0x00000000
1,     124160,     124160,     1536,     3072, 0x00000000
1,     125696,     125696,     1536,     3072, 0x00000000
1,     127232,     127232,      512,     1024, 0x00000000

this is a encoder side issue

basically before this commit audio+video with identical length stay identical
after thue
audio+video with identical length are not identical length after encoding

you should be abel to replicate that with any rawvideo + rawaudio input
of same length

if people want i can look into adding this test to fate, but my todo is
long so might take some time

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to