2019-08-20, 21:16
Update:
I am new to Kodi, but since I have a big collection of xvids , i hope i can help as I managed to compare some of the files which play unsynced audio.
NOT ALL xvids have the same problem, but with media info I managed to pinpoint the problem for the videos with unsynced audio, and it seems all of then are encoded with the Simple@L5 xvideo profile as its called in the encoding configuration dialog of the Xvid codec.
For example Video1 Is healthy and the audio is synced .
Video1
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 37 min
Bit rate : 1 793 kb/s
Width : 576 pixels
Height : 416 pixels
Display aspect ratio : 1.385
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.299
Stream size : 1.22 GiB (90%)
Writing library : XviD 1.0.2 (UTC 2004-08-29)
While Video2 is has audio synched problems.
Video2
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1 / Custom Matrix
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2 h 23 min
Bit rate : 1 021 kb/s
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.109
Stream size : 1.02 GiB (80%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Also another information that might help is that 90% of the files i checked have in Format Settings : CUSTOM/MATRIX.
I guess some bad boys encoders messed with the default settings of xvid writing libary.
Not all XVID -with profile Advanced Simple@L5 have the same problem. Some of them play fine.
But 100% of the files with Custom/Matrix format settings based on Simple@L5 reproduce the problem.
Also among the 100 files i checked i found also 4 DVIX encoded files With CUSTOM/Matrix format settings which are also unsynced.
I have the XF9005 Sony. For me going back to 17.6 solves the sync issue but its not ideal. Why? Has anyone noticed the reduced quality of the videos?
SOnys x1 Processor is very good and it does great upscaling with Hardware ACCel. enabled. So i suspect that 17.6 version uses the software encoder for those type of files and as a result plays the movie with not such great upscaling and a 15% maybe even 20% quality loss
The more powerful processor your tv has, and the bigger your tv is, then the more noticable is the difference from one version to the other.
Then i tried to re-encode only the sound of the file leaving the video untouched and voila what a surprise!
With avidemux it takes only 1-2 minutes for a 800mb file to -re-encode the sound to AC3(i picked it accidentally) and the audio with the picture is suddenly synced in the new file.
I intend to re-encode the sound all the videos which have that issue now since as the rumors say there are not gonna be much changes in 19xxx....
Encoding the audio only is much easier and obviously less time consuming.
I dont know why Kodi does this. If its the audio codec or the hardware acceleration, or just sony in combination with the latestr KOdi, but i hope all these information will help the developers.
I am new to Kodi, but since I have a big collection of xvids , i hope i can help as I managed to compare some of the files which play unsynced audio.
NOT ALL xvids have the same problem, but with media info I managed to pinpoint the problem for the videos with unsynced audio, and it seems all of then are encoded with the Simple@L5 xvideo profile as its called in the encoding configuration dialog of the Xvid codec.
For example Video1 Is healthy and the audio is synced .
Video1
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 37 min
Bit rate : 1 793 kb/s
Width : 576 pixels
Height : 416 pixels
Display aspect ratio : 1.385
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.299
Stream size : 1.22 GiB (90%)
Writing library : XviD 1.0.2 (UTC 2004-08-29)
While Video2 is has audio synched problems.
Video2
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1 / Custom Matrix
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2 h 23 min
Bit rate : 1 021 kb/s
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.109
Stream size : 1.02 GiB (80%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Also another information that might help is that 90% of the files i checked have in Format Settings : CUSTOM/MATRIX.
I guess some bad boys encoders messed with the default settings of xvid writing libary.
Not all XVID -with profile Advanced Simple@L5 have the same problem. Some of them play fine.
But 100% of the files with Custom/Matrix format settings based on Simple@L5 reproduce the problem.
Also among the 100 files i checked i found also 4 DVIX encoded files With CUSTOM/Matrix format settings which are also unsynced.
I have the XF9005 Sony. For me going back to 17.6 solves the sync issue but its not ideal. Why? Has anyone noticed the reduced quality of the videos?
SOnys x1 Processor is very good and it does great upscaling with Hardware ACCel. enabled. So i suspect that 17.6 version uses the software encoder for those type of files and as a result plays the movie with not such great upscaling and a 15% maybe even 20% quality loss
The more powerful processor your tv has, and the bigger your tv is, then the more noticable is the difference from one version to the other.
Then i tried to re-encode only the sound of the file leaving the video untouched and voila what a surprise!
With avidemux it takes only 1-2 minutes for a 800mb file to -re-encode the sound to AC3(i picked it accidentally) and the audio with the picture is suddenly synced in the new file.
I intend to re-encode the sound all the videos which have that issue now since as the rumors say there are not gonna be much changes in 19xxx....
Encoding the audio only is much easier and obviously less time consuming.
I dont know why Kodi does this. If its the audio codec or the hardware acceleration, or just sony in combination with the latestr KOdi, but i hope all these information will help the developers.