[Kdenlive-devel] Editing AVCHD h264/AC3 files in kdenlive

sean darcy seandarcy2 at gmail.com
Thu Apr 30 20:52:19 UTC 2009


sean darcy wrote:
> Dan Dennedy wrote:
>> 2009/4/17 Andre Madeira <amadeirabus at gmail.com>:
>>> Hello kdenlive-devel!
>>>
>>> My goal is to edit AVCHD (h264/AC3) files in kdenlive. The videos are
>> It is not yet ready.
>>
>>> generated from my Panasonic HDC-SD1 camcorder and are all interlaced or
>>> 1080i. For what is worth, I can play these files properly on my linux box
>> Playing sequentially is one thing, seeking is another, and editing
>> requires seeking. In ffplay, try clicking around on the window. The X
>> axis determines the seek percentage. It is not clean. This was being
>> addressed a couple of months ago, and great progress was made;
>> however, the effort has stalled.
>>
> 
> So if we want to edit AVCHD, we need to convert them first? What should 
> we convert them to ( .avi?)? And how?
> 
> googling found this script:
> 
> xporthdmv -hn $file 1 1 1 && mv bits0001.mpa $audiofile
> ldecod -i bits0001.mpv -o $videofifo &
> ffmpeg -r 29.97 -s 1440x1080 -i $videofifo -i $audiofile -vcodec mpeg4 
> -sameq -acodec copy -aspect 16:9 -b 15000k outfile
> 
> which uses xport from http://www.w6rz.net/ and ldecod from 
> http://iphome.hhi.de/suehring/tml/download/ .
> 
> xporthdmv demultiplexes the .ts file, then ldecod decodes video to YUV ( 
> 4.2.0?).
> 
> Is this how it's done? Can kdenlive now edit the resulting file?
> 
> sean (a potential new owner of an avchd camcorder)
> 
> 

Actually, if ldecod converts the h264 video to yuv, shouldn't you leave 
it alone, and just use ffmpeg to multiplex the audio:

ffmpeg -i $videofifo -i $audiofile -vcodec copy -acodec copy outfile.avi

sean





More information about the Kdenlive mailing list