Bug 4191 - missing ffmpeg filter + header mismatch
Summary: missing ffmpeg filter + header mismatch
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David Walser
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2012-01-19 00:07 CET by Chris Denice
Modified: 2012-01-30 00:59 CET (History)
2 users (show)

See Also:
Source RPM: mplayer-1.0-1.rc4.0.r34577.2.mga2.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2012-01-19 00:07:09 CET
Hi there,
last build of mplayer tainted reintroduced some old issues. The ffmpeg audio filter lavcac3enc is not found anymore:

>>>>
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 181.3 kbit/3.94% (ratio: 22666->576000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Couldn't find audio filter 'lavcac3enc'
[libaf] Couldn't create or open audio filter 'lavcac3enc'
Error at audio filter chain pre-init!
>>>>

Plus some warning:

libavformat version 53.24.2 (external)
Mismatching header version 53.29.100
libavformat file format detected.


Cheers,
Chris.
Comment 1 Jani Välimaa 2012-01-19 18:59:43 CET
I'm also getting this when trying to play a video:

Option vf: spp doesn't exist.

CC: (none) => jani.valimaa

Comment 2 Jani Välimaa 2012-01-19 19:00:23 CET
I'm also getting this when trying to play a video:

Option vf: spp doesn't exist.
Comment 3 Manuel Hiebel 2012-01-19 19:02:23 CET
Hi, thanks for reporting this bug.
Assigned to the last commiter.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => luigiwalser

Comment 4 David Walser 2012-01-21 23:34:01 CET
The header mismatch is to be expected and shouldn't be a problem (and I rebuilt against system ffmpeg sources to get rid of the header mismatch and your other problems still appear).

I can confirm your other problems; note that you only get those errors if you use the "-vf spp" and "-af lavcac3enc" options (for example mplayer -vf spp -af lavcac3enc=0:192 foo.wmv) and without those, mplayer still works fine.

It looks like -vf spp isn't supported when built against system ffmpeg:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-June/061176.html

I can't find anything that explains the lavcac3enc problem.

Also, what did you mean by "reintroduced some old issues"?

CC: (none) => anssi.hannula

Comment 5 Chris Denice 2012-01-22 00:40:16 CET
Yep,

but lavcac3enc=0 means you don't actually passthrough the stream to SPDIf, which is the main usage of this option; output Dolby Digital AC3 on an external amplifier from AAC [it rocks when this works by the way, even with radio stream :)]

I reported a similar bug there:

https://bugs.mageia.org/show_bug.cgi?id=1608

but it was because FAAC was not allowed in free repos at that time, so maybe that's not related. That may also be a bug related to ffmpeg avcodec53 ?

Cheers,
Chris.
Comment 6 Anssi Hannula 2012-01-27 15:40:03 CET
Please try with mplayer-1.0-1.rc4.0.r34577.4.mga2 which was just submitted to mirrors and see if the missing filter issues are fixed.
Comment 7 Chris Denice 2012-01-28 02:27:58 CET
Hi there,
so, yes, the filter -af lavcac3enc is now there, can be checked with 

mplayer -af help | grep lavcac3enc

the problem is that it does not work :(  I  checked on AAC 6 channels movies and audio stream, and it encodes during a few millisecond, then stop, then start again etc... At the end, no audible sound is output, but I can see my audio amplifier oscillating between Dolby Digital and nothing :)

You can test with a similar command (if you have a Dobly Digital amplifier on the SPDIF output of your  sound card), that's radioparadise stream"

mplayer -ac hwac3, -ao alsa:device=hw=1.1 -af lavcac3enc=1:128:2 
http://scfire-dtc-aa03.stream.aol.com:80/stream/1049

Sounds like that's upstream bug however?

Thanks for the work,
Cheers,
Chris.
Comment 8 Anssi Hannula 2012-01-29 15:48:07 CET
It was my fault, I had somehow written in wrong value for AC-3 frame size in my patch. Try just submitted mplayer-1.0-1.rc4.0.r34578.1.mga2, it works for me at least.
Comment 9 Chris Denice 2012-01-29 18:24:23 CET
Woo!

Works perfectly, well done!

Thanks a lot!

Chris.
Comment 10 Manuel Hiebel 2012-01-30 00:59:39 CET
(In reply to comment #9)
> Works perfectly, well done!

So closing, Thanks.

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


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