Tearing solution for MPC-HC for all media types - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 8 Old 09-15-2009, 01:44 PM - Thread Starter
Newbie
 
costp's Avatar
 
Join Date: Sep 2009
Posts: 5
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hello Guys,

I was having problems with MKV files using MPC-HC and Reclock to correct the Tearing problem on my HTPC, i then thinked about changing the display Refresh rate before launching MPC-HC to correct it.

That's why i made a small Batch file using MediaInfo and Display Changer to adapt the Refresh Rate of the Display according to a video file then launching this video file in MediaPlayerClassic-HomeCinema.

It allow to remove Tearing much better than Reclock does with MPC as this solution change the display setting before starting MPC-HC, allowing to correct the Black Screen problem.

To use it , extract the zip in your MPC-HC directory and launch your video by dragging them onto the "Refresh_MPC-HC.bat" Batch file. It will take care of everything.

Content of this Batch :
Code:
@echo off

rem Auto Refresh Batch Selector for videos files
rem Version for Mpc-HC
rem this Batch use the excellent MediaInfo and DisplayChanger

rem MediaInfo - http://mediainfo.sourceforge.net
rem Copyright (c) 2002-2009, Jerome Martinez, zen@mediaarea.net

rem DC (Display Changer) - http://www.12noon.com/displaychanger.htm
rem Copyright (c) 12noon

rem goto current batch directory 'here the mpc-hc.exe location'
cd /d %~dp0 

rem minimize the current Dos window
min.exe


rem Retrieve the FrameRate information via MediaInfo and put it into %frames%
mediainfo --inform=Video;%%FrameRate%% %1 >  temp
set /P frames=
Please don't forget to adapt the nref in the if "%frames%"=="xx.xxx" set nref=yy lines....

You can also use the Windows function "Open this file with..." and then activate the "Always use this program".

I always use MPC-HC but you can of course modify the batch to launch anything you want in place.
Everything is included (DC and MediaInfo -- Folowing the Licenses).
Work Great with all Containers/Media Types MPC-HC nd MediaInfo supports... (avi,mpeg,mp4,mkv,divx...)

Download it here http://jump.fm/IYJCE
costp is offline  
Sponsored Links
Advertisement
 
post #2 of 8 Old 04-18-2012, 04:42 PM
Member
 
magicone_fr's Avatar
 
Join Date: Jan 2012
Posts: 15
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
The file isn't available anymore, could you upload it again please?
Thanks
magicone_fr is offline  
post #3 of 8 Old 04-18-2012, 04:55 PM
AVS Addicted Member
 
assassin's Avatar
 
Join Date: Jul 2004
Posts: 12,961
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 51 Post(s)
Liked: 241
Quote:
Originally Posted by magicone_fr View Post

The file isn't available anymore, could you upload it again please?
Thanks

This thread is 2.5 years old and he hasn't posted since the day of his first post.
assassin is offline  
post #4 of 8 Old 04-18-2012, 07:39 PM
AVS Special Member
 
almostinsane's Avatar
 
Join Date: Sep 2002
Posts: 4,027
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 2 Post(s)
Liked: 24
And you can just copy his code from the box.
almostinsane is offline  
post #5 of 8 Old 04-18-2012, 08:26 PM
AVS Special Member
 
whiteboy714's Avatar
 
Join Date: Feb 2009
Posts: 4,602
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 8 Post(s)
Liked: 16
Quote:
Originally Posted by assassin View Post

This thread is 2.5 years old and he hasn't posted since the day of his first post.

lol. Thread necro for real.
whiteboy714 is offline  
post #6 of 8 Old 04-18-2012, 08:29 PM
Senior Member
 
ghostlobster's Avatar
 
Join Date: Jan 2003
Posts: 234
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Zombie thread!

Brrrrrrrraaaaaaaiiiiiinnnnnnssssss!

Ray
===Ghostlobster===
ghostlobster is offline  
post #7 of 8 Old 04-18-2012, 09:58 PM
AVS Special Member
 
olyteddy's Avatar
 
Join Date: Oct 2005
Posts: 3,497
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 179 Post(s)
Liked: 260
Quote:
Originally Posted by magicone_fr View Post

The file isn't available anymore, could you upload it again please?
Thanks

Got copy and paste? The batch file is right there in his post...
olyteddy is offline  
post #8 of 8 Old 04-19-2012, 05:23 AM
Member
 
magicone_fr's Avatar
 
Join Date: Jan 2012
Posts: 15
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
A zip with all the tools included would be easier but if nobody has it, I will try to get them from the net...
magicone_fr is offline  
Reply Home Theater Computers



Forum Jump: 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off