Mercurial > utils
changeset 529:d2ae002787b7
Automated merge with http://winxp:8080/
author | Oleksandr Gavenko <gavenkoa@gmail.com> |
---|---|
date | Sat, 27 Oct 2012 14:05:48 +0300 |
parents | 7a535fcda0ee (current diff) 74d60f61a8aa (diff) |
children | 9b79261d2b00 |
files | printarg/Makefile |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/misc/video2nokia5320.sh Sat Oct 27 14:04:43 2012 +0300 +++ b/misc/video2nokia5320.sh Sat Oct 27 14:05:48 2012 +0300 @@ -15,11 +15,12 @@ printf '\033[32m'"$name"'\033[0m\n' # -noskip # -ofps 20 + # -endpos 20: convert only first 20 sec mencoder -mc 0 -of lavf -lavfopts format=mp4 \ -oac lavc -ovc lavc \ -lavcopts aglobal=1:vglobal=1:acodec=libmp3lame:abitrate=96:vcodec=mpeg4:vbitrate=500:keyint=100 \ - -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100 -ofps 15 \ + -vf scale=-3:240,crop=320:240,harddup -af lavcresample=44100,volume=10:0 -ofps 15 \ -o "$name"-mp3.mp4 "$video" # mencoder -mc 0 -afm ffmpeg -of lavf -lavfopts format=mp4 \
--- a/printarg/Makefile Sat Oct 27 14:04:43 2012 +0300 +++ b/printarg/Makefile Sat Oct 27 14:05:48 2012 +0300 @@ -13,6 +13,12 @@ S := $(dir $(abspath $(firstword $(MAKEFILE_LIST)))) B := $(abspath .)/ +ifeq '' '$(filter %/,${B})' + $(error B value must end with slash but actually is '${B}') +endif +ifeq '' '$(wildcard ${B})' + $(shell mkdir -p ${B}) +endif ifeq '' '$(prefix)' ifneq '' '$(HOME)'