Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
edited) # do here whatever you would like to do right AFTER
# the recording $2 has been EDITED
anzahl=`echo $2 | grep -o "/" | wc -l`
name=`echo $2 | cut -d "/" -f${anzahl}`
name=`echo ${name} | tr -d "%"`
cd /var/lib/vdr/plugins/yacoto; ./yac_start.sh ${name} $2
;;

This post has been edited 1 times, last edit by "tom_at_lp" (Oct 17th 2010, 8:10pm)
This post has been edited 1 times, last edit by "Schorschl" (Oct 17th 2010, 9:57am)
This post has been edited 1 times, last edit by "tom_at_lp" (Oct 17th 2010, 10:31am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Oct 17 11:31:03 yaVDR vdr: [1318] creating directory /srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec Oct 17 11:31:03 yaVDR vdr: [1318] loading /srv/vdr/video.00/The_Dark_Knight/2010-10-03.20.12.7-0.rec//marks Oct 17 11:31:03 yaVDR vdr: [1318] playing '/srv/vdr/video.00/The_Dark_Knight/2010-10-03.20.12.7-0.rec/00001.ts' Oct 17 11:31:03 yaVDR vdr: [1318] recording to '/srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec/00001.ts' Oct 17 11:31:03 yaVDR vdr: [1318] [extecmenu] editing /srv/vdr/video.00/The_Dark_Knight/2010-10-03.20.12.7-0.rec Oct 17 11:31:04 yaVDR vdr: [2554] non blocking file reader thread ended (pid=1243, tid=2554) Oct 17 11:31:04 yaVDR vdr: [2553] dvbplayer thread ended (pid=1243, tid=2553) Oct 17 11:31:04 yaVDR vdr: [1243] switching to channel 4 Oct 17 11:31:04 yaVDR vdr: [2555] receiver on device 1 thread started (pid=1243, tid=2555) Oct 17 11:31:04 yaVDR vdr: [2556] TS buffer on device 1 thread started (pid=1243, tid=2556) Oct 17 11:31:04 yaVDR vdr-sxfe[1330]: [1345] [input_vdr] wait_stream_sync: discard_index 1436653488 != curpos 1436504968 ! (diff 148520) Oct 17 11:31:04 yaVDR vdr-sxfe[1330]: [1345] [demux_vdr] PMT changed, resetting demuxer Oct 17 11:31:04 yaVDR vdr: [2555] [xine..put] Detected video size 720x576 Oct 17 11:32:01 yaVDR CRON[2559]: (vdr) CMD (mount-loader) Oct 17 11:32:18 yaVDR vdr: [1318] playing '/srv/vdr/video.00/The_Dark_Knight/2010-10-03.20.12.7-0.rec/00002.ts' Oct 17 11:32:36 yaVDR vdr: [1318] recording to '/srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec/00002.ts' Oct 17 11:33:21 yaVDR vdr: [1318] playing '/srv/vdr/video.00/The_Dark_Knight/2010-10-03.20.12.7-0.rec/00003.ts' Oct 17 11:34:00 yaVDR vdr: [1318] recording to '/srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec/00003.ts' Oct 17 11:34:01 yaVDR CRON[2625]: (vdr) CMD (mount-loader) Oct 17 11:34:08 yaVDR vdr: [1318] [extrecmenu] editing process ended Oct 17 11:34:08 yaVDR vdr: [1318] executing '/usr/lib/vdr/vdr-recordingaction edited "/srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec"' Oct 17 11:34:08 yaVDR recordingaction: executing /usr/share/vdr/recording-hooks/R90.custom after editing recording /srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec as shell script Oct 17 11:34:08 yaVDR logger: ./yac_start.sh Oct 17 11:34:18 yaVDR logger: Executing <queue/yac_queue_1287308048.sh> Oct 17 11:34:18 yaVDR logger: Start <queue/yac_queue_1287308048.sh.run echo | cut -d / -f /srv/vdr/video.00/%The_Dark_Knight/2010-10-03.20.12.7-0.rec><><2688><2669> Oct 17 11:34:18 yaVDR logger: </001.vdr> not found Oct 17 11:34:18 yaVDR logger: Syntax: queue/yac_queue_1287308048.sh.run video1 [video2] ... |

Quoted
Daraus resultiert YAC_CONF_DIR (/etc/vdr/plugins/yacoto)
- In der darin enthaltenen yacoto.conf die Pfade anpassen (z.B. VDR_VIDEO)
Auch die Kommentare werden ausgewertet ! (siehe weiter unten)
- Mit ./yac_update.sh die conf Dateien erstellen (bereits vorhandene werden nicht ueberschrieben)
- Zum Abschluss mit ./yac_setplgconf.sh das Plugin conf fiel erstellen.
Quoted
Oct 17 20:20:29 vdr02 logger: Starte <ffmpeg -f mpeg -i /var/lib/video/%Die_Königin_der_Verdammten/2010-10-16.22.08.10-0.rec/00001.ts -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -y -deinterlace -vcodec libxvid -s 640x480 -b 1400K -acodec libmp3lame -ar 44100 -ab 128K "/daten/video/NEU/Die_K_nigin_der_Verdammten.avi">Oct 17 20:20:30 vdr02 logger: Exit <rc:1><ffmpeg -f mpeg -i /var/lib/video/%Die_Königin_der_Verdammten/2010-10-16.22.08.10-0.rec/00001.ts -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -y -deinterlace -vcodec libxvid -s 640x480 -b 1400K -acodec libmp3lame -ar 44100 -ab 128K "/daten/video/NEU/Die_K_nigin_der_Verdammten.avi">Oct 17 20:20:30 vdr02 logger: Erstellung von /daten/video/NEU/Die_K_nigin_der_Verdammten.avi fehlgeschlagenOct 17 20:20:30 vdr02 logger: ERROR <queue/yac_queue_1287338628.sh.run /var/lib/video/%Die_Königin_der_Verdammten/2010-10-16.22.08.10-0.rec>Oct 17 20:20:31 vdr02 logger: YACOTO Status: Konvertierung laeuftOct 17 20:20:37 vdr02 logger: vdr_status PLUG bgprocess yacoto PROCESS 1287339626 101 Error converting Die_K_nigin_der_Verdammten
Quoted
[mpeg @ 0x838ba60]pes_ext 50 is invalid
[mpeg @ 0x838ba60]Could not find codec parameters (Audio: mp2, 0 channels, s16)
Last message repeated 2 times
Input #0, mpeg, from '/var/lib/video/%Die_Königin_der_Verdammten/2010-10-16.22.08.10-0.rec/00001.ts':
Duration: 00:02:00.09, start: 76727.230078, bitrate: 2827 kb/s
Stream #0.0[0x1c0]: Audio: mp1, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.1[0x1c8]: Audio: mp2, 0 channels, s16
Stream #0.2[0x1ca]: Audio: mp2, 0 channels, s16
Stream #0.3[0x1c9]: Audio: mp2, 0 channels, s16
Output #0, avi, to '/daten/video/NEU/Die_K_nigin_der_Verdammten.avi':
Stream #0.0: Audio: mp2, 0 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mp2 @ 0x83b1df0]encoding 0 channel(s) is not allowed in mp2
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
). Hab den "force Mpeg" (also "-f mpeg") beim Script yac_enc_ffmpeg.sh in Zeile 22 entfernt und beide (VDR / TS) Umwandlungen nochmal gestartet. Hat bei mir geholfen....|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
CONFIG="divx_ffmpeg" #~Configuration~L~0~3gp,divx,divx_ffmpeg,divx_mobile,dvd,ffmpeg,h264,ipod_ffmpeg,ipod_menc,ipod_nano,mp3,mpeg2,ogg,youtube~ NICE_LEVEL="10" #~Priority(Min=19)~I~3~-19,19~ VDR_VIDEO="/src/vdr/video.00" #~VDR video dir~F~256~ ~ TARGET_VIDEO="/src/vdr/video.00/filme" #~Target video dir~L~256~SOURCE,/film,/tmp,/video~ TARGET_AUDIO="/src/vdr/video.00/audio/yacoto" #~Target audio dir~L~256~/audio/yacoto,/tmp~ KEEP_DIRS="1" #~Keep dir structure~B~0~ ~ NAMING_CONVENTION="NameCfgDate" #~Naming convention~L~256~NameCfgDate,NameCfgRDate,NameDate,NameRDate,NameCfg,Name~ TEMP_DIR="/tmp" #~Temp directory~L~256~/tmp,/var/tmp~ KEEP_LOGS="1" #~Keep logfiles~B~0~ ~ LOG_DIR="/var/log/yacoto" #~LogFile directory~L~256~/var/log/yacoto,/tmp~ CUT_RECS="0" #~Cut recordings~B~0~ ~ PARALLEL_EXECUTIONS="0" #~Parallel conversion~B~0~ ~ |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
REMUX_TYPE="remux_convert" #~Remux mode~F~5~ ~ AUDIO_SOURCE="mp2" #~Audio source~F~5~ ~ VCODEC="libxvid" #~Video codec~F~15~ ~ VBITRATE="1400" #~Video bitrate~I~5~100,2000~ ACODEC="libmp3lame" #~Audio codec~F~15~ ~ ABITRATE="128" #~Audio bitrate~I~5~40,256~ ASRATE="44100" #~Resample rate~F~10~ ~ SCALE="640x480" #~Scale~F~10~ ~ ZOOM="2" #~Zoom~F~1~ ~ CROP="1" #~CROP~F~1~ ~ SIZE="0" #~Size~F~10~ ~ EXT="avi" #~Format~F~5~ ~ SPECIALOPT="-deinterlace" #~Additional parms~F~128~ ~ |

|
|
Source code |
1 2 3 |
VDR_VIDEO="/src/vdr/video.00" #~VDR video dir~F~256~ ~ TARGET_VIDEO="/src/vdr/video.00/filme" #~Target video dir~L~256~SOURCE,/film,/tmp,/video~ TARGET_AUDIO="/src/vdr/video.00/audio/yacoto" #~Target audio dir~L~256~/audio/yacoto,/tmp~ |
|
|
Source code |
1 2 3 |
VDR_VIDEO="/srv/vdr/video.00" #~VDR video dir~F~256~ ~ TARGET_VIDEO="/srv/vdr/video.00/filme" #~Target video dir~L~256~SOURCE,/film,/tmp,/video~ TARGET_AUDIO="/srv/vdr/video.00/audio/yacoto" #~Target audio dir~L~256~/audio/yacoto,/tmp~ |
" unexpected