[MPlayer-dev-eng] [PATCH] divx2svcd 0.5.0
VMiklos
mamajom at axelero.hu
Sun Feb 29 21:47:16 CET 2004
hi all
with this patch, the hated dumpvideo-patch is no more needed.
the solution is a trivial fix: the script uses avi container in temporally
the file no more ;-)
also upgrades the version to 0.5.0
greetings
---
__________ VMiklos / FapadOS & EL Team
____/__/___|___\__. E-mail: mamajom at axelero dot hu
O__O _ | | _ | Homepage: http://www.vmiklos.tk
'--`-(_)'---'--(_)-' gpg --keyserver pgp.mit.edu --recv-keys 03915096
-------------- next part --------------
diff -Naur main.orig/TOOLS/divx2svcd main/TOOLS/divx2svcd
--- main.orig/TOOLS/divx2svcd 2004-02-29 21:36:44.000000000 +0100
+++ main/TOOLS/divx2svcd 2004-02-29 21:39:16.000000000 +0100
@@ -1,22 +1,22 @@
#!/bin/bash
# (c) 2003 Vajna Miklos <mainroot at freemail.hu>
-# divx2svcd for MPlayer+dumpvideo patch
+# divx2svcd for MPlayer
# distributed under GPL License
# A simple utility that creates SvcD from a video which uses avi container
# The newest version of this utility can be found at
# http://vmiklos.uw.hu/divx2svcd/divx2svcd
-
# MPlayer avariable at
# http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3.tar.bz2
-# dumpvideo patch at
-# http://vmiklos.uw.hu/divx2svcd/mplayer-1.0pre3-dumpvideo.diff
###changelog###
#nobody cares about it :-)
cat >/dev/null <<EOF
+0.5.0
+- needless for dumpvideo patch ;-)
+
0.4.9
- changed default bitrate to 1600 for better quality
- fix for burning more than one cd
@@ -93,8 +93,8 @@
}
#initializating constants
-version='0.4.9'
-bitrate=1600
+version='0.5.0'
+bitrate=1375
cdsize=795
burning=0
cleaning=0
@@ -319,7 +319,7 @@
###start working###
#encoding
-mencoder -ofps 25 -oac lavc "$input" -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=$bitrate:acodec=mp2:abitrate=128:keyint=25:aspect=4/3:$paraopts -o "${nev}2.avi" -srate 44100 -channels 2 $vfopts $subs "$subopts"
+mencoder -ofps 25 -oac lavc "$input" -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=$bitrate:acodec=mp2:abitrate=128:keyint=25:aspect=4/3:$paraopts -o "${nev}2.avi" -srate 44100 -of mpeg -channels 2 $vfopts $subs "$subopts"
#splitting
mplayer -dumpvideo -dumpfile "$nev.m2v" "${nev}2.avi"
More information about the MPlayer-dev-eng
mailing list