Frame doubling interpolation script for Avisynth

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Frame doubling interpolation script for Avisynth

Postby Stonga » Tue Mar 23, 2010 9:02 pm

Is it possible to transfer this script over to the PS3 when streaming? I can't figure out how.

http://forums.guru3d.com/showthread.php?t=288017
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Wed Mar 24, 2010 11:11 am

C'mon shagrath. You're the brains behind this, you should know if it's possible. :)
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby shagrath » Wed Mar 24, 2010 10:44 pm

Why not, but you'll have to remove global source=ffdshow_source() and replace the "source" variable in other lines by the "clip" one (the one used in the template AviSynth script, in the settings panel)

or straight forward like this:

<movie>
<sub>
SetMtmode(2,16)
global idx1 = 10
clip=changefps(clip,clip,true)
# assume progressive PAL 25 fps or NTSC Film 23.976 source
idx1 = idx1 + 1
backward_vec = MVAnalyse(clip, blksize=16, isb = true, chroma=false, pel=1, searchparam=1, idx=idx1)
# we use explicit idx for more fast processing
forward_vec = MVAnalyse(clip, blksize=16, isb = false, chroma=false, pel=1, searchparam=1, idx=idx1)
MVFlowFps(clip, backward_vec, forward_vec, num=2*FramerateNumerator(clip), den=FramerateDenominator(clip), mask=0, idx=idx1)
distributor()
return clip
shagrath
Project Lead
 
Posts: 2646
Joined: Wed Jan 14, 2009 1:39 pm

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Thu Mar 25, 2010 2:48 pm

ok cool.

Do I paste this script into the FFDshow video decoder settings under avisynth, in PS3 Media Server or both? If PS3 Media Server, where? Do I check or uncheck the avisynth tab under FFDshow video decoder settings?

And what transcode option do I choose on my PS3? I'm trying this now and when I choose "avisynth/mencoder" it says the file is corrupted and when I choose "Avisynth/ffmpeg" it says the media is not supported.
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby shagrath » Fri Mar 26, 2010 12:48 am

1- put the script in the text box located in transcoding Settings->AviSynth/Mencoder
2- this will generate and launch a .avs file located in your windows temp folder, javaps3media subfolder
3- launch the .avs with your regular windows player and debug it until you got the right formula
shagrath
Project Lead
 
Posts: 2646
Joined: Wed Jan 14, 2009 1:39 pm

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Fri Mar 26, 2010 2:32 am

Hmm.

I have no idea what to do.

I used the script you made in your first post and pasted it into Avisynth/Mencoder under Transcoding settings in PS3 Media server. The .avs file is not generated before I try to launch a video file on my PS3 using Avisynth/Mencoder transcode option. Just says the file is corrupt.

This is the content of the .avs file that is generated:
clip=DirectShowSource("F:\xxx xxxx\xxxxx xxxxx\x-xxxxxxx-x.avi")
#
SetMtmode(2,8)
global idx1 = 10
clip=changefps(clip,clip,true)
# assume progressive PAL 25 fps or NTSC Film 23.976 source
idx1 = idx1 + 1
backward_vec = MVAnalyse(clip, blksize=16, isb = true, chroma=false, pel=1, searchparam=1, idx=idx1)
# we use explicit idx for more fast processing
forward_vec = MVAnalyse(clip, blksize=16, isb = false, chroma=false, pel=1, searchparam=1, idx=idx1)
MVFlowFps(clip, backward_vec, forward_vec, num=2*FramerateNumerator(clip), den=FramerateDenominator(clip), mask=0, idx=idx1)
distributor()
return clip


I replaced the source with x's. That's just the same script I pasted into PS3 Media server.

When I open the .avs file in Media Player Classic I get the following message:
Script error: there is no function named "MVAnalyse"

And something about line 8 in the script.

I'm at a loss.
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Fri Mar 26, 2010 12:02 pm

Quick update.

I got it to work with the "no transcoding" option on files that doesn't need to be transcoded to work, but on .mkv files that needs to be transcoded, I still got the problem.
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby Franky » Sat Mar 27, 2010 10:15 am

You need to install this Avisynth plugin: http://manao4.free.fr/mvtools.htm
Franky
 
Posts: 18
Joined: Sat Apr 04, 2009 10:53 am

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Sun Mar 28, 2010 9:45 pm

Franky wrote:You need to install this Avisynth plugin: http://manao4.free.fr/mvtools.htm


I've done that. It's all in the link on my first post.
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Re: Frame doubling interpolation script for Avisynth

Postby Stonga » Mon Apr 05, 2010 5:03 pm

*bump*
Stonga
 
Posts: 21
Joined: Sun Oct 25, 2009 5:10 pm

Next

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests