Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th March 2019, 18:15 | #3521 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
NVEnc(ffmpeg)
I made a few tests with the experimental NVEnc(ffmpeg). It seems to work here with -rc-lookahead=0 (or omitted). It fails for non-zero values. So this setting may perhaps be greyed out unless it's just an issue of the current ffmpeg or a problem with my system. According to the ffmpeg doc this parameter is valid, so I don't know. The default value is 0 anyway, so as long as I don't change it it's no problem.
|
16th March 2019, 00:22 | #3522 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Seems like rc-lookahead only works with H.264 and not H.265, since
Code:
ffmpeg -y -threads 8 -i "F:\TestClips&Co\files\Test-AC3-5.1.avi" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -vcodec h264_nvenc -preset 5 -profile:v 2 -level 0 -rc vbr_2pass -2pass 1 -qmin 0 -qmax 51 -b:v 1500k -spatial-aq 0 -temporal-aq 0 -rc-lookahead 32 -surfaces 32 -no-scenecut 0 -refs 3 -nonref_p 1 -strict_gop 1 -bsf:v h264_mp4toannexb "E:\Temp\Test-AC3-5.1_00_21_02_2110_02.264" This is exactly why I keep the 'experimental': Couldn't find any documentation about the dependencies of the options and I'm too lazy to test everything. -> I'll make sure rc-lookahead is only 'usable' (and added to the command line) when H.264 is used in the next release. Cu Selur Ps.: let me know if you stumble over other restrictions. Last edited by Selur; 16th March 2019 at 00:32. |
16th March 2019, 00:54 | #3523 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I'm not sure if it works but have you tried -x265-params (in bold below)?
Code:
libx265 AVOptions: -crf <float> E..V..... set the x265 crf (from -1 to FLT_MAX) (default -1) -forced-idr <boolean> E..V..... if forcing keyframes, force them as IDR frames (default false) -preset <string> E..V..... set the x265 preset -tune <string> E..V..... set the x265 tune parameter -profile <string> E..V..... set the x265 profile -x265-params <string> E..V..... set the x265 configuration using a :-separated list of key=value parameters Quote:
Also: https://trac.ffmpeg.org/wiki/Encode/H.265
__________________
Groucho's Avisynth Stuff Last edited by Groucho2004; 16th March 2019 at 00:58. |
|
16th March 2019, 09:00 | #3525 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
It doesn't work here with H.264 either. I tried your script and it failed. Only difference is that my input is a .m2ts file
P.S. You have added -bsf:v h264_mp4toannexb to your script. I think this should be added per default when selecting .m2ts as output. Currently it is missing. Last edited by Sharc; 16th March 2019 at 09:04. |
16th March 2019, 09:05 | #3526 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
The call works fine here. :/
You did adjust all the paths (input, output, ffmpeg) and you are using the ffmpeg version which came with Hybrid, correct? What does ffmpeg report when you call your modified call? |
16th March 2019, 09:17 | #3527 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
Another observation with .m2ts as target:
The files play fine on all players which I have tried. The exception are VEGAS products. Neither VEGAS Movie Studio nor VEGAS DVD architect handle these files properly (freezing or similar). I found a workaround by remuxing the .m2ts file again with tsmuxer, this time with insertSEI, contSPS, in the .meta. Now I wonder whether insertSEI, contSPS, should be added per default - unless it has other unwanted implications which I don't know. |
16th March 2019, 09:39 | #3529 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
I need to double check with the ffmpeg version which comes with Hybrid. |
|
16th March 2019, 09:42 | #3530 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
The deprecated warning is no problem.
Last ffmpeg I shipped with Hybrid on Windows was: Code:
ffmpeg version N-93331-gc2a221c5ae Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.3.0 (Rev2, Built by MSYS2 project) configuration: --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-libopenmpt --enable-version3 --enable-libkvazaar --enable-libxavs --enable-libxavs2 --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --extra-cflags=-DKVZ_STATIC_LIB libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100 |
5th May 2019, 06:31 | #3533 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hybrid rev 2019.05.05.1:
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur |
9th June 2019, 11:14 | #3536 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hybrid rev 2019.06.09.2:
*fixed*
Hybrid rev 2019.06.09.1: *fixed*
-> downloads: http://www.selur.de/downloads Cu Selur Last edited by Selur; 9th June 2019 at 15:54. |
27th July 2019, 14:49 | #3537 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Selur,
Your screenshot link in 1st post is 404. [JFYI]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
25th August 2019, 11:45 | #3538 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hybrid rev 2019.08.25.1:
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur Ps.: working on providing a Vapoursynth package or build script for Debian based Linux systesm, but stuck atm. :/ |
26th August 2019, 19:53 | #3539 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hybrid rev 2019.08.26.1: (Windows only release)
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur |
29th September 2019, 13:28 | #3540 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hybrid rev 2019.09.29.1:
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur |
Thread Tools | Search this Thread |
Display Modes | |
|
|