This forum has been archived. All content is frozen. Please use KDE Discuss instead.

No Audio importing Sanyo FH1 Files (VLC plays it flawlessly)

Tags: None
(comma "," separated)
BENtheTEN
Registered Member
Posts
9
Karma
0

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)

 

ddennedy
Registered Member
Posts
1315
Karma
1

SANYO106.MP4 works fine for me. It might be a problem with your build of ffmpeg libs.



BENtheTEN
Registered Member
Posts
9
Karma
0

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

ddennedy
Registered Member
Posts
1315
Karma
1

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 :-/


 



BENtheTEN
Registered Member
Posts
9
Karma
0

YOU ARE GREAT THANKS


I just rebuilt the libavcodec-unstripped-52 after adding this patch (17856) and now it works in ffplay as well


:-)


 


thank you very much

jmpoure_drupal
Registered Member
Posts
735
Karma
0
Also upgrade to Kdenlive 0.7.5
ddennedy
Registered Member
Posts
1315
Karma
1
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.


jmpoure_drupal
Registered Member
Posts
735
Karma
0
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.
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
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)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]