INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Group Profile Script in madvr  (Read 4659 times)

osuchamp02

  • Recent member
  • *
  • Posts: 31
Group Profile Script in madvr
« on: October 10, 2014, 08:22:53 am »

I’m Looking for some help with a group profile script in madvr.  What script can be used to set a profile for live tv and a different one for recorded tv? 
Logged

osuchamp02

  • Recent member
  • *
  • Posts: 31
Re: Group Profile Script in madvr
« Reply #1 on: October 12, 2014, 01:40:19 pm »

I have tried these three scripts.  Madvr is not switching between profiles as I think it should. 
Group Profile Script #1
if (srcWidth <= 704) and (srcHeight <= 480) and (deintFps <= 29) "480p 29"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 23) "720p 23"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 29) "720p 29"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 59) "720p 59"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 23) "1080p 23"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 29) "1080p 29"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 59) "1080p 59"
else if (srcWidth <= 1229) and (srcHeight <= 693) and (deintFps <= 60) "693p 60"

The above script produced very random results.  Not really a rhyme or reason to its profile choice.  Most of the time the videos res and fps don’t even match what I’m playing.  It seemed to choose 1080p 23fps most of the time even if I was playing 720 29.

Group Profile Script # 2
if (srcWidth <= 704) and (srcHeight <= 480) and (deintFps <= 30) and (deintFps  >= 29) "480p 29"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 24) and (deintFps  >=25) "720p 23"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 30) and (deintFps  >= 29) "720p 29"
else if (srcWidth <= 1280) and (srcHeight <= 720) and (deintFps <= 60) and (deintFps > = 59) "720p 59"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 24) and (deintFps  >=25) "1080p 23"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 30) and (deintFps  >= 29) "1080p 29"
else if (srcWidth <= 1920) and (srcHeight <= 1080) and (deintFps <= 60) and (deintFps  > = 59) "1080p 59"
if (srcWidth <= 1229) and (srcHeight <= 693) and (deintFps <= 60) and (deintFps  > = 59) "693p 60"

With this profile script I was able to at least get the FPS correct.  If I launch a video that is 1080p 23fps and Madvr runs the 1080p 23fps profile then if I switch to a video that has the same FPS but diffent res, say 720p 23fps, it holds the 1080p 23fps profile instead of switching to the correct 720 23fps profile.  It was like it ignored the res but watched just the FPS.  If I switch from 1080 23fps to 720 59fps most of the time I will switch to the correct 720 59fps profile.  Not on every try though.   

Group Profile Script # 3
if (srcWidth = 704) and (srcHeight = 480) and (deintFps <= 30) and (deintFps  >= 29) "480p 29"
else if (srcWidth = 1280) and (srcHeight = 720) and (deintFps <= 24) and (deintFps  >=25) "720p 23"
else if (srcWidth = 1280) and (srcHeight = 720) and (deintFps <= 30) and (deintFps  >= 29) "720p 29"
else if (srcWidth = 1280) and (srcHeight = 720) and (deintFps <= 60) and (deintFps > = 59) "720p 59"
else if (srcWidth = 1920) and (srcHeight = 1080) and (deintFps <= 24) and (deintFps  >=25) "1080p 23"
else if (srcWidth = 1920) and (srcHeight = 1080) and (deintFps <= 30) and (deintFps  >= 29) "1080p 29"
else if (srcWidth = 1920) and (srcHeight = 1080) and (deintFps <= 60) and (deintFps  > = 59) "1080p 59"
else if (srcWidth = 1229) and (srcHeight <= 693) and (deintFps <= 60) and (deintFps  > = 59) "693p 60"

In this group profile script I tried to remove the < in the res to try to improve the acuratcy but I say no changes between #2 and #3. 

I have searched this forum and Doom 9 for hours looking for help or more info but I coming up empty.  I’m missing something?  Am I way off the mark? 
Logged
Pages: [1]   Go Up