• 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 端午节回归传统习俗 西安市民排队买艾草端午节艾叶-要闻 2019-06-09
  • 湖州唤醒“沉睡”的土地 2019-06-01
  • 在美中国留学生江玥被枪杀案宣判 罪犯获刑25年 2019-05-31
  • 日本大阪6.1级强震4死逾300伤 工厂及店铺恢复运营 2019-05-31
  • 台湾“裤子大王”:百姓三餐不济谈啥“台湾价值” 2019-05-23
  • 韩国釜山海滩变“垃圾场” 清洁工叫苦不堪 2019-05-23
  • 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,737
    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 offline   Reply With Quote
    Old 15th March 2019, 06:53   #23402  |  Link
    Registered User
     
    Join Date: Dec 2002
    Posts: 5,388
    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,737
    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 offline   Reply With Quote
    Old 15th March 2019, 09:24   #23404  |  Link
    Registered User
     
    Join Date: Nov 2013
    Location: Hannover, Germany
    Posts: 129
    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,737
    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 offline   Reply With Quote
    Old 15th March 2019, 17:56   #23406  |  Link
    Registered User
     
    Join Date: Aug 2015
    Posts: 116
    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,737
    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 offline   Reply With Quote
    Old 15th March 2019, 19:21   #23408  |  Link
    Registered User
     
    Join Date: Dec 2002
    Posts: 5,388
    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: 40
    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,538
    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.475) - Core i3-4170 - nVidia 1660 (430.39)
    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,737
    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 offline   Reply With Quote
    Old 16th March 2019, 12:18   #23412  |  Link
    Registered User
     
    el Filou's Avatar
     
    Join Date: Oct 2016
    Posts: 473
    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,737
    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 offline   Reply With Quote
    Old 16th March 2019, 18:58   #23414  |  Link
    Registered User
     
    Join Date: Oct 2009
    Location: France
    Posts: 613
    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,045
    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: 700
    Thanks a lot for your work, much appreciated, as always
    __________________
    Win10 Pro x64 b1809 MCE
    i7 [email protected] [email protected] EVGA GTX 1080 Ti SC2 [email protected] 398.11 RGB Full 8bits
    MPC-BE/LAV/MadVR/jRiver/MyMovies V5.25PR2
    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,737
    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 offline   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:24.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 明星高考奇葩事杨幂总分第一 赵薇丢准考证(组图) 2019-07-02
  • 肩负促进和平与发展的时代重任 2019-07-02
  • 探秘海南高考评卷场 考生答题卡武警24小时值守 2019-06-28
  • “人民日报是我一生最尊敬和宝贵的朋友” 2019-06-28
  • 惊艳卢浮宫小牛电动发布新款电动车惊艳卢浮宫小牛电动发布新款电动车-手机行情 2019-06-23
  • 社区 —频道 春城壹网 七彩云南 一网天下 2019-06-15
  • 全国网络举报工作会议 2019-06-15
  • 珍贵!“国宝”林麝现身重庆金佛山 2019-06-11
  • 亚冠前瞻:恒大权健皆不容有失 两将伤情成上港争胜关键 2019-06-09
  • 端午节回归传统习俗 西安市民排队买艾草端午节艾叶-要闻 2019-06-09
  • 湖州唤醒“沉睡”的土地 2019-06-01
  • 在美中国留学生江玥被枪杀案宣判 罪犯获刑25年 2019-05-31
  • 日本大阪6.1级强震4死逾300伤 工厂及店铺恢复运营 2019-05-31
  • 台湾“裤子大王”:百姓三餐不济谈啥“台湾价值” 2019-05-23
  • 韩国釜山海滩变“垃圾场” 清洁工叫苦不堪 2019-05-23
  • 水晶裂谷试玩 pc版单机捕鱼达人 七星彩走势图助手 领航两星缩水软件 江苏快3开奖K线走势图 声连码前景 穿越火线刷枪软件 娱乐场所治安告知 下载河北十一选五预测专家 最新管家婆24码期期准 天天飞车怎样觉醒擎空 360彩票老时时彩 2007福彩中奖号码 去佛罗伦萨小镇火车站 奇迹觉醒剑士技能顺序 皇家社会比利亚雷亚尔