Videoconverterscript: Unterschied zwischen den Versionen

Aus Linupedia.org
Wechseln zu: Navigation, Suche
K
K (Scriptaktualisierung und Navigationslinks eingefügt)
Zeile 5: Zeile 5:
 
Benötigter Parameter: Der Name der zu konvertierenden Datei bzw. des Ausgangsmediums.  
 
Benötigter Parameter: Der Name der zu konvertierenden Datei bzw. des Ausgangsmediums.  
  
Vorsicht, der gesamte Pfad zum Ausgangsmaterial wird als Unterpfad im Zielverzeichnis der einzelnen Konvertierungsstufen genutzt, je kürzer der Ausgangspfad des Ursprungsmaterials also ist, desto kürzer ist auch der resultierende Verzeichnisbaum in dem sich die jeweilige Zieldatei dann befinden wird.
+
{|-
+
|'''Changelog:'''
 +
|-
 +
|''v.0.0.1b''
 +
|Grundlegende Pfadstruktur der Zielpfade verbessert
 +
|-
 +
|''v.0.0.1''
 +
|Anfangsversion des Converterscripts
 +
|-
 +
|}
 
converterscript.sh
 
converterscript.sh
<code>
+
<pre>
 
#!/bin/sh
 
# Conversionscript for converting Videofiles to Widescreen+Fullscreen
 
# PAL+NTSC DVD, PAL+NTSC VCD+ SVCD, PSP Fileformat with Help of mencoder and ffmpeg
 
# V. 0.0.1 (c) by Tom Meierjürgen tomcatmj@mehlbox-system.de
 
# Licence: Creative Commons - attribution - non-commercial - sharealike
 
export BASE=~/converted
 
export PSP=$BASE/PSP
 
export FULLDVD=$BASE/DVD/FULLSCREEN
 
export WIDEDVD=$BASE/DVD/WIDESCREEN
 
export VCD=$BASE/VCD
 
export SVCD=$BASE/SVCD
 
#PSP-Filmconversion
 
konsole --noclose --caption "PSP-Film Converting..." -e ffmpeg -i $1 -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 $PSP/$1.MP4 &
 
konsole --noclose --caption "PSP-Thumb Converting..." -e ffmpeg -y -i $1 -f ljpeg -ss 5 -vframes 1 -s 160x120 -an $PSP/$1.THM &
 
 
#mencoder PAL Widescreen DVD Conversion
 
konsole --noclose --caption "MENCODER PAL Widescreen DVD  Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o $WIDEDVD/mencoder/PAL/$1.mpg $1 &
 
 
#mencoder PAL Fullscreen DVD Conversion
 
konsole --noclose --caption "MENCODER PAL Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 -ofps 25 -o $FULLDVD/mencoder/PAL/$1.mpg $1 &
 
 
#mencoder PAL XVCD Conversion
 
konsole --noclose --caption "MENCODER PAL XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o $VCD/mencoder/PAL/$1.mpg $1 &
 
 
#mencoder NTSC Widescreen DVD Conversion
 
konsole --noclose --caption "MENCODER NTSC Widescreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 -o $WIDEDVD/mencoder/NTSC/$1.mpg $1 &
 
 
#mencoder NTSC Fullscreen DVD Conversion
 
konsole --noclose --caption "MENCODER NTSC Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3 -ofps 30000/1001 -o $FULLDVD/mencoder/NTSC/$1.mpg $1 &
 
 
#mencoder NTSC XVCD Conversion
 
konsole --noclose --caption "MENCODER NTSC XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 -o $VCD/mencoder/NTSC/$1.mpg $1 &
 
 
#ffmpeg PAL Widescreen DVD Conversion
 
konsole --noclose --caption "FFMPEG PAL Widescreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 16:9 $WIDEDVD/ffmpeg/PAL/$1.mpg &
 
 
#ffmpeg PAL Fullscreen DVD Conversion
 
konsole --noclose --caption "FFMPEG PAL Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 4:3 $FULLDVD/ffmpeg/PAL/$1.mpg &
 
 
#ffmpeg PAL SVCD Conversion
 
konsole --noclose --caption "FFMPEG PAL SVCD Converting..." -e time ffmpeg -i $1 -target pal-svcd $SVCD/ffmpeg/PAL/$1.mpg &
 
 
#ffmpeg PAL VCD Conversion
 
konsole --noclose --caption "FFMPEG PAL VCD Converting..." -e time ffmpeg -i $1 -target pal-vcd $VCD/ffmpeg/PAL/$1.mpg &
 
 
#ffmpeg NTSC Widescreen DVD Conversion
 
