3gp movie wizard

Video Apps

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
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:

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


Ratings & Comments

60 Comments

sobonpiotr

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"

sobonpiotr

I start 3gpwiz by typing in terminal: 3gpwiz /home/miszczq/Youtube000000.mpg Can anyone tell me what i need to convert mpg to 3gp?

OlleZaza

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

tserge

When I start using 3gpwiz I have to set an executable attribute for kommanders dialog files. sudo chmod +x /usr/share/apps/3gpwiz/*.kmdr

Sjaak

I got 3gpwiz running but suddenly i get this error: Illegal division by zero at /usr/bin/3gpwiz line 131 What does it mean?

Kaihappen

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.

Kaihappen

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

ktulu77

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.

ferreol

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

jbernardo

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".

vetal17

dude, you helped me so much with this

brk3

lol took me about 5 hours to figure that out!

dgvirtual

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?

pyx

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

FXartist

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.

FXartist

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".

dgvirtual

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

jbernardo

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

marcxroma

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! ---------------------------------------

marcxroma

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! ---------------------------------------

bugmenot

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.

brk3

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

elgordo123

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.

adam8024

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!!!

trevi55

Hello, I've a problem with the videos that I convert using this great tool. In fact, I've mplayer compiled to play amr audio, and in fact if I play a 3gp video recorded with a mobile, everything works fine (both audio and video). Btw, if I try to play (using mplayer) a video encoded using this tool I get a warning and the file doesn't play. The error I get is: [amr_nb @ 0x8625f48]amr frame too short (9, should be 14) [amr_nb @ 0x8625f48]amr frame too short (10, should be 13) (Using xine, I can see the video, but I can't heard anything...)

Pling
0 Affiliates
Details
license
version 1.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Video Apps:

Themonospot-Gui-Qt
hman
last update date: 15 years ago

Score 5.0

kaffeine-multidec
baertram01
last update date: 18 years ago

Score 5.0

jMovieBase
jslylix
last update date: 18 years ago

Score 5.0

Mplayer Video Browser
TOD
last update date: 20 years ago

Score 5.0

Kaffeine-Multidec
baetrtram-01
last update date: 18 years ago

Score 5.0

Kaffeine-Multidec
baetrtram-01
last update date: 18 years ago

Score 5.0



System Tags