StaxRip Encoding-Frontend (Diskussion)

  • Hallo!

    [FONT=&quot]Versuche wie ein Blöder Frame-Interpolation in Stax einzubauen, es gelingt mir aber nicht.
    In der aktuellen Testversion ist unter AviSynth-Plugin MVTools vorhanden.
    Möchte von 25FPS zu 50FPS aufwerten ohne Bild und Ton zu beschleunigen.

    Das Script (Manuell)

    Code
    [/FONT][FONT=&quot]LoadPlugin("C:\Stax\Apps\Plugins\avs\mvtools2.dll")SetMTMode(2)super=MSuper(pel=1, hpad=0, vpad=0)backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=8, blksizev=8, searchparam=0, search=3)forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=8, blksizev=8, searchparam=0, search=3)MBlockFps(super, backward_2, forward_2, num=FramerateNumerator(last)*2, den=FramerateDenominator(last)*1, mode=0)SetMTMode(1)GetMTMode(false) > 0 ? distributor() : lastSharpen(0.18)

    Profil

    Code
    [/FONT][FONT=&quot][Source]Automatic =MPEG2Source = SetMTmode(5,4) MPEG2Source("%source_file%")MPEG2SourceMT = SetMTmode(5,6) MPEG2Source("%source_file%")AVISource = AVISource(%source_files_comma%, audio=false)%newline%Crop(0,0, -Width % 8,-Height % 8)%newline%ConvertToYV12()AVISourceMT = SetMTmode(5,6) SetMemoryMax(512)  AVISource(%source_files_comma%, audio=false)%newline%Crop(0,0, -Width %  8,-Height % 8)%newline%ConvertToYV12()DirectShowSource = DirectShowSource("%source_file%", audio=false,  convertfps=true, fps=%source_framerate_mediainfo%)%newline%Crop(0,0,  -Width % 8,-Height % 8)%newline%ConvertToYV12()AVCSource = AVCSource("%source_file%")%newline%Crop(0,0, -Width % 8,-Height % 8)%newline%ConvertToYV12()FFVideoSource = FFVideoSource("%source_file%",threads=1,  cachefile="%working_dir%%source_name%.ffindex")%newline%AssumeFPS(%source_framerate_mediainfo%)%newline%Crop(0,0,  -Width % 8,-Height % 8)%newline%ConvertToYV12()FFVideoSourceMT = SetMTmode(5,6) SetMemoryMax(512)  FFVideoSource("%source_file%",threads=1,  cachefile="%working_dir%%source_name%.ffindex")%newline%AssumeFPS(%source_framerate_mediainfo%)%newline%Crop(0,0,  -Width % 8,-Height % 8)%newline%ConvertToYV12()DGSource = DGSource("%source_file%",deinterlace=0,resize_w=0,resize_h=0)Advanced | MPEG2Source Deblocked = MPEG2Source("%source_file%", CPU=6)Advanced | DGSource 720p = DGSource("%source_file%",deinterlace=0,resize_w=1280,resize_h=720)Advanced | DGSource 1024x576 = DGSource("%source_file%",deinterlace=0,resize_w=1024,resize_h=576)

    Script

    Code
    [/FONT][FONT=&quot][FrameKonv.]
    50p zu 25p = selecteven()
    25p zu 50pv = Import("[/FONT][FONT=&quot][FONT=&quot]C:\Stax\Apps\Plugins\avs\mvtools2.dll[/FONT]")

    Irgendwie klappt es nicht....:(
    [/FONT]

    Z170 Intel I-5 Skylake 6600K ;D

  • So funktioniert es mit FFDShow:AVS-Sript

    Z170 Intel I-5 Skylake 6600K ;D

  • Zitat

    Neue x264 Version draussen...Danke für´s einbauen Stax :)

    r2665 scheint noch aktuell zu sein.

    StarWarsKrieger

    In AviSynth+ gibt es soviel ich weiß keine SetMTMode Funktion.

    http://avisynth.nl/index.php/AviSynth%2B#MT_Notes

    StaxRip hat kein %newline% Macro mehr, es gibt stattdessen eine Multiline Syntax:

    Code
    FilterName =	Zeile1	Zeile2

    In den VapourSynth Profilen ist dazu ein Beispiel:

    Code
    [Field]
    
    
    IVTC =
    	clip = core.vivtc.VFM(clip, 1)
    	clip = core.vivtc.VDecimate(clip)

    Es sollte ein Tab Zeichen oder vier Leerzeichen funktionieren.

    LoadPlugin brauchst du nur wenn StaxRip alle Funktionen unbekannt sind, sobald nur eine Funktion bekannt ist lädt StaxRip das Plugin automatisch.

    2016_04_14_18_36_40_Apps.png

  • Zitat

    In AviSynth+ gibt es soviel ich weiß keine SetMTMode Funktion.

    AviSynthMT 2.6 gibt es diese...ich habe davon eine 32bit Version

    [Blockierte Grafik: http://abload.de/img/1atjr2.png]

    Wie müsste es stattdessen nun ausehen, damit ich von 25FPS auf 50FPS komme ohne
    zu beschleunigen...sprich Interpolieren?

    Kann man so eine Funktion übergaupt einbauen?
    In der alten StaxVersion (32bit) hat es funktioniert!

    Z170 Intel I-5 Skylake 6600K ;D

  • 7 freizuschaltende Beiträge gelöscht ... hast du nach dem Posten wirklich nie eine Nachricht bekommen, dass dein gerade erstellter Beitrag von einem Moderator noch freigeschaltet werden muss?! — Ja, leider bekommt hier kein Moderator was davon mit, wenn unser Anti-Spam-System mal wieder Paranoia hat.
    __

    Bei AviSynth+ wird Multithreading (wenn man eine entsprechende Version hat) mit Prefetch(threads) als letzte Zeile generell aktiviert; welche Funktion wie kooperativ oder separat ausgeführt werden muss, wird über eine Konfigurationsdatei oder manuelle Angabe von SetFilterMTMode(filtername, mode) für jede eventuell parallelisierbare Funktion definiert.

    Die Verwendung von MFlowFPS oder MBlockFPS zum Interpolieren von Frameraten ist schon relativ fortgeschrittenes Skripting. Ob es großen Nutzen bringt, weiß ich nicht ... wenn das Original interlaced wäre, würde man bobben (z.B. QTGMC verwenden), aber 25 fps progressiv auf 50 fps progressiv interpolieren, das gibt doch Seifenoper-Effekt, oder? Ziemlich sicher schadet es aber der Komprimierbarkeit.

  • 1.Avisynth+ finde ich nicht als erste Wahl, eine Aufwertung zu Version 2.5.8 sprich MT 2.6 wäre besser.
    In der alten Stax-Version hat es wunderbar geklappt.

    2.Habe es vor einiger Zeit getestet und war begeistert vom Ergebnis.
    Kamera-Schwenks waren flüssig und weich.
    MadVR z.b. bietet es über die SmoothMotion-Funktion auch an allerdings im Ergebnis nicht so klasse wie MT.

    3.Seifenoper auf keinen Fall, ich beschleunige von 23.976FPS auf 25FPS und dann interpoliere ich von 25 auf 50FPS.

    [FONT=&amp]Dass das Material etwas großer ausfällt ist ja klar, wenn man mit AVC arbeitet.
    Mit HEVC seht die Sache wieder völlig anders aus. Wie könnten wir es nun in Stax mit einbauen oder will man nicht? Bzw. wie könnte ich es in Stax einbauen?[/FONT]

    Z170 Intel I-5 Skylake 6600K ;D

  • Habe mal mit Stax 1.2.2.0 das AVS-Script Manuell eingepflegt.
    Hier mal zwei Datein:
    Einmal Original und 50FPS

    Code
    LoadPlugin("C:\25to50\mvtools2.dll")super=MSuper(pel=1, hpad=0, vpad=0)backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=8, blksizev=8, searchparam=0, search=3)forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=8, blksizev=8, searchparam=0, search=3)MBlockFps(super, backward_2, forward_2, num=FramerateNumerator(last)*2, den=FramerateDenominator(last)*1, mode=0)#GetMTMode(false) > 0 ? distributor() : lastSharpen(0.18)
    Code
    [FrameKonversion]
    50p zu 25p = selecteven()
    25p zu 50pv = Import("C:\25to50\25to50.avs")

    http://www.file-upload.net/download-11484…-50FPS.rar.html

    Z170 Intel I-5 Skylake 6600K ;D

    Einmal editiert, zuletzt von StarWarsKrieger (15. April 2016 um 07:08)

  • [FONT=&amp]Habe nun nochmals probiert manuell in Stax 1.3.9.9 einzubinden und es funktioniert.
    Dazu parallel AvisynthMT installiert und das obige Script in Stax eingebaut.
    MVTools als AVS-Script in einen anderen Ordner verlegt.

    [/FONT] Das Ganze sieht nicht schlecht aus aber Feinjustierung ist noch nötig!

    [FONT=&amp]Zwei Trailer mit Action Szenen als 25FPS und 50FPS bei Bedarf schicke ich es per PN![/FONT]

    Z170 Intel I-5 Skylake 6600K ;D

  • StaxRip x64 funktioniert ... warum läuft es jetzt mit der beschriebenen Vorgehensweise?
    Habe die"mvtools2.dll" in ein anderen Ordner und AvisynthMT zusätzlich installiert, ein AVS-Script (Textdatei) erstellt

    ...es läuft!

    Z170 Intel I-5 Skylake 6600K ;D

  • Die technische Realität sieht nun mal anders aus!

    Z170 Intel I-5 Skylake 6600K ;D

    Einmal editiert, zuletzt von StarWarsKrieger (15. April 2016 um 17:12)

  • Wunder gibt es nicht. Nicht einmal im PC.

    Vielleicht hast du die 32-bit-DLL von AviSynth+ durch die 32-bit-Version von AviSynth MT ersetzt; die 64-bit-DLL von AviSynth+ ist aber immer noch vorhanden. Damit funktionieren dann 64-bit-Applikationen immer noch.

  • So, das neue Release ist fertig!

    StaxRip x64 1.3.4.0 Stable

    New Features

    • support for 3 or more audio tracks added to the muxing dialog
    • code preview added to filters menu and script preview renamed to code preview in script editor
    • added a command line switch -show-dialogs:bool and project option 'Show all dialogs when invoked from CLI', by default dialogs are not shown when StaxRip receives CLI arguments
    • yadifmod2 plugin for AviSynth added
    • TComb AviSynth plugin added
    • auto crop plugin replaced with new internal routine supporting both AviSynth and VapourSynth
    • better subtitle support for m2ts container
    • decoding options added for AMD encoder
    • larger x265 custom command line TextBox
    • x265 new switch added --rc-grain
    • the encoding options dialogs for x265, AMD, Intel and NVIDIA have now an option to display the full command line
    • new ffmpeg encoder output options 'H.264 NVIDIA', 'H.264 Intel', 'H.265 Intel', the currently used ffmpeg built doesn't yet support NVIDIA
    • video encoder profiles added for all encoding codecs StaxRip supports for ffmpeg: 'VP9', 'Xvid', 'ASP', 'Theora', 'H.264 Intel', 'H.265 Intel', 'H.264 NVIDIA'
    • ffmpeg decoding option -threads added, multi-threading is enabled by default but not recommended for dxva2 decoding and maybe for hardware decoding in general
    • VapourSynth QTGMC parameters TFF and Preset added to menu
    • more source and target parameters are now shown in the main dialog
    • in the scripting editor there is a Join feature to join all filters into one
    • QTGMC 3.33 for AviSynth
    • profiles can be saved from the x265/AMD/Intel/NVIDIA/ffmpeg encoding options dialogs
    • added shortcuts and Export to CSV to MediaInfo Folder View (Tools > Advanced)
    • added C# (Roslyn) and PowerShell scripting support. Scripts can be started at main menu > Tools > Scripts. There are commands in the command line, main menu and event commands to execute script code or script files.
    • three VapourSynth filter profiles added based on std.SetFieldBased
    • added user contributed script 'Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR (rev2)'
    • in the options dialog the subtitles to auto load can now be defined with both two and three letter code, this is useful for people more familiar with three letter codes, both can be mixed, for undetermined previously 'iv' had to be used, now 'und' can also be used.
    • added setting to scale the UI to a custom factor
    • many new switches added to Intel Quick Sync encoding GUI for QSVEncC
    • many new switches added to NVIDIA encoding GUI for NVEncC
    • added option to set audio default stream

    Fixed Bugs

    • fixed window freeze in eac3to dialog happening when eac3to fails on the input.
    • fixed showing filter selection dialog even if the source is vpy or avs
    • fixed StaxRip trying to auto correct the script even if the source is avs or vpy
    • fixed StaxRip recalculating the video bitrate even when the fixed bitrate option is used
    • avi muxer supports two audio tracks now
    • in some cases the two audio output file paths were identical
    • moving subtitles up and down wasn't working correctly
    • the new mp4box update should fix a bug many people reported
    • fixed editing dates in apps dialog not working with Persian calendar
    • fixed crash using ' character in file paths using VapourSynth
    • fixed inaccurate right and bottom magnifiers in crop dialog
    • fixed Python installed by miniconda not being detected
    • cropping values were multiplied by 2 using NVEncC
    • fixed subtitle size detection
    • fixed preview not fitting on screen under some conditions
    • fixed some issues opening avs or vpy as source file
    • added new source filter avisource.AVISource for VapourSynth, it can open avi and avs files
    • the filter selection dialog has now automatic options for both AviSynth and VapourSynth. For avs sources it shows also an option for VapourSynth since VapourSynth's AVISource can open avs files
    • d2vsource added to VapourSynth
    • fixed wrong font used pasting code in code editor
    • in the media info folder view (Tools > Advanced) the context menu functionality did not work for sub folders
    • in same situations it wasn't possible to close the crop dialog due to an script error, now the message box showing the error has an additional exit button
    • fixed High DPI scaling bug in the navigation bar of the x265 dialog
    • in case the audio or subtitle source file is mkv the original stream title was muxed even if it was deleted in StaxRip
    • line indentation wasn't preserved for multiline filter profiles

    Tweaks

    • better error handling when the source is vpy or avs
    • when loading an audio file without language info the language of the audio profile/stream stays instead of being changed to undetermined
    • improved changelog
    • cutting with VapourSynth is now possible without AviSynth being installed (the audio cutting code was using AviSynth)
    • The info in the preview looks better and is readable regardless of the current background
    • source filter preferences in the settings dialog under Source Filter to configure which source filter should be used for a given file in case the source filter in the project is called Automatic is now also available for VapourSynth, with this VapourSynth support in StaxRip should be on par with AviSynth support making both scripting engines first class citizens
    • x265 tune grain defaults updated
    • improved bitrate calculation
    • The media info dialog shows the file size now also in mega byte instead of giga byte only
    • removed ffmpeg writing long build info to the log file
    • Video Comparison shows now indexing progress
    • added version or at least change date and x86 or x64 to every app in the apps dialog
    • set font to Consolas 10 in scripting editor
    • the checked list controls of the event command and jobs dialog were replaced with themed controls, in the jobs dialog multi select and Ctrl+A and Delete shortcuts are supported
    • besides detecting the python location of the regular setup and miniconda setup StaxRip now also searches in the PATH and Path environment variables for python

    Updated Tools

    • AviSynth+ 1841
    • AVSMeter 2.2.0
    • ffmpeg 2016-03-10
    • fmtconv (vs) 20
    • mkvtoolnix 9.0.1
    • mp4box 0.6.0
    • mvtools (vs) v13
    • NVEncC 2.05
    • QSVEncC 2.45
    • x264 2692
    • x265 1.9+140
    • yadifmod2 (avs) 0.0.3

    Download

    https://github.com/stax76/staxrip/releases

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!