konsole --noclose --caption "FFMPEG NTSC Widescreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 16:9 $WIDEDVD/ffmpeg/NTSC/$1.mpg &
 
 
#ffmpeg NTSC Fullscreen DVD Conversion
 
konsole --noclose --caption "FFMPEG NTSC Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 4:3 $FULLDVD/ffmpeg/NTSC/$1.mpg &
 
 
#ffmpeg NTSC SVCD Conversion
 
konsole --noclose --caption "FFMPEG NTSC SVCD Converting..." -e time ffmpeg -i $1 -target ntsc-svcd $SVCD/ffmpeg/NTSC/$1.mpg &
 
 
#ffmpeg NTSC VCD Conversion
 
konsole --noclose --caption "FFMPEG NTSC VCD Converting..." -e time ffmpeg -i $1 -target ntsc-vcd $VCD/ffmpeg/NTSC/$1.mpg &
 
 
</code>
 
  
--[[Benutzer:TomcatMJ|TomcatMJ]] 00:41, 28. Aug 2006 (CEST)
+
#!/bin/sh
 +
# Conversionscript for converting Videofiles to Widescreen+Fullscreen/
 +
# PAL+NTSC DVD, PAL+NTSC VCD+ SVCD, PSP Fileformat with Help of mencoder and ffmpeg
 +
# (c) by Tom Meierjrgen tomcatmj@web.de
 +
# Licence: Creative Commons - attribution - non-commercial - sharealike
 +
# V. 0.0.1b
 +
#
 +
#
 +
# Changes: Targetdirectorystructure reorganized,
 +
#          removed anoying garbage from previous structur
 +
 
 +
# Configuration of basical directorystructure settings
 +
# (freely editable for individual purposes)
 +
 
 +
export BASE=~/converted
 +
export PSP=$BASE/PSP
 +
export FULLDVD=$BASE/DVD/FULLSCREEN
 +
export WIDEDVD=$BASE/DVD/WIDESCREEN
 +
export VCD=$BASE/VCD
 +
export XVCD=$BASE/XVCD
 +
export SVCD=$BASE/SVCD
 +
 
 +
# Initializing previous configured directorystructure
 +
 
 +
mkdir -p $BASE
 +
mkdir -p $PSP
 +
mkdir -p $FULLDVD/PAL/ffmpeg
 +
mkdir -p $WIDEDVD/PAL/ffmpeg
 +
mkdir -p $VCD/PAL/ffmpeg
 +
mkdir -p $SVCD/PAL/ffmpeg
 +
mkdir -p $FULLDVD/NTSC/ffmpeg
 +
mkdir -p $WIDEDVD/NTSC/ffmpeg
 +
mkdir -p $VCD/NTSC/ffmpeg
 +
mkdir -p $SVCD/NTSC/ffmpeg
 +
mkdir -p $FULLDVD/PAL/mencoder
 +
mkdir -p $WIDEDVD/PAL/mencoder
 +
mkdir -p $XVCD/PAL/mencoder
 +
mkdir -p $FULLDVD/NTSC/mencoder
 +
mkdir -p $WIDEDVD/NTSC/mencoder
 +
mkdir -p $XVCD/NTSC/mencoder
 +
 
 +
# Conversion begins here :
 +
 
 +
#PSP-Filmconversion
 +
konsole --noclose --caption "PSP-Film Converting..." -e ffmpeg -i $1 -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 $PSP/$(basename $1).MP4 &
 +
konsole --noclose --caption "PSP-Thumb Converting..." -e ffmpeg -y -i $1 -f ljpeg -ss 5 -vframes 1 -s 160x120 -an $PSP/$(basename $1).THM &
 +
 
 +
#mencoder PAL Widescreen DVD Conversion
 +
konsole --noclose --caption "MENCODER PAL Widescreen DVD  Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o $WIDEDVD/PAL/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#mencoder PAL Fullscreen DVD Conversion
 +
konsole --noclose --caption "MENCODER PAL Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 -ofps 25 -o $FULLDVD/PAL/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#mencoder PAL XVCD Conversion
 +
konsole --noclose --caption "MENCODER PAL XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o $XVCD/PAL/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#mencoder NTSC Widescreen DVD Conversion
 +
konsole --noclose --caption "MENCODER NTSC Widescreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 -o $WIDEDVD/NTSC/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#mencoder NTSC Fullscreen DVD Conversion
 +
