Hallo liebe VDR-Gemeinde,
ich habe den neuesten VDR aus dem Git mit streamdev-server und live-plugin auf meinem Cubietruck (Debian stretch) laufen und das seltsame Phänomen,
dass bei Aufnahmen von HD-Sendern massiv ring buffer overflows entstehen.
Wenn ich mir den HD-Sender über den vlc auf meinem Laptop anschaue ist alles in Ordnung, keine overflows.
Das passiert tatsächlich nur bei Aufnahmen.
Aufnahmen mit SD-Sendern funktionieren einwandfrei.
Das Recordingverzeichnis befindet sich auf meiner externen USB-Platte, die über USB2 angebunden ist, also mehr als genug Luft hat für diesen Datendurchsatz.
Ausführliche Daten sind auch in diesem pastebin enthalten.
VDR-Info:
---------
vdr --version
vdr (2.3.3/2.3.3) - The Video Disk Recorder
epgtableid0 (2.2.0) - EPG handler for events with table id 0x00
live (2.3.1) - Live Interactive VDR Environment
skincurses (2.3.2) - A text only skin
status (2.2.0) - Status monitor test
streamdev-client (0.6.1-git) - VTP Streaming Client
streamdev-server (0.6.1-git) - VDR Streaming Server
Syslog während der Aufnahme:
Feb 7 15:05:07 localhost vdr: [1685] timer 0 (3 1444-1541 'Fernweh - In den Alpen (3/7)') set to event Wed 07.02.2018 14:46-15:31 (VPS: 07.02. 14:45) 'Fernweh - In den Alpen (3/7)'
Feb 7 15:05:09 localhost vdr: [1527] live timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') added
Feb 7 15:05:09 localhost vdr: [1527] switching device 1 to channel 3 (3sat HD OBSOLETE)
Feb 7 15:05:09 localhost vdr: [1527] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') start
Feb 7 15:05:09 localhost vdr: [1527] Title: 'Fernweh - In den Alpen (3/7)' Subtitle: 'Vom Wallis über Liechtenstein nach Bayern'
Feb 7 15:05:09 localhost vdr: [1527] record /mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.rec
Feb 7 15:05:09 localhost vdr: [1527] creating directory /mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)
Feb 7 15:05:09 localhost vdr: [1542] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') set to event Wed 07.02.2018 14:46-15:31 (VPS: 07.02. 14:45) 'Fernweh - In den Alpen (3/7)'
Feb 7 15:05:09 localhost vdr: [1527] creating directory /mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.rec
Feb 7 15:05:09 localhost vdr: [1527] recording to '/mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.rec/00001.ts'
Feb 7 15:05:09 localhost vdr: [1696] device 1 receiver thread started (pid=1527, tid=1696, prio=high)
Feb 7 15:05:09 localhost vdr: [1695] recording thread started (pid=1527, tid=1695, prio=high)
Feb 7 15:05:09 localhost vdr: [1697] device 1 TS buffer thread started (pid=1527, tid=1697, prio=high)
Feb 7 15:05:10 localhost vdr: [1527] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') set to event Wed 07.02.2018 14:46-15:31 (VPS: 07.02. 14:45) 'Fernweh - In den Alpen (3/7)'
Feb 7 15:05:11 localhost vdr: [1685] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') set to event Wed 07.02.2018 14:46-15:31 (VPS: 07.02. 14:45) 'Fernweh - In den Alpen (3/7)'
Feb 7 15:05:18 localhost vdr: [1696] i/o throttle activated, count = 1 (tid=1696)
Feb 7 15:05:22 localhost vdr: [1696] buffer usage: 70% (tid=1695)
Feb 7 15:05:22 localhost vdr: [1696] buffer usage: 60% (tid=1695)
Feb 7 15:05:22 localhost vdr: [1696] buffer usage: 70% (tid=1695)
Feb 7 15:05:22 localhost vdr: [1696] buffer usage: 60% (tid=1695)
Feb 7 15:05:22 localhost vdr: [1696] buffer usage: 70% (tid=1695)
Feb 7 15:05:23 localhost vdr: [1696] buffer usage: 80% (tid=1695)
Feb 7 15:05:25 localhost vdr: [1696] buffer usage: 90% (tid=1695)
Feb 7 15:05:27 localhost vdr: [1696] buffer usage: 100% (tid=1695)
Feb 7 15:05:27 localhost vdr: [1696] ERROR: 1 ring buffer overflow (1 bytes dropped)
Feb 7 15:05:33 localhost vdr: [1696] ERROR: 37551 ring buffer overflows (7059588 bytes dropped)
Feb 7 15:05:39 localhost vdr: [1696] ERROR: 39883 ring buffer overflows (7498004 bytes dropped)
Feb 7 15:05:45 localhost vdr: [1696] ERROR: 39813 ring buffer overflows (7484844 bytes dropped)
Feb 7 15:05:51 localhost vdr: [1696] ERROR: 40637 ring buffer overflows (7639756 bytes dropped)
Feb 7 15:05:57 localhost vdr: [1696] ERROR: 35900 ring buffer overflows (6749200 bytes dropped)
Feb 7 15:06:00 localhost vdr: [1695] ERROR: skipped 187 bytes to sync on start of TS packet at remux.c/Analyze(1573)
Feb 7 15:06:03 localhost vdr: [1696] ERROR: 33662 ring buffer overflows (6328269 bytes dropped)
Feb 7 15:06:03 localhost vdr: [1527] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') set to no event
Feb 7 15:06:03 localhost vdr: [1695] recording thread ended (pid=1527, tid=1695)
Feb 7 15:06:04 localhost vdr: [1697] device 1 TS buffer thread ended (pid=1527, tid=1697)
Feb 7 15:06:04 localhost vdr: [1696] buffer stats: 364344 (6%) used
Feb 7 15:06:04 localhost vdr: [1696] device 1 receiver thread ended (pid=1527, tid=1696)
Feb 7 15:06:04 localhost vdr: [1527] i/o throttle released, count = 0 (tid=1527)
Feb 7 15:06:04 localhost vdr: [1527] buffer stats: 20971399 (100%) used
Feb 7 15:06:04 localhost vdr: [1527] timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') stop
Feb 7 15:06:04 localhost vdr: [1527] live timer 1 (3 1444-1541 'Fernweh - In den Alpen (3/7)') deleted
Feb 7 15:06:17 localhost vdr: [1527] deleting recording '/mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.rec'
Feb 7 15:06:17 localhost vdr: [1527] renaming '/mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.rec' to '/mnt/usb_storage/vdr-recordings/Fernweh_-_In_den_Alpen_(3~7)/2018-02-07.14.44.3-0.del'
Alles anzeigen
Ich habe alle verwendeten Plugins (streamdev-server und live) übers Git gezogen und kompiliert.
Wie kann ich das Problem mit den ring buffer overflows beheben ?
Es scheint tatsächlich nur bei Aufnahmen von HD-Sendern aufzutreten, über den streamdev (TS) läuft alles gut.