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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th October 2017, 12:05   #22241  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Plays fine for me using d3d11 native.

1050 Ti 385.69, Windows 1703 x64, LAV latest nightly and madVR 0.92.7.
I'm using 32-bit players only though.
__________________
HTPC: Windows 10 22H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 536.40
el Filou is offline   Reply With Quote
Old 20th October 2017, 12:17   #22242  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
i guess i found the issue.
it's the CPU queue if it is over 48 it will start to produce garbage frames. with h264 is only goes to 39-40 with vp9 is uses the full 128.

so i don't know if madVR or lavfilter should stop at 39-40.
huhn is online now   Reply With Quote
Old 20th October 2017, 12:20   #22243  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
nevcairiel warned not to go above 32 or something.
__________________
HTPC: Windows 10 22H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 536.40
el Filou is offline   Reply With Quote
Old 20th October 2017, 12:27   #22244  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
did he? that a bummer the 128 subtitle queue is very useful...
huhn is online now   Reply With Quote
Old 20th October 2017, 12:49   #22245  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
I've been considering limiting the number of buffers for decoding all formats forcefully to 32, but HEVC and H.264 seem to be fine with up to 127 buffers (which is the hard-limit in DXVA/D3D11) - although with those more advanced codecs, not all buffers are available to the renderer, since the decoder internally needs a bunch as well for reference frames and whatnot.

I added a hard-limit of 32 for VP9 now anyway, just like VC-1 which seems to also have that issue.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 20th October 2017, 13:18   #22246  |  Link
P.J
Δ
 
Join Date: Jun 2008
Posts: 535
It seems D3D11 is useless for Nvidia Optimus =/
Wish I could use 940MX's de-interlacer...
P.J is offline   Reply With Quote
Old 20th October 2017, 13:19   #22247  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
i personally only need/use a high CPU queue (ignoring the subtitle queue here) for live streams to get a bigger buffer.
but maybe it is better to buffer more of the decoded stream i guess the queue settings in lav source could be used for this but i have no clue what could be a possible improve and it is hard to test buffering issue of live streaming. and what is a packet is is a frame a gop is it different from codec to codec...
huhn is online now   Reply With Quote
Old 20th October 2017, 13:21   #22248  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
LAV Splitters final output queue should be mostly packet=frame, it re-assembles those as best as it can, which for the modern codecs should be fine.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 20th October 2017, 13:33   #22249  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
it set it to some unreasonable setting like 4096 mb and 3600 packets and my mpc-hc memory usages got down from ~240 to ~145 even pausing the stream doesn't increase the buffer.
i guess a reasonable buffer would be 3-5 secs so your default settings.
huhn is online now   Reply With Quote
Old 20th October 2017, 13:33   #22250  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Quote:
Originally Posted by huhn View Post
i personally only need/use a high CPU queue (ignoring the subtitle queue here) for live streams to get a bigger buffer.
This basicially means half of the buffer size for doubled framerate, which is bad since higher framerate means higher bitrate.
A clean solution would be a buffer in seconds like mpv does.

A CPU queue of 8 in madVR should work for livestreaming with youtube-dl though.
aufkrawall is offline   Reply With Quote
Old 20th October 2017, 13:42   #22251  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
with live streaming i mean >lives< streaming a stream with no end known end. not streaming a youtube video.

Quote:
This basicially means half of the buffer size for doubled framerate, which is bad since higher framerate means higher bitrate.
what has the bit rate to do with this. bit rate is meaningless for livestraming you will never reach anything significant. and lav source has a buffer with a mb cap and a "frame" size.
huhn is online now   Reply With Quote
Old 20th October 2017, 13:59   #22252  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by huhn View Post
it set it to some unreasonable setting like 4096 mb and 3600 packets and my mpc-hc memory usages got down from ~240 to ~145 even pausing the stream doesn't increase the buffer.
i guess a reasonable buffer would be 3-5 secs so your default settings.
Enable the "Statistics" panel in MPC-HC (View -> Statistics), it'll show you queue size in both packets and memory use. If i set it high enough, it'll read entire files into memory no problem. Live streaming is different, although pausing *should* help to fill the queue.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 20th October 2017, 14:12   #22253  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
yes works fine.
huhn is online now   Reply With Quote
Old 20th October 2017, 14:14   #22254  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Quote:
Originally Posted by huhn View Post
with live streaming i mean >lives< streaming a stream with no end known end. not streaming a youtube video.
youtube-dl is for HLS in general and there can be also livestreams on YT.

Quote:
Originally Posted by huhn View Post
what has the bit rate to do with this. bit rate is meaningless for livestraming you will never reach anything significant.
Try to play YT 4k 60fps in any player with what ever LAV Filters settings for more than five minutes, won't work.
aufkrawall is offline   Reply With Quote
Old 20th October 2017, 14:54   #22255  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,348
Quote:
Originally Posted by Pat357 View Post
What modes have you listed in Madvr settings ?
When your screen is black and you go to 1080p, does it matter if your 1080p mode has a different FPS ?
like 3D 2160p 23p -> stop -> 1080p24 or 1080p50 (does this work ?)

From my experience, Madvr does handle changes in FPS very well, but if only other things change, like (2160p -> 1080p) or (3D -> not 3D) changes, it doesn't switch.
What actually means no FPS changes -> no switching !
I managed to resolved this in MPC-BE and MPC-HC by moving back to 0.69 LAV and 090 MADVR, however i could stop it simply by setting my TV to 1080p so it was defo something to do with the 1080p back to 4k switch.

This broke KODI though but I use portable so a clean install only takes to a couple of mins to install and copy over portable userdata. All working now. Cheers for the input though.
mclingo is offline   Reply With Quote
Old 20th October 2017, 15:41   #22256  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
Quote:
Originally Posted by aufkrawall View Post
youtube-dl is for HLS in general and there can be also livestreams on YT.
yes and why should bit rate now matter for live streaming?
Try to play YT 4k 60fps in any player with what ever LAV
Quote:
Filters settings for more than five minutes, won't work.
that's not a live stream and well that a not easy with youtube DL. if it is not a dash video...

-o - youtube url | mpc.exe /play
plays a 720p dash video what youtube dl understands as "best quality".

and -f 315 -o - "youtube url" | mpc.exe /play
downloads the file and names it -.webm. sorry this is inconsistent i'm pretty sure it can be done but i'm not wasting my time with this tool.
huhn is online now   Reply With Quote
Old 20th October 2017, 15:50   #22257  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Is there actually any case where having an insanely large CPU queue in madVR does have a positive effect for streaming?
aufkrawall is offline   Reply With Quote
Old 21st October 2017, 00:02   #22258  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quick question about installation on my Win10 x64 OS:

If I use the default options, both x86 and x64 versions are installed in the Program Files x86 folder. In the start menu, the shortcuts are to the x86 version.

Is there a way to know if the x64 versions are used with MPC-BE x64 and MadVR?

The only way I was able to make sure was to uncheck the x86 versions during install and install the x64 only in Program Files. In that case, it's the x64 shortcuts that appear in the start menu / installed progs.

Is there any downside in installing the x64 versions only? Is the x64 version always used with a x64 player when the x86 version is also installed?

Thanks!
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni is offline   Reply With Quote
Old 21st October 2017, 00:05   #22259  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
A 64-bit player can only use 64-bit components. You cannot mix 32 and 64-bit in the same process.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 21st October 2017, 00:10   #22260  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by nevcairiel View Post
A 64-bit player can only use 64-bit components. You cannot mix 32 and 64-bit in the same process.
Great, thanks, so I'll install all the components.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni 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 09:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.