Hi,
@Maxoo/@DDDamian: I've used Avidemux for opening the video file, unpack the bitstream and use Tools > Rebuild I & B Frames.
Then I've compared the output of "ffmpeg -i filename" for the first file and the corrected one and now I don't have the error in the final AVI:
Before:
Code:
[mpeg4 @ 01dfc5c0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 't:\temp\avi\Movie.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 01:42:53.95, start: 0.000000, bitrate: 2177 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 23.98 tbr, 23.98 tbn, 25 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s
At least one output file must be specified
After the I&B correction:
Code:
Input #0, avi, from 't:\temp\avi\Movie - Unpacked.avi':
Duration: 01:42:53.95, start: 0.000000, bitrate: 2177 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DX50 / 0x30355844), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 23.98 tbr, 23.98 tbn, 25 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s
At least one output file must be specified
I'll try this video tonight when my wife leaves the TV ;-)
I've tested too the "Disable Desktop Composition" and the same incorrect video file is smooth (I can't be sure if better than MPC-HC alone but a lot better than XBMC without the Aero disabled). So, I've added some lines to my startup script for XBMC:
Code:
...
IF "%SCREEN%"=="1" (
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0XBMC.exe" /t REG_SZ /d "DISABLEDWM" /f >NUL
) ELSE (
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0XBMC.exe" /f >NUL 2>&1
)
...
The idea is to add the key DISABLEDWM in the registry (is the same that checking the "Disable Desktop Composition" in the file properties) when I launch XBMC in my screen 1 (i.e. the TV) and delete it if I launch in Desktop/Windowed mode in my screen 0 (i.e. my Desktop monitor) because here the problem doesn't appear.
Thanks.