On Thursday 27 September 2012 23:32:50 j-b-m wrote:
> On Thursday 27 September 2012 19:54:14 j-b-m wrote:
> > On Wednesday 26 September 2012 19:29:57 Dan Dennedy wrote:
> > > On Tue, Sep 25, 2012 at 4:35 AM, j-b-m <[email protected]>
> 
> wrote:
> > > > On Monday 24 September 2012 21:35:04 Dan Dennedy wrote:
> > > >> On Mon, Sep 24, 2012 at 9:02 AM, j-b-m <[email protected]>
> > 
> > wrote:
> > > > Ok, after some more tests, here is a way to reproduce with color
> > > > producer:
> > > > 
> > > > Create an 1920x1080 clip:
> > > > 
> > > > melt -profile atsc_1080i_50 color:red out=100 -consumer
> > > > avformat:red.mp4
> > > > 
> > > > Try to make a transition with color clip with HDV profile:
> > > > 
> > > > melt -profile hdv_1080_50i color:blue out=100 -track red.mp4
> > > > -transition
> > > > affine geometry="0/0:100%x100%:50%"
> > > > 
> > > > You will see that the red.mp4 clip does not take the full screen. The
> > > > bug
> > > > also happens when using avformat producers.
> > > 
> > > no, sorry, still unable to reproduce it. Tried with sdl and avformat
> > > consumer. Are you using very recent git?
> > 
> > Strange... Yes, I am always using latest git. I can reproduce with my
> > installation that is self compiled, and also using sunab's experimental
> > packages on Ubuntu 12.10 and 11.10. I am currently setting up a Suse
> > virtual machine to test...
> 
> I also cannot reproduce the bug in my OpenSuse 12.2 virtual machine! Very
> strange. I will make further tests tomorrow to understand where is the
> difference.


Ahhh, I finally found the problem! The bug is triggered by an optimization 
flag: -O2

When using the build script, we configure MLT with --enable-debug, which 
disables optimization flags. However, when manually compiling MLT not in debug 
mode, the "-O2" flag is set and triggers the bug on my system (Ubuntu 12.10, 
gcc 4.7.2).

I was also able to reproduce the problem on an OpenSuse 12.2 with gcc 4.7.1.

Not sure but it looks like with this optimization, the aspect ratios are 
sometimes wrongly rounded, giving for example 1,777777 instead of 1,777778.

regards
jb







------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to