Avisynth+ 3.x installieren sollte den Fehler beheben.
Beiträge von DonaldFaQ
-
-
Zuerst mal solltest du checken ob die Tonhöhe (Pitch) auf der DVD korrekt ist. Falls er zu hoch ist - gut, falls die passt - nicht gut. Denn wenn die Tonhöhe passt, muss bei der Verlangsamung der Audio Spur der Pitch gefixt werden. Dann brauchst natürlich noch ein vernünftiges Audio Frontend, ich würde da VEGAS PRO empfehlen. Also für dich dubbing im Schnelldurchlauf, sofern SOURCE -> TARGET frameidentisch sind.
Spur von 25 FPS auf 23,976 FPS verlangsamen (kannst mein Tool dafür nehmen). Ausgabe nimmst FLAC, das wird unser mezzanine. Mach am besten 2 Encodes, einmal mit, einmal ohne Pitch Korrektuer.
Du nimmst jetzt die EN Spur der BD (da kannst 100 pro sicher sein das der Pitch passt) und mit der machst dasselbe (logischerweise ohne Verlangsamung, einfach in FLAC wandeln).
Beide Spuren in VEGAS PRO rein und jetzt cutten das sie passen. (Ich gebe hier jetzt kein Support wie VEGAS PRO funzt, das würde den Rahmen sprengen).
Ausgabe der Spuren als 16/24-bit LPCM Multiwav (also alle Kanäle in einer wav). Die wav kannst jetzt in AC3 oder was auch immer konvertieren.
Dubben ist learning by doing, jeder hat da andere Wege, hier hast auf jeden Fall nen Fingerzeig.
-
-
Die verhassten Disney Spuren (e-ac3). FFMPEG kann mit denen umgehen, eac3to funktioniert nicht.
-
Das Problem, das Hersteller mit dem Matroska Container haben ist, dass da so ziemlich jeder Codec drinstecken kann in zig Kombinationen, ergo seine Vielfalt an Codec Support wird ihm da zum Verhängnis. Die Hersteller von Hardware müssten Geräte auf den Markt bringen, die eine gute Player Software besitzen um das zu supporten. Da wird der Hase im Pfeffer liegen.
-
Ok, Mein Fehler, unter HME Search muss man nur den String eingeben. (z.B.: umh,umh,umh).
Blindheit macht vor dem Alter keinen Halt :D.
-
AAC ist mit der beste Audiocodec den ich kenne (verlustbehaftet komprimiert). Mit eac3to lässt sich auch ruckzuck aus jedem Surroundformat eine Surround AAC erstellen.
Zum Container selber, da findet man irgendwie nichts. Ist ja auch eher für Codecs von Xiph gedacht. Laut Wikipedia:
-
x265 3.2 wurde veröffentlicht. Einige interessante neue Features sind hinzugekommen:
https://x265.readthedocs.io/en/latest/releasenotes.html
Falls du Lust und Laune hast, kannste im nächsten Update ja ein paar Schalter hinzufügen.
-
Ich komme mit dem Updaten kaum noch hinterher. Danke
-
Das neueste Build hat einen kleinen Bug und funktioniert nur mit Ansi Dateinamen, bzw. Ordner.
Komischerweise habe ich keine Sonderzeichen im Ordner und Dateinamen und es ging nicht. Im root Verzeichnis ging es.
Das wird auch im Doom9 Forum schon besprochen, die Version die ich gepostet habe hier, ist die r935+34. Kann dir leider nicht sagen, wer die kompiliert hat, gibt ja auch da etliche, die was verändern.
Auch hier gibt es wohl gute Neuigkeiten, HolyWu hat das scheinbar heute gefixt !
Zum Thema MediaInfo: ES WURDE TATSÄCHLICH GEFIXT. Ich hätte nie gedacht das zu erleben, aber die Version lüppt jetzt tatsächlich, gut gemacht. Es war die Macht der Gewohnheit seit Ewigkeiten, direkt die 18.50 des Vorgängers zu nutzen.
Also gibts jetzt nur noch Lob, aber wir alt eingesessenen Stax User, wissen ja um die Probleme und die Lösung immer
EDIT: Also ich habe immer noch Probleme mit LSMASH und meinem DNxHR HQX Content, bleibe ergo bei der "alten" Version.
EDIT2: Falls du Lust hast, könntest du ja 2 Plugins noch mit einbinden, die beide besser sind, als DGTonemap:
-
Kurz und Knapp : NEIN
Dolby hat seine Produkte Lizensiert und diese sind auch nur mit der Dolby Suite kompatibel. Diese kann man sogar nicht einmal kaufen, wenn man nicht vorher eine gültige Lizenz erworben hat.
-
So ein Tool hätte vor Jahren einige 1000 EU gekostet. In der Free Version kannst du alles nutzen, ausser 4K Bearbeitung mit HDR.
Allerdings sollte das Quellmaterial vorher in ein Intermediate Format gebracht werden (z.B DNxHR HQ/X), das geht z.B mit FFMpeg.
Aber an Optionen und Einstellungen nicht zu überbieten. Wenn ACES Workflows für die Industrie reichen, dann auch für den Hobby Grader ;).
-
Leider gibt es hier Probleme mit LSMASH. Diese Version hier funktioniert einwandfrei.
MediaInfo sollte man auch zu 18.50 downgraden, ansonsten sind beim demuxen Audio Files im MKA Container und Untertitel auch nicht im richtigen Format.
Ansonsten, vielen Dank für das Update von StaxRip
-
LSMASH kommt damit klar, man muss nur die richtige Version nutzen. Probiere mal diese DLL hier.
Das Avisynth Script so anpassen:
Code
Alles anzeigenLoadPlugin("C:\Program Files (x86)\Video Tools\LSMASHSource-AviSynth-plugin-r929-msvc-64bit\LSMASHSource.dll") LoadPlugin("C:\Program Files (x86)\Video Tools\dfttest-v1.9.4.3\x64\dfttest.dll") Import("C:\Program Files (x86)\Video Tools\dither-1.27.2\dither.avsi") LSMASHVideoSource("Koln Lauf.mov", format = "YUV422P10") ConvertToYV12() prefetch(4) dfttest(Sigma=8,tbsize=1,lsb_in=true,lsb=true) GradFun3(lsb=true, lsb_in=true, thr=0.35) Dither_out() #DitherPost() return(last)
Hier ein Testencode Log:
Spoiler anzeigen
-------------------------- System Environment --------------------------
StaxRip : 2.0.4.2
Windows : Windows 10 Enterprise LTSC 2019 1809
Language : German (Germany)
CPU : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
GPU : NVIDIA GeForce GTX 1070 Ti
Resolution : 1920 x 1080
DPI : 96
------------------------ MediaInfo Source File ------------------------
uncomp.mov
General
Complete name : uncomp.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 527 MiB
Duration : 1 s 43 ms
Overall bit rate : 4 241 Mb/s
Writing application : Lavf57.25.100
Video
ID : 1
Format : YUV
Codec ID : v210
Codec ID/Hint : AJA Video Systems Xena
Duration : 1 s 43 ms
Bit rate mode : Constant
Bit rate : 4 242 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Compression mode : Lossless
Bits/(Pixel*Frame) : 21.333
Stream size : 527 MiB (100%)
Language : English
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Other
ID : 2
Type : Time code
Format : QuickTime TC
Duration : 1 s 43 ms
Time code of first frame : 00:45:00:00
Time code, striped : Yes
Language : English
Default : No
--------------------------- AviSynth Script ---------------------------
LoadPlugin("StaxRip.2.0.4.2-beta\Apps\Plugins\both\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("uncomp.mov", format = "YUV422P10")
ConvertToYV12()
-------------------------- Script Properties --------------------------
Source Frame Count : 25
Source Frame Rate : 23.976024
Source Duration : 00:00:01.0430000
Target Frame Count : 25
Target Frame Rate : 23.976024
Target Duration : 00:00:01.0430000
---------- Video encoding using x265 3.1+11-de920e0 Wolfberry ----------
"StaxRip.2.0.4.2-beta\Apps\Support\avs2pipemod\avs2pipemod64.exe" -y4mp uncomp_temp\uncomp.avs | "StaxRip.2.0.4.2-beta\Apps\Encoders\x265\x265.exe" --crf 16 --preset slow --qcomp 0.7 --no-open-gop --chromaloc 2 --no-info --input-depth 10 --no-strong-intra-smoothing --level-idc 5.1 --aq-mode 1 --me umh --hdr --output-depth 10 --repeat-headers --deblock -3:-3 --no-open-gop --uhd-bd --hdr-opt --min-keyint 1 --keyint 24 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --range limited --bframes 4 --hrd --vbv-bufsize 35000 --vbv-maxrate 40000 --max-cll "1000,400" --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --frames 25 --y4m --output uncomp_temp\uncomp_out.hevc -
avs2pipemod[info]: writing 25 frames of 24000/1001 fps, 3840x2160,
sar 0:0, YUV-420-planar-10bit progressive video.
y4m [info]: 3840x2160 fps 24000/1001 i420p10 unknown frame count
raw [info]: output file: uncomp_temp\uncomp_out.hevc
x265 [info]: HEVC encoder version 3.1+19-c4b098f973e6
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-5.1 (High tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : umh / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 1 / 24 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.70
x265 [info]: VBV/HRD buffer / max-rate / init : 35000 / 40000 / 0.900
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip signhide tmvp lslices=4 deblock(tC=-3:B=-3) sao
avs2pipemod[info]: finished, wrote 25 frames [100%].
avs2pipemod[info]: total elapsed time is 1.879 sec.
x265 [info]: frame I: 2, Avg QP:17.17 kb/s: 39921.23
x265 [info]: frame P: 5, Avg QP:18.29 kb/s: 38522.14
x265 [info]: frame B: 18, Avg QP:20.38 kb/s: 25648.39
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 28.6% 0.0% 0.0% 28.6% 42.9%
encoded 25 frames in 78.55s (0.32 fps), 29364.97 kb/s, Avg QP:19.70
Start: 14:11:55
End: 14:13:15
Duration: 00:01:20
General
Complete name : uncomp_temp\uncomp_out.hevc
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 3.65 MiB
Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 400 cd/m2
--------------------- Muxing using mkvmerge 37.0.0 ---------------------
"StaxRip.2.0.4.2-beta\Apps\Support\MKVToolNix\mkvmerge.exe" -o uncomp.mkv uncomp_temp\uncomp_out.hevc --attach-file cover.jpg --global-tags uncomp_temp\uncomp_tags.xml --ui-language en
mkvmerge v37.0.0 ('Leave It') 64-bit
Automatic MIME type recognition for 'cover.jpg': image/jpeg
'uncomp_temp\uncomp_out.hevc': Using the demultiplexer for the format 'HEVC/H.265'.
'uncomp_temp\uncomp_out.hevc' track 0: Using the output module for the format 'HEVC/H.265 (unframed)'.
The file 'uncomp.mkv' has been opened for writing.
'uncomp_temp\uncomp_out.hevc' track 0: Extracted the aspect ratio information from the HEVC video data and set the display dimensions to 3840/2160.
The cue entries (the index) are being written...
Multiplexing took 0 seconds.
Start: 14:13:16
End: 14:13:17
Duration: 00:00:00
General
Complete name : uncomp.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 3.85 MiB
Duration : 1 s 43 ms
Overall bit rate : 31.0 Mb/s
Encoded date : UTC 2019-09-14 12:13:16
Writing application : mkvmerge v37.0.0 ('Leave It') 64-bit
Writing library : libebml v1.3.9 + libmatroska v1.5.2
Cover : Yes
Attachments : cover.jpg
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 s 43 ms
Bit rate : 29.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Original frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.148
Stream size : 3.65 MiB (95%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 400 cd/m2
----------------------------- Job Complete -----------------------------
Start: 14:11:55
End: 14:13:17
Duration: 00:01:21
-
Hehe, auch das habe ich probiert. Selbes Ergebnis. Sogar wenn ich --fps 24000/1001 in der x265 Befehlszeile einfüge, passiert das beim muxen in den Container.
CodeFFVideoSource("%source_file%", colorspace="YUV422P10", fpsnum=24000, fpsden=1001, \ cachefile = "%source_temp_file%.ffindex")
Selbst im Source Filter direkt habe ich das nochmal angegeben. Kann es sein, da StaxRip irgendwie die AVSPipeline + y4m nimmt, das da irgendwie meine Daten überschrieben werden?
LÖSUNG:
Avisynth Script:
CodeLoadPlugin("E:\VIDEOTOOLS\AVIS riPPen\StaxRip-x64-2.0\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("E:\SOLO.mov", format = "YUV422P10") ConvertFromDoubleWidth(10) ConvertToYV12() AssumeFPS(24000, 1001) Crop(0, 276, -0, -276) Addborders(0, 276, 0, 276)
In den x265 Optionen zusätzlich noch einstellen:
Jetzt passt der MKV Container.
-
Ich habe auch versucht, das HEVC RAW File mit FFMPEG in einen MKV Container zu muxen. FFMpeg meckert aber rum, dass im Bitstream FPS Informationen fehlen würden. Den Enkoder schliesse ich aus, denn das ganze passiert auch, wenn ich DNxHR HQX mit x264 enkodiere.
Nehme ich aber die gleichen Einstellungen des Enkoders und kodiere ein HEVC File und nehm als Source Filter DGIndexNV, habe ich das Problem nicht. Es tritt nur bei diesem Quicktime Codec als Source auf. Daher mein Verdacht, das ich irgendetwas vergesse, wenn ich das YUV422P10 Source Material mittels Avisynth zu YUV420P10 konvertiere.
-
Ich habe eine Frage. Ein DaVinci Resolve Workflow, ausgegeben als DNxHR HQX 10-Bit soll mittels Avisynth (Frontend Staxrip) mit x265 in h.265/HEVC kodiert werden. Soweit so gut, ich nutze LSMASHVideoSource als 10-Bit Pipeline.
Hier das Avisynth Scrypt:
CodeLoadPlugin("E:\VIDEOTOOLS\AVIS riPPen\StaxRip-x64-2.0\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("E:\SOLO 2K.mov", format = "YUV422P10") ConvertFromDoubleWidth(bits=10) ConvertToYV12() Crop(0, 276, -0, -276) Addborders(0, 276, 0, 276)
Das HEVC Raw File sieht auch erstmal gut aus.
Code
Alles anzeigenAllgemein Vollständiger Name : E:\SOLO 2K_temp\SOLO 2K_out.hevc Format : HEVC Format/Info : High Efficiency Video Coding Dateigröße : 80,1 MiB verwendete Encoder-Bibliothek : x265 3.0+1-ed72af837053:[Windows][GCC 8.2.0][64 bit] 10bit Video Format : HEVC Format/Info : High Efficiency Video Coding Format-Profil : Main 10@L5.1@High Breite : 3 840 Pixel Höhe : 2 160 Pixel Bildseitenverhältnis : 16:9 Bildwiederholungsrate : 23,976 (24000/1001) FPS ColorSpace : YUV ChromaSubsampling/String : 4:2:0 BitDepth/String : 10 bits colour_range : Limited colour_primaries : BT.709 transfer_characteristics : BT.709 matrix_coefficients : BT.709
Jetzt die Kuriosität. Wenn ich das File mit MKVtoolnixGui in einen MKV Container muxe, passiert das:
ZitatAllgemein
UniqueID/String : 325351337590654959247091075200408843939 (0xF4C4636AFC70DE507076D6D1411376A3)
Vollständiger Name : E:\SOLO 2K.mkv
Format : Matroska
Format-Version : Version 4
Dateigröße : 80,1 MiB
Dauer : 17s 101 ms
Gesamte Bitrate : 39,3 Mb/s
Kodierungs-Datum : UTC 2019-05-30 00:15:54
Kodierendes Programm : mkvmerge v29.0.0 ('Like It Or Not') 64-bit
verwendete Encoder-Bibliothek : libebml v1.3.6 + libmatroska v1.4.9
Writing frontend : StaxRip v2.0.0.0
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format-Profil : Main 10@L5.1@High
Codec-ID : V_MPEGH/ISO/HEVC
Dauer : 17s 101 ms
Bitrate : 39,3 Mb/s
Breite : 3 840 Pixel
Höhe : 2 160 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 23,976 (23976/1000) FPS
originale Bildwiederholungsrate : 23,976 (24000/1001) FPS
ColorSpace : YUV
ChromaSubsampling/String : 4:2:0
BitDepth/String : 10 bits
Bits/(Pixel*Frame) : 0.198
Stream-Größe : 80,1 MiB (100%)
Default : Ja
Forced : Nein
colour_range : Limited
colour_primaries : BT.709
transfer_characteristics : BT.709
matrix_coefficients : BT.709
Das ganze auch bei x264. Meine Vermutung ist, irgendeine Option stimmt bei der Avisynth Source nicht. Auch wenn ich DSS2 Source oder FFMS2 Source nehme passiert genau das gleiche. Das ganze mit VidCoder (Handbrake Engine) enkodiert funktioniert einwandfrei, ist nur leider keine Option, da ich noch diverse Filter drüber jagen muss.
Für Tipps und Hilfe wäre ich dankbar.