![]() |
2010-07-22
, 07:28
|
Posts: 75 |
Thanked: 35 times |
Joined on Jun 2010
@ United States
|
#1
|
![]() |
2010-07-22
, 09:00
|
Posts: 141 |
Thanked: 51 times |
Joined on May 2010
@ Netherlands
|
#2
|
![]() |
2010-07-22
, 11:04
|
Posts: 75 |
Thanked: 125 times |
Joined on Nov 2008
|
#3
|
![]() |
2010-07-22
, 11:29
|
Posts: 247 |
Thanked: 67 times |
Joined on May 2010
@ limassol cyprus
|
#4
|
![]() |
2010-07-22
, 11:45
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#5
|
![]() |
2010-07-22
, 11:53
|
Posts: 422 |
Thanked: 244 times |
Joined on Feb 2008
|
#6
|
#!/bin/bash outfile=$1 echo "output folder: $outfile" mkdir -p $outfile shift while [ $# -ne 0 ]; do echo "file = $1" infile=$1 thefile="${infile%.*}" mkvfile="$outfile/${thefile##*/}.mkv" mp4file="$outfile/${thefile##*/}.mp4" avifile="$outfile/${thefile##*/}.avi" echo "mkv = $mkvfile" echo "mp4 = $mp4file" #ffmpeg -i "$infile" -s 800x480 -vcodec libx264 -vpre default -vpre baseline -crf 22 -acodec libfaac -ab 128k -ac 2 -f matroska "$mkvfile" ffmpeg -i "$infile" -r pal -s 800x448 -vcodec mpeg4 -qmin 3 -qmax 5 -crf 22 -acodec libfaac -ab 128k -ac 2 -f mp4 "$mp4file" # ffmpeg -i "$infile" -r pal -s 800x448 -vcodec mpeg4 -qmin 3 -qmax 5 -crf 22 -acodec libfaac -ab 128k -ac 2 -f avi "$avifile" shift done
The Following User Says Thank You to paulkoan For This Useful Post: | ||
![]() |
2010-07-23
, 01:02
|
Posts: 75 |
Thanked: 35 times |
Joined on Jun 2010
@ United States
|
#7
|
avidemux (avidemux.org) does the trick for me, and its free as in freedom, as well as money.
![]() |
2010-07-23
, 01:07
|
Posts: 75 |
Thanked: 35 times |
Joined on Jun 2010
@ United States
|
#8
|
![]() |
2010-07-23
, 01:17
|
Posts: 75 |
Thanked: 35 times |
Joined on Jun 2010
@ United States
|
#9
|
This is my script, using ffmpeg and outputs to mp4 container rather than avi container (mp4 is a better option I think):
To use it, save it as scriptname, and +x itCode:#!/bin/bash outfile=$1 echo "output folder: $outfile" mkdir -p $outfile shift while [ $# -ne 0 ]; do echo "file = $1" infile=$1 thefile="${infile%.*}" mkvfile="$outfile/${thefile##*/}.mkv" mp4file="$outfile/${thefile##*/}.mp4" avifile="$outfile/${thefile##*/}.avi" echo "mkv = $mkvfile" echo "mp4 = $mp4file" #ffmpeg -i "$infile" -s 800x480 -vcodec libx264 -vpre default -vpre baseline -crf 22 -acodec libfaac -ab 128k -ac 2 -f matroska "$mkvfile" ffmpeg -i "$infile" -r pal -s 800x448 -vcodec mpeg4 -qmin 3 -qmax 5 -crf 22 -acodec libfaac -ab 128k -ac 2 -f mp4 "$mp4file" # ffmpeg -i "$infile" -r pal -s 800x448 -vcodec mpeg4 -qmin 3 -qmax 5 -crf 22 -acodec libfaac -ab 128k -ac 2 -f avi "$avifile" shift done
The format is
scriptname <outputfolder> <inputfile> [inputfile ...]
It will take each of the input files, convert them to mpeg4 + ac3 inside mp4 container and place them into "outputfolder". If you really want avi containers, then comment out the mp4 line and uncomment the following avi line.
If you are using Windows, then there are several converters available, but you may want to start with these settings, they are what I have had the most luck with in terms of performance on the n900.
I would totally welcome any input however...
![]() |
2010-07-23
, 01:37
|
Posts: 422 |
Thanked: 244 times |
Joined on Feb 2008
|
#10
|