konsole --noclose --caption "MENCODER NTSC Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3 -ofps 30000/1001 -o $FULLDVD/NTSC/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#mencoder NTSC XVCD Conversion
 +
konsole --noclose --caption "MENCODER NTSC XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 -o $XVCD/NTSC/mencoder/$(basename $1).mpg $1 &
 +
 
 +
#ffmpeg PAL Widescreen DVD Conversion
 +
konsole --noclose --caption "FFMPEG PAL Widescreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 16:9 $WIDEDVD/PAL/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg PAL Fullscreen DVD Conversion
 +
konsole --noclose --caption "FFMPEG PAL Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 4:3 $FULLDVD/PAL/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg PAL SVCD Conversion
 +
konsole --noclose --caption "FFMPEG PAL SVCD Converting..." -e time ffmpeg -i $1 -target pal-svcd $SVCD/PAL/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg PAL VCD Conversion
 +
konsole --noclose --caption "FFMPEG PAL VCD Converting..." -e time ffmpeg -i $1 -target pal-vcd $VCD/PAL/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg NTSC Widescreen DVD Conversion
 +
konsole --noclose --caption "FFMPEG NTSC Widescreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 16:9 $WIDEDVD/NTSC/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg NTSC Fullscreen DVD Conversion
 +
konsole --noclose --caption "FFMPEG NTSC Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 4:3 $FULLDVD/NTSC/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg NTSC SVCD Conversion
 +
konsole --noclose --caption "FFMPEG NTSC SVCD Converting..." -e time ffmpeg -i $1 -target ntsc-svcd $SVCD/NTSC/ffmpeg/$(basename $1).mpg &
 +
 
 +
#ffmpeg NTSC VCD Conversion
 +
konsole --noclose --caption "FFMPEG NTSC VCD Converting..." -e time ffmpeg -i $1 -target ntsc-vcd $VCD/NTSC/ffmpeg/$(basename $1).mpg &
 +
</pre>
 +
 
 +
--[[Benutzer:TomcatMJ|TomcatMJ]] 05:55, 11. Mär 2007 (CET)
 +
----
 +
[[Multimedia | Zurück zur Multimediaübersicht]]<br />
 +
[[Shellscripte | Zurück zur Shellscripteübersicht]]<br />
 +
[[Videokonvertierung und DVD oder SVCD erstellen | Zurück zu "Videokonvertierung und DVD oder SVCD erstellen"]]
 +
 
 +
 
 +
--
 
[[Category:Scripte]]
 
[[Category:Scripte]]
 
[[Category:Multimedia]]
 
[[Category:Multimedia]]

Version vom 11. März 2007, 04:55 Uhr

Hier ein kleines Script zum automatischen konvertieren bekannter Videoformate in DVD, VCD, SVCD und PSP konforme Mpeg-Dateien:

Voraussetzung: ffmpeg und mencoder(im mplayer Paket enthalten) müssen instaliert sein, für die Ausgangsdaten eventuell weitere benötigte Codecs sollten ebenso installiert sein.

Benötigter Parameter: Der Name der zu konvertierenden Datei bzw. des Ausgangsmediums.

Changelog:
v.0.0.1b Grundlegende Pfadstruktur der Zielpfade verbessert
v.0.0.1 Anfangsversion des Converterscripts

converterscript.sh


#!/bin/sh
# Conversionscript for converting Videofiles to Widescreen+Fullscreen/
# PAL+NTSC DVD, PAL+NTSC VCD+ SVCD, PSP Fileformat with Help of mencoder and ffmpeg
# (c) by Tom Meierjrgen tomcatmj@web.de
# Licence: Creative Commons - attribution - non-commercial - sharealike
# V. 0.0.1b
#
#
# Changes: Targetdirectorystructure reorganized,
#          removed anoying garbage from previous structur

# Configuration of basical directorystructure settings
# (freely editable for individual purposes)

export BASE=~/converted
export PSP=$BASE/PSP
export FULLDVD=$BASE/DVD/FULLSCREEN
export WIDEDVD=$BASE/DVD/WIDESCREEN
export VCD=$BASE/VCD
export XVCD=$BASE/XVCD
export SVCD=$BASE/SVCD

# Initializing previous configured directorystructure

