Neue x264 Version draussen...Danke für´s einbauen Stax
StaxRip Encoding-Frontend (Diskussion)
-
-
Hallo!
[FONT="]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="]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="][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="][FrameKonv.] 50p zu 25p = selecteven() 25p zu 50pv = Import("[/FONT][FONT="][FONT="]C:\Stax\Apps\Plugins\avs\mvtools2.dll[/FONT]")
Irgendwie klappt es nicht....:(
[/FONT] -
So funktioniert es mit FFDShow:AVS-Sript
Code
Alles anzeigenDirectShowSource("d:\test1.m2ts",framecount=549,audio=false) SetMemoryMax(1280) SetMTMode(5,4) 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() : last Sharpen(0.18) #AssumeFPS(25) #ChangeFPS(25) #ConvertFPS(50) #trim(106,31200) #ConvertToYUY2()
-
Zitat
Neue x264 Version draussen...Danke für´s einbauen Stax
r2665 scheint noch aktuell zu sein.
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:
In den VapourSynth Profilen ist dazu ein Beispiel:
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.
-
r2665 scheint noch aktuell zu sein.
x264 git master ist auf 2692, aber die offiziellen Binaries auf dem Videolan-Server fehlen noch. -
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! -
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=&]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] -
r2665 scheint noch aktuell zu sein.
Gemäss meiner Seite ist 2692 draussen seit dem 13.04.2016. Sind wohl nicht alle so schnell.
-
Habe mal mit Stax 1.2.2.0 das AVS-Script Manuell eingepflegt.
Hier mal zwei Datein:
Einmal Original und 50FPSCodeLoadPlugin("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)
-
[FONT=&]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=&]Zwei Trailer mit Action Szenen als 25FPS und 50FPS bei Bedarf schicke ich es per PN![/FONT]
-
StaxRip x64 unterstützt grundsätzlich nur AviSynth+ x64 und VapourSynth x64 Plugins, AviSynth 2.6 ist nicht x64 kompatibel.
-
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!
-
Die technische Realität ist dass ein x64 Prozess nur x64 DLLs laden kann, daraus folgt dass StaxRip x64 und x264 x64 nur AviSynth+ x64 laden und AviSynth+ x64 nur x64 Plugins laden kann.
-
Die technische Realität sieht nun mal anders aus!
Code
Alles anzeigen----------------------------------------------------------- _________ __ __________.__ / _____// |______ ___ __\______ \__|_____ \_____ \\ __\__ \ \ \/ /| _/ \____ \ / \| | / __ \_> < | | \ | |_> > /_______ /|__| (____ /__/\_ \|____|_ /__| __/ \/ \/ \/ \/ |__| ------------------------------------------------------------ Environment ------------------------------------------------------------ StaxRip x64 : 1.3.3.9 OS : Windows 10 Enterprise Language : German (Germany) CPU : Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GPU : Intel(R) HD Graphics 530 ------------------------------------------------------------ Source file MediaInfo ------------------------------------------------------------ D:\Film\25fps.m2ts General ID : 1 (0x1) Complete name : D:\Film\25fps.m2ts Format : BDAV Format/Info : Blu-ray Video File size : 30.2 GiB Duration : 2h 12mn Overall bit rate mode : Variable Overall bit rate : 32.6 Mbps Maximum Overall bit rate : 35.5 Mbps Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=1, N=12 Codec ID : 27 Duration : 2h 12mn Bit rate mode : Variable Bit rate : 31.3 Mbps Maximum bit rate : 34.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.604 Stream size : 29.0 GiB (96%) ------------------------------------------------------------ Process M2TS file using eac3to ------------------------------------------------------------ "C:\Stax\Apps\eac3to\eac3to.exe" "D:\Film\25fps.m2ts" -progressnumbers M2TS, 1 video track, 2:12:27, 25p 1: h264/AVC, 1080p25 (16:9) ------------------------------------------------------------ Demux M2TS using eac3to 3.31 x86 ------------------------------------------------------------ C:\Stax\Apps\eac3to\eac3to.exe "D:\Film\25fps.m2ts" -progressnumbers M2TS, 1 video track, 2:12:27, 25p 1: h264/AVC, 1080p25 (16:9) Start: 13:56:59 End: 13:57:00 Duration: 00:00:00 ------------------------------------------------------------ Script ------------------------------------------------------------ LoadPlugin("C:\Stax\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LWLibavVideoSource("D:\Film\25fps.m2ts", format = "YUV420P8") Import("C:\25to50\25to50.avs") ------------------------------------------------------------ Script Properties ------------------------------------------------------------ source frame count : 198682 source frame rate : 25.000000 source duration : 02:12:27.2800000 target frame count : 397363 target frame rate : 50.000000 target duration : 02:12:27.2600000 ------------------------------------------------------------ Encoding using QSVEncC 2.44v2 x64 ------------------------------------------------------------ C:\Stax\Apps\QSVEncC\QSVEncC64.exe --codec hevc --quality best --level 4.1 --fallback-rc --fullrange --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbr 20000 -i D:\Film\25fps_temp\25fps.avs -o D:\Film\25fps.hevc B pyramid is not supported on current platform, disabled. cop.AUDelimiter value changed off -> auto cop3.DirectBiasAdjustment value changed off -> auto cop3.GlobalMotionBiasAdjustment value changed off -> auto QSVEncC (x64) 2.44 (r1011) by rigaya, Apr 3 2016 19:24:39 (VC 1900/Win/avx2) OS Windows 10 (x64) CPU Info Intel Core i5-6600K @ 3.50GHz [TB: 4.20GHz] (4C/4T) <Skylake> GPU Info Intel HD Graphics 530 (24EU) 350-1300MHz [95W] (20.19.15.4424) Media SDK QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.17 Async Depth 4 frames Buffer Memory d3d9, 3 input buffer, 13 work buffer Input Info Avisynth 2.60 (yv12)->nv12[AVX2], 1920x1080, 50/1 fps Output HEVC main @ Level 4.1 1920x1080p 1:1 50.000fps (50/1fps) Target usage 1 - best Encode Mode Bitrate Mode - VBR Bitrate 20000 kbps Max Bitrate 20000 kbps QP Limit min: none, max: none Trellis Auto Ref frames 4 frames Bframes 3 frames, B-pyramid: off Max GOP Length 500 frames Scene Change off Ext. Features PerMBRC encoded 397363 frames, 46.68 fps, 19759.68 kbps, 18720.06 MB encode time 2:21:52, CPULoad: 23.76 frame type IDR 1 frame type I 795, total size 173.56 MB frame type B 396568, total size 18546.50 MB Start: 14:00:06 End: 16:22:02 Duration: 02:21:56
-
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.
-
Jo so sieht at aus! Es ist die 64Bit von Stax!
Habe dir mal ne PN geschickt!
-
Im Zweifel kann man Process Explorer den genauen Pfad und Informationen von geladenen DLLs anzeigen lassen.
-
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
-
^ So könnte es auch in unseren "News"-Bereich. :ja:
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!