according to the specifications I found on your phone: http://www.nec.co.uk/e606_3G_Device.aspx http://mobile.softpedia.com/phones/NEC/NEC-e606.shtml codec support doesn't include h263. Maybe you could try mpeg4 as videocodec? Tim -----Oorspronkelijk bericht----- Van: Manu [mailto:manu at cappelleri.net] Verzonden: di 17-5-2005 13:33 Aan: FFMpeg user questions and RTFMs CC: Onderwerp: Re: [Ffmpeg-user] 3gp / amr Thanks for the hint... But look: /tmp/ffmpeg/ffmpeg -i video.mpg -acodec amr_nb -ar 8000 -ac 1 -ab 12 -vcodec h263 -s qcif -r 10 -b 30 target.3gp ffmpeg version 0.4.9-pre1, build 4754, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mp3lame --enable-faad --enable-amr_nb --enable-amr_nb-fixed --disable-ffserver --disable-ffplay --disable-faac --enable-gpl built on May 16 2005 18:43:54, gcc: 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Input #0, mpeg, from 'video.mpg': Duration: 00:00:34.3, start: 0.149711, bitrate: 411 kb/s Stream #0.0: Video: mpeg1video, yuv420p, 320x256, 25.00 fps, 256 kb/s Stream #0.1: Audio: mp2, 44100 Hz, stereo, 96 kb/s Output #0, 3gp, to 'target.3gp': Stream #0.0: Video: h263, yuv420p, 176x144, 10.00 fps, q=2-31, 30 kb/s Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 12 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h263 @ 0x7e8ab0]removing common factors from framerate Press [q] to stop encoding frame= 397 q=0.0 Lsize= 290kB time=39.5 bitrate= 60.2kbits/s video:217kB audio:62kB global headers:0kB muxing overhead 4.312293% after that: running: "mplayer target.3gp" shows: Playing target.3gp. ISO: File Type Major Brand: 3GPP Profile 4 QuickTime/MOV file format detected. -------------- MOV track #0: 397 chunks, 397 samples MOV: Found unknown movie atom d263 (15)! Image size: 176 x 144 (24 bpp) Display size: 180 x 144 Fourcc: s263 Codec: 'h263' -------------- MOV track #1: 1976 chunks, 0 samples Audio bits: 8 chans: 1 rate: 8000 MOV: Found unknown audio atom damr (17)! Fourcc: samr -------------- MOV: longest streams: A: #1 (1976 samples) V: #0 (397 samples) VIDEO: [s263] 176x144 24bpp 10.000 fps 0.0 kbps ( 0.0 kbyte/s) As you can see, still, "MOV track #1: 1976 chunks, 0 samples" 1976 chunks, 0 samples looks bad to me... and, besides, that movie is playable in quicktime, in most phones, but not on the nec e606 which is actually the phone I am having all the troubles with... movies encoded with "nokia multimedia player" for windows work on every phone and if I run "mplayer encoded_with_nokia.3gp" shows correct chunks/samples for the audio as well... More help needed :) Thanks alot anyway ----- Original Message ----- From: "Tim de Jong" <timj at icemobile.com> To: "FFMpeg user questions and RTFMs" <ffmpeg-user at mplayerhq.hu> Sent: Tuesday, May 17, 2005 9:51 AM Subject: RE: [Ffmpeg-user] 3gp / amr > Try -ab 12 and -b 30. I know at least some mobile phones that don't > support an audio bitrate > 12 > and use quicktime player for 3gp on pc. > > > > > -----Oorspronkelijk bericht----- > Van: Manu [mailto:manu at cappelleri.net] > Verzonden: ma 16-5-2005 17:02 > Aan: ffmpeg-user at mplayerhq.hu > CC: > Onderwerp: [Ffmpeg-user] 3gp / amr > > > > Hi, sorry for the question... but Ive spent the last few days searching > for a reply somewhere with no luck... > > That's the point: > I am trying to encode a 3gp compliant file... > compiled ffmpeg with amr support > > I run this command: > > ffmpeg -i source.mpg -acodec amr_nb-ar 8000 -ac 1 -ab 32 -vcodec h263 -s > qcif -r 10 target.3gp > > it seems to encode correctly, but the file I get is not quite good as it > should, for example: > > a) it crashes windows media player; > b) it doesn't reproduce in 3G terminal (expecially NEC e606) > > while trying to check it out with mplayer under linux, > that is what I see: > > *************************** > Playing Ev.3gp. > ISO: File Type Major Brand: 3GPP Profile 4 > QuickTime/MOV file format detected. > -------------- > MOV track #0: 397 chunks, 397 samples > MOV: Found unknown movie atom d263 (15)! > Image size: 176 x 144 (24 bpp) > Display size: 180 x 144 > Fourcc: s263 Codec: 'h263' > -------------- > MOV track #1: 1976 chunks, 0 samples > Audio bits: 8 chans: 1 rate: 8000 > MOV: Found unknown audio atom damr (17)! > Fourcc: samr > -------------- > MOV: longest streams: A: #1 (1976 samples) V: #0 (397 samples) > VIDEO: [s263] 176x144 24bpp 10.000 fps 0.0 kbps ( 0.0 kbyte/s) > ************************* > > Please, take a look at the audio part: 1976 chunks, 0 samples... > isn't it strange? > > A valid 3gp file, for example, says: > > MOV track #1: 127 chunks, 127 samples > Audio bits: 8 chans: 1 rate: 8000 > MOV: Found unknown audio atom damr (17)! > Fourcc: samr > > chunks and samples report the same numbers > > Could someone help me out? > > ffmpeg version 0.4.9-pre1, build 4754, Copyright (c) 2000-2004 Fabrice > Bellard > configuration: --enable-mp3lame --enable-vorbis --enable-faadbin --disable-faac > --enable-xvid --enable-a52bin --disable-dts --enable-pp --enable-shared-pp > --enable-amr_nb --enable-amr_nb-fixed --disable-sunmlib --enable-pthreads > --enable-dc1394 --enable-gpl --disable-strip > > (Sorry, I know almost nothing specifically about audio/video ... :) > > Manuele_______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at mplayerhq.hu > http://mplayerhq.hu/mailman/listinfo/ffmpeg-user > > > -------------------------------------------------------------------------------- > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at mplayerhq.hu > http://mplayerhq.hu/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user