Hi
When I add a file from my new Sanyo FH1 I can see the video but the audio is a flat line.
I tried 1080p60, 1080i60, 1080p30 and 720p30.
mplayer sais audio is the following codec:
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
vlc shows "mp4a, 2 channels, 48kHz, 16Bits, Bitrate 1536kb/s"
I'll upload 4 sample files as soon as I have them here.
Thanks in advance
Ben
EDIT: I'm running Ubuntu 9.04
EDIT2: Some samples are there:
Sanyo FH1:
1080p60 http://www.bentheten.com/samples/SANY0106.MP4 (45MB)
1080i60 http://www.bentheten.com/samples/SANY0107.MP4 (28MB)
1080p30 http://www.bentheten.com/samples/SANY0108.MP4 (24MB)
720p30 http://www.bentheten.com/samples/SANY0109.MP4 (18MB)
Some samples from working Cameras:
Sony CX7:
1080i25 http://www.bentheten.com/samples/00015.mts (44MB)
Sony T500:
730p30 http://www.bentheten.com/samples/MAH01200.MP4 (28MB)
http://www.bentheten.com/samples/MAH01270.MP4 (24MB)
SANYO106.MP4 works fine for me. It might be a problem with your build of ffmpeg libs.
I am running Arch Linux, but as the MLT developer, I build ffmpeg, mlt, mlt++, and kdenlive from source.
I was using FFmpeg version SVN-r17923.
It appears you are building libavcodec without libfaad despite you installing this package. I know because the message from ffmpeg contains 'aac' instead of 'libfaad'. My build is not using libfaad either, and it worked. However, MLT, as used by kdenlive, is not using 'ffmpeg' per se, but rather the 'libavcodec' package.
My version is from March 9 - roughly the same as I see reported on this page: http://packages.ubuntu.com/jaunty/libavcodec52
as well as this one: http://packages.ubuntu.com/jaunty/libavcodec-unstripped-52
However, the SVN log for libavcodec/aac.c does show this:
r17856 | alexc | 2009-03-06 11:47:01 -0800 (Fri, 06 Mar 2009) | 3 lines
Fix the channel allocation bug/assumption (issue 800).
Approved by Rob on IRC.
---
Note the date (Mar 6) compared to Ubuntu's Mar 3. So, more than likely, you just need a newer version :-/
Hi,
I'm quite new to Ubuntu/Linux and I'm having the same problem. I tried to install the latest ffmpeg version from the source (downloaded the snapshot, extracted it into a temp folder, configure, make, make install) but kdenlive still won't import the audio. After this I removed and reinstalled kdenlive but still the same problem.
Could you please guide me how to rebuild the (patched) libavcodec-unstripped-52 package?
Best regards,
Karsten Thiemann
Also upgrade to Kdenlive 0.7.5
Karsten, if you are not using files from a Sanyo FH1 or files with AAC audio on Ubuntu 9.04, then your problem is probably not the same.
For information, Ubuntu is derived from Debian system.
If you install a pure Debian SID, you wron't run in this kind of problem.
Usually packages are developped at Debian and then accepted in Ubuntu.
Packages of MLT and Kdenlive make it in Debian SID two days after their release.
You have to wait 6 months in Ubuntu.
In Debian multimedia, FFmpeg packages are never less than 20 days old.
This makes a huge difference.
Okay Ubuntu is well-known, but it nothing more than a Debian station with an Ubuntu logo.
So switch to Debian if you are interested in any serious work and don't want to waste your time.
I will give another example: VDPAU.
In Debian SID, the lastest drivers with VDPAU ready are available.
With Debian, you don't have to switch from that to this and that repository.
For people using Jaunty, now in sunab repository, there is a patched version of ffmpeg to eliminate this AAC bug (patch merged from ffmpeg git).
ps: sure Ubuntu can't compete with the freshness of Debian Sid, 100% ok with jmpoure. But just for joke, I released my 0.7.5 package one hour before patrick matthaï did it for debian sid. (I don't compare myself to him, I am a poor beginner in packaging science)
Hi thanks for the reply.
what distro do you run?
I just tried the following on ubuntu 9.04:
sudo apt-get install libx264-dev libfaad-dev libfaac-dev libmp3lame-dev libxvidcore4-dev
sudo apt-get build-dep ffmpeg
sudo apt-get source ffmpeg
sudo dpkg-buildpackage
and installed the packages .. BUT .. I get the following error:
[aac @ 0x966fc10]channel element 1.1 is not allocated
I don't know what else I should try .. maybe some older ffmpeg packages/source?
thanks
ben