Re: [Mlt-devel] wrong aspect ratio
Brought to you by:
ddennedy,
lilo_booter
From: charlie <cha...@pa...> - 2005-09-14 08:37:25
|
On Tue, 2005-09-13 at 15:34 +0200, Reinhard Amersberger wrote: > I just noticed this (video is too low, and too wide) during playing back > some of my files in jahshaka (cvs, suse 9.3). > so I decided to play the files directly via mlt (cvs) which shows the same > behaviour. > btw - playing back this files in kaffeine, for example, works well. Interesting - the problem is not with mlt, but with ffmpeg - when you play the video back in ffplay its behaviour is identical. I will be checking in a big patch soon which will provide (amongst other aspect ratio and compositing improvements) a mechanism to force the aspect ratio. > unfortunatelly the captured screenshot shows only a blue miracle window, > so it makes no sense to provide a screenshot, but you can grab the video > here: You can load the video in jah and take a screenshot when the video is paused. > www.groovision.de/mlt/mjpeg.avi > > do you need more info? No - a work around to your problem will be provided in the next patch from myself. Once you have that, you will be able to force the aspect ratio with a command like: inigo mjpeg.avi force_aspect_ratio=0.55 and that should play the video just fine. You will then have two solutions available to you in jahshaka. NB: the value above may be incorrect - it's just an example. You can either correct each clip after you load them in jahshaka, or you can correct them before. What I would suggest you do is correct them before - to do this, you just need to run something like: inigo mjpeg.avi force_aspect_ratio=0.55 -consumer westley:mjpeg.avi.westley You will then be able to load the westley on the jahshaka desktop and introduce it in to your project. If you have many clips to process, you might want to consider using a script like: #!/bin/sh for i in "$* do inigo "$i" force_aspect_ratio=0.55 -consumer westley:"$i".westley done or similar (untested btw). You can also do sophisticated stuff in ruby, python, perl, tcl, c, c++ or whatever :-). Thanks for the feedback and interest. Cheers, Charlie |