3gp movie wizard
Video
Score 58%
Description:

This is a small perl/kommander script that helps you convert almost any movie format to 3gp/mp4, suitable for watching on a modern mobile phones.It should be extremely easy to use, yet thanks to the extremely powerful mencoder and ffmpeg, offer many advanced features such as:

- can convert AVI (divx, xvid,
mjpeg), MPEG, MOV, WMV, OGG/OGM, RM, MP4, SVCD, DVD and probably any other video format you can think of
- creates h263 or mpeg4 video and AMR or AAC audio in 3GP or MP4 containers
- excellent subtitle support (MicroDVD, SubRip, OGM, SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub...) with custom font, scale, codepage and much more
- automatic movie splitting (good for a mobile phones that do not support a fast forward)
- video equalizer (brightness, saturation, contrast and gamma)
- audio gain and normalization
- inteligent cropping
- 3 pass VBR encoding for a maximal quality

Bundled with this script is another script that can automagicaly download, compile and install the latest cvs version of ffmpeg with applied amr patches.

Please see the README for instalation/usage instructions.

This is my first kommander script. Hope U find it usefull :)

BTW, I do not even own a phone that can play videos :) Stuck with an old Alcatel.
Last changelog:

11 years ago

1.3
- crop autodetect (detects black borders)
- crop zoom in factor
- flip movie (for left handed fullscreen viewing)
- moved to 'Actions' servicemenu

1.2
- you can set all the variables from the GUI
- a GUI ffmpeg installer
- the ffmpeg installer no longer requires root
- a few bug fixes

1.1
- a more flexible audio/video format selection

1.0
- option to save to the source movie dir
- quick convert (fast, noninteractive, no X access neaded, multiple file selection support, uses the settings from the last GUI convert)
- multiple, concurrent converts possible
- fixed a bug in the install-ffmpeg script (didn't install ffplay)

1.0rc1
- MP4 (mpeg4/aac) support - much better audio and video quality on a high-end phones!
- a custom audio bitrate (mp4 only)
- a custom framerate
- built in README browser

tommycw1

11 years ago

Sorry, I know that this is not a problem with your software, but maybe you can help. I tried to install everything I needed with RPM's, but I still didn't get any sound. So, as you suggested I downloaded your software and used the install-ffmpeg script. I still get the same error:

linux:/windows/F/Video/Other Stuff # /usr/src/ffmpeg/ffplay Cannstatter\ Volksfest.3gp
SDL_OpenAudio: Couldn't open /dev/dsp1: No such file or directory


I get this error as a regualr user and as root.

Any ideas?

Report

Janek

11 years ago

I can play 3gp files with xine - but without sound. With realplayer they works also and with sound!

Report

Radek

11 years ago

AFAIK 3gp files use h263 video codec and audio is using some amr codec. There are some licencing issues with the audio codec and therefore it is not included into ffmpeg. This can be solved by patching.

more (bit gentoo specific)http://forums.gentoo.org/viewtopic-t-132849-highlight-3gp.html

Report

ljubomir

11 years ago

Hi,
The program doesn't clean after itself in /tmp, and doesn't check if output path exists. Anyway, very usefull app!

Report

ljubomir

11 years ago

Hmm, and creates 0B files :)

========= Pass 2 ==========

np=1 step=50 i=1 pass=2 pp=100
ffmpeg -y -i /tmp/movie.avi -pass 2 -passlogfile /tmp/3gppass -b 80 -ss 0 -t 600005 -ac 1 -ab 12 -r 12.5 "/home/ljubomir/temp/video/Ford.3gp"
ffmpeg version 0.4.9-pre1, build 4738, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i386-linux --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-a52 --enable-dts --disable-mmx --disable-debug --prefix=/usr
built on Dec 14 2005 11:48:30, gcc: 3.3.5 (Debian 1:3.3.5-8ubuntu2)
Input #0, avi, from '/tmp/movie.avi':
Duration: 00:00:39.8, start: 0.000000, bitrate: 1051 kb/s
Stream #0.0: Video: mpeg4, 176x144, 12.50 fps
Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s
Output #0, 3gp, to '/home/ljubomir/temp/video/Ford.3gp':
Stream #0.0: Video: h263, 176x144, 12.50 fps, q=2-31, pass 2, 80 kb/s
Stream #0.1: Audio: 0x0000, 32000 Hz, mono, 12 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h263 @ 0x82d0e7c]removing common factors from framerate
Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

