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

sobonpiotr

10 years ago

When i type convert i can only something like that:

"===============
Transcoding part 1 (0 minutes) to 3gp
====0:3.73333333333333:15============
========= Pass 1 ==========

np=1 step=50 i=1 pass=1 pp=50
ffmpeg -y -i /tmp/movie.avi -pass 1 -passlogfile /tmp/movie -b 78k -ss 0 -t 905 -r 12.5 -ac 1 -ab 12.2k -ar 8000 -acodec libamr_nb -vcodec h263 "/home/miszczq/Youtube000000.3gp"
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-pp --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libogg --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscaler
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Sep 17 2007 15:29:56, gcc: 4.2.1 (Debian 4.2.1-5)
/tmp/movie.avi: no such file or directory
========= Pass 2 ==========

np=1 step=50 i=1 pass=2 pp=100
ffmpeg -y -i /tmp/movie.avi -pass 2 -passlogfile /tmp/movie -b 78k -ss 0 -t 905 -r 12.5 -ac 1 -ab 12.2k -ar 8000 -acodec libamr_nb -vcodec h263 "/home/miszczq/Youtube000000.3gp"
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-pp --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libogg --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscaler
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Sep 17 2007 15:29:56, gcc: 4.2.1 (Debian 4.2.1-5)
/tmp/movie.avi: no such file or directory"

Report

sobonpiotr

10 years ago

I start 3gpwiz by typing in terminal:

3gpwiz /home/miszczq/Youtube000000.mpg

Can anyone tell me what i need to convert mpg to 3gp?

Report

OlleZaza

9 years ago

Check your permissions. Probably you can't write to /tmp directory.

Report

tserge

8 years ago

When I start using 3gpwiz I have to set an executable attribute for kommanders dialog files.

