audacious cannot play AMR files with its ffmpeg plugin (ffmpeg supports AMR from 0.8)

Bug #1192713 reported by Roman Polach on 2013-06-19
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
audacious-plugins (Ubuntu)
Undecided
Unassigned

Bug Description

audacious 3.3.4-1 cannot play AMR files with its ffmpeg plugin
(included in audacious-plugins-3.3.4-1ubuntu1)
and libavcodec53 6:0.8.6-1ubuntu2 and ffmpeg 6:0.8.6-1ubuntu2.

That is strange, because ffmpeg supports both AMR-wb and AMR-nb
from ancient release 0.8.

The AMR codecs are included in the libavcodec53-extra package (which was split off because of licensing reasons). Please confirm that you can play the files with that package installed. If not, I will investigate more.

Marking 'Incomplete' until you respond..

Changed in audacious-plugins (Ubuntu):
status: New → Incomplete
Roman Polach (rpolach) wrote :

even with libavcodec-extra-53 6:0.8.6ubuntu2 installed
it still shows the same error message:
No decoder found for file:///home/roman/amr_example.amr.

Changed in audacious-plugins (Ubuntu):
status: Incomplete → New

I could not reproduce it. My example file:
$ mediainfo example.amr
General
Complete name : example.amr
Format : AMR
Format/Info : Adaptive Multi-Rate
File size : 94.5 KiB
Duration : 1mn 0s
Overall bit rate mode : Constant
Overall bit rate : 12.8 Kbps

Audio
Format : AMR
Format/Info : Adaptive Multi-Rate
Format profile : Narrow band
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 12.8 Kbps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 13 bits
Stream size : 94.5 KiB (100%)

Hmm. Maybe you need libavformat-extra-53 as well?

Roman Polach (rpolach) wrote :
Download full text (3.2 KiB)

I have 3 amr-nb samples and one of them is played ok in audacious.
Two of them don't play.

----------- example 1 - NOT playing in audacious -------------------------

General
Complete name : example.amr
Format : AMR
Format/Info : Adaptive Multi-Rate
File size : 3.54 KiB
Duration : 5s 560ms
Overall bit rate mode : Constant
Overall bit rate : 5 200 bps

Audio
Format : AMR
Format/Info : Adaptive Multi-Rate
Format profile : Narrow band
Duration : 5s 560ms
Bit rate mode : Constant
Bit rate : 5 200 bps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 13 bits
Stream size : 3.53 KiB (100%)

----------- example 2 - NOT playing in audacious -------------------------

General
Complete name : example2.amr
Format : AMR
Format/Info : Adaptive Multi-Rate
File size : 1.83 KiB
Duration : 1s 782ms
Overall bit rate mode : Constant
Overall bit rate : 8 400 bps

Audio
Format : AMR
Format/Info : Adaptive Multi-Rate
Format profile : Narrow band
Duration : 1s 782ms
Bit rate mode : Constant
Bit rate : 8 400 bps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 13 bits
Stream size : 1.83 KiB (100%)

----------- example 3 - playing OK in audacious -------------------------

eneral
Complete name : example_works.amr
Format : AMR
Format/Info : Adaptive Multi-Rate
File size : 23.9 KiB
Duration : 30s 640ms
Overall bit rate mode : Constant
Overall bit rate : 6 400 bps

Audio
Format : AMR
Format/Info : Adaptive Multi-Rate
Format profile : Narrow band
Duration : 30s 640ms
Bit rate mode : Constant
Bit rate : 6 400 bps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 13 bits
Stream size : 23.9 KiB (100%)

----------------------------------

I do not see any significant differences between mediai...

Read more...

Roman Polach (rpolach) wrote :

attaching those 2 samples which do not play in audacious...

Note: They play ok in mplayer2.

Roman Polach (rpolach) wrote :

and this one plays OK in audacious:

I would try playing the files with avplay, to see if it is audacious, or a more general ffmpeg/libav issue:
avplay <file>

Okay, I tried the experiment and the files work fine in avplay, but not with audacious.

Changed in audacious-plugins (Ubuntu):
status: New → Confirmed

In Debian, using audacious 3.5.x built from git (and ffmpeg as opposed to libav), all of the files play okay.

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

Other bug subscribers