Bug 1331 - Kdenlive needs ffmpeg from tainted repo to support more codecs
Summary: Kdenlive needs ffmpeg from tainted repo to support more codecs
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 338
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-18 15:55 CEST by Barry Jackson
Modified: 2011-06-16 06:18 CEST (History)
0 users

See Also:
Source RPM: kdenlive-0.8-1.mga1
CVE:
Status comment:


Attachments

Description Barry Jackson 2011-05-18 15:55:29 CEST
Description of problem:
Using the packaged version of Kdenlive there is no sound output when playing the timeline or clips.
I do not know which revision this 0.8 version was taken at, but I have been using trunk snapshot versions of kdenlive for around six months and have never had a sound problem.
I currently have revision 5568 working perfectly on the same machine (but using it's own versions of ffmpeg and mlt etc.).
The installed ffplay works fine as I use it to stream local radio,
I have pulsaudio disabled (as Skype microphone cannot be made to work with it enabled).
Audio works fine with all other applications and my trunk 5568 build of kdenlive, so I am fairly convinced that this is a kdenlive package issue.

While playing it looks as though alsa is working as there are a few alsa buffer underrun errors when run from a console.

------snip--------
kdenlive(6599) Render::start: -----  STARTING MONITOR:  "project"
kdenlive(6599) Render::start: -----  MONITOR:  "project"  WAS STOPPED
kdenlive(6599) Render::start: -----  MONITOR:  "project"  REFRESH
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred

I have tried all the output settings in alsamixer just in caes the sound is being routed to an obscure channel, but nothing works. :(

Also tried in a different user.

Version-Release number of selected component (if applicable):
kdenlive-0.8-1.mga1

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Barry Jackson 2011-05-18 23:25:38 CEST
FWIW In a Gnome i586 installation on the same hardware kdenlive has no problem with sound. (Again with PA disabled)
Comment 2 Barry Jackson 2011-05-19 23:55:30 CEST
OK this is nothing to do with sound settings.

It seems that ffmpeg in Mageia is built with --disable-decoder=aac --disable-encoder=aac. 

It just happened that the clips I was using to test in x86_64 are aac sound and in i586 I was using snother format.

I guess this is this a license thing?

Without aac in ffmpeg, kdenlive would be useless to me as my camera encodes aac.

I build my own ffmpeg with all non-free codecs enabled, so I personally am not so concerned, but for regular users this will be a big issue.

IIANM they will need to build ffmpeg from source with aac enabled to get it working.
Comment 3 Ahmad Samir 2011-05-19 23:59:26 CEST
Hold your horses, It's being worked on, bug 338.

Depends on: (none) => 338

Barry Jackson 2011-05-20 00:01:29 CEST

Hardware: x86_64 => All
Depends on: 338 => (none)
Summary: No sound in Kdenlive 0.8 => No sound in Kdenlive 0.8 (ffmpeg aac codec disabled)

Comment 4 Barry Jackson 2011-05-20 00:21:24 CEST
Right - that looks like being pretty good if it does not cause the BS to self destruct!
So as I understand it, in this case if tainted were enabled then kdenlive would pull ffmpeg....mgt instead of ffmpeg....mga (if that convention is adopted). 

Cool!

Closing as invalid, since sound works.

Status: NEW => RESOLVED
Resolution: (none) => INVALID
Summary: No sound in Kdenlive 0.8 (ffmpeg aac codec disabled) => No sound in Kdenlive 0.8

Comment 5 Barry Jackson 2011-05-20 12:23:04 CEST
Re-opening in line with other reports that depend on Bug 338.

Status: RESOLVED => REOPENED
Depends on: (none) => 338
Resolution: INVALID => (none)
Summary: No sound in Kdenlive 0.8 => Kdenlive needs tainted build

Ahmad Samir 2011-05-26 18:20:15 CEST

Summary: Kdenlive needs tainted build => Kdenlive needs ffmpeg from tainted repo to support more codecs

Comment 6 Ahmad Samir 2011-06-16 06:18:12 CEST
I think this should be fixed by installing ffmpeg and co. from the tainted repo.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.