joroga22
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by joroga22
-
-
On 3/31/2022 at 3:52 PM, patrickstigler said:
Thanks @enigma27 Good question.
I try to take a look at it. But if you already have a guess what it could be le me know. I try to fix it.
Hi, I have detected that the high CPU usage starts when there's some source playing. In my case, when I have no source is 10%, when I add the source increases to 60/70 % and when I start streaming goes up to 90%. As I said, streaming whith nvidica-ffmpeg doesn't use more than 15/20%. I think it's something with the source ingest, like if it were using CPU to transcode the source to the canvas or something, and then the GPU to transcode the stream.
-
On 3/26/2022 at 6:42 PM, enigma27 said:
great container. made it really simple to stream to my private owncast website.
I have one question.. I am using Nvenc H264 encoder which seems to be working as Nvidia-SMI shows it being used by OBS... but my CPU is also being used at 50% while running
why would this be?
GPU encoder shows approx 35% usage but CPU is at 50% I thought CPU would be lower
I have noticed the same, the GPU is encoding ok, but there is something in obs that is using a lot of CPU. If I encode with ffmpeg-nvidia docker with the same settings my cpu doesn't pass 15%.
-
2 hours ago, ich777 said:
The last time I tried it it was working just fine because I made a custom ffmpeg version that supports NVENC for this container.
What card are you using? Are you transcoding any streams currently?
I will try it a little later, please see this post where I added NVNEC support for the container:
Yeah I've already seen that post searching in the thread.
I'm not encoding, so the card was free at that moment.
I have an old gt710, and driver 470.74. Maybe it doesn't support your ffmpeg build.. but i wonder why it does work with the jellyfin ffmpeg.
Thanks @ich777
-
Hi @ich777 thanks for your hard work💪
I have a problem with owncast and nvenc encoding. I know the card works because I have it working in a jellyfin container, but in the owncast container i cant make it work.
First of all here is the docker run command:
An here the error in owncast:
And transcoder.log:
ffmpeg started on 2021-11-03 at 18:47:40 Report written to "data/logs/transcoder.log" Log level: 32 Command line: /usr/bin/ffmpeg -hide_banner -loglevel warning -hwaccel cuda -fflags +genpts -i pipe:0 -map v:0 -c:v:0 h264_nvenc -b:v:0 2700k -maxrate:v:0 2862k -g:v:0 96 -keyint_min:v:0 96 -r:v:0 24 -tune:v:0 ll -map "a:0?" -c:a:0 copy -sws_flags bilinear -filter:v:0 "scale=1600:900" -preset p4 -var_stream_map "v:0,a:0 " -f hls -hls_time 4 -hls_list_size 3 -segment_format_options "mpegts_flags=+initial_discontinuity:mpegts_copyts=1" -pix_fmt yuv420p -sc_threshold 0 -master_pl_name stream.m3u8 -strftime 1 -hls_segment_filename "http://127.0.0.1:41175/%v/stream-mtmr4EK7R%s.ts" -max_muxing_queue_size 400 -method PUT -http_persistent 0 "http://127.0.0.1:41175/%v/stream.m3u8" [flv @ 0x55f4c6fc07c0] decoding for stream 0 failed Input #0, flv, from 'pipe:0': Metadata: encoder : Lavf57.56.100 Duration: N/A, start: 62188.689000, bitrate: 2864 kb/s Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 2800 kb/s, 0.0000 fps, 30 tbr, 1k tbn, 60 tbc Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc)) Stream #0:1 -> #0:1 (copy) [h264_nvenc @ 0x55f4c6fc8ec0] Lossless encoding not supported [h264_nvenc @ 0x55f4c6fc8ec0] Provided device doesn't support required NVENC features Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed!
I thought it could be because of the version of ffmpeg, or maybe bad build with some dependencies missing. The jellyfin docker im using has this version of ffmpeg:
ffmpeg version 4.3.2-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 Hyper fast Audio and Video encoder
And owncast this:
ffmpeg version n4.4 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10 (Debian 10.2.1-6) configuration: --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-shared --enable-nonfree --enable-nvenc --enable-libx264 --enable-libx265 --enable-gpl --enable-cuda --enable-cuvid libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Hyper fast Audio and Video encoder
Hope you can help me to figure it out
-
Seems that in the 6.9.0 beta35 release they have included amdgpu drivers. Check
QuoteNew in this release:
GPU Driver IntegrationUnraid OS now includes selected in-tree GPU drivers: ast (Aspeed), i915 (Intel), amdgpu and radeon (AMD). These drivers are blacklisted by default via 'conf' files in /etc/modprobe.d:
Then take a look at this thread
There is someone that asks if it supports 3200g/3400g
QuoteAsked on reddit as well
With the integration of the amdgpu drivers, does that now allow the use of amd igpu's from chips like 3200g and 3400g to be used in docker containers for transcoding, same as intel igpu's?
QuoteYes, subject, of course, to the containers' ability to make use of them. You mention transcoding, but AMD GPUs aren't currently officially supported by Plex - see the blue box on this page: https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/
Hope this helps, I can't test it for now.
-
On 9/3/2020 at 9:24 PM, 4554551n said:
Hey, so did you ever get this working?
I'm having the same sort of problemsOn 9/4/2020 at 10:24 AM, Cessquill said:Not yet, no. I keep prodding it every now and then, but I don't have enough Turn knowledge to really know what I'm doing (or if what I'm trying to do is sensible).
Hi, I got this working. This is what I've done.
1. Edit container settings and change configuration path to look like this (you point to the directory, not to the file, that was my problem)
2. With windows or whatever edit a file named turnserver.conf with this content (It is a simple config, you only have to change the secret and the domain name)
listening-port=3478 fingerprint use-auth-secret static-auth-secret=yourdesiredsecret realm=your.domain.com total-quota=100 bps-capacity=0 stale-nonce no-multicast-peers
3. With krusader copy the turnserver.conf you just created to /mnt/user/appdata/coturn/
4. Forward the ports in the router as OP says
Quote- Ports, 3478 and 5349 should be mapped for both TCP and UDP, 49152-49172 for UDP. These ports will need to be forwarded from your firewall/router to unRAID.
5. Restart the container
6. In nextcloud add the servername:port and secret and TCP only
Now click to test and must be successful.
BTW @xthursdayx thanks for you work
- 2
Random Kernel crashes after few days. nf_contrack_core and
in General Support
Posted
Hi all, I've been experiencing kernel crashes this past months, the server stays frozen and a hard reboot is needed. For the first ones it seems it's something related to nf_conntrack_core and macvlan I assume, but the last one it's BTRFS, however I don't know if it's related to the first ones.
Has anyone had a similar issue and identified the problem?
These are the kernel crash logs: