GStreamer doesn't play any audio from my 3GPP files

Bug #175709 reported by Alexander Jones on 2007-12-11
10
Affects Status Importance Assigned to Milestone
gstreamer0.10 (Ubuntu)
Wishlist
Unassigned

Bug Description

RealPlayer has no trouble.

** Message: don't know how to handle audio/AMR, codec_data=(buffer)0000001164616d72454d50200000800001, rate=(int)8000, channels=(int)1

ProblemType: Bug
Architecture: i386
Date: Tue Dec 11 20:56:56 2007
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: vmnet vmblock vmmon fglrx
Uname: Linux flash 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Alexander Jones (alex-weej) wrote :
Joshua Goss (jgoss) wrote :

Thank you for reporting this bug. I am not able to reproduce this and I am not aware of what video player you used to play it. The video played fine with totem and if i recall correctly the plugin for gstreamer that handles this codec is in the gstreamer0.10-ffmpeg package. Please install that package and see if you still have this bug.

Alexander Jones (alex-weej) wrote :

The video plays fine, but the audio does not. I played it back with totem, but gstreamer is obviously the culprit here -- yet the real bug may be that the automatic codec installation doesn't work.

Alexander Jones (alex-weej) wrote :

Also, are you sure you meant to assign this to yourself?

Joshua Goss (jgoss) wrote :

Sorry about that. I read the bug report wrong.

SneakyWho_am_i (sneakywho-am-i) wrote :

I have this under Hardy. Below is Totem's konsole output (no hard out debugging symbols or anything, sorry, haven't read up on all that)
NB I'm using Xubuntu Hardy. I installed Gnome Settings Demon a few hours ago for something else, but I'm still in XFCE4
3gp Video appears fine but without sound. Video created on Nokia 6234. Beware my comment in the console output.

sneaky@ubuntu:~$ totem /home/sneaky/Desktop/Video010.3gp

** (totem:5001): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
** Message: don't know how to handle audio/AMR, codec_data=(buffer)0000001164616d726e6f6b690000800004, rate=(int)8000, channels=(int)1
** Message: Missing plugin: gstreamer|0.10|totem|Adaptive Multi Rate (AMR) decoder|decoder-audio/AMR (Adaptive Multi Rate (AMR) decoder)
no application found
** Message: No installation candidate for missing plugins found.
#### NOTE FROM SNEAKY THE INFORMATION ABOVE THIS LINE IS FROM STARTUP, THE REST HAPPENED LATER IN THE SESSION :) ####
** Message: don't know how to handle audio/AMR, codec_data=(buffer)0000001164616d726e6f6b690000800004, rate=(int)8000, channels=(int)1
** Message: Missing plugin: gstreamer|0.10|totem|Adaptive Multi Rate (AMR) decoder|decoder-audio/AMR (ignoring)
** Message: All missing plugins are blacklisted, doing nothing

====================================================================================

root@ubuntu:~# apt-get install gstreamer0.10-ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
gstreamer0.10-ffmpeg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

====================================================================================

VLC:

sneaky@ubuntu:~$ vlc /home/sneaky/Desktop/Video010.3gp
VLC media player 0.8.6e Janus
[00000337] main decoder error: no suitable decoder module for fourcc `samr'.
VLC probably does not support this sound or video format.
#### BELOW THIS LINE HAPPENED AFTER CLOSING THE APPLICATION ####
[00000282] main playlist: stopping playback

=====================================================================================

Searching the repositories only showed good bad and ugly codec sets and plugins, none of which seemed helpful. I installed good, bad AND ugly, to no avail.
Google didn't show up a lot of promising information. I might try later in Gnome and see if that helps (!!!!)
Thanks guys. I hope the konsole output is of at least some use anyway, not that I really seemed to cover anything that Alexander Jones didn't?

SneakyWho_am_i (sneakywho-am-i) wrote :

Darn!

After my premature comment, I noticed this:
======================================
https://bugs.launchpad.net/ubuntu/+source/kaffeine/+bug/125835
======================================

Note the comments near the bottom, apparently it's on wishlist because of licensing issues - basically thereby meaning we can't have this feature for now.
It also seems to offer a workaround, I may try it but probably won't report my result.
Suddenly it all makes sense, how unfortunate :-)

Changed in gstreamer0.10:
importance: Undecided → Wishlist
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 8.10 or 9.04? Thanks in advance.

Changed in gstreamer0.10:
status: New → Incomplete
Alexander Jones (alex-weej) wrote :

8.10 fail

Changed in gstreamer0.10:
status: Incomplete → Confirmed
wijit (awijit) wrote :

So does 9.04

amr files are produced by Voice Recorder in most models of Nokia mobile.

Savvas Radevic (medigeek) wrote :

Same on Ubuntu amd64 9.04, doesn't work with Sony Ericsson w810i codec, whereas the realplayer works

Savvas Radevic (medigeek) wrote :

I used the medibuntu repository, installed:
http://packages.medibuntu.org/jaunty/mplayer.html
http://packages.medibuntu.org/jaunty/libamrwb3.html
http://packages.medibuntu.org/jaunty/libamrnb3.html

You have to use mplayer (or smplayer) to play your files. Cheers!

My file info:
$ ffmpeg -i MOV00001.3gp
[...]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MOV00001.3gp':
  Duration: 00:01:40.00, start: 0.000000, bitrate: 93 kb/s
    Stream #0.0(jpn): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 29.97 tbr, 250 tbn, 29.97 tbc
    Stream #0.1(jpn): Audio: samr / 0x726D6173, 8000 Hz, mono, s16

$ mplayer MOV00001.3gp
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing MOV00001.3gp.
ISO: File Type Major Brand: 3GPP Profile 5
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
MOV: unknown sound atom version (45075152); may not work!
VIDEO: [s263] 176x144 24bpp 1.852 fps 0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000)
Selected audio codec: [ffamrnb] afm: ffmpeg (AMR Narrowband)
==========================================================================
AO: [pulse] 8000Hz 1ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 176 x 144 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 176x144 => 192x144 Planar YV12

wijit (awijit) wrote :

It seems to me that gstreamer0.10-ffmpeg was already installed in 9.04 either by the 1st time setup or by one of the regular updates. I think I did not do it. However, what I want to inform here is that with 9.04 which follows regular updates installation of ffmpeg either by sudo apt-get or Synaptic makes Totem able to play gppp video files. There will be a pop-up saying that required codec was missing. If so just ignore it then the file will continue to show. Thanks a lot, Savvas.

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

Other bug subscribers

Bug attachments