KDenlive and AVCHD files

Hello,

I have installed the KDenlive version 0.7.6 (suse 11.2) and my camcorder is a Canon HF-11 AVCHD. When I get a mts file from it, I cannot read it from KDenlive. It is probably because KDenlive says that ffmpeg module is not installed even if it is (ffmpeg0.5.0.20667).
Here are the outputs that I get when I asked for ffmpeg :

~> whereis ffmpeg ffplay melt
ffmpeg: /usr/bin/ffmpeg /usr/bin/X11/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz
ffplay:
melt: /usr/bin/melt /usr/bin/X11/melt /usr/share/man/man1/melt.1.gz
philippe@linux-zh5u:~> which ffmpeg ffplay melt
/usr/bin/ffmpeg
which: no ffplay in (/home/philippe/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
/usr/bin/melt
philippe@linux-zh5u:~> ffmpeg
FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Dec 6 2009 19:18:12 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --shlibdir=/usr/lib64 --enable-pthreads --enable-shared --enable-avfilter --disable-static --enable-libmp3lame --enable-libfaad --enable-libfaadbin --enable-libxvid --enable-libx264 --enable-postproc --enable-shared --enable-libdc1394 --enable-libtheora --enable-libschroedinger --enable-gpl --enable-version3
libavutil 50. 5. 1 / 50. 5. 1
libavcodec 52.42. 0 / 52.42. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.11. 0 / 1.11. 0
libswscale 0. 7. 2 / 0. 7. 2
libpostproc 51. 2. 0 / 51. 2. 0

Thanks for your help !

I’m not sure about AVCHD files
But make sure you have done this:
http://thumbnails20.imagebam.com/5446/6b67e954459645.gif](http://www.imagebam.com/image/6b67e954459645)

Sorry if the question sounds stupid, but I dont know what you are asking me to do or check (I have Gnome)

I do not have many friends nor relatives whose PCs can read AVCHD files.

Also, when I give gifts documentation videos I took of friends, I typically give them a gift as a DVD, which is a resolution significantly reduced from an AVCHD file.

So what I typically do with my Canon HF S10 AVCHD videos is reduce them to a lower bit rate and a lower resolution, before ingestion into KDEnlive. Typically I will copy all the videos of a specific day into its own directory, and then I run the following command in a bash shell, when in side that directory:

for i in *.mts; do ffmpeg -y -i "$i" -f avi -vcodec mpeg4 -b 8000000 -acodec ac3 -ab 128000 -s 1280x720 year_month_day_${i/%mts/avi}; done

where “year”, “month”, “day” are modified be me to match the day, month, and year in which the videos in that directory were taken.

The converted videos work great in KDEnlive.

I will also stabilize many of the videos with the wine/virtualdub/deshaker approach, but that is a bit more complex.