[Digikam-users] How to work with AVCHD videos?

John Stumbles john at stumbles.org.uk
Thu Aug 23 11:09:33 BST 2012


On 23/08/12 06:26, Gilles Caulier wrote:
> try kdenlive editor...

I've been meaning to try to get up the learning curve with that or Lives 
or one of the Linux video editors (I've been using kino for DVs but to 
edit anything else requires converting to DV first, and it's a bit 
limited in what it can do).

But what I meant (sorry, it was late and I wasn't being very clear) was 
how to import/download the videos from my Lumix along with the still 
pictures it takes, as I would if I had the camera set to record in a 
format that produces MOV files. So I want to extract the timestamp 
information from wherever that is stored [1] and use that to timestamp 
the videos in the same format as my stills (in my case 
yyyyMMdd_hhmmss_[file]{lower}.[ext]{lower}). I probably also need to 
convert from  MPEG Transport Stream to MPEG Program Stream[2].

I realise this functionality is a big ask from the digikam developers 
(unless they happen to have a camera that records in this format ;-)) 
but I hope it's useful to formulate the problem, and I wonder if anyone 
knows of existing tools that might help me roll my own solution in the 
meantime.

.....................................................................

[1] I guess it's in the PRIVATE/AVCHD/BDMV/CLIPINF/nnnnn.CPI files but 
although `file`'s magic recognises them, they're not stored as text:
$ file /media/814C-DD20/PRIVATE/AVCHD/BDMV/CLIPINF/00000.CPI
/media/814C-DD20/PRIVATE/AVCHD/BDMV/CLIPINF/00000.CPI: AVCHD Clip 
Information

$ strings /media/814C-DD20/PRIVATE/AVCHD/BDMV/CLIPINF/00000.CPI
HDMV0100
HDMV
00001M2TS
1und
FCLEX

[2] comment from mcduck on http://ubuntuforums.org/showthread.php?t=864983


-- 
John Stumbles                                    http://stumbles.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:




More information about the Digikam-users mailing list