2010-12-07, 14:12
Hi,
I tried transcoding some anamorphic pal mpg files to MKV using avidemux.
In the encoder settings i checked for PAR settings: "As Input: Keep the PAR of the source video"
When playing the file in xbmc it is played as a 4-3 image in stead of 16-9. (The original MPG files plays fine (16/9) in xbmc.
This is what i find in the logging when i play the file:
tream #0.0: Video: h264, yuv420p, 720x576 [PAR 64:45 DAR 16:9], PAR 1:1 DAR 5:4, 25 fps, 25 tbr, 1k tbn, 50 tbc
xbmc seems to read the PAR & DAR correct, but then seems to change it to 1:1 and an almost 4:3.
Also the on screen info shows that is should be 64/45 ratio.
Is this an XBMC bug, or is there something wrong with the file?
Anybody know how to solve this problem?
Why does XBMC reports 2 PAR's and DAR's
More info:
---------------------------------------------------------
Version: Dharma RC2 (Did also accur in previous versions)
Windows: WinXP SP3 with all windows updates installed (Also happens on my Windows Vista)
System: Intel Q6600 @ 2.40GHz 32 bit
RAM: 4gb
Video Card: NVIDIA GeForce 8600 GT Driver 260.99
Audio Card: Realtek HD Audio on board
---------------------------------------------------------
The small test mkv can be downloaded here: http://users.telenet.be/casahermans1/xbmc/_test.mkv
The log can be downloaded here: http://users.telenet.be/casahermans1/xbmc/xbmc.zip
---------------------------------------------------------
The file plays ok (in 16/9) on
PowerDVD 10
VLC 0.9.2
The file plays nok (in 4/3) on
Zoom Player 7
Windows Media Player 11
---------------------------------------------------------
When I check the file with media info i get the following results (Media info reports the video as 16/9):
Media Info:
General
Format : Matroska
File size : 1.85 MiB
Duration : 7s 320ms
Overall bit rate : 2 118 Kbps
Movie name : Avidemux
Writing application : Lavf52.87.0
Writing library : Lavf52.87.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 7s 320ms
Bit rate : 1 820 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.176
Stream size : 1.59 MiB (86%)
Writing library : x264 core 110 r1804 e89c4cf
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 7s 320ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Video delay : -40ms
Stream size : 229 KiB (12%)
Language : English
---------------------------------------------------------
I tried transcoding some anamorphic pal mpg files to MKV using avidemux.
In the encoder settings i checked for PAR settings: "As Input: Keep the PAR of the source video"
When playing the file in xbmc it is played as a 4-3 image in stead of 16-9. (The original MPG files plays fine (16/9) in xbmc.
This is what i find in the logging when i play the file:
tream #0.0: Video: h264, yuv420p, 720x576 [PAR 64:45 DAR 16:9], PAR 1:1 DAR 5:4, 25 fps, 25 tbr, 1k tbn, 50 tbc
xbmc seems to read the PAR & DAR correct, but then seems to change it to 1:1 and an almost 4:3.
Also the on screen info shows that is should be 64/45 ratio.
Is this an XBMC bug, or is there something wrong with the file?
Anybody know how to solve this problem?
Why does XBMC reports 2 PAR's and DAR's
More info:
---------------------------------------------------------
Version: Dharma RC2 (Did also accur in previous versions)
Windows: WinXP SP3 with all windows updates installed (Also happens on my Windows Vista)
System: Intel Q6600 @ 2.40GHz 32 bit
RAM: 4gb
Video Card: NVIDIA GeForce 8600 GT Driver 260.99
Audio Card: Realtek HD Audio on board
---------------------------------------------------------
The small test mkv can be downloaded here: http://users.telenet.be/casahermans1/xbmc/_test.mkv
The log can be downloaded here: http://users.telenet.be/casahermans1/xbmc/xbmc.zip
---------------------------------------------------------
The file plays ok (in 16/9) on
PowerDVD 10
VLC 0.9.2
The file plays nok (in 4/3) on
Zoom Player 7
Windows Media Player 11
---------------------------------------------------------
When I check the file with media info i get the following results (Media info reports the video as 16/9):
Media Info:
General
Format : Matroska
File size : 1.85 MiB
Duration : 7s 320ms
Overall bit rate : 2 118 Kbps
Movie name : Avidemux
Writing application : Lavf52.87.0
Writing library : Lavf52.87.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 7s 320ms
Bit rate : 1 820 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.176
Stream size : 1.59 MiB (86%)
Writing library : x264 core 110 r1804 e89c4cf
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 7s 320ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Video delay : -40ms
Stream size : 229 KiB (12%)
Language : English
---------------------------------------------------------