[Kdenlive-devel] Pixel aspect ratio as fraction

Simon Eugster simon.eu at gmail.com
Sun Jan 25 15:08:22 UTC 2009


Okay, thanks. So perhaps MLT would have to be adjusted?

Simon

jb wrote:
> On Friday 23 January 2009 08.32:15 Simon Eugster wrote:
>> Hi together,
>>
>> In the IRC madsdyd and me have been discussing about the Clip
>> properties dialog. The pixel aspect ratio is given as float here, but
>> in the Profiles manager the user has to set a fraction. I tried to
>> understand where the value for the PAR comes from, but I couldn't find
>> the source o.O
>>
>> Where is it? I'd like to make it displaying a fraction as exercise to
>> get used to kdenlive and C++.
> 
> The clip properties are fetched when a clip is inserted by:
> 
> void Render::getFileProperties(const QDomElement &xml, const QString &clipId)
> in file renderer.cpp
> 
> Here we build a QMap <QString, QString> which lists all the clip properties
> 
> 
> At line 571, you can see:
> 
>         filePropertyMap["aspect_ratio"] = frame->get("aspect_ratio");
> 
> 	frame is the MLT frame for the clip, which has an "aspect_ratio" property.
> 
> 	Not sure we can get the info from MLT as a fraction here...
> 
> 
> jb
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Kdenlive-devel mailing list
> Kdenlive-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
> 




More information about the Kdenlive mailing list