PDA

View Full Version : [SOLVED]XViD with Custom Matrix on SA players


UltimAtomMAX
7th August 2005, 21:30
Well, i've tried a custom matrix for some films, the V3ULR. It worked great but as XViD users knows is that these encoded movies are not standalone compliant, especially for my parents KiSS DP-450. So i decided to recode a movie with the H263 matrix and burned it to test. What i've seen is that it wasn't workin too (i've killed a CDR...). Strange to me because I've always encoded in XViD with H263 and it worked very well, as i know working parametters to make an XViD compliant with a sigma chipset. So i've decided to open the .settings created by GK in the movie folder to check them, and here i can see the custom matrix always activated with the V3ULR values, with H263 selected. So i tried to erase the registry values of the V3ULR custom matrix ("qmatrix_intra" and "qmatrix_inter"), and it doesn't work either...
Any infos ?

SOLUTION :
Well, tried many time to recode my xvids with no custom matrix, with h263 profiles, with no treilli quant, with no packet bitstream, with the xvid.cvs.head codec, all with no luck.
So i've decided to open a workin xvid in mpeg4modifier and saw a difference in the user data. I've read somewhere before that this value should be a specific one to work without problem on SA's players. so the workin one has DivX999b000p and the non workin is DivX503b1393p. I've changed the value of the non working one, and what ? The file with custom matrixes, treillis quant, so the first encoded one with its user data modified, worx like a charm on a Kiss DP-450 !!!

sysKin
8th August 2005, 10:10
Custom matrix should have no effect on encoder, if h263 quantization type is selected. It can stay in registry.

Something else must be breaking your encode :/

UltimAtomMAX
8th August 2005, 10:47
well here is the GK .settings


@5 selected with custom MPEG :

REGEDIT4

