RFE: Include AMR-enabled mplayer

Bug #110196 reported by Roman Polach
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Medibuntu
Fix Released
Medium
Albin Tonnerre
mplayer (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Now medibuntu includes ffmpeg + libavcodec that seems to contain support for AMR according to changelogs.
But unfortunately, mplayer and mencoder have statically linked own libavcodec, so they cannot profit from AMR-enabled libavcodec.
So could you also add AMR-enabled versions of mplayer and mencoder to Medibuntu/Feisty repository?

Revision history for this message
Albin Tonnerre (lutin) wrote :

what does RFE stand for ?
Btw, I'm not sure we are going to do that for the moment as we're at a very early stage of developpement for gutsy, but we'll have a look at it to see if it's possible to handle this
Cheers

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

RFE = Request For Enhancement iirc.

Changed in medibuntu:
importance: Undecided → Wishlist
status: Unconfirmed → Needs Info
Revision history for this message
Roman Polach (rpolach) wrote :

AMR becomes more popular due to its use in mobile phones,
fortunately free AMR support in libavcodec is a subject to Google SoC 2007, so we will see...
but until then it would be nice to have it in medibuntu's mplayer too.

Revision history for this message
Roman Polach (rpolach) wrote :

Why is this bug still in "Needs Info" status?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

There was no good reason. ;)

Changed in medibuntu:
status: Needs Info → Confirmed
Changed in medibuntu:
assignee: nobody → bashelier
Revision history for this message
Arthur Loiret (arthur.loiret) wrote :

Uploaded on medibuntu, here is the debdiff.
Thanks.

Changed in medibuntu:
assignee: bashelier → medibuntu-maintainers
status: Confirmed → Fix Committed
Revision history for this message
Roman Polach (rpolach) wrote :

Is it really available? I still don't see any mplayer package in medibuntu repository..

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

That's available only for gutsy i386, and only on the new repository/site (we are actually testing it, and it should be deployed on the 15th if everything goes well).

Changed in medibuntu:
status: Fix Committed → Fix Released
Revision history for this message
Roman Polach (rpolach) wrote :

In Gutsy I tried mplayer 1.0~rc1-0ubuntu11+medibuntu1.
(I had to use force this version because this version is normally updated to (non-medibuntu) 1.0~rc1-0ubuntu13.)

But it still does not play AMR files...
So should this bug be reopened?

Mplayer output is: -----------------------------------

MPlayer 2:1.0~rc1-0ubuntu11+medibuntu1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Menu inited: /home/roman/.mplayer/menu.conf

Playing sample.amr.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll

Exiting... (End of file)

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Reopening, the packaging is wrong, amr support wasn't enabled in our previous merges...
Thanks for noticing this. ;)

Changed in medibuntu:
assignee: medibuntu-maintainers → mrpouit
importance: Wishlist → Low
status: Fix Released → In Progress
importance: Low → Medium
milestone: medibuntu-v2 → none
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

ffmpeg was broken too...

I fixed both, they'll show up as soon as the binary packages are built.
Thanks.

Changed in medibuntu:
assignee: mrpouit → lutin
status: In Progress → Fix Committed
Albin Tonnerre (lutin)
Changed in medibuntu:
status: Fix Committed → Fix Released
Revision history for this message
Roman Polach (rpolach) wrote :

Today update manager lets me update mplayer to 1.0~rc1-0ubuntu13+medibuntu2
but I still get this error:

---

$ mplayer sample.amr
MPlayer 2:1.0~rc1-0ubuntu13+medibuntu2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Menu inited: /home/roman/.mplayer/menu.conf

Playing sample.amr.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll

Exiting... (End of file)

Revision history for this message
Roman Polach (rpolach) wrote :

I also tried update mplayer to 1.0 rc2 backport for gutsy and compile amrnb and amrwb downloaded
from http://www.penguin.cz/~utx/amr but I get the same error... could this be because mplayer still search for avisynth.dll
but compiled libraries are named libamrnb.so etc.. ?

Revision history for this message
Roman Polach (rpolach) wrote :

Please reopen this bug, the problem is still NOT fixed.

Revision history for this message
Gioele Barabucci (gioele) wrote :

The mplayer in Gutsy cannot play 3gp files with AMR audio-tracks.

  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  Cannot find codec 'libamr_nb' in libavcodec...

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

This is very frustrating:

============================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'libamr_nb' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
============================================

When trying to convert an mp4 file with Ubuntu repository mencoder.

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

AMR has important licensing restrictions and is covered by several patents. Currently there is no way to freely distribute it unless potentially breaking local laws.

I've documented what I found in a similar gstreamer-related bug:
https://bugs.edge.launchpad.net/ubuntu/+source/gst-plugins-ugly0.10/+bug/184555

This basically means there will most likely never be official support for AMR in Ubuntu unless this is resolved otherwise.

So, marking this as wishlist, incomplete for now.

Changed in mplayer:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
William Grant (wgrant) wrote :

We can't legally fix this in Ubuntu at this time.

Changed in mplayer:
status: Incomplete → Won't Fix
Revision history for this message
Danil Smirnov (danil-smirnov) wrote :

I have met this bag also... Should I consider it like eternal?

Revision history for this message
Pavel Petrovic (ppetrovic) wrote :

eternal indeed.
strange though that it is not possible to use the OpenCORE's libopencore-amrnb instead?

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 110196] Re: RFE: Include AMR-enabled mplayer

On Di, Apr 06, 2010 at 15:39:30 (CEST), Pavel Petrovic wrote:

> eternal indeed.
> strange though that it is not possible to use the OpenCORE's libopencore-amrnb instead?

license wise, yes, I think so.

technically, AFAIUI mplayer rc3 doesn't support libopencore-amr. if
trunk supports this, perhaps this can be backported?

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.