FORUMS: list search recent posts

.3GP encoding. SOS!

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
John Hicks
.3GP encoding. SOS!
on Jul 5, 2011 at 5:11:15 pm

My boss thinks I'm some tech guru just because I know after effects, premiere and some programming.

Thing is, there's a few videos that need to be encoded to 3GP. Each video has to be encoded into 6 different .3gp's:

1- Sound: [Stereo, AAC, 24Khz], Video: [QCIF(176X144)], h263
2- Sound: [MPEG-4 AAC, Stereo (8kbps-80kbps bitrate and 16khz-32khz sampling rate)], Video: [QVGA(320X240), up to 30fps framerate and 64kbps bitrate], h263
3- Sound: [AMR, Mono (8kbps-80kbps bitrate and 8khz-16khz sampling rate)], Video: [QVGA(320X240), up to 30fps framerate and 64kbps bitrate], h263
4- Sound: [AMR, Mono, 8Khz], Video: [SQCIF(128X96)], h263
5- Sound: [AMR, Mono (8kbps-80kbps bitrate and 8khz-16khz sampling rate)], Video: [QCIF(176X144), up to 30fps framerate and 64kbps bitrate], h263
6- Sound: [MPEG-4 AAC, Stereo (8kbps-80kbps bitrate and 16khz-32khz sampling rate)], Video: [QCIF(176X144), up to 15fps framerate and 64kbps bitrate], h264

Adobe Media Encoder doesn't let me customize my settings to this remarkably specific level. After some research I found FFmpeg. But I need help.

I am way beyond my knowledge. Borderline desperate with unreasonable expectations. I need a miracle. Please.


Return to posts index

Michael Rampe
Re: .3GP encoding. SOS!
on Jul 5, 2011 at 11:46:32 pm

[John Hicks] "Thing is, there's a few videos that need to be encoded to 3GP. Each video has to be encoded into 6 different .3gp's:"

Tricky task indeed seeing you have been supplied with patchy information.

What you need to know is:
AUDIO: codec, sample rate, channels, bitrate
VIDEO: codec (and profile for h264), frame size, bitrate, framerate

The information you have been provided does not give you all of these details and looks like it was copied and pasted from several phone manufacturers tech specs;-)

Summary:

1. AUDIO - AAC 24Khz [unknown audio channels][unknown audio bitrate], VIDEO - h263 176X144 [unknown video bitrate][up to 30fps - need specific framerate]
2. AUDIO - AAC [16khz-32khz - need specific sample rate] Stereo [8kbps-80kbps - need specific audio bitrate], VIDEO - h263 320X240 64kbps [up to 30fps - need specific framerate]
3. AUDIO - AMR [8khz-16khz - need specific sample rate] Mono [8kbps-80kbps - may need specific sample rate, see note below], VIDEO - h263 320X240 64kbps [up to 30fps - need specific framerate]
4. AUDIO - AMR 8khz Mono [unknown audio bitrate], VIDEO - h263 128X96 [unknown video bitrate][unknown video framerate]
5. AUDIO - AMR [8khz-16khz - need specific sample rate] Mono [8kbps-80kbps - may need specific sample rate, see note below], VIDEO - h263 176X144 64kbps [up to 30fps - need specific framerate]
6. AUDIO - AAC [16khz-32khz - need specific sample rate] Stereo [8kbps-80kbps - need specific audio bitrate], VIDEO - [h264 - need profile restrictions, if any] 176X144 64kbps [up to 15fps - need specific framerate]
NOTE: "The AMR codec uses eight source codecs with bit-rates of 12.2, 10.2, 7.95, 7.40, 6.70, 5.90, 5.15 and 4.75 kbit/s." ... from wikipedia

All of the fields in square brackets are either missing or vague.

Apart from all of that, FFmpeg is the tool that can achieve all of this.

Basic syntax for your needs is:

ffmpeg -i [inputfile] -vcodec [video codec] -b [video bitrate] -s [size] -r [video framerate] -acodec [audio codec] -ar [audio rate] -ab [audio bitrate] -ac [audio channels] output.3gp

(for H.264, a preset is needed - either using -vpre or -preset depending on FFmpeg version)

Hope this helps. Maybe ask for a bit more information from your boss and I will see what more I can do.

Michael


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]