What am I doing worng?

Report

C

dsvilko

11 years ago

According to ffmpeg configure options, it doesenćt seem that you have a amr sound support built into your ffmpeg. Are you using the latest CVS ffmpeg? Did you download and apply amr patches?
You can use my install-ffmpeg script for this (see the README - you have read the README,haven't you?).

Report

C

dsvilko

11 years ago

Also, please check if the stage1 encoding temp file (/tmp/movie.avi) looks ok. If you are using the latest cvs mplayer (stable is quite old) and correctly compiled cvs ffmpeg (with amr support), the script _should_ work.

As for not cleaning the /tmp, it's a feature, not a bug :) I have often wanted to reencode the same move with a different framerate or a different splitting interval and in that case reusing an existing stage1 encoding speeds things up considerably.
Of course, you can always add:
system "rm /tmp/movie.avi";
to the end of the 3gpwiz perl script.

Report

ljubomir

11 years ago

Nope, I'm using packaged ffmpeg for Hoary. ffmpeg from cvs (with your scipt) gives me the following:

xl.c: In function `decode_frame':
xl.c:50: warning: `y3' might be used uninitialized in this function
xl.c:50: warning: `c0' might be used uninitialized in this function
xl.c:50: warning: `c1' might be used uninitialized in this function
gcc -O3 -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I.. -I/usr/src/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o bmp.o bmp.c
gcc -O3 -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I.. -I/usr/src/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mmvideo.o mmvideo.c
gcc -O3 -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I.. -I/usr/src/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o zmbv.o zmbv.c
make[1]: *** No rule to make target `amr_float/sp_dec.c', needed by `amr_float/sp_dec.o'. Stop.
make[1]: Leaving directory `/usr/src/ffmpeg/libavcodec'
make: *** [lib] Error 2
cp: cannot stat `ffmpeg': No such file or directory

Report

C

dsvilko

11 years ago

There is a bug in the install-ffmpeg script. Edit it and change 'uzip' to 'unzip'.

Report

zack77

11 years ago

Hey
Try to set the optoion -ar 8000 on ffmpeg.
It would be a good thing to set -acodec amr_nb and -vcodec h263 , just in case

So line 219 in 3gpwiz would look like this:
$cmd= "$ffmpeg -y -i $tmp/movie.avi -pass $pass -passlogfile $tmp/3gppass -b $field{Skbps} -ss $ss -t $stop -ac 1 -ab 12 -r $fps -ar 8000 -acodec amr_nb -vcodec h263 \"$out\"";

This worked for me as I got the same error as you.

Report

C

dsvilko

11 years ago

Thanks Zack for the patch!
For some reason, it works for me even without this extra options.
(I patched the download file)

Report

11 years ago

1.3
- crop autodetect (detects black borders)
- crop zoom in factor
- flip movie (for left handed fullscreen viewing)
- moved to 'Actions' servicemenu

1.2
- you can set all the variables from the GUI
- a GUI ffmpeg installer
- the ffmpeg installer no longer requires root
- a few bug fixes

1.1
- a more flexible audio/video format selection

1.0
- option to save to the source movie dir
- quick convert (fast, noninteractive, no X access neaded, multiple file selection support, uses the settings from the last GUI convert)
- multiple, concurrent converts possible
- fixed a bug in the install-ffmpeg script (didn't install ffplay)

1.0rc1
- MP4 (mpeg4/aac) support - much better audio and video quality on a high-end phones!
- a custom audio bitrate (mp4 only)
- a custom framerate
- built in README browser

product-maker 172 244

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.3
updated Feb 21 2006
added Feb 14 2006
downloads today
0
page views today 0