mkdir -p $BASE
mkdir -p $PSP
mkdir -p $FULLDVD/PAL/ffmpeg
mkdir -p $WIDEDVD/PAL/ffmpeg
mkdir -p $VCD/PAL/ffmpeg
mkdir -p $SVCD/PAL/ffmpeg
mkdir -p $FULLDVD/NTSC/ffmpeg
mkdir -p $WIDEDVD/NTSC/ffmpeg
mkdir -p $VCD/NTSC/ffmpeg
mkdir -p $SVCD/NTSC/ffmpeg
mkdir -p $FULLDVD/PAL/mencoder
mkdir -p $WIDEDVD/PAL/mencoder
mkdir -p $XVCD/PAL/mencoder
mkdir -p $FULLDVD/NTSC/mencoder
mkdir -p $WIDEDVD/NTSC/mencoder
mkdir -p $XVCD/NTSC/mencoder

# Conversion begins here :

#PSP-Filmconversion
konsole --noclose --caption "PSP-Film Converting..." -e ffmpeg -i $1 -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 $PSP/$(basename $1).MP4 &
konsole --noclose --caption "PSP-Thumb Converting..." -e ffmpeg -y -i $1 -f ljpeg -ss 5 -vframes 1 -s 160x120 -an $PSP/$(basename $1).THM &

#mencoder PAL Widescreen DVD Conversion
konsole --noclose --caption "MENCODER PAL Widescreen DVD  Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o $WIDEDVD/PAL/mencoder/$(basename $1).mpg $1 &

#mencoder PAL Fullscreen DVD Conversion
konsole --noclose --caption "MENCODER PAL Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 -ofps 25 -o $FULLDVD/PAL/mencoder/$(basename $1).mpg $1 &

#mencoder PAL XVCD Conversion
konsole --noclose --caption "MENCODER PAL XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o $XVCD/PAL/mencoder/$(basename $1).mpg $1 &

#mencoder NTSC Widescreen DVD Conversion
konsole --noclose --caption "MENCODER NTSC Widescreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 -o $WIDEDVD/NTSC/mencoder/$(basename $1).mpg $1 &

#mencoder NTSC Fullscreen DVD Conversion
konsole --noclose --caption "MENCODER NTSC Fullscreen DVD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=352:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3 -ofps 30000/1001 -o $FULLDVD/NTSC/mencoder/$(basename $1).mpg $1 &

#mencoder NTSC XVCD Conversion
konsole --noclose --caption "MENCODER NTSC XVCD Converting..." -e time mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 -o $XVCD/NTSC/mencoder/$(basename $1).mpg $1 &

#ffmpeg PAL Widescreen DVD Conversion
konsole --noclose --caption "FFMPEG PAL Widescreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 16:9 $WIDEDVD/PAL/ffmpeg/$(basename $1).mpg &

#ffmpeg PAL Fullscreen DVD Conversion
konsole --noclose --caption "FFMPEG PAL Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target pal-dvd -aspect 4:3 $FULLDVD/PAL/ffmpeg/$(basename $1).mpg &

#ffmpeg PAL SVCD Conversion
konsole --noclose --caption "FFMPEG PAL SVCD Converting..." -e time ffmpeg -i $1 -target pal-svcd $SVCD/PAL/ffmpeg/$(basename $1).mpg &

#ffmpeg PAL VCD Conversion
konsole --noclose --caption "FFMPEG PAL VCD Converting..." -e time ffmpeg -i $1 -target pal-vcd $VCD/PAL/ffmpeg/$(basename $1).mpg &

#ffmpeg NTSC Widescreen DVD Conversion
konsole --noclose --caption "FFMPEG NTSC Widescreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 16:9 $WIDEDVD/NTSC/ffmpeg/$(basename $1).mpg &

#ffmpeg NTSC Fullscreen DVD Conversion
konsole --noclose --caption "FFMPEG NTSC Fullscreen DVD Converting..." -e time ffmpeg -i $1 -target ntsc-dvd -aspect 4:3 $FULLDVD/NTSC/ffmpeg/$(basename $1).mpg &

#ffmpeg NTSC SVCD Conversion
konsole --noclose --caption "FFMPEG NTSC SVCD Converting..." -e time ffmpeg -i $1 -target ntsc-svcd $SVCD/NTSC/ffmpeg/$(basename $1).mpg &

#ffmpeg NTSC VCD Conversion
konsole --noclose --caption "FFMPEG NTSC VCD Converting..." -e time ffmpeg -i $1 -target ntsc-vcd $VCD/NTSC/ffmpeg/$(basename $1).mpg &

--TomcatMJ 05:55, 11. Mär 2007 (CET)


Zurück zur Multimediaübersicht
Zurück zur Shellscripteübersicht
Zurück zu "Videokonvertierung und DVD oder SVCD erstellen"


--