• 阜阳网络达人“点赞”颍泉绿化提升专项工作 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 > Capturing and Editing Video > New and alternative a/v containers

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 15th March 2019, 00:13   #23401  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    I said 4 posts. Here, have a link to help you out //www.zs-x.com/showthread.p...40#post1868640
    And here, have another link: https://files.1f0.de/lavf/nightly/
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders

    Last edited by nevcairiel; 15th March 2019 at 00:17.
    nevcairiel is online now   Reply With Quote
    Old 15th March 2019, 06:53   #23402  |  Link
    Registered User
     
    Join Date: Dec 2002
    Posts: 5,290
    dav1d developers are aware that it uses more memory than necessary.
    So 1 more link:
    https://code.videolan.org/videolan/dav1d/issues/257
    sneaker_ger is offline   Reply With Quote
    Old 15th March 2019, 09:06   #23403  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    Quote:
    Originally Posted by Pat357 View Post
    with a 32bit player ?
    You should switch to 64-bit, there is no getting around that 32-bit is going to severely limit you eventually, both in performance and available memory.
    There is nothing I can do to fix that. As sneaker_ger said, dav1d uses a bit too much memory on 8-bit and/or 4:2:0/4:2:2 samples, but even if that is fixed, it only slightly moves the resource limit, nevermind the significantly slower decoding on 32-bit (since the majority of the AVX2 code is 64-bit only).

    When I try decoding such a 4K AV1 stream on my 7900X on 32-bit, all I get is a black screen because it runs out of memory instantly without lowering the thread count. Its not supposed to crash, but I guess there are still some unchecked allocations left somewhere.

    Some numbers to further demonstrate how futile 32-bit is. I set LAV to 10 threads on my 10-core CPU, since that seems to allow it to safely run on 32-bit, and benchmarked the full 4K clip you posted

    Code:
    32-bit 10 threads: 63 FPS
    64-bit 10 threads: 130 FPS
    64-bit auto threads: 145 FPS
    So by moving from 32-bit to 64-bit, you can more then double the FPS these files decode at, and thats not going to change much. Even once the memory usage is reduced and you can run more threads on 32-bit, all the fast AVX2 code is going to remain 64-bit only, which will make 64-bit dav1d almost twice as fast on 64-bit if AVX2 is supported.

    In any case, whatever reason someone has to stick to 32-bit, it should really be re-evaluated.
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders

    Last edited by nevcairiel; 15th March 2019 at 09:23.
    nevcairiel is online now   Reply With Quote
    Old 15th March 2019, 09:24   #23404  |  Link
    Registered User
     
    Join Date: Nov 2013
    Location: Hannover, Germany
    Posts: 122
    Quote:
    Originally Posted by Grimsdyke View Post
    @ nev. Would it maybe an idea to add (basic) profile ability ??
    I am asking because on my system I can use DXVA2-copyback on everything up to 1080p but unfortunately I do need D3D11-native for UHD !!
    Sorry for 'bumping' this thread but after three months I thought I could ask again because yesterday evening I compared render times watching the Italian "SUSPIRIA"-BD.
    D3d11 native: ~ 28.8 msec
    DXVA2 copyback: ~ 23.8 msec
    I think that is a huge difference and I really could use these 5 msec to further increase performance in MadVR !! I am of course aware that I could always change this every time
    depending on the content but I think software should do these tasks for users.
    I understand that a profile system might be way too much work but it would be great to have a basic setting so that LAV chooses automatically the decoder !!
    Something like:
    SD = DXVA2 copyback
    HD = DXVA2 copyback
    4K = D3D11 native

    You could make also it optional so that users with enough GPU horsepower don't even have to bother. Best wishes
    Grimsdyke is offline   Reply With Quote
    Old 15th March 2019, 09:29   #23405  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    I'm sorry, but I don't plan such functionality. D3D11 native should always be the most efficient, note that render times are not really a good measurement, since they depend on the power state of the GPU, which can vary a lot (and if you use a more efficient decoder, maybe it drops down a state)
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders

    Last edited by nevcairiel; 15th March 2019 at 10:40.
    nevcairiel is online now   Reply With Quote
    Old 15th March 2019, 17:56   #23406  |  Link
    Registered User
     
    Join Date: Aug 2015
    Posts: 100
    Quote:
    Originally Posted by Pat357 View Post
    Dam, you're really fast !
    As soon as I patched the header from dav1d.exe to -Wl,large_addres_aware, I was able to up the freamethreads to 16. (it used 1900 MB then)
    My feeling tells me this is the same problem.
    IIRC the support of more than 2GB of RAM is a property of a program, not DLL files that are loaded by the program. And MPC-BE does have LargeAddressAware flag (although I wonder why LAV files don't have it).
    lvqcl is offline   Reply With Quote
    Old 15th March 2019, 18:19   #23407  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    LargeAddressAware has absolutely no impact on DLLs, its always controlled by the calling application.
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders
    nevcairiel is online now   Reply With Quote
    Old 15th March 2019, 19:21   #23408  |  Link
    Registered User
     
    Join Date: Dec 2002
    Posts: 5,290
    Quote:
    Originally Posted by nevcairiel View Post
    Some numbers to further demonstrate how futile 32-bit is. I set LAV to 10 threads on my 10-core CPU, since that seems to allow it to safely run on 32-bit, and benchmarked the full 4K clip you posted

    Code:
    32-bit 10 threads: 63 FPS
    64-bit 10 threads: 130 FPS
    64-bit auto threads: 145 FPS
    So by moving from 32-bit to 64-bit, you can more then double the FPS these files decode at, and thats not going to change much. Even once the memory usage is reduced and you can run more threads on 32-bit, all the fast AVX2 code is going to remain 64-bit only, which will make 64-bit dav1d almost twice as fast on 64-bit if AVX2 is supported.
    For the record: SSSE3 difference seems to be only about 15%.
    sneaker_ger is offline   Reply With Quote
    Old 16th March 2019, 09:47   #23409  |  Link
    DMU
    Registered User
     
    Join Date: Dec 2018
    Posts: 24
    VP9 and AMD GPU

    I can not activate h/w decoding vp9 on AMD Vega GPU in LAV.
    Screen 1
    In MS Edge all ok.
    Screen 2
    DMU is offline   Reply With Quote
    Old 16th March 2019, 10:10   #23410  |  Link
    Registered User
     
    Join Date: Aug 2010
    Location: Athens, Greece
    Posts: 2,506
    Quote:
    Originally Posted by DMU View Post
    I can not activate h/w decoding vp9 on AMD Vega GPU in LAV.

    Screen 1

    In MS Edge all ok.

    Screen 2
    Edge uses a different mode for HW acceleration than LAV and any other decoder out there.

    It's extremely optimized for DXVA using MFT.

    For LAV use DXVA2 native NOT dxva copy-back to see the difference.

    Still, Edge is even more optimized.
    __________________
    Win 10 x64 (17763.379) - Core i3-4170/ iGPU HD 4400 (v.5058)
    HEVC decoding benchmarks
    H.264 DXVA Benchmarks for all
    NikosD is offline   Reply With Quote
    Old 16th March 2019, 10:43   #23411  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    As far as I can tell, Vega doesn't support VP9 through DXVA2. I don't own such hardware, so I cannot test, but there is no hardware specific logic in LAV, so if it doesn't work, then the driver doesn't actually expose that mode.
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders
    nevcairiel is online now   Reply With Quote
    Old 16th March 2019, 12:18   #23412  |  Link
    Registered User
     
    el Filou's Avatar
     
    Join Date: Oct 2016
    Posts: 404
    Amazing speedup from dav1d in new nightly, on a 6,5 Mbps file I went from 22 to 39 avg fps on my old Core 2 Duo. Still not enough to watch a movie unfortunately, as some scenes where the bitrate goes very high still bring frame drops.
    64-bit only brought a 2 fps improvement, I guess because a CPU that old doesn't have the optimized instruction sets that are used.
    __________________
    HTPC: W10 1809, E7400, 1050 Ti, DVB-C, Denon 2310, Panasonic GT60 | Desktop: W10 1809, 4690K, HD 7870, Dell U2713HM | MediaPortal 1/MPC-HC, LAV Filters, ReClock, madVR
    el Filou is offline   Reply With Quote
    Old 16th March 2019, 14:44   #23413  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    LAV Filters 0.74
    Code:
    LAV Splitter
    - Changed: Using GnuTLS for HTTPS and other TLS protocols, improving performance and compatibility with a lot of web streaming services (ie. YouTube Live Streams through youtube-dl, and more)
    - Fixed: Keyframes in MP4 files were being reported with a slightly offset timestamp, resulting in slow keyframe seeking
    - Fixed: Subtitles that stretch over chapter boundaries could be lost in Ordered Chapter MKV files
    - Fixed: Fonts embedded in MKVs without a proper mimetype were not being imported (now it checks the file extensions for .ttf/.otf as well)
    
    LAV Video
    - NEW: Initial support for parsing HDR10+ (SMPTE ST 2094-40) metadata, and passing it to the video renderer
    - NEW: Using the dav1d AV1 decoder for significantly improved AV1 decoding performance
    - Changed: Re-enabled experimental hardware acceleration for H.264 MVC 3D decoding on Intel GPUs, disabled by default
    - Changed: Updated Intel MediaSDK dispatchers to the latest Media SDK, fixing compatibility with newer runtimes in the Intel DCH drivers
    - Changed: Improved support for additional UtVideo subtypes
    
    LAV Audio
    - Changed: Added an option to disable the PCM fallback when bitstreaming is requested
    - Fixed: Further improvements to TrueHD Bitstreaming, resolving glitching on more new titles (particularly seamless branching titles)
    - Fixed: Automatic fallback from bitstreaming to PCM could crash in some situations
    Download: Installer (both x86/x64) -- Zips: 32-bit & 64-bit

    Not much to say that isn't already apparent from the Change Log above. A lot of collected bugfixes, further improvements to TrueHD bitstreaming, which should to the best of my knowledge finally bring it to a fully spec compliant level, dav1d for fast AV1 decoding, and much more.

    A quick note on HDR10+ support - without renderer support, this does nothing. Its just additional metadata, and does not impact the decoding of the video. It should feel much like an ordinary HDR10 movie if the metadata is being ignored, and what exactly a renderer does with that metadata is out of my hands.

    As always, please report issues, specifically regressions, in as much detail as possible with a sample file if applicable.

    Have fun!
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders

    Last edited by nevcairiel; 16th March 2019 at 15:05.
    nevcairiel is online now   Reply With Quote
    Old 16th March 2019, 18:58   #23414  |  Link
    Registered User
     
    Join Date: Oct 2009
    Location: France
    Posts: 611
    Thanks you rocks
    __________________
    HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
    Sebastiii is offline   Reply With Quote
    Old 16th March 2019, 19:01   #23415  |  Link
    Matroska find' ich toll
     
    Join Date: Apr 2008
    Posts: 1,005
    Thank you for improving Matroska support.
    hubblec4 is offline   Reply With Quote
    Old 16th March 2019, 19:10   #23416  |  Link
    Registered User
     
    Join Date: Jul 2014
    Posts: 659
    Thanks a lot for your work, much appreciated, as always
    __________________
    Win10 Pro x64 b1806 MCE
    i7 [email protected] [email protected] EVGA GTX 1080 Ti SC2 [email protected] 430.39 RGB Full 8bits
    MPC-BE/LAV/MadVR/jRiver/MyMovies V5.24
    Denon X8500H>HD Fury Maestro>JVC RS2000
    Manni is offline   Reply With Quote
    Old 16th March 2019, 22:20   #23417  |  Link
    Registered User
     
    Join Date: Dec 2007
    Posts: 613
    Thanks. Quick test on MC25 was all good.
    jmone is offline   Reply With Quote
    Old 17th March 2019, 11:38   #23418  |  Link
    Registered User
     
    Carpo's Avatar
     
    Join Date: Dec 2002
    Location: /dev/null
    Posts: 1,369
    Hi @nevcairiel

    Thanks for the new release, I have a question I wonder if you or others could help me with, I often see people saying use x method over y ( DXVA2(native/copy) over D3D11) so I am never sure which to use, I have two systems

    i7-7700K with a Nvidia 1080

    and a

    i7 4600K with a Nvidia 970

    out of all the options, which would you suggest?

    Thanks

    Edit: I should have added that I have tried both and haven't noticed any difference.
    __________________
    The Internet: where men are men, women are men, and children are FBI Agents

    Last edited by Carpo; 17th March 2019 at 11:45.
    Carpo is offline   Reply With Quote
    Old 17th March 2019, 12:23   #23419  |  Link
    Registered Developer
     
    Join Date: Mar 2010
    Location: Hamburg/Germany
    Posts: 9,662
    As a general purpose answer when using madVR, DXVA2 Copy-Back is generally the best, since its fully compatible with every feature in all renderers, is fully bit-exact, is reasonably fast (typically faster then D3D11 Copy-Back for complex reasons), and has no feature limitations.

    The only reason to use something else is performance, which mostly applies to more low-end systems, where a "Native" mode is required to play 4K 10-bit content, for example, in which case D3D11 Native would be the best option, since it incurs no quality penality. Unfortunately madVR does not support all its features in D3D11 Native mode, so its hard to recommend it as a general option for everyone.

    If you use EVR, then DXVA2 Native is usually the best option to use.

    Just to mention all modes:
    QuickSync or CUVID should generally not be used anylonger, in favor of DXVA2-CopyBack.
    __________________
    LAV Filters - open source ffmpeg based media splitter and decoders

    Last edited by nevcairiel; 17th March 2019 at 12:40.
    nevcairiel is online now   Reply With Quote
    Old 17th March 2019, 13:53   #23420  |  Link
    Registered User
     
    Carpo's Avatar
     
    Join Date: Dec 2002
    Location: /dev/null
    Posts: 1,369
    Thanks Nev
    __________________
    The Internet: where men are men, women are men, and children are FBI Agents
    Carpo is offline   Reply With Quote
    Reply

    Tags
    decoders, directshow, filters, splitter


    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:11.


    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
  • 河南481泳坛夺金官网 381818白小姐中特玄机 网易三分彩计划 安徽时时彩平台注册码 中国福彩网app qq麻将 体彩排列3走势图 超级大乐透中奖规则 欢乐生肖官网开奖结果 搜狐彩票开奖 极速pk10必中规律 曾道免费资料大全正版l 福彩3d乐彩网 3d过滤缩水工具彩吧助手 北京赛车pk10现场直播 彩虹新时时彩计划软件