Registered Member
|
Hey all, I'm running KDENLive r1919 compiled from svn. I also installed recent MLT and MLT++ from svn. ffmpeg is also compiled/installed from SVN. I have some video that I know is good -- it's mencoded to MPEG2 from AVCHD. The video plays perfectly in all of the players where I've tested it, but when I render the video using kdenlive the video is slightly narrow with black bars a few pixels wide on the left and right side. The video has vertical striations. Here is a five second portion of each video without sound. They're not identical time lines, but close enough for comparisons' sake. [edit] Removed video [/edit] I suspect an issue with MLT. I set my rendering target to dv_ntsc_wide. It comes out the proper width, but the issue isn't with that rendering line or choice, as I see the problems (striations and width issue) when rendering in the preview frame. Thanks for your help! |
Registered Member
|
The problem is due to MLT/inigo profiles being misconfigured. It's probably my own fault, but I'm trying to use NTSC wide DVD standard video -- aspect ratio 16/9, 720x480 which I foolishly assumed was a 1.0 pixel ratio. When I looked at the dv_ntsc_wide profile (/usr/share/mlt/profiles/dv_ntsc_wide), it had the following:
When I changed it to:
After doing the math, I realized that my assumption that resolution 720x480 was a 16/9 ratio is obviously incorrect -- it's a 3/2 ratio. This means we need to apply a sample ratio before we can output to 16/9. In order to do that, we need to divide 16/9 by 3/2 = 32/27. This should result in a good encode, although I'm only guessing as to what I'm supposed to be doing. Unless I"m doing something stupid here -- and if I am please point it out -- I think this profile needs to be updated with the MLT distribution. |
Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]