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

Support for HF100 video files?

Tags: None
(comma "," separated)
ArtInvent
Registered Member
Posts
85
Karma
0
Of course I'm hoping that all this is unnecessary (now that I've figured it out) very soon as Kdenlive 0.7.5 is supposedly coming out in a day or so but . . .

This is an easy GUI method. I have a Canon HF100 but this ought to work with most 1080 AVCHD files. I installed WinFF through Synaptic. To speed things up go into Edit - Preferences and make sure Multi-threading is checked off.

You need to create a custom preset in WinFF - go to Edit - Presets. Click on Quicktime in the upper left box.
Preset Name: I used 'DNxHD'
Preset Label: 'DNxHD HQ transcode for MTS'
Preset Command Line: '-vcodec dnxhd -acodec pcm_s16le -s 1920x1080 -b 220000k'
Output File Extension: 'mov'
Category: 'Quicktime'
(obviously all without the quotes.)

THEN click Add/Update. You should then see in the upper right box your label 'MTS lossless transcode' in addition to default 'Quicktime MOV'. Now hit Save to exit.

In the main WinFF window, add all the files you want to batch convert, select Convert to 'Quicktime' and your Device Preset you just created, and the Output folder you want.

Hit the Convert button and it should go. A terminal window should appear where you can see the command process and progress of each file. I only got 8-9 fps so it will take a while, and the file sizes are enormous, but there it is.


jmpoure_drupal
Registered Member
Posts
735
Karma
0
Thanks. I will include winFF in the next live DVDs and USB keys for batch processing. It is always interesting.
nyme
Registered Member
Posts
131
Karma
0

Re: Support for HF100 video files?

Mon Jul 06, 2009 2:01 pm
thanks for the conversion with ffmpeg ....


nyme




Weevil
Registered Member
Posts
121
Karma
0

Re: Support for HF100 video files?

Mon Jul 06, 2009 2:29 pm
Batching is also possible by creating a batch file/script:


1. Open a new file in your favorite text-editor and paste following code;

for f in *.MTS; do ffmpeg -y -threads 2 -i "$f" -acodec libfaac -ab 256k -vcodec mpeg4 -vb 36M -s 1920x1080 -intra -flags +ildct+ilme "${f%.MTS}.mov"; done


2. Save the file as batch.sh in the folder where your .MTS files are.

3. Go to this directory in your terminal.

4. Set permissions for the file;

chmod 755 batch.sh

5. Run the script;

./batch.sh




NOTES
- I have tested this but a backup before messing with your files never hurts.
- Thanks to eduardo from me too!


ArtInvent
Registered Member
Posts
85
Karma
0

WinFF also great on audio

Wed Jul 08, 2009 6:22 pm
I needed to add some background music to a recent project. Unfortunately I have a ton of music in WMA format (don't ask.) Anyway, WinFF will batch re-encode these as well as MP3 or pretty much any other audio codec to WAV in the blink of an eye with existing audio presets, or of course you can make your own format preset.

ArtInvent
Registered Member
Posts
85
Karma
0

HF100 and Kdenlive 0.7.5 - 30p mode

Wed Jul 08, 2009 7:06 pm
Should also say that I've done a couple of half-hour-ish long video projects now with Kdenlive 0.7.5 in Ubuntu Jaunty 64 with excellent results. I batch convert all MTS files from the HF100 to DNxHD using WinFF. I've added jpegs from a still camera, composite some simple titles, do some cross-fades. I use three video and two audio tracks. Some color correction with the White Balance filter. A lot of volume manipulations with the volume keyframing. Some Brightness with keyframing.

The HF100 has pretty lousy white balance. A lot of mistakes in the too-magenta area, even outdoors in broad daylight. The White Balance filter can help on some of these, but on others I can't really get a good balance. You can do a white card manual white balance before each shot but this is a big PITA in casual filming.

Also the camera tends to overexpose badly outdoors. Again, the brightness effect can help, but I've learned to do a lot of exposure compensation while shooting anything outdoors - like minus 3 to 5 EV! Of course when you do this the exposure locks and any change in scene during a clip will often have wrong exposure.

The other thing is that I shoot in 30p mode exclusively, because I edit and playback on computers, media center, and web, and interlacing pretty much sucks on anything other than a TV set. Now, on the HF100 unfortunately 30p is still recorded to MTS in 60i format. For some reason, previously Kdenlive just handled this footage fine and played it back in a 30p or 29.97p project at the correct speed. But Kdenlive 0.7.5 does not handle the raw MTS files right. The audio and clip length is correct, but footage plays back and is rendered at 2x speed. This means that before I could possibly edit AVCHD directly in some cases, but now I can't, everything has to be converted to something that is purely progressive. (See my post on DNxHD conversions.) I think the MTS files are flagged as being 29.97p but Kdenlive is no longer handling this flag correctly. It would be nice to see this corrected.

ddennedy
Registered Member
Posts
1315
Karma
1

Re: Support for HF100 video files?

Fri Jul 10, 2009 1:54 am
The new problem with 2x playback speed must be due to some change in FFmpeg because Kdenlive and even MLT do not operate at that low of a level. You should test with a non-30p shot. Perhaps the attempts to improve AVCHD for the more common cases (50/60i) has degraded yours.




Bookmarks



Who is online

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