Totem cannot play *.amr (AMR-NB) even when medibuntu libavcodec installed (and it can play sound in *.3gp with AMR-NB audio)

Bug #110461 reported by Roman Polach
80
This bug affects 11 people
Affects Status Importance Assigned to Milestone
gst-plugins-bad0.10 (Ubuntu)
New
Wishlist
Unassigned
Nominated for Jaunty by Jerikojerk
gstreamer (Ubuntu)
Confirmed
Wishlist
Unassigned
Nominated for Jaunty by Jerikojerk
gstreamer0.10-ffmpeg (Baltix)
New
Undecided
Unassigned

Bug Description

Totem (gstreamer) cannot play *.amr (AMR-NB) files, even if
gstreamer0.10-ffmpeg,
libavcodec0d (medibuntu version),
ffmpeg (medibuntu version)
gstreamer0.10-plugins-bad
are all installed.
Totem already CAN play sound in *.3gp files with AMR-NB audio, so it seems
it can use amr-nb codec from medibuntu's ffmpeg/libavcodec...

Therefore it seems to be confusing totem's error message:
  "An error occurred"
  "The playback of this movie requires a Adaptive Multi Rate NarrowBand (AMR-NB) decoder plugin which is not installed."

Note: ffplay can play AMR files for me.

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

For *.amr files, totem displays error message "Internal data flow error".
For *.3gp video files (containing AMR_NB audio stream) it plays only video with no audio.

Revision history for this message
Amit Kucheria (amitk) wrote :

This I believe is because the underlying player engines don't have the AMR stubs enabled.

I compiled my own version of ffmpeg to include amr codecs and then mplayer to just include the amr stub and everything works now.

Even if amr is not enabled in ffmeg (ubuntu, kubuntu) due to legal reasons, it _should_ be enabled in stub form in xine, mplayer, vlc, etc. so that adding real amr support is simply a matter of recompiling the ffmeg package. Currently, all of them require to be recompiled.

Also, if possible amr support should be added to restricted formats support for one-click installation.

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I want to play AMR audio files too, my nokia phone records audio with this format. what should I do?

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

in the totem doc directory I can see this...

NEWS.gz:* Add support for audio/AMR, audio/AMR-WB and Musepack

but it does not work, even in 2.19.3

Nicolò Chieffo (yelo3)
Changed in gstreamer0.10-ffmpeg:
status: Unconfirmed → Confirmed
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

AMR codecs incorporate several patents and as such should be implemented as separate restricted formats. I' ve added references about legal and patent issues of these codecs at http://en.wikipedia.org/wiki/Adaptive_multi-rate_compression

Adding AMR codecs in Ubuntu is a separate issue than making totem work with them if/when presente and as such it should be filed as a separate report.

An implemention of AMR codecs as separate libraries is apparently available at http://www.penguin.cz/~utx/amr and could be used for future support as a restricted codec, pending licencing information and restrictions verification.

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 110461] Re: Totem cannot play AMR even when medibuntu libavcodec installed

I don't mind that they are not enabled by default... Since the missing
codec-installer tool is great!
If those codecs will enter in some restricted package, will totem be
able to play them without any modification?

Revision history for this message
exactt (giesbert) wrote : Re: Totem cannot play AMR even when medibuntu libavcodec installed

just tried the latest gutsy and still no sound...

so i would just like to add me to the list of requestors (for both feisty and gutsy).

thx

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I filed a bug upstream and they told me that gstreamer has AMR support, but ubuntu did not compile it. So I wonder why it is not compiled!

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

upstream told me that it is in gst-plugins-bad, so I'm changing the descriptions

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

Anything involving medibuntu means there will be no official updates or development to get this added in future Ubuntu versions.

If the medibunutu versions are not required or if there are Ubuntu packages equivalent, can we clean up the decription to reflect that ?

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 110461] Re: Totem cannot play AMR even when medibuntu libavcodec installed

ok please clean up the medibuntu stuff and add only the correct
gstreamer package

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

well maybe it would be better if we open up a new bug, and reject
this. It would be better

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: Totem cannot play AMR even when medibuntu libavcodec installed

