Tach!
Gerade hat mir der VDR eine Aufnahme zerstört, und zwar so:
Ich hatte für 12:23 das c't magazin programmiert und die Aufnahme begann auch brav:
Feb 24 12:23:00 selma vdr: [4890] timer 2 (19 1223-1310 'c't magazin') start
Feb 24 12:23:00 selma vdr: [4890] Title: 'c't magazin' Subtitle: 'Computer & Technik - Moderation: Mathias Münch'
Feb 24 12:23:00 selma vdr: [4890] executing '/usr/lib/vdr/vdr-recordingaction.wrapper before "/var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec"'
Feb 24 12:23:00 selma recordingaction: executing /usr/share/vdr/recording-hooks/R09.vdr-requant before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:00 selma recordingaction: executing /usr/share/vdr/recording-hooks/R10.noad before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:01 selma noad[6538]: noad arg[0]: /usr/bin/noad
Feb 24 12:23:01 selma noad[6538]: noad arg[1]: --online=1
Feb 24 12:23:01 selma noad[6538]: noad arg[2]: --comments
Feb 24 12:23:01 selma noad[6538]: noad arg[3]: --jumplogo
Feb 24 12:23:01 selma noad[6538]: noad arg[4]: --ac3
Feb 24 12:23:01 selma noad[6538]: noad arg[5]: --overlap
Feb 24 12:23:01 selma noad[6538]: noad arg[6]: before
Feb 24 12:23:01 selma noad[6538]: noad arg[7]: /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:01 selma noad[6538]: noad args done
Feb 24 12:23:01 selma noad[6538]: noad called with 'before' and online=1 and liverecording is no
Feb 24 12:23:01 selma noad[6538]: nothing to do yet
Feb 24 12:23:01 selma recordingaction: executing /usr/share/vdr/recording-hooks/R90.custom before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:01 selma vdr: [4890] record /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:01 selma vdr: [4890] creating directory /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia
Feb 24 12:23:01 selma vdr: [4890] creating directory /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:01 selma vdr: [4890] recording to '/var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec/001.vdr'
Feb 24 12:23:01 selma vdr: [4890] creating directory /var/lib/video.01/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia
Feb 24 12:23:01 selma vdr: [4890] creating directory /var/lib/video.01/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:01 selma vdr: [6541] file writer thread started (pid=6541, tid=6541)
Feb 24 12:23:01 selma vdr: [6542] recording thread started (pid=6542, tid=6542)
Feb 24 12:23:01 selma vdr: [6543] receiver on device 2 thread started (pid=6543, tid=6543)
Feb 24 12:23:01 selma vdr: [6544] TS buffer on device 2 thread started (pid=6544, tid=6544)
Alles anzeigen
Dann passierte folgendes: Ich habe das Setzen der Systemzeit über Kanal 1 (ARD) aktiviert und genau das kam jetzt:
Feb 24 12:23:02 selma vdr: [5110] System Time = Sat Feb 24 12:23:02 2007 (1172316182)
Feb 24 12:23:02 selma vdr: [5110] Local Time = Sat Feb 24 12:22:58 2007 (1172316178)
Die Zeit wurde also um gerade mal 3 Sekunden korrigiert - leider jedoch vor die Timeraufnahme! Also geht es im Log weiter:
Feb 24 12:22:58 selma vdr: [6542] recording thread ended (pid=6542, tid=6542)
Feb 24 12:22:58 selma vdr: [6541] file writer thread ended (pid=6541, tid=6541)
Feb 24 12:22:58 selma vdr: [4890] buffer stats: 0 (0%) used
Feb 24 12:22:58 selma vdr: [6544] TS buffer on device 2 thread ended (pid=6544, tid=6544)
Feb 24 12:22:58 selma vdr: [6543] buffer stats: 56400 (2%) used
Feb 24 12:22:58 selma vdr: [6543] receiver on device 2 thread ended (pid=6543, tid=6543)
Feb 24 12:22:58 selma vdr: [4890] buffer stats: 53204 (1%) used
Feb 24 12:22:58 selma vdr: [4890] timer 2 (19 1223-1310 'c't magazin') stop
Feb 24 12:22:58 selma vdr: [4890] executing '/usr/lib/vdr/vdr-recordingaction.wrapper after "/var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec"'
Feb 24 12:22:59 selma recordingaction: executing /usr/share/vdr/recording-hooks/R09.vdr-requant after recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:22:59 selma vdr-req[6553]: DEBUG: Start /usr/local/bin/vdr-requant.sh after /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:22:59 selma vdr-req[6553]: DEBUG: not yet reduced - fine.
Feb 24 12:22:59 selma vdr: [5110] changing pids of channel 1096 from 701+701:702:204 to 201+201:202:204
Feb 24 12:22:59 selma vdr-req[6553]: DEBUG: enough space on disk - fine. (12106 > 2)
Feb 24 12:22:59 selma vdr-req[6553]: DEBUG: part 1 - demux
Feb 24 12:22:59 selma vdr-req[6553]: DEBUG: starting: java -Djava.awt.headless=true -server -jar /usr/share/vdrconvert/pX/ProjectX.jar -demux /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec/00*.vdr -out .
Alles anzeigen
und jetzt springt die Uhr wieder auf 12:23 und die Aufnahme beginnt erneut.
Feb 24 12:23:00 selma vdr: [4890] switching device 2 to channel 19
Feb 24 12:23:00 selma vdr: [4890] timer 2 (19 1223-1310 'c't magazin') start
Feb 24 12:23:00 selma vdr: [4890] Title: 'c't magazin' Subtitle: 'Computer & Technik - Moderation: Mathias Münch'
Feb 24 12:23:00 selma vdr: [4890] executing '/usr/lib/vdr/vdr-recordingaction.wrapper before "/var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec"'
Feb 24 12:23:00 selma recordingaction: executing /usr/share/vdr/recording-hooks/R09.vdr-requant before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:00 selma recordingaction: executing /usr/share/vdr/recording-hooks/R10.noad before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:00 selma noad[6652]: noad arg[0]: /usr/bin/noad
Feb 24 12:23:00 selma noad[6652]: noad arg[0]: /usr/bin/noad
Feb 24 12:23:00 selma noad[6652]: noad arg[1]: --online=1
Feb 24 12:23:00 selma noad[6652]: noad arg[2]: --comments
Feb 24 12:23:00 selma noad[6652]: noad arg[3]: --jumplogo
Feb 24 12:23:00 selma noad[6652]: noad arg[4]: --ac3
Feb 24 12:23:00 selma noad[6652]: noad arg[5]: --overlap
Feb 24 12:23:00 selma noad[6652]: noad arg[6]: before
Feb 24 12:23:00 selma noad[6652]: noad arg[7]: /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:00 selma noad[6652]: noad args done
Feb 24 12:23:00 selma noad[6652]: noad called with 'before' and online=1 and liverecording is no
Feb 24 12:23:00 selma noad[6652]: nothing to do yet
Feb 24 12:23:00 selma recordingaction: executing /usr/share/vdr/recording-hooks/R90.custom before recording /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec as shell script
Feb 24 12:23:00 selma vdr: [4890] record /var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec
Feb 24 12:23:00 selma vdr: [4890] recording to '/var/lib/video.00/c#27t_magazin/Computer_&_Technik_-_Moderation#3A_Mathia/2007-02-24.12.23.99.99.rec/002.vdr'
Feb 24 12:23:00 selma vdr: [6659] file writer thread started (pid=6659, tid=6659)
Feb 24 12:23:00 selma vdr: [6660] recording thread started (pid=6660, tid=6660)
Feb 24 12:23:00 selma vdr: [6661] receiver on device 2 thread started (pid=6661, tid=6661)
Feb 24 12:23:00 selma vdr: [6662] TS buffer on device 2 thread started (pid=6662, tid=6662)
Alles anzeigen
Eigentlich wäre außer, dass ich eine sehr kleine Datei 001.vdr und den Rest in 002.vdr gehabt hätte, nichts passiert, wenn nicht mein vdr-recordingaction-Skript das Verzeichnis löschen würde, in der Annahme, dass die Aufnahme vorbei ist. Ich habe jetzt erst einmal mein Skript robuster gemacht, aber dennoch die Frage:
Wie kann man im VDR das so programmieren, dass während einer Aufnahme die Systemzeit nicht verändert wird?
Danke für Eure Aufmerksamkeit
ARK