This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Canon Eos 550d Clip Properties 1088

Tags: None
(comma "," separated)
Trundicho
Registered Member
Posts
8
Karma
0

Canon Eos 550d Clip Properties 1088

Sun Jun 06, 2010 7:48 am
Hi,

the kdenlive clip properties tell me that my 1920x1080 25p video file has a frame size of 1920x1088 - so there are black bars in my edited video on the left and right sight. Does anyone has a suggestion what the problem could be?

I'm using kdenlive 0.7.7 on MacOsx Leopard and a Canon Eos 550d camera

Greetings
Trundicho
Trundicho
Registered Member
Posts
8
Karma
0
Hi again,

this does not seem to be a kdenlive problem. Canon and QuickTime claim it's 1920 x 1080, but kdenlive claims it's 1088 high. So it could be possible that the cam records 1088 and some players crop it automatically to 1080.

Does anyone has an idea on how to handle the 1088 video in kdenlive to remove black bars on the sides for 1080 output and to not change pixelratio?

Greetings
Trundicho
lordofthestrings
Registered Member
Posts
95
Karma
0
Hi,
I just started working with HDV 1080i (tape, 1440x1080 anamorphic) and I can tell you Kdenlive encodes videos with respect for the original resolution as far as I have experienced.
I usually analize clip properties with a software called "Mediainfo".
I didn't look at the clip properties but I'll do it.
But one time I tried to process the clips with Avidemux wich used to see them as 1440x1088 instead of 1440x1080.
I read something here (although it's not well explained):

http://forum.videohelp.com/threads/284260-HDTV-1080i-or-1088i-which-is-it-(SOLVED)

Hope it helps,
Ignazio
ddennedy
Registered Member
Posts
1315
Karma
1
I don't have an answer for why it shows up as 1088 and not 1080. However, you can use the Crop effect if you need to trim away black bars.

"Kdenlive encodes videos with respect for the original resolution" is incorrect. It encodes with respect firstly by the Project Settings. Then, one can override the resolution in the Render dialog.


deathguppie
Registered Member
Posts
8
Karma
0
OS
My GF uses a Cannon Vixia that the school she works for provides her. I don't know if it's the same, but that camera records in a .MTS format which is HD 1080i.

What that means to us mortals is that it is actually 1440x1080 at a pixel ratio of 1.3333/1

The first thing I do is transcode those .MTS files using ffmpeg. Here is my comand line.
[code]
ffmpeg -i input.mts -vcodec libxvid -b 18000k -acodec libmp3lame -ac 2 -ab 320k -deinterlace -s 1440x1080 output.avi
[/code]

of course replace input.mts with your movie file and output.avi with your output file name.

Or if you need to transcode lots of files in one directory use this

[code]
for movie in $(ls *.MTS);do ffmpeg -i $movie -vcodec libxvid -b 18000k -acodec libmp3lame -ac 2 -ab 320k -deinterlace -s 1440x1080 ${i/MTS/avi};done
[\code]

just copy and paste that to the command line without changing it and hit enter.. make sure you are in the directory you want to transcode and make sure that you have x264 and ffmpeg installed on your system.
ddennedy
Registered Member
Posts
1315
Karma
1
There should be no need to transcode prior to loading MTS files in Kdenlive. If the aspect ratio is not correct, you can set it in the Advanced tab of the clip properties. If there are black bars due to 1088 vs 1080 you can just crop them.


psc
Registered Member
Posts
12
Karma
0
hi,

my footage (from a canon kiss x4):

ffmpeg -i myfootage.mov
Video: h264, yuv420p, 1920x1080, 23.98 tbr, 23.98 tbn, 47.95 tbc

so in kdenlive in Project Settings, i choose HD 1080p, 23.98 fps. the clip report 1920x1080, Pixel Aspect Ratio: 1.000000. now click and drag on the timeline = black border (left and right).

i don't like the solution of using crop. it should be fix in kdenlive. pitivi doesn't have this problem.

is there any hope for someone to fix this?
patImage
psc
Registered Member
Posts
12
Karma
0
hi again,

OpenShot is working well with my footage. If i am not wrong, OpenShot is using the same libs that kdenlive.

pat
Granjow
Moderator
Posts
247
Karma
0
Could you please upload some (original) sample footage?
I'd like to test this.
psc
Registered Member
Posts
12
Karma
0
Sure!
http://rapidshare.com/files/407623250/mvi_0628.mov

Let us know...
ttill
Registered Member
Posts
372
Karma
0
Confirmed.
The bars are also visible in openshot.
pitivi probably does not have this problem as it is based on gstreamer and not ffmpeg.
As a temporary solution transcoding to dnxhd will remove the bars.
psc
Registered Member
Posts
12
Karma
0
Oups, you're right: same problem in OpenShot (actually there's a white line with random dots at the right side of the video)...

So just to be sure, is the problem in FFMPEG or MLT or Kdenlive?
Is it fixable?

Pat
ttill
Registered Member
Posts
372
Karma
0
play the clip with "ffplay filename".
Do you also see the bars?
psc
Registered Member
Posts
12
Karma
0
no bar, so the problem is not FFmpeg, so it could be mlt or kdenlive?
ddennedy
Registered Member
Posts
1315
Karma
1
psc, I do not have this problem with other 1080 clips from AVCHD cameras. I do have black bars like with a Canon EOS 7D that has a height of 1088, which is expected because 1080 <> 1088. I downloaded your file, and FFmpeg's ffprobe tells me:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ddennedy/Downloads/mvi_0628.mov':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
Duration: 00:00:10.42, start: 0.000000, bitrate: 46592 kb/s
Stream #0.0(eng): Video: h264, yuvj420p, 1920x1088, 45053 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s

So, I guess you are just lying.




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]