⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aufnahme

📁 Motion JPEG编解码器源代码
💻
字号:
#!/bin/sh## English text: see below!## Ver鋘derung: vorher wurde immer mit 720x576 bzw f黵 VCD mit# 352x288 aufgenommen, jetzt mit lavrec -d 1. # Das bedeutet f黵 die dc10plus: 768x576.# F黵 lavplay muss dann je nach Version die Option -w768x576 verwendet werden.## F黵 mpeg2enc muss 黚er yuvscaler die Gr鰏se eingestellt werden.# "codiere" muss auch in der entsprechenden Version verwendet werden.## CHANGES: The old script used the fixed size 720x576 for recording.# Now I use lavrec -d 1.# For the dc10plus that means: You record with 768x576.# For lavplay you need the option -w768x576.# You also need "yuvscaler" in your tree and the# correct version of "codiere" - some options have changed :-))## Dieses Shell-Script setzt f黵 die AVI-files das# Verzeichnis /video voraus - bei mir ein Link auf# das tats鋍hliche Verzeichnis. # # This shell-sript assumes a directory /video for the AVI-files# (This might be well a link to your actual directory.)## You can get rid of German questions by searching for the# keyword English and some little changes.echo -e "\nPlease adapt the directory, in that your movie-files will be"echo -e "That's line 38 of the script!"echo -e "After that: delete line 30 to 36 of this script\n"echo -e "\nBitte das Verzeichnis in Zeile 38 anpassen!\n"echo -e "\nDanach Zeile 30 - 36 des scripts l鰏chen\n"#exit 0direct=/video  # !!!! ## Setzen des Mixers:  lavrec kommt nicht mit jeder Soundkarte# ganz klar: Hier sollte das erfolgen, z.B. mit aumix oder # ossxmix## Setting the mixer directly is better, than setting the volume# with lavrec - too many soundcards and drivers ... :-)# It's a good idea to do this now e.g. with aumix or ossxmix or ...## Example: aumix -f $direct/.aumixrc#### I also use the following name-convention:# filesnames starting with captials are avi-files or# encoded files.# Editlists must not start with captials.# Of course it's up to you to change this :-))## Die Qualit鋞sangabe ist ein wenig obsolet:# Eigentlich ist bei Wiedergabe 黚er einen DVD-Player# alles unter 80 wenig sinnvoll.# # mpeg 2 und SVCD verlangen 720x576 anders geht es noch nicht!## Wegen des Shellscripts "codiere" verwende ich folgende Konvention:# Dateinamen, die mit Grossbuchstaben beginnen, sind AVI-files.# editlisten beginnen mit Kleinbuchstaben. Man kann das nat黵lich# auch anders machen. :-)) # echo -e "Dateiname (Bitte mit Grossbuchstaben anfangen) ?? \c"## English: echo -e "Filename to record to (Please start with captial) ?? \c"#read titelecho -e "Qualit鋞 30 -100 ( Enter = 100 ) \c"## English: echo -e "Quality 30 - 100 (ENTER = 100 ) \c"#read qualif [ -z "$qual" ]thenqual=100fi## Falls doch einmal von 768 runter gerechnet werden kann :-))#echo -e "SVCD = A    VCD = B  (Enter = SVCD) \c"read formatif [ -z "$format" ] || [ "$format" = "a" ] || [ "$format" = "A" ]then# format="-d 1 -g 720x576"format="-d 1"elseformat="-d 2"titel=${titel}_vcdfiecho -e "\n Dauer in Minuten? (Enter = 180 Min) \c"## English: echo -e "\n Recording time in minutes (ENTER = 180 min) \c"#read minutenif [ -z "$minuten" ]thenminuten=180fizeit=`expr $minuten \* 60`echo " Aufnahmedauer f黵 $titel: $zeit Sekunden "## English: echo "Recording time for $titel: $zeit seconds "#echo -e "Wartezeit (Min) or ENTER um sofort anzufangen  \c"## English: echo -e "Minutes to wait or ENTER to start recording \c"#read warteif [ -z "$warte" ]thenwarte=0elsewarte=`expr $warte \* 60`fisleep $warte# lavrec -f a -i p -a 16 $format -r 44100 -s -l 75 -R l -q $qual -t $zeit $direct/${titel}%03d.avilavrec -f a -i P -n 128 -c 2 -a 16 $format -r 44100 -s -l -1 -R l -q $qual -t $zeit $direct/${titel}%03d.avi## c = Korrektur f黵 audio und video Sync  t=sekunden# f = format ( A und a sind Avi )# 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -