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

Choosing video profile - which to choose?

Tags: None
(comma "," separated)
magnusl
Registered Member
Posts
37
Karma
0
Hi!

I am using kdenlive to edit video taken by a Panasonic HDC-SD60 cam. My question is quite simply: how do I know which video profile to choose? How can I make an informed choice there? I have tried HDV 1440 x 1080i 25 fps, and HD 1080i 25fps, both seem to work fine.... I just cannot tell the difference. And the difference between 1080i and 1080p? Anyone can point to any resources for sorting all this out? (the cam captures in "full HD 1920 x 1080". No i, no p.)

Best,


Magnus
Granjow
Moderator
Posts
247
Karma
0
You can either double-click on the clip in the Project Tree or use the command line:
$ ffmpeg -i yourfile
to display infos about your files.

Note that HDV is 4:3 whereas HD is 16:9. As your cam records full HD (16:9) HDV will look warped.

i stands for interlaced, p for progressive (i.e. recording full frames). I hope your cam is recording progressive :)

See also here.

Simon
magnusl
Registered Member
Posts
37
Karma
0
Hi!

Thanks! (been on holiday, therefor the delay). This was very helpful, I have been checking, reading and learnt a lot.

However, there remains one question:

Right-clicking on a clip and choosing Properties, gives me that frame size is 1920 x 1080, and frame rate 50. Checking the manual for the cam tells me it is interlaced, not progressive.

So I guess I should have a profile "HD 1080i 50 fps". But there is no such profile. I have been working a while now with "HD 1080i 25 fps", and it works at least (although playback is jumpy).

Now: have I misunderstood the profiles? Missed some information? Or is this the profile I should use?


Thanks for all advice!


Magnus
Granjow
Moderator
Posts
247
Karma
0
Hi Magnus,

Go to Settings > Manage Project Profiles > Create new Profile and create the 50i there. It just isn't available yet as default :)

Simon
ddennedy
Registered Member
Posts
1315
Karma
1
Use HD 1080i 25 fps. "HDV 1440 ..." is the same except the horizontal resolution and sample aspect ratio. 1920 is generally preferred.


smutel
Registered Member
Posts
4
Karma
0
I have video files in MTS format and I want to create a DVD.

I made those tasks :
- Convert MTS files in MP4 (MTS is not fully usable in Kdenlive)

for i in *.MTS; do ffmpeg -y -i "$i" -f avi -vcodec mpeg4 -b 17000000 -acodec ac3 -ab 256000 -s 1920x1080 ${i%.*}.avi; done

- Create a profile HDV 1440x1080i 25fps in kdenlive

- Make the video in MPEG-2 25000k 2 pass

- Create the menu with DVD Styler

Is it the best way to do that ? I want to know if the quality is not too lost ?
ddennedy
Registered Member
Posts
1315
Karma
1
I do not see the point of creating a profile HDV 1440x1080i 25 fps as that already exists. Besides, your clips are 1920x1080, so it seems either a DV/DVD PAL profile or a HD 1080 profile are the best choices. Use DV/DVD PAL if you are only planning to make a DVD with it.


supercow_drupal
Registered Member
Posts
36
Karma
0
hello,

I am trying to export my Sony AVCHD 1920*1080i 25fps to "HD 1920*1080p 25fps".
I tried "HDV 1080 25p 2 pass", but size is 1440*1080. So I have tried to duplicate this profile and change only 1440 => 1920.

my output video is indeed 1920*1080 but it has some quite large black borders around my output video...

here is my modified profile :

[code]
f=mpegts acodec=mp2 ab=384k ar=48000 ac=2 vcodec=mpeg2video s=1920x1080 b=25000k g=12 trellis=1 profile=hdv_1080_25p pass=2
[/code]

shall I modify someting else ?

here is ffmpeg -i result on my input file :

[code]
FFmpeg version SVN-r24460, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 6 2010 17:19:11 with gcc 4.5.0 20100610 (prerelease)
configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-version3 --enable-nonfree --enable-runtime-cpudetect --disable-debug
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 0. 0 / 0. 0. 0
libavcodec 52.84. 0 / 52.84. 0
libavformat 52.76. 0 / 52.76. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.26. 1 / 1.26. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from '00185.MTS':
Duration: 00:00:15.62, start: 1.000033, bitrate: 16811 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
Stream #0.2[0x1200]: Subtitle: pgssub
At least one output file must be specified
[/code]

Regards
Olivier


supercow_drupal
Registered Member
Posts
36
Karma
0
I have noticed that removing "profile=hdv_1080_25p" from my custom profile work.
3 questions :
- what is this profile= option for ? what does it do exactly ?
- I want to render in the exact same profile as my input file so I am not loosing any quality. what would be the best parameters for this ?
- with this custom profile I have a green line at the bottom of my rendered video with VLC (which I have in my original file, but which I don't have when using the HDV profile) : do you know which option is used in HDV profile that prevent this problem to appear (it has something to do with reading interlaced video...I guess HDV profile deinterlace video to progressive renderer...)

regards
Olivier


supercow_drupal
Registered Member
Posts
36
Karma
0
continuing my tries. Since last VLC update, I do not have anymore the green line at the bottom of my video, with the same video.

I am still lacking information about the profile...if anyone could help.

regards
Olivier


ddennedy
Registered Member
Posts
1315
Karma
1
See this for an answer about profile:
http://www.mltframework.org/twiki/bin/view/MLT/Profiles

Basically, it serves the same purpose as the same as the Kdenlive project setting. I am thinking the Kdenlive render profiles should not include this option as it may conflict with the melt -profile option that Kdenlive also supplies (based on the Project setting), and we have a special way of dealing with render settings that differ from the project setting.


sergen
Registered Member
Posts
3
Karma
0
For what file I need to enter profile (for input video or output video)?


Bookmarks



Who is online

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