Hi,

i recently notices higher cpu activity for some files during playback 
and found they been rescaled from 720x576 to 720x562.

problem comes from different PAR that files has, actually differently 
overridden.

default consumer *dv_pal* has:
[...]
sample_aspect_num=16
sample_aspect_den=15
[...]

producer *producer_avformat.c* has own PAR override code in 
*get_aspect_ratio* that setup:

64:45 for PAL 16:9
16:15 for PAL 4:3
32:27 for NTSC 16:9
8:9 for NTSC 4:3

in the same time  *producer_libdv.c* defined PAR for video according to 
ITU Rec.601:

118.0/81.0 for PAL 16:9
40.0/33.0 for NTSC 16:9
59.0/54.0 for PAL 4:3
10.0/11.0 for NTSC 4:3

so, what is solution?:
1. honor ITU 601: change dv_pal profile to 59:54, drop avformat 
overriding code
2. use non-ITU PARs and fix *producer_libdv.c* to provide non-ITU pixel 
aspect ratios

-- 
________________________________________
Maksym Veremeyenko

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to