3gp files, mplayer, and ffmpeg

Jaime Davila jdavila at hampshire.edu
Tue May 30 13:54:11 UTC 2006


Amichai Rotman wrote:
> Hi Jaime,
> 
> I was successful in playing a 3gp file with sound kinda out of the box...
> 
> Here is the output of MPlayer:
> 
> Playing 23102005.3gp.
> Cache fill:  0.00% (0 bytes)    ISO: File Type Major Brand: 3GPP Profile 4
> QuickTime/MOV file format detected.
> --------------
> MOV track #0: 480 chunks, 480 samples
> MOV: Found H.263 decoder atom d263 (15)!
> MOV: Vendor: S60  H.263 level: 0 H.263 profile: 10
> Image size: 176 x 144 (24 bpp)
> Display size: 176 x 144
> Fourcc: s263  Codec: ''
> --------------
> MOV track #1: 161 chunks, 161 samples
> Audio bits: 8  chans: 1  rate: 8000
> MOV: Found AMR audio atom damr (17)!
> MOV: Vendor: S60  Version: 0
> MOV: Modes set: 81ff
> MOV: Mode change period: 0 Frames per sample: 10
> Fourcc: samr
> --------------
> MOV: longest streams: A: #1 (161 samples)  V: #0 (480 samples)
> VIDEO:  [s263]  176x144  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
> ==========================================================================
> Trying to force audio codec driver family libmad...
> 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)
> ==========================================================================
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
> display)
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh263] vfm:ffmpeg (FFmpeg H.263+ decoder)
> ==========================================================================
> Building audio filter chain for 8000Hz/1ch/s16le -> 0Hz/0ch/??...
> AO: [oss] 8000Hz 1ch s16le (2 bps)
> Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/1ch/s16le...
> Starting playback...
> VDec: vo config request - 176 x 144 (preferred csp: 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
> A:  32.0 V:  31.9 A-V:  0.073 ct: -0.094 480/480  1%  0%  0.4% 1 0 0
> 
> 
> I hope this givs you a clue. I did not have to re-compile anything or 
> use CVS. Try installing ffmpeg and transcode. Also check all the MPlayer 
> components are installed  (just search them in Synaptics...
> 
> Good Luck!
> 
> On 5/30/06, *Jaime Davila* <jdavila at hampshire.edu 
> <mailto:jdavila at hampshire.edu>> wrote:
> 
>     Hello all,
> 
>     I'm trying to set up mplayer under breezy so I can open 3gp files
>     created with the digital camera of a cell phone. I did some searching
>     and found this page: http://www.ubuntuforums.org/showthread.php?t=178455
>     but I'm having trouble using cvs to check out the ffmpeg source. The
>     command:
>     cvs -z9 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
>     returns:
>     cvs [checkout aborted]: connect to mplayerhq.hu(213.144.138.186
>     <http://213.144.138.186>):2401
>     failed: Connection refused
>     every time I've tried it.
> 
>     Any ideas on how I check out ffmpeg? Is it just that the mpayerhq cvs
>     server is down?
> 
>     Even better, anyone knows any other way to get mplayer to play 3gp files
>     with sound under ubuntu? I _do_ get the video part OK.
> 
>     BTW, I've already tried realplayer, which is supposed to do the trick,
>     but it doesn't. I get error:
>     Invalid parameter. Unable to process request.
>     if I try to open a 3gp file with realplay, even though it works for
>     other files.
> 
>     Also, xine has the same issue as mplayer: video OK, no sound.
> 
>     TIA,
> 
>     Jaime
> 
> 
>     --
> 
>     ******************************************************
>     Jaime J. Davila
>     Assistant Professor of Computer Science
>     Hampshire College
>     School of Cognitive Science
>     jdavila at hampshire dot edu
>     http://helios.hampshire.edu/jdavila
>     *******************************************************
> 
>     --
>     ubuntu-users mailing list
>     ubuntu-users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 
> 
> 
> -- 
> :====================================================:.
> 
> Amichai Rotman
> 
> UIN#: 6401746
> Registered Linux User#: 201192 [http://counter.li.org/]
> 
> ------------------------------------------------------------------------------------------------------------ 
> 
> 
> PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html
> 
> ----------------------------------------------------------------------------------------------------------- 
> 
> 


Thanks for your reply. Can I bother you to check the versions of 
mplayer, ffmpeg, and transcode you have installed?

In my system I get:
mplayer (very first output line): MPlayer dev-CVS--4.0.2 (C) 2000-2005 
MPlayer Team
ffmpeg (ffmmpeg -version): ffmpeg version CVS, build 3276800, Copyright 
(c) 2000-2004 Fabrice Bellard
   configuration:  --build i486-linux-gnu --enable-gpl --enable-pp 
--enable-zlib --enable-vorbis --enable-libogg --enable-theora 
--enable-a52 --enable-dts --enable-dc1394 --enable-libgsm 
--disable-debug --prefix=/usr
   built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) 
(Ubuntu 4.0.1-4ubuntu8)
ffmpeg      CVS
libavcodec  3276800
libavformat 3211520

and for transcode (transcode -version): transcode v1.0.1 (C) 2001-2003 
Thomas Oestreich, 2003-2004 T. Bitterberg

I _think_ the format of the 3gp file you used might be diferent from the 
one  I'm working off. While you get

> MOV: Found AMR audio atom damr (17)!
> MOV: Vendor: S60  Version: 0
> MOV: Modes set: 81ff
> MOV: Mode change period: 0 Frames per sample: 10
> Fourcc: samr

I get
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (68)!
Image size: 176 x 144 (24 bpp)
Display size: 176 x 144
Fourcc: mp4v  Codec: ''

If possible, I wouldn't mind if you could email me (directly, I suppose, 
instead of to the list) the file you used. That way I can verify what I 
jus said.

Thanks a lot,

Jaime


-- 

******************************************************
Jaime J. Davila
Assistant Professor of Computer Science
Hampshire College
School of Cognitive Science
jdavila at hampshire dot edu
http://helios.hampshire.edu/jdavila
*******************************************************




More information about the ubuntu-users mailing list