[HKEY_CURRENT_USER\Software\GNU\XviD]
"desired_quant"=dword:000000c8
"mode"=dword:00000001
"motion_search"=dword:00000006
"chromame"=dword:00000001
"num_zones"=dword:00000001
"bitrate"=dword:000002bc
"desired_size"=dword:00085e3b
"use_2pass_bitrate"=dword:00000000
"quant_type"=dword:00000002
"lum_masking"=dword:00000000
"interlacing"=dword:00000000
"tff"=dword:00000000
"qpel"=dword:00000000
"gmc"=dword:00000000
"use_bvop"=dword:00000001
"max_bframes"=dword:00000002
"bquant_ratio"=dword:00000096
"bquant_offset"=dword:00000064
"packed"=dword:00000001
"ar_mode"=dword:00000000
"aspect_ratio"=dword:00000000
"par_x"=dword:00000001
"par_y"=dword:00000001
"ar_x"=dword:00000004
"ar_y"=dword:00000003
"rc_reaction_delay_factor"=dword:00000010
"rc_averaging_period"=dword:00000064
"rc_buffer"=dword:00000064
"discard1pass"=dword:00000001
"full1pass"=dword:00000000
"keyframe_boost"=dword:0000000a
"kfreduction"=dword:00000014
"kfthreshold"=dword:00000001
"curve_compression_high"=dword:00000000
"curve_compression_low"=dword:00000000
"overflow_control_strength"=dword:00000005
"twopass_max_overflow_improvement"=dword:00000005
"twopass_max_overflow_degradation"=dword:00000005
"container_type"=dword:00000001
"target_size"=dword:000a2800
"subtitle_size"=dword:00000000
"hours"=dword:00000001
"minutes"=dword:0000001e
"seconds"=dword:00000000
"fps"=dword:00000002
"audio_mode"=dword:00000000
"audio_type"=dword:00000000
"audio_rate"=dword:00000080
"audio_size"=dword:00000000
"vhq_mode"=dword:00000001
"vhq_bframe"=dword:00000001
"turbo"=dword:00000001
"max_key_interval"=dword:0000012c
"frame_drop_ratio"=dword:00000000
"min_iquant"=dword:00000001
"max_iquant"=dword:0000001f
"min_pquant"=dword:00000001
"max_pquant"=dword:0000001f
"min_bquant"=dword:00000001
"max_bquant"=dword:0000001f
"trellis_quant"=dword:00000000
"fourcc_used"=dword:00000000
"debug"=dword:00000000
"vop_debug"=dword:00000000
"display_status"=dword:00000001
"Brightness"=dword:00000000
"Deblock_Y"=dword:00000000
"Deblock_UV"=dword:00000000
"Dering_Y"=dword:00000000
"Dering_UV"=dword:00000000
"FilmEffect"=dword:00000000
"profile"="AS @ L5"
"stats"="F:\\A graver\\DVD\\La.Chute.FRENCH.DVDRiP.XViD-DESTiJL\\desti-lc_kiss.stats"
"zone0_frame"=dword:00000000
"zone0_mode"=dword:00000000
"zone0_weight"=dword:00000064
"zone0_quant"=dword:000001f4
"zone0_type"=dword:00000000
"zone0_greyscale"=dword:00000000
"zone0_chroma_opt"=dword:00000000
"zone0_bvop_threshold"=dword:00000000
"zone0_cartoon_mode"=dword:00000000
"credits_end"=dword:00000000
"credits_start"=dword:00000000
"reduced_resolution"=dword:00000000
"closed_gov"=dword:00000001
"cartoon_mode"=dword:00000000
"Dering"=dword:00000000
"qmatrix_intra"=hex:08,0e,14,1c,26,2d,38,41,0e,14,1a,25,2c,38,40,46,14,1a,24,\
2b,37,40,46,4b,1c,25,2b,36,3f,46,4c,4f,26,2c,37,3f,46,4d,50,53,2d,38,40,46,\
4d,51,54,58,38,40,46,4c,50,54,59,5f,41,46,4b,4f,53,58,5f,66
"qmatrix_inter"=hex:12,13,14,16,18,1a,1c,1e,13,14,16,18,1a,1c,1e,22,14,16,18,\
1a,1d,1e,22,28,16,18,1a,1e,20,24,2c,32,18,1a,1d,20,26,30,37,3c,1a,1c,1e,24,\
30,3a,4a,50,1c,1e,22,2c,37,4a,5c,68,1e,22,28,32,3c,50,68,80


H263 selected :


REGEDIT4

