|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#161
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#162
|
|||
|
|||
I am pretty sure that the transcoder automagically transcodes h.265 files to play back to SageTV extenders. I am just using the built in transcoding that runs automatically in the recent versions of SageTV for unRAID.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#163
|
||||
|
||||
Quote:
Ideas?
__________________
Win10@16GB RAM, 30TB Disk across 6 disks. 2 Prime tuner units Sage v9 (64bit) using OpenDCT to control the Primes 2 HD-300s, an Android mini-client, and a Windows client |
#164
|
|||
|
|||
So strangest thing... I obviously copied the wrong bit of log, so I went back just now to find it - it was gone. So I tried to make it happen again and it suddenly worked just fine on the same recording with the same settings... I guess it's ok now lol thanks!
|
#165
|
||||
|
||||
Quote:
EDIT: I went out to my garage and tested on a HD300 I have out there, and it worked flawlessly. It looks like it encodes to 720x480 in dvd format. Not sure if that can be increased or not. What OS are you running SageTV on? What version of this plugin are you using? Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. Last edited by jvl711; 06-23-2022 at 02:11 PM. |
#166
|
||||
|
||||
Quote:
__________________
Win10@16GB RAM, 30TB Disk across 6 disks. 2 Prime tuner units Sage v9 (64bit) using OpenDCT to control the Primes 2 HD-300s, an Android mini-client, and a Windows client |
#167
|
|||
|
|||
can you say Gremlins.???
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#168
|
|||
|
|||
Hi Josh,
Thanks for adding my Jan 2022 wish list item, Cuda (NVENC) support for Nvidia hardware, to the transcoder. Now that I have 1.1.0 installed how do I go about testing with it? Is there a command line we need to add to the transcoding profiles to enable it?
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
#169
|
||||
|
||||
Quote:
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#170
|
|||
|
|||
Sounds good, thanks.
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
#171
|
||||||
|
||||||
Initial NVENC testing...
I am testing with this file which had not yet been converted to MKV yet. I am using an NVidia GeForce RTX 2070 Super (8GB) desktop GPU. FBI International - S01E17 - Uprooting - 1368600-0.ts Renamed it Original.ts to make the command line easier. Only using the first 10 minutes to test with. From the link you provide I put together a working command line and have started tweaking wanting to try the different presets https://trac.ffmpeg.org/wiki/Encode/H.264 What I have found (only 3 work): Quote:
Quote:
Quote:
Quote:
https://gist.github.com/nico-lab/c2d...c1eafeb52a21c3 Found that page and it actually shows the integer values for the different presets. So I tried 12 for P1, but it gives an out of range error. Quote:
Notice the following in your log file for every encode. The Peek and LastError lines continue until the encode is done. Quote:
https://docs.nvidia.com/video-techno...configurations https://docs.nvidia.com/video-techno...th-nvidia-gpu/ I had sent all of this to Josh and he mentioned he was going to see if he can include the newer version on the SDK in the build process.
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners Last edited by CptKirk; 07-24-2022 at 12:26 PM. |
#172
|
||||
|
||||
Quote:
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#173
|
||||
|
||||
Quote:
Here is a command to get all of the presets sagetvtranscoder.exe -h encoder=h264_nvenc. You will see there is a pretty long list
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#174
|
|||
|
|||
Yes, but those are the SDK 9.1 presets I believe, 0 to 11.
Code:
h264_nvenc AVOptions: -preset <int> E..V...... Set the encoding preset (from 0 to 11) (default medium) default 0 E..V...... slow 1 E..V...... hq 2 passes medium 2 E..V...... hq 1 pass fast 3 E..V...... hp 1 pass hp 4 E..V...... hq 5 E..V...... bd 6 E..V...... ll 7 E..V...... low latency llhq 8 E..V...... low latency hq llhp 9 E..V...... low latency hp lossless 10 E..V...... losslesshp 11 E..V...... The new presets with SDK 10 are 0-18, with 12-18 being the new ones. SDK 10 also added the -tune setting. Code:
hevc_nvenc AVOptions: -preset <int> E..V....... Set the encoding preset (from 0 to 18) (default p4) default 0 E..V....... slow 1 E..V....... hq 2 passes medium 2 E..V....... hq 1 pass fast 3 E..V....... hp 1 pass hp 4 E..V....... hq 5 E..V....... bd 6 E..V....... ll 7 E..V....... low latency llhq 8 E..V....... low latency hq llhp 9 E..V....... low latency hp lossless 10 E..V....... lossless losslesshp 11 E..V....... lossless hp p1 12 E..V....... fastest (lowest quality) p2 13 E..V....... faster (lower quality) p3 14 E..V....... fast (low quality) p4 15 E..V....... medium (default) p5 16 E..V....... slow (good quality) p6 17 E..V....... slower (better quality) p7 18 E..V....... slowest (best quality) -tune <int> E..V....... Set the encoding tuning info (from 1 to 4) (default hq) hq 1 E..V....... High quality ll 2 E..V....... Low latency ull 3 E..V....... Ultra low latency lossless 4 E..V....... Lossless I check both h264 and hevc, both show 0 to 11: C:\SageTV64\SageTV\SageTVTranscoder.exe -h encoder=h264_nvenc C:\SageTV64\SageTV\SageTVTranscoder.exe -h encoder=hevc_nvenc I saw a note in another post online: FFmpeg published the new codec headers 10.0.26.0: https://github.com/FFmpeg/nv-codec-h...tag/n10.0.26.0 With the latest 10.x being 10.0.26.2: https://github.com/FFmpeg/nv-codec-h...tag/n10.0.26.2 I also found that the original presets I tested were for the x264 encoder (GPL) run on the CPU, so that was why a most of them didn't work. The three that did work was just because they had the same name for h264_nvenc as for the x264 encoder (GPL). I will go back and retest for all of the h264_nvenc 0-11 presets that we have available.
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
#175
|
||||
|
||||
Quote:
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#176
|
||||
|
||||
Beta posted to Patreon subscribers
New beta has been posted to my Patreon subscribers. I have upgraded the base FFmpeg code in the project from 4.3.1 -> 4.4.3. This is a fairly big change, so I am going to let them review it for a while before I open up the beta to everyone. Just want to let you guys know that there is work going on.
Thanks, Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#177
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#178
|
|||
|
|||
That is one use case but most importantly it can be potentially used in conjunction with Android client app to transcode on the fly using highly compressed and high quality mp4 format. MP4 decoding is supported on almost all streaming devices.
|
#179
|
||||
|
||||
Transcoder progress bugix
I made a fix to the SageTV core for how the transcode progress is calculated. SageTV was using the time from the status output of ffmpeg process output. It seems sometimes the ffmpeg time output does not increment. When this happens I changed the code so that it would use the current frame / fps. This seems to be working well. Where I was seeing this bug was when the transcoder was remuxing. It looks like this bug existed in the original SageTVTranscoder as well as my updated one.
I posted this to my Patreons first. If I do not hear any negative impact I will post the Sage.jar here and sumbit the fix to the main repository as a pull request. Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#180
|
|||
|
|||
Sweet!
Just took a quick look at your 1.2.2 (built from ffmpeg 4.4.2) you posted two weeks ago on your github. SageTVTranscoder.exe -h encoder=h264_nvenc is showing all of the new presets and tunings: Code:
C:\Windows\system32>J:\SageTVTranscoder.exe -h encoder=h264_nvenc ffmpeg version SageTVTranscoder_v1.2.2_from_FFmpeg_v4.4.2 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8.3-win32 (GCC) 20190406 configuration: --arch=x86 --target-os=mingw64 --cross-prefix=x86_64-w64-mingw32- --enable-libx264 --enable-libx265 --enable-dxva2 --enable-nvenc --enable-cuvid --enable-cuda --disable-ffplay --disable-ffprobe --enable-gpl --enable-static --pkg-config='pkg-config --static' --disable-shared --disable-devices --disable-bzlib --disable-demuxer=msnwc_tcp --extra-cflags='-static -I./pkgconfig/include -lstdc++ -lpthread' --extra-ldflags='-static -L./pkgconfig/lib -static-libgcc -static-libstdc++' 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 Encoder h264_nvenc [NVIDIA NVENC H.264 encoder]: General capabilities: dr1 delay hardware Threading capabilities: none Supported hardware devices: cuda cuda d3d11va d3d11va Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11 h264_nvenc AVOptions: -preset <int> E..V....... Set the encoding preset (from 0 to 18) (default p4) default 0 E..V....... slow 1 E..V....... hq 2 passes medium 2 E..V....... hq 1 pass fast 3 E..V....... hp 1 pass hp 4 E..V....... hq 5 E..V....... bd 6 E..V....... ll 7 E..V....... low latency llhq 8 E..V....... low latency hq llhp 9 E..V....... low latency hp lossless 10 E..V....... losslesshp 11 E..V....... p1 12 E..V....... fastest (lowest quality) p2 13 E..V....... faster (lower quality) p3 14 E..V....... fast (low quality) p4 15 E..V....... medium (default) p5 16 E..V....... slow (good quality) p6 17 E..V....... slower (better quality) p7 18 E..V....... slowest (best quality) -tune <int> E..V....... Set the encoding tuning info (from 1 to 4) (default hq) hq 1 E..V....... High quality ll 2 E..V....... Low latency ull 3 E..V....... Ultra low latency lossless 4 E..V....... Lossless
__________________
SageTV running on: Win10 21H2 SageTV 9.2.6.976 (64 bit) Java 1.8.0 311 (64 bit) OpenDCT 0.5.32 (64 bit) Clients: HD300 (x2) HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners HDFX-4K Flex 20220822 (OTA) - 4 Tuners |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTVTranscoder.exe from 6.5.14 | Stuntman | SageTV Beta Test Software | 2 | 05-13-2009 08:17 AM |
What does SageTVtranscoder.exe do? | autoboy | SageTV Software | 5 | 04-23-2008 01:55 PM |
sagetvtranscoder.exe always at 50% | showson1 | SageTV Software | 3 | 03-30-2008 01:46 AM |
SageTVTranscoder.exe | jgsouthard | SageTV Beta Test Software | 40 | 11-03-2007 01:13 PM |
SageTvTranscoder.exe ?? | mike_15 | SageTV Software | 4 | 10-21-2007 09:42 PM |