• 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 15th March 2019, 17:15   #3521  |  Link
    Registered User
     
    Join Date: May 2006
    Posts: 3,427
    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.
    Sharc is offline   Reply With Quote
    Old 15th March 2019, 23:22   #3522  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    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"
    works fine here.
    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.
    __________________
    Hybrid here in the forum, homepage

    Last edited by Selur; 15th March 2019 at 23:32.
    Selur is offline   Reply With Quote
    Old 15th March 2019, 23:54   #3523  |  Link
     
    Groucho2004's Avatar
     
    Join Date: Mar 2006
    Posts: 4,114
    Quote:
    Originally Posted by Selur View Post
    Seems like rc-lookahead only works with H.264 and not H.265
    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:
    Originally Posted by Selur View Post
    Couldn't find any documentation about the dependencies of the options
    "ffmpeg -h full"

    Also: https://trac.ffmpeg.org/wiki/Encode/H.265
    __________________
    Groucho's Avisynth Stuff

    Last edited by Groucho2004; 15th March 2019 at 23:58.
    Groucho2004 is offline   Reply With Quote
    Old 16th March 2019, 07:30   #3524  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    @Groucho2004: we are talking '-vcodec hevc_nvenc' and '-vcodec h264_nvenc' here,... not general H.264 and H.265
    __________________
    Hybrid here in the forum, homepage
    Selur is offline   Reply With Quote
    Old 16th March 2019, 08:00   #3525  |  Link
    Registered User
     
    Join Date: May 2006
    Posts: 3,427
    Quote:
    Originally Posted by Selur View Post
    Seems like rc-lookahead only works with H.264 and not H.265, …..
    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 08:04.
    Sharc is offline   Reply With Quote
    Old 16th March 2019, 08:05   #3526  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    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?
    __________________
    Hybrid here in the forum, homepage
    Selur is offline   Reply With Quote
    Old 16th March 2019, 08:17   #3527  |  Link
    Registered User
     
    Join Date: May 2006
    Posts: 3,427
    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.
    Sharc is offline   Reply With Quote
    Old 16th March 2019, 08:35   #3528  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    Don't see any harm in doing so. Will send you a link to a dev version in a few minutes for testing.

    Cu Selur
    __________________
    Hybrid here in the forum, homepage
    Selur is offline   Reply With Quote
    Old 16th March 2019, 08:39   #3529  |  Link
    Registered User
     
    Join Date: May 2006
    Posts: 3,427
    Quote:
    Originally Posted by Selur View Post
    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?
    Hmmm?I have ffmpeg 4.1.1 64 bit in the system path. Maybe this makes a difference. FFmpeg reports that -rc-lookahead does not apply (discarding it), and I am also getting a warning that -rc vbr_2pass is obsolete and should be replaced by -rc vbr_hq.

    I need to double check with the ffmpeg version which comes with Hybrid.
    Sharc is offline   Reply With Quote
    Old 16th March 2019, 08:42   #3530  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    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
    __________________
    Hybrid here in the forum, homepage
    Selur is offline   Reply With Quote
    Old 16th March 2019, 08:52   #3531  |  Link
    Registered User
     
    Join Date: May 2006
    Posts: 3,427
    Your version is newer. I stuck with the last stable release 4.1.1. from Zeranoe.
    I'll upgrade.....
    Sharc is offline   Reply With Quote
    Old 16th March 2019, 08:56   #3532  |  Link
    Registered User
     
    Selur's Avatar
     
    Join Date: Oct 2001
    Location: Germany
    Posts: 5,807
    I usually build ffmpeg&co on the day I release Hybrid, so the versions of the tools should be up-to-date usually.
    __________________
    Hybrid here in the forum, homepage
    Selur is offline   Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 23:08.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 彩经网彩票走势图大全 北京pk10一天几期 14场胜负彩18088期网易 老时时彩开奖360 六合彩全年资料 足彩半全场胜负是什么意思 全天北京赛车pk10规则 半全场胜平负怎么计算 澳门生肖时时彩 彩票3d试机号 双色球死规律 大体彩20选5走势图 贵州爱彩乐 体彩排列5走势 新疆时时彩大奖 四川时时彩官方网