well I just downloaded the source of gstreamer ffmpeg and I realized that this package might have AMR support. I will investigate

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I think that definitely the problem is that the source package ffmpeg should be configured with these options (I don't know which one)
  --enable-amr_nb enable amr_nb float audio codec
  --enable-amr_nb-fixed use fixed point for amr-nb codec
  --enable-amr_wb enable amr_wb float audio codec
  --enable-amr_if2 enable amr_wb IF2 audio codec

in debian/rules none of them is enabled.

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

The medibuntu version of ffmpeg is compiled with the amr options (--enable-amr_nb --enable-amr_wb), so it should be ok. but the thing that is not clear is how to enable amr support in applications such as gstreamer. do you know?

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

maybe we should change this back to gstreamer...

Revision history for this message
Michael Monreal (mimox) wrote :

Now what about this? Can't the libgstamrnb plugin be distributed in gst-plugins-bad-multiverse or something?

Revision history for this message
Pander (pander) wrote :

Here is a converter for AMR to MP3:
http://www.miksoft.net/mobileMediaConverter.htm

Please provide support for AMR in Ubuntu.

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

Pander,
for request to add new package to Ubuntu
please fill separate bug (and mark it by "needs-packaging" tag).
This should be kept separate from this issue.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

It is possible to compile ffmpeg with AMR support, but even then Totem doesn't register that ffmpeg has AMR support. Is there a way to produce the gstreamer0.10-ffmpeg apckage with AMR support?

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 gstreamer:
assignee: nobody → magicfab
importance: Undecided → Wishlist
status: Confirmed → Incomplete
Revision history for this message
exactt (giesbert) wrote :

you might want to keep an eye on https://bugs.launchpad.net/medibuntu/+bug/94390 .

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 110461] Re: Totem cannot play AMR even when medibuntu libavcodec installed

Thanks

Revision history for this message
Roman Polach (rpolach) wrote : Re: Totem cannot play AMR even when medibuntu libavcodec installed

The strange thing is that totem now (in Hardy with medibuntu)
can play *.3gp files with AMR-NB audio (with sound) correctly
but can NOT play *.amr files (with AMR-NB audio).

This really seems to be problem with totem and not with ffmpeg/libavcodec
which already supports AMR audio codec (in medibuntu version)

Roman Polach (rpolach)
description: updated
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Removing myself from this bug, as I can't advance it much further.

Changed in gstreamer:
assignee: magicfab → nobody
Daniel T Chen (crimsun)
Changed in gst-plugins-bad0.10:
importance: Undecided → Wishlist
Revision history for this message
JD (palatinetrvl11) wrote :

I'm kinda a new user to ubuntu and i need to make amr voice memos for my palm 680 and evertime i try to convert a file with this converter it has an error and reads:

/opt/MIKSOFT/MobileMediaConverter/lib/ffmpeg: /lib/tls/i686/cmov/libc.so.6: version
`GLIBC_2.7' not found (required by /opt/MIKSOFT/MobileMediaConverter/lib/ffmpeg

does anyone have any suggestions of what i need to download in order for it to work?

Revision history for this message
Mageba (sbszulu) wrote : Re: [Bug 110461] Re: Totem cannot play *.amr (AMR-NB) even when medibuntu libavcodec installed (and it can play sound in *.3gp with AMR-NB audio)

RealPlayer 11 for Linux can play .amr files.

On 13/11/2008, JD <email address hidden> wrote:
> I'm kinda a new user to ubuntu and i need to make amr voice memos for my
> palm 680 and evertime i try to convert a file with this converter it has
> an error and reads:
>
> /opt/MIKSOFT/MobileMediaConverter/lib/ffmpeg: /lib/tls/i686/cmov/libc.so.6:
> version
> `GLIBC_2.7' not found (required by
> /opt/MIKSOFT/MobileMediaConverter/lib/ffmpeg
>
> does anyone have any suggestions of what i need to download in order for
> it to work?
>
> --
> Totem cannot play *.amr (AMR-NB) even when medibuntu libavcodec installed
> (and it can play sound in *.3gp with AMR-NB audio)
> https://bugs.launchpad.net/bugs/110461
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Sent from my mobile device

Regards,

Mr. S.B.S. Zulu

P.O. Box 12
Ka-Bokweni
1245

Cell: +27 82 048 4645
Fax : +27 86 652 2698

e-mail: <email address hidden>

web: http://www.dundubala.com

***
The information contained in this communication is confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to who it is addressed and others authorised to
receive it. If you are not the intended recipient you are hereby
notified that any use, disclosure, copying, distribution or reliance
on the contents of this message is strictly prohibited and may be
unlawful. If you have received this mail in error, please notify the
sender by e-mail.
***

Pander (pander)
Changed in gstreamer:
status: Incomplete → Confirmed
krystal (krystalita05)
Changed in gst-plugins-bad0.10:
assignee: nobody → krystalita05
assignee: krystalita05 → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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