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 > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th December 2019, 17:02   #1  |  Link
onur
Registered User
 
Join Date: Oct 2015
Posts: 4
MadVR and LAV possible Bug

Playing specific files from specific resume pos is not working.
(i think when pos is short bevor keyframe everything is ok).

LAV starting from 0.71.0 is not working.
newest mpc-hc has integrated LAV 0.70.2 which is working.
EVR Renderer is working with all versions of LAV.

you can also test with mpc-be with following setup:
mpc-be player - with prefered external filter (LAV Splitter Source and LAV Video Decoder)
(load file with resume pos 01:04)

First we need a Stopped Graph, with this test file:
https://drive.google.com/file/d/12T5...pHT637GRw/view
or
https://drive.google.com/uc?export=d...tI83souI_aGTEb


Filter Graph with LAV Source and LAV Decoder and MadVR Renderer.

when we start file playing with resume pos the screens is black.

not working:
Code:
REFERENCE_TIME rtResume=640000000;
pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);
pMC->Run();
not working:
Code:
REFERENCE_TIME rtResume=640000000;
pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);
pMC->Pause();
pMC->Run();
working:
Code:
REFERENCE_TIME rtResume=640000000;
//first seek to keyframe
hr = pMSeek->SetPositions(&rtResume, AM_SEEKING_SeekToKeyFrame, NULL, AM_SEEKING_NoPositioning);
pMC->Pause();
				
//wait until Ready
__int64 endclock = GetTickCount64() + 2000;
OAFilterState pfs;
while (pMC->GetState(10, &pfs) == VFW_S_STATE_INTERMEDIATE  || pfs != State_Paused) 
{
   Sleep(10);
   if (GetTickCount64() > endclock)
     break;
}

//now seek to Real Pos					
hr = pMSeek->SetPositions(&rtResume, AM_SEEKING_AbsolutePositioning, NULL, AM_SEEKING_NoPositioning);

regards, onur

Last edited by onur; 7th December 2019 at 17:49.
onur is offline   Reply With Quote
Old Yesterday, 19:57   #2  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 420
I use madVR in Kodi DS Player. And I use LAV Filters with it, as well.

Never had a problem in resuming files from where I left them.
ashlar42 is offline   Reply With Quote
Old Today, 01:49   #3  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 3,702
Same with Zoom Player, no issues resuming from the last location with LAV + madVR.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:06.


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