[HKEY_CURRENT_USER\Software\GNU\XviD]
"desired_quant"=dword:000000c8
"mode"=dword:00000001
"motion_search"=dword:00000006
"chromame"=dword:00000001
"num_zones"=dword:00000001
"bitrate"=dword:000002bc
"desired_size"=dword:00085e3b
"use_2pass_bitrate"=dword:00000000
"quant_type"=dword:00000002
"lum_masking"=dword:00000000
"interlacing"=dword:00000000
"tff"=dword:00000000
"qpel"=dword:00000000
"gmc"=dword:00000000
"use_bvop"=dword:00000001
"max_bframes"=dword:00000002
"bquant_ratio"=dword:00000096
"bquant_offset"=dword:00000064
"packed"=dword:00000001
"ar_mode"=dword:00000000
"aspect_ratio"=dword:00000000
"par_x"=dword:00000001
"par_y"=dword:00000001
"ar_x"=dword:00000004
"ar_y"=dword:00000003
"rc_reaction_delay_factor"=dword:00000010
"rc_averaging_period"=dword:00000064
"rc_buffer"=dword:00000064
"discard1pass"=dword:00000001
"full1pass"=dword:00000000
"keyframe_boost"=dword:0000000a
"kfreduction"=dword:00000014
"kfthreshold"=dword:00000001
"curve_compression_high"=dword:00000000
"curve_compression_low"=dword:00000000
"overflow_control_strength"=dword:00000005
"twopass_max_overflow_improvement"=dword:00000005
"twopass_max_overflow_degradation"=dword:00000005
"container_type"=dword:00000001
"target_size"=dword:000a2800
"subtitle_size"=dword:00000000
"hours"=dword:00000001
"minutes"=dword:0000001e
"seconds"=dword:00000000
"fps"=dword:00000002
"audio_mode"=dword:00000000
"audio_type"=dword:00000000
"audio_rate"=dword:00000080
"audio_size"=dword:00000000
"vhq_mode"=dword:00000001
"vhq_bframe"=dword:00000001
"turbo"=dword:00000001
"max_key_interval"=dword:0000012c
"frame_drop_ratio"=dword:00000000
"min_iquant"=dword:00000001
"max_iquant"=dword:0000001f
"min_pquant"=dword:00000001
"max_pquant"=dword:0000001f
"min_bquant"=dword:00000001
"max_bquant"=dword:0000001f
"trellis_quant"=dword:00000000
"fourcc_used"=dword:00000000
"debug"=dword:00000000
"vop_debug"=dword:00000000
"display_status"=dword:00000001
"Brightness"=dword:00000000
"Deblock_Y"=dword:00000000
"Deblock_UV"=dword:00000000
"Dering_Y"=dword:00000000
"Dering_UV"=dword:00000000
"FilmEffect"=dword:00000000
"profile"="DXN HT PAL"
"stats"="F:\\A graver\\DVD\\La.Chute.FRENCH.DVDRiP.XViD-DESTiJL\\desti-lc_kiss.stats"
"zone0_frame"=dword:00000000
"zone0_mode"=dword:00000000
"zone0_weight"=dword:00000064
"zone0_quant"=dword:000001f4
"zone0_type"=dword:00000000
"zone0_greyscale"=dword:00000000
"zone0_chroma_opt"=dword:00000000
"zone0_bvop_threshold"=dword:00000000
"zone0_cartoon_mode"=dword:00000000
"credits_end"=dword:00000000
"credits_start"=dword:00000000
"reduced_resolution"=dword:00000000
"closed_gov"=dword:00000001
"cartoon_mode"=dword:00000000
"Dering"=dword:00000000
"qmatrix_intra"=hex:08,0e,14,1c,26,2d,38,41,0e,14,1a,25,2c,38,40,46,14,1a,24,\
2b,37,40,46,4b,1c,25,2b,36,3f,46,4c,4f,26,2c,37,3f,46,4d,50,53,2d,38,40,46,\
4d,51,54,58,38,40,46,4c,50,54,59,5f,41,46,4b,4f,53,58,5f,66
"qmatrix_inter"=hex:12,13,14,16,18,1a,1c,1e,13,14,16,18,1a,1c,1e,22,14,16,18,\
1a,1d,1e,22,28,16,18,1a,1e,20,24,2c,32,18,1a,1d,20,26,30,37,3c,1a,1c,1e,24,\
30,3a,4a,50,1c,1e,22,2c,37,4a,5c,68,1e,22,28,32,3c,50,68,80


Maybe a GK problem ?

Sharktooth
8th August 2005, 13:38
You used 2 b-frames and packed bitstream while the DXN Home Theater profile says: 1 b-frame with PB or 2 b-frames without PB.

UltimAtomMAX
8th August 2005, 15:37
so if i select the dxn profile, the .setting should be different ?

Sharktooth
9th August 2005, 15:21
You MUST select DXN Home Theater profile to ensure your encode will be "compatible" with your standalone player.
Also use THIS (http://www.aziendeassociate.it/cd/XviD.cvs.head.exe) xvid build to ensure DXN HT profile sets PB and B-Frames correclty. Just install it over the koepi's beta2 build.

UltimAtomMAX
9th August 2005, 18:55
will try and give any feedback...

UltimAtomMAX
9th August 2005, 21:04
is it better to use cvs head or beta 1.1 with ur custom matrix ?

UltimAtomMAX
11th August 2005, 01:03
SOLVED !!! Thx for all ur help around here !!!
see the first post for infos !