Could use help creating the avs script
+ Reply to Thread
Results 91 to 120 of 168
-
@gonca , are you more comfortable with commandline e.g ffmpeg perhaps ?
I think ffmpeg can read hevc now as well , just replace input1.ext , input2.ext
This gives aggregate PSNR, PSNR Y, PSNR U, PSNR V, with MSE Y, MSE U, MSE V
Code:ffmpeg -i input1.ext -vcodec rawvideo -filter:v "movie=input2.ext,setpts=PTS-STARTPTS[main];[in][main]psnr=f=logfile.log" -f rawvideo -y /NUL
for ffms2 you need to create avs script for each file. It's simple one line , save it, e.g. video1.avs , video2.avs
You need to install avisynth, ffms2 plugin is external download (put the .dll in the avisynth plugins folder to autoload)
http://code.google.com/p/ffmpegsource/
For MSU, I would use seekmode=0, it's more frame accurate . Problems with PSNR/SSIM testing when video frames do no coincide (you get faulty low values)
e.g. video1.avs might say:
FFVideoSource("video1.ext", seekmode=0)
video2.avs might say:
FFVideoSource("video2.ext", seekmode=0)Last edited by poisondeathray; 5th Jul 2014 at 19:57.
-
This script can't open the MKV. A little help with what I screwed up
Last edited by gonca; 6th Jul 2014 at 09:38.
-
Yes, post any error messages . Can you open "normal" files, even youtube MP4 download , other MKV's etc.... ? or is it just problem with HEVC ?
Try this version
http://forum.doom9.org/showthread.php?p=1685186#post1685186 -
Changed the script back to the C version. No change
I attached the files if someone else wants to give it a shot.Last edited by gonca; 6th Jul 2014 at 11:35.
-
Since you also use Hybrid, do the following:
- uninstall Avisynth 2.5 (no clue why anyone would use it and not Avisynth 2.6a5)
- install Avisynth 2.6a5 (http://forum.doom9.org/showthread.php?p=1644457)
- replace the avisynth.dll with the one from inside Hybrid folder
- open source file in Hybrid
- press: Filtering->Avisynth->Show current Avisynth script
- copy the content of the AvisynthScriptView into a new file with .avs extension
- try to open that file with MPC-BE or avsViewer (avsViewer "Path to file")
Cu Selur
Ps.: also still no clue what the error message says assuming there is one -
Original file being uploaded to a file sharing site. It exceeds VH limits (will take over an hour)
https://media.xiph.org/video/derf/y4m/
This site has the original file if anyone is interestedLast edited by gonca; 6th Jul 2014 at 11:45.
-
<Off-Topic>
Yes, derf@xiph might and should compress their sample files, sadly he/she knows that "everybody" has unlimited broadband speeds and endless storage space
</Off-Topic> -
Does it just hang or any error message ?
Install avisynth 2.6.x like selur said above. You need that for the Cplugin versions
You can check/preview .avs scripts in vdub as well -
@ EH:
But Y4M is possibly the only rather platform independent format. Which other lossless compression would you recommend instead? An external tar.z / tar.gz / tar.bzip2 / PKZIP / 7zip (which exact subformat) archive – which need additional space to unpack later – or AVC lossless as MP4, or Huffyuv / Ut / FFV1 AVI? -
You need that for the Cplugin versions
-
-
-
LigH.de, you can extract a 7z file w/out space (or extra space) limitation if you use the Copy-to function of the extract. that is how i extract files on my limited hdd which fluctuates around 300mb. right now, it is at 151mb. and most people here know that i run xp on fumes. i extract to external hdd's.
-
No error messages. just displays message "opening"
Here is a link to the original file from my mediafire account
http://www.mediafire.com/download/m2jjvu5whvqpfpv/ducks_take_off_1080p50.y4m
Will try Selur's suggestion -
Will have to re-encode to mp4
Hybrid can't see hevc in mkv container. -
You have to wait a bit, when you open that script the first time, since the content first needs to be indexed.
Enable 'Filtering->Avisynth->Misc->LibavVideoSource instead of FFmpegSource' and then use that script. -
Here is a 7z compressed version of the original
http://www.mediafire.com/download/jjh2403mrmvymz4/ducks_take_off_1080p50.7z -
latest from qyot27: http://forum.doom9.org/showthread.php?p=1685186#post1685186 contains an updated libav and thus supports hevc