ipod-videos with ffmpeg

dettus

Bicycle User
okay, heres the commandline i've used to convert video-files into an ipod-readable format:

Code:
% ffmpeg -i "$1" -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ar 44100 -ab 192 -s 320x240 -aspect 4:3 $2.mp4


ffmpeg had to be compiled with the following arguments:
Code:
% ./configure  --enable-mp3lame --enable-faac

or maybe those, dunno:
Code:
% ./configure  --enable-shared --cc=cc --disable-opts --enable-a52 --enable-pp --enable-gpl --enable-pthreads --enable-mp3lame --disable-debug

that won't work by simply running "make" on the ports, my apologies.
but that's whats needed to create .mp4-files on openbsd.








sorry dass ich das wieder auf englisch geschrieben hab. aber manche sachen muessen einfach mal gesagt werden ;)
(keywords: ipod ffmpeg mp4 mencoder openbsd video converter avi mpg mpeg avi2mp4 )
 
Zuletzt bearbeitet:
the latest version of ffmpeg is to be configured with

Code:
# export CFLAGS="-I/usr/local/include"
# export LDFLAGS="-L/usr/local/lib"
# ./configure  --enable-libmp3lame --enable-libfaac
 
beginning with version 4.3, the ffmpeg-port is already configured to include mp3lame and libfaac.
however, the commandline looks slightly different:

Code:
ffmpeg -i "$1" -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec faac -ar 44100 -ab 192 -s 320x240 -aspect 4:3 $2.mp4
 
Zurück
Oben