Kino does not import AVI file from Canon cameras properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kino (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kino
Kino 1.1.0 Ubuntu Gutsy
When importing a .AVI file from Canon still cameras (both A720IS and an IXUS), the import appears to complete, but the imported DV file is very short (about 2s instead of 30s). It appears that most of the frames have been dropped.
Kino runs ffmpeg to convert from .AVI to DV format.
Running Kino from a terminal, ffmpeg reports the following over and over:
[dvvideo @ 0xb7e81a68]Can't process DV frame #2. Insufficient audio data or severe sync problem.
This is a known problem with .AVI videos from Canon still cameras, perhaps something to do with its non-standard audio sample rate of 11024 (rather than 11025) samples per second.
Three possible solutions or workarounds:
One:
If mencoder is installed, then Kino uses mencoder to do the conversion. However, the Ubuntu kino package does not mencoder, not even a 'suggests'. Perhaps the Ubuntu package could recommend mencoder, the same as it does ffmpeg.
Two:
Fix ffmpeg so that it imports Canon .AVI properly. I can send a sample if needed. This would need work from the ffmpeg people.
Three:
Do the conversion in 2 stages: this would need work from the Kino people:
1. convert audio to pcm_s16le, 48kHz using ffmpeg
2. combine this audio file with the DV video using ffmpeg a second time
Hi Stephen, please start by contacting Canon about this and ask 1. why they don't adhere to the standard and 2. if they can provide you with a linux driver for the camera they sold you.
Of the workarounds you mention: ffmpeg. mplayerhq. hu/bugreports. html
1. have you tried this with mencoder? It sounds like you think this would work but does it?
2. you can make your request via the ffmpeg bug system at http://
3. Kino is in bug-fix development, so until/unless a new developer turns up there won't be much happening there.
Because this sounds like a Canon bug and not an Ubuntu/Kino/ffmpeg bug I'm rejecting this bug report, unless you have another idea.