sudo chmod +x /usr/share/apps/3gpwiz/*.kmdr

Report

Sjaak

10 years ago

I got 3gpwiz running but suddenly i get this error:

Illegal division by zero at /usr/bin/3gpwiz line 131

What does it mean?

Report

Kaihappen

10 years ago

Hello, is it possible to enable stereo sound? Im using an divx input file, the output file should be mp4, 320x240 pix and acc but in stereo for my nokia 6280. The last command line output are:

Output #0, mp4, to '/home/sfi/3gp/test009.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, pass 2, 405 kb/s, 25.00 fps(c)
Stream #0.1: Audio: aac, 44100 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 1496 q=7.5 Lsize= 3468kB time=59.8 bitrate= 474.8kbits/s
video:2884kB audio:468kB global headers:0kB muxing overhead 3.486792%

I have following the post to enhance the video bit rate and it will work very good with a fine result. I hope someone has a solution.

Report

Kaihappen

10 years ago

I have solved the problem by myself. Here is my way. I have changed line:

else {
$audio="-ac 1 -ab $field{Skbps2} -acodec aac";

to:

else {
$audio="-ac 2 -ab $field{Skbps2} -acodec aac";

this enable two audio chanels




Report

ktulu77

10 years ago

I am on edgy and it doesn't work for me too.
When I try to install the CVS version of ffmpeg, it download the sources, but nothing is done after.

Report

ferreol

10 years ago

Hello ,

I wanted to say that your app is great really.

It was working perfectly on my ubuntu dapper but not anymore on ubuntu edgy.

IS there a way to fix it?

Thanks anyway

Report

jbernardo

10 years ago

If you build a recent ffmpeg for use with 3gpwiz, the parameters have changed a little. If you keep getting a "bitrate too low" error on the second pass, find the following lines:

if(!$mp4) {
$cmd= "$ffmpeg -y -i $tmpfile.avi -pass $pass -passlogfile $tmpfile -b $field{Skbps} -ss $ss -t $stop -r $fps $audio -vcodec h263 \"$out\"";
}
else {
$cmd= "$ffmpeg -y -i $tmpfile.avi -pass $pass -passlogfile $tmpfile -b $field{Skbps} -ss $ss -t $stop -r $fps $audio -vcodec mpeg4 $videncopt \"$out\"";
}


And replace "$field{Skbps}" with "$field{Skbps}k".

Report

vetal17

10 years ago

dude, you helped me so much with this

Report

brk3

10 years ago

lol took me about 5 hours to figure that out!

Report

dgvirtual

10 years ago

Hi, when I try to compile ffmpeg using the script install-ffmpeg, it fails to create the file ffplay. I am using todays svn source of ffmpeg. It does produce ffmpeg and ffserver binaries...

What is the problem?

Report

pyx

10 years ago

Hi ive got a litle prob...
When i run the install-ffmpeg script i get this message "./install-ffmpeg: line 22: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat `ffmpeg': No such file or directory
cp: cannot stat `ffplay': No such file or directory"

What to do? Thanx /Pyx

Report

FXartist

10 years ago

Has anyone got this application to run successfully on Gnome? I had no issues installing it will all required dependencies on SLED 10 with Gnome as my desktop. Though when I click on the shortcut for 3gp Movie Wizard the application won't load. While I can still use Lin3gp as an alternative I would prefer to use 3gp Movie Wizard which is more user friendly.

Report

FXartist

10 years ago

I can't open 3GP Movie Wizard using "3gpwiz" as the "read me" instructs from a Terminal, Though it is possible to open the program by right mouse clicking a video file and selecting "Open with 3GP Movie Wizard".

Report

dgvirtual

10 years ago

Same goes for me. When run from Konsole the script 3gpwiz says it requires a filename as second argument. I post the output below, is this output what it should look like?

=================

dg@bala:~$ 3gpwiz
|Foutput||
read Foutput=
|Skbps||
read Skbps=
|Skbps2||
read Skbps2=
|Fsubtitle||
read Fsubtitle=
|Ffont||
read Ffont=
|Escale||
read Escale=
|Ssplit||
read Ssplit=
|Egain||
read Egain=
|Eopt||
read Eopt=
|Sgamma||
read Sgamma=
|Scontrast||
read Scontrast=
|Sbrightnes||
read Sbrightnes=
|Ssaturation||
read Ssaturation=
|Tsplit||
read Tsplit=
|Tsubtitles||
read Tsubtitles=
|Gcrop||
read Gcrop=
|Efps||
read Efps=
|Etitle||
read Etitle=
|Teq||
read Teq=
|Lsource||
read Lsource=
|Tskip||
read Tskip=
|Tvolnorm||
read Tvolnorm=
|Tmp4||
read Tmp4=
|Taac||
read Taac=
|Tdir||
read Tdir=
|Ftmp||
read Ftmp=
|Fffmpeg||
read Fffmpeg=
|Esh||
read Esh=
|Esw||
read Esw=
|Ecfactor||
read Ecfactor=
|Ezfactor||
read Ezfactor=
|Tflip||
read Tflip=
|Tcad||
read Tcad=
tmpfile=/tmp/movie
3gpwiz ver. 1.0 (C) Domjan Svilkovic
Convert any movie format to a 3gp movie, suitable for watching on a mobile phone.
Syntax: 3gpwiz source_movie
... where source_movie can be either a filename or a dvd://title

Report

jbernardo

10 years ago

If you're using this on a AMD64 machine, check this patch in the mplayer mailing list, as it applies to both mplayer and ffmpeg:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-May/060497.html

Report

LEDfoot

11 years ago

Have you considered adding an option for hinting of the files (so they can be streamed). Using MP4Box to hint the files created with your tools works excellent for streaming them with Darwin Streaming Server.

Report

marcxroma

11 years ago

Hi,
the mplayerhq repository has changed. They do not use CVS anymmore but SUBVERSION.
I have modified the install-ffmpeg script to use subversion instead of cvs. here is the new code for the install-ffmpeg:
----------------------------
#!/bin/bash

# feel free to change the src directory
cd /usr/src/

#cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk/
mv trunk ffmpeg
cd ffmpeg/libavcodec
mkdir amr_float
cd amr_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip
unzip *.zip
unzip *code.zip
cd ..
mkdir amrwb_float
cd amrwb_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
unzip *.zip
unzip *code.zip
cd ../..
./configure --enable-amr_nb --enable-amr_wb $@
make

cp ffmpeg ffplay /usr/local/bin/
# or somewhere else in the path!

---------------------------------------

Report

marcxroma

11 years ago

Hi,
the mplayerhq repository has changed. They do not use CVS anymmore but SUBVERSION.
I have modified the install-ffmpeg script to use subversion instead of cvs. here is the new code for the install-ffmpeg:
----------------------------
#!/bin/bash

# feel free to change the src directory
cd /usr/src/

#cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk/
mv trunk ffmpeg
cd ffmpeg/libavcodec
mkdir amr_float
cd amr_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip
unzip *.zip
unzip *code.zip
cd ..
mkdir amrwb_float
cd amrwb_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
unzip *.zip
unzip *code.zip
cd ../..
./configure --enable-amr_nb --enable-amr_wb $@
make

cp ffmpeg ffplay /usr/local/bin/
# or somewhere else in the path!

---------------------------------------

Report

bugmenot

10 years ago

FYI...

svn checkout \
svn://svn.mplayerhq.hu/ffmpeg/trunk/
mv trunk ffmpeg

can be replaced with:
svn checkout \
svn://svn.mplayerhq.hu/ffmpeg/trunk/ ffmpeg


A small thing but you didn't seem to be aware that you could specify the name of the checkout dir by passing it as an extra argument at the end. No need to change the name of the default checkout dir name.

Report

brk3

11 years ago

Its not even funny how cool this program is! Does exactly what I want, once again linux beats windows hands down :)

Thanks for your work

Report

elgordo123

11 years ago

Thanks for the great work! I am using a verizon 9800. Don't use aac or mp4, leave both unchecked. Also I had to edit the install-ffmpeg and add --enable-faac on the ./configure line.

Report

adam8024

11 years ago

I will go nuts, does anyone run this ??? I've got ffmpeg and mplayer - now when I type ./3gpwiz without any parameters - program tells me that I should type as a parameter file with movie - so I do it './3gpwiz some_move.mpg' - and nothing happening, program just 'hungs up', I wasn't able run gui, help!!!

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 3