Ich hab keinen Fernseher, nur nen Bildschirm, wir. Aber das mit dem Receiver ist ne gute Idee. Ich borg mir einen aus.
Beiträge von looking111
-
-
SIXX war nun ein Beispiel, ja es betrifft über die Hälfte der Sender. Und... ähm ja, es ist ne Gemeinschaftsanlage. Und bei den anderern gehts. Wobei blöd. Die wissen nicht mal ob sie HD haben oder nicht. Ich vermute mal ein Techniker kann das messen?
-
Hallo Leute,
nerviges Thema was seit Monaten existiert, manchmal mehr manchmal weniger. Nun da Lockdown, schaut man doch mal ein wenig mehr. Hier mal kurz zur Hardware:
- Proxmox Server i3 mit 16GB Ram, Enterprise SSD's SM863 auf ZFS
- Multimedia controller: Digital Devices GmbH Octopus DVB Adapter, Digital Devices Cine S2 V6.5
- VDR ist ein Gentoo up2date auf einem LXC, natürlich privilegiert
- Beide Anschlüsse der Karte sind aktiviert und funktionieren
Was passiert nun so: immer wieder sporadisch Bildstörungen, bei HD Kanälen, auch nicht bei allen. SIXX z.B. dreht bei der Aufnahme von Charmed am Nachmittag meist völlig am Rad, macht Aufnahmehäpchen von 400MB bis ein paar GB. Manchmal ist es auch nur ein File, das ist aber eher selten. Und auch beim Live sehen, hat man immer wieder Artefakte im Bild. Aber eben auch nicht bei allen Sendern.
Die Werte von Femon sind grausig:
Ist ja auch voll witzig, denn ab und zu ist bei UNC sogar ein Minus davor. z.b.
Ich habe bereits alle Kabel runter geschraubt, und angesehen ob mir was auffällt. Sieht alles ok aus. Temperatur vom VDR ist auch ok.Nun mal ne Frage:"Es gibt nen Testsender von RTL UHD" Das Teil läuft einwandfrei. Auch die Aufnahmen. Wie gibt es denn das? Alles sehr strange.
Der VDR ist auf Version 2.4.1-r3.
Viele Dank mal für eure Tipps.
-
Hallo Leute,
musst mein Gentoo nun doch wieder mal Updaten inkl. neuer Systemprofilversion. Angepasstes Ebuild ist im Anhang.
glg epgd.zip
-
Gut, das ist jetzt peinlich... das habe ich voll übersehen. Vielen Dank!
-
Hallo Leute,
ich suche eine Möglichkeit, sofern das überhaupt geht, die Auth im VDR Live Plugin komplett ab zu schalten. Hintergrund ist, das ich nen Apache mit Active Directory und Kerberos Anmeldung installieren möchte. LDAP geht ja schon mal. Kann man die Auth komplett abschalten? Benutze die zum heutigen Datum aktuelle GIT in Gentoo.
Danke und glg
-
-
-
-
-
-
-
FFMPEG kannst du auch per apt installieren. Die Frage ist nur was für eine Version ist bei dir enthalten? http://ubuntuhandbook.org/inde…-ffmpeg-4-2-ubuntu-18-04/
-
Seit ich jeden Stream mit ffmpeg konvertieren lasse, funktioniert es in jedem Browser immer.
-
Hast du nun das aktuelle kompiliert oder das von dem Repo mit apt installiert? Das wegen dem Zertifikat ist egal. Du nutzt es ja nicht. Sieht jetzt irgendwie so aus wie wenn das LivePlugin den VDR nicht sieht. Ich weis jetzt garnicht wie VDR-Live auf den VDR zugreift, macht es das direkt über SVDRP?
-
looking111 läuft der server headless ohne angeschlossen Bildschirm? Die GPU wird evtl. nur mit angeschlossenem Bildschirm aktiviert.
Ich hab mir dafür so einen Headless HDMI Adapter besorgt der einen Bildschirm emuliert.
Danke für deine Idee. Hab nen Bildschirm angehängt. Das ändert das Verhalten leider noch nicht. Viel. passt sonst was nicht. Naja. Wenns nicht über die GPU geht ist es zwar schade. Aber ich kann damit leben.
-
Wenn ich das richtig sehe, wird die GPU nicht genutzt. Du hast -c:v h264. Das nimmt den Encoder libx264 der auf der normalen CPU läuft. Für vaapi sollte das -c:v h264_vaapi sein. Kenne mich mit vaapi nicht so gut aus.
Welchen Speed erreicht ffmpeg? Da sehe ich dass es weniger als 1 ist, also nicht live...
frame= 315 fps=8.6 q=-1.0 Lsize= 8478kB time=00:00:13.56 bitrate=5121.9kbits/s speed=0.371x
Du kannst zum üben auch einfach eine Aufnahme nehmen. Dann als -i Argmuent einfach ein 00001.ts File wählen. Mit einer Aufnahme sollte dann der speed wesentlich grösser als 1 sein. Ich erreiche mit meiner NVIDIA GPU mit Framrate 25 einen speed von 17x.
Ok, so richtig scheint das hier wohl nicht zu greifen mit der GPU:
Hier meine Testcodezeile:
Codeffmpeg -y -f mpegts -analyzeduration 1.2M -probesize 5M -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -c:v h264 -i http://localhost:3000/6 -map 0:v -map 0:a:0? -c:v h264_vaapi -preset slow -qmin 12 -qmax 24 -maxrate 8M -g 25 -r 25 -c:a aac -ac 2 -f mpegts /dev/null
Code
Alles anzeigenInput #0, mpegts, from 'http://localhost:3000/6': Duration: N/A, start: 92663.564211, bitrate: N/A Program 126 Stream #0:0[0x1ff]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x203](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s (clean effects) Stream #0:2[0x204](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s (clean effects) Codec AVOption preset (Configuration preset) specified for output file #0 (/dev/null) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help [h264 @ 0x55f087f0b550] co located POCs unavailable [h264 @ 0x55f087f06600] co located POCs unavailable Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 [aac @ 0x55f087fd6960] Qavg: 201.615 [aac @ 0x55f087fd6960] 2 frames left in the queue on closing
Hab auf ner anderen Maschine mein Emby so am laufen, auch auf LXC, dort tut es.
-
Hallo Xcoder! Das hat mir schon sehr geholfen. Default ist im Webinterface das:
Codeffmpeg -loglevel warning -f mpegts -analyzeduration 1.2M -probesize 5M -i <input> -map 0:v -map 0:a:0 -c:v copy -c:a aac -ac 2 ffmpeg -loglevel warning -f mpegts -analyzeduration 1.2M -probesize 5M -i <input> -map 0:v -map 0:a:0 -c:v libx264 -preset ultrafast -crf 23 -tune zerolatency -g 25 -r 25 -c:a aac -ac 2 ffmpeg -loglevel warning -f mpegts -analyzeduration 1.2M -probesize 5M -i <input> -map 0:v -map 0:a:0 -c:v libx264 -preset ultrafast -crf 23 -tune zerolatency -g 25 -r 25 -c:a aac -ac 2 ffmpeg -loglevel warning -f mpegts -analyzeduration 1.2M -probesize 5M -i <input> -map 0:v -map 0:a:0 -c:v libx264 -preset ultrafast -crf 23 -tune zerolatency -g 25 -r 25 -c:a aac -ac 2
Dann hab ich gleich bemerkt das man die Einstellungen je nach verwendetem OS und Hardware erst mal für sich anpassen muss. z.b. heist der Decoder auf Gentoo h264. Da bin ich noch am reinbasteln. Na jedenfalls hab ich gleich mal den Intelchip in den Container durchgereicht und mit folgendem Befehl arbeiten alle Cores auf Hochtouren:
Codeffmpeg -y -f mpegts -analyzeduration 1.2M -probesize 5M -hwaccel vaapi -c:v h264 -i http://localhost:3000/6 -map 0:v -map 0:a:0? -c:v h264 -preset slow -qmin 12 -qmax 24 -maxrate 8M -g 25 -r 25 -c:a aac -ac 2 -f mpegts /dev/null
Der Output ist dann ein wenig länger:
Code
Alles anzeigenffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.0 (Gentoo 9.2.0-r2 p3) [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] SPS unavailable in decode_picture_timing [h264 @ 0x55c98f1ba110] non-existing PPS 0 referenced [h264 @ 0x55c98f1ba110] decode_slice_header error [h264 @ 0x55c98f1ba110] no frame! Input #0, mpegts, from 'http://localhost:3000/6': Duration: N/A, start: 22793.708211, bitrate: N/A Program 126 Stream #0:0[0x1ff]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x203](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s (clean effects) Stream #0:2[0x204](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s (clean effects) Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help [h264 @ 0x55c98f532360] co located POCs unavailable [h264 @ 0x55c98f29b630] co located POCs unavailable [libx264 @ 0x55c98f2a3670] VBV maxrate specified, but no bufsize, ignored [libx264 @ 0x55c98f2a3670] using SAR=1/1 [libx264 @ 0x55c98f2a3670] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55c98f2a3670] profile High, level 5.0, 4:2:0, 8-bit Output #0, mpegts, to '/dev/null': Metadata: encoder : Lavf58.29.100 Stream #0:0: Video: h264 (libx264), nv12, 1920x1080 [SAR 1:1 DAR 16:9], q=12-24, 25 fps, 90k tbn, 25 tbc Metadata: encoder : Lavc58.54.100 libx264 Side data: cpb: bitrate max/min/avg: 8000000/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1(deu): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s (clean effects) Metadata: encoder : Lavc58.54.100 aac frame= 315 fps=8.6 q=-1.0 Lsize= 8478kB time=00:00:13.56 bitrate=5121.9kbits/s speed=0.371x video:7615kB audio:200kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.490436% [libx264 @ 0x55c98f2a3670] frame I:15 Avg QP:14.57 size:122455 [libx264 @ 0x55c98f2a3670] frame P:79 Avg QP:17.55 size: 44429 [libx264 @ 0x55c98f2a3670] frame B:221 Avg QP:18.92 size: 11090 [libx264 @ 0x55c98f2a3670] consecutive B-frames: 5.1% 3.2% 2.9% 88.9% [libx264 @ 0x55c98f2a3670] mb I I16..4: 23.0% 64.2% 12.8% [libx264 @ 0x55c98f2a3670] mb P I16..4: 4.6% 3.1% 0.3% P16..4: 56.7% 19.4% 8.4% 0.0% 0.0% skip: 7.6% [libx264 @ 0x55c98f2a3670] mb B I16..4: 0.3% 0.1% 0.0% B16..8: 46.5% 2.1% 0.2% direct: 5.7% skip:45.1% L0:45.6% L1:49.6% BI: 4.8% [libx264 @ 0x55c98f2a3670] 8x8 transform intra:55.5% inter:59.5% [libx264 @ 0x55c98f2a3670] direct mvs spatial:98.2% temporal:1.8% [libx264 @ 0x55c98f2a3670] coded y,uvDC,uvAC intra: 65.4% 90.9% 65.6% inter: 9.7% 36.8% 7.7% [libx264 @ 0x55c98f2a3670] i16 v,h,dc,p: 10% 51% 10% 29% [libx264 @ 0x55c98f2a3670] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 15% 7% 9% 9% 9% 10% 12% [libx264 @ 0x55c98f2a3670] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 8% 7% 12% 10% 9% 8% 10% [libx264 @ 0x55c98f2a3670] i8c dc,h,v,p: 34% 38% 18% 9% [libx264 @ 0x55c98f2a3670] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x55c98f2a3670] ref P L0: 61.1% 4.2% 21.6% 7.4% 5.7% [libx264 @ 0x55c98f2a3670] ref B L0: 77.4% 18.2% 3.6% 0.8% [libx264 @ 0x55c98f2a3670] ref B L1: 95.5% 4.5% [libx264 @ 0x55c98f2a3670] kb/s:4950.90 [aac @ 0x55c98f2a4d90] Qavg: 184.158 Exiting normally, received signal 2. ffmpeg -y -f mpegts -analyzeduration 1.2M -probesize 5M -hwaccel vaapi -c:v 102.62s user 1.28s system 273% cpu 38.036 total
Nachdem alle HDstream mit h264 reinkommen, sollte ffmpeg ja eh nichts tun, und alles 1:1 durch lassen. Somit müsste das mit der ersten Zeile ja tun. Optmieren werd ich Zeilen gleich mal. Ist sicherlich ne gute Idee. Bin schon auf das Feedback gespannt. Sehr interessantes Thema.
-
So, hab das Level auf 3 erhöht, danke.
CodeERROR: read from client (HTTP) 127.0.0.1:55532 failed: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt [20412] streamdev-server: closing HTTP connection to 127.0.0.1:55562
Und am Webinterface kommt das da: (siehe Anhang). Da kann sehr oft reload drücken, mal nen anderen Sender probieren... irgendwann tut es dann wieder. Mit Firefox geht das zur gleichen Zeit vom gleichen Rechner aus normal. Die Meldung kommt aber auch ab und zu Firefox, gefühlt aber 20 mal weniger. Ist vermutlich reiner Zufall. Somit passt wohl was bei mir im Backend noch nicht ganz. Wie seht ihr das?
-
Die Zeile kann nur bei h264 funktionieren.
Was für einen Browser nutzt Du?
Google Chrome auf KDE Neon (Ubuntu). Ah ok, dann kann man sich mit den Werten spielen... naja... ist aber glaub ich ein anderes Thema, weil es ja funktioniert, manchmal, manchmal nicht. Deswegen wäre das Log interessant. Zur Gegenprüfung hab ich mal Easystream installiert. Funktionieren tun die Sender sonst ganz normal.
Nachtrag: Hab mir nun Firefox installiert, mit dem geht's immer. Komisch.