Try audio bitrate 8 or 12. To my knowledge at least most phones don't support more than that and I don't know if 32 is a standard for amr_nb. For more than 12 you probably want to use amr_wb (wide-band) Tim -----Oorspronkelijk bericht----- Van: mark [mailto:kram.me at gmail.com] Verzonden: wo 8-6-2005 23:15 Aan: FFMpeg user questions and RTFMs CC: Onderwerp: Re: [Ffmpeg-user] 3gp encoding On 6/8/05, Tim de Jong <timj at icemobile.com> wrote: > you probably need to compile amr_nb with it by "configure --enable-amr_nb-fixed", see the >instructions at the end of configure. Thanks for your reply. I did that, and I recompiled ffmpeg. Everything was fine. And this is what I did. But when I played the 3gp file, the video looks good, but the audio: I can hear only clicks. I tried with other files and I had the same problem. Do you have any idea what could be wrong? I can send the avi file and 3gp file if you want. thanks mark Encoding: [mark at liad ffmpeg-0.4.9-pre1]$ ./ffmpeg -i temp.avi -acodec amr_nb -ab 32 -ac 1 -ar 8000 -vcodec h263 -s qcif -r 10 temp.3gp ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Jun 8 2005 16:04:56, gcc: 3.2.3 20030502 (Red Hat Linux 3.2.3-49) Input #0, avi, from 'temp.avi': Duration: 00:00:11.8, bitrate: 2160 kb/s Stream #0.0: Video: mjpeg, 320x240, 15.00 fps Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, 88 kb/s File 'temp.3gp' already exists. Overwrite ? [y/N] y Output #0, 3gp, to 'temp.3gp': Stream #0.0: Video: h263, 176x144, 10.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 32 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h263 @ 0x83086bc]removing common factors from framerate Press [q] to stop encoding [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 2 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 1 dct coefficents to -127..127 [h263 @ 0x83086bc]warning, cliping 2 dct coefficents to -127..127 frame= 120 q=6.8 Lsize= 406kB time=11.9 bitrate= 280.6kbits/s video:383kB audio:19kB global headers:0kB muxing overhead 1.080003% _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
On 6/9/05, Tim de Jong <timj at icemobile.com> wrote:
Try audio bitrate 8 or 12. To my knowledge at least most phones don't support more than that and I don't know if 32 is a standard for amr_nb. For more than 12 you probably want to use amr_wb (wide-band)
It worked. Bitrate was not the problem. It was the player! After encoding, I was trying to play it on my Apple Quicktime Player 7. And I still have that problem of audio not playing correctly. But when I tried playing with Real Player it played fine, and I checked it on my Motorola A780 phone, and it was fine there again. thanks mark
participants (2)
-
kram.me@gmail.com -
timj@icemobile.com