ubuntuusers.de

🚧 Am Sonntag, 5. Mai, werden ab 16 Uhr die Server aktualisiert und eine neue Inyoka-Version veröffentlicht. Das Portal wird mehrmals nicht verfügbar sein.

kein Titel

Datum:
9. Mai 2007 21:39
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

FILE=$1
shift

rm -f __tmp.avi
mencoder "$FILE" \
-oac pcm \
-ovc lavc \
-lavcopts vcodec=mjpeg \
-sws 2 \
-vf scale=176:144 \
-o __tmp.avi \
-font ~/.mplayer/subfont.ttf \
-subfont-text-scale 4 \
-subfont-blur 2 \
-subfont-outline 1 \
$*

rm -f "$FILE".3gp
ffmpeg \
-i __tmp.avi \
-ar 8000 \
-ac 1 \
-acodec amr_nb \
-vcodec h263 \
-s 176x144 \
-r 12 \
-b 30 \
-ab 12 \
"$FILE".3gp