[MPlayer-cvslog] CVS: main/TOOLS aconvert,NONE,1.1 README,1.6,1.7
Jonas Jermann CVS
syncmail at mplayerhq.hu
Thu Aug 18 22:00:59 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main/tremor tremor.diff, 1.2, 1.3 sharedbook.c, 1.1, 1.2
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.14, 1.15 gl_common.h, 1.11, 1.12 vo_gl.c, 1.86, 1.87
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Jonas Jermann CVS
Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var2/tmp/cvs-serv22326
Modified Files:
README
Added Files:
aconvert
Log Message:
Aconvert allows mencoder to (easily) encode from an audio only file (hack).
--- NEW FILE ---
#!/bin/sh
# Author: Jonas Jermann
# Description: A hack to allow mencoder to encode from an audio only file
if [[ $1 == "" ]]; then
echo "Usage: $0 <\"input file\"> <\"output file\"> <\"options\">"
exit 0
fi
if [[ $3 == "" ]]; then
options="-oac lavc -lavcopts acodec=mp3:abitrate=192"
else
options=$3
fi
mencoder -rawvideo on:w=1:h=1 -ovc copy -of rawaudio -endpos `mplayer -identify $1 -frames 0 2>&1 | grep ID_LENGTH | cut -d "=" -f 2` -audiofile $1 -o $2 $options $1
Index: README
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- README 17 Aug 2005 17:36:45 -0000 1.6
+++ README 18 Aug 2005 20:00:57 -0000 1.7
@@ -143,6 +143,21 @@
--dvd-device device to pull the video off (default: /dev/dvd)
+aconvert
+
+Author: Jonas Jermann
+
+Description: A hack to allow MEncoder to read respectively encode from audio
+ only files.
+
+Usage: aconvert <"input file"> <"output file"> <"options">
+ If no options are specified the following is assumed:
+ -oac lavc -lavcopts acodec=mp3:abitrate=192
+
+Note: The script is probably bash dependent and it's just a quick
+ hack, feel free to improve it (or much better: fix mencoder ;).
+
+
Tech scripts in the TOOLS dir
-----------------------------
- Previous message: [MPlayer-cvslog] CVS: main/tremor tremor.diff, 1.2, 1.3 sharedbook.c, 1.1, 1.2
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.14, 1.15 gl_common.h, 1.11, 1.12 vo_gl.c, 1.86, 1.87
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list