Habe seit neustem das Problem, dass wenn ich aus Hybrid ein Skript kopiere und es in Notepad++ einfüge, das ganze, so:
[Blockierte Grafik: https://i.ibb.co/JqTrGGW/grafik.png]
aussieht.
Wenn ich es in den normalen Windows editor paste sieht der Text normal aus:
[Blockierte Grafik: https://i.ibb.co/CPf217X/grafik.png]
Wenn ich in Notepad++ "Bearbeiten->Einfügen speziell->HTML-inhalt einfügen" aufrufe erhalte ich:
HTML
Version:1.0
StartHTML:0000000107
EndHTML:0000004192
StartFragment:0000000614
EndFragment:0000004156
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: "\2610"; }
li.checked::marker { content: "\2612"; }
</style></head><body>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--># Imports</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">import vapoursynth as vs</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># getting Vapoursynth core</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">core = vs.core</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># Loading Plugins</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">core.std.LoadPlugin(path="i:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># source: 'C:\Users\Selur\Desktop\tracking error example.avi'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># current color space: YUV420P8, bit depth: 8, resolution: 634x480, fps: 15, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># Loading C:\Users\Selur\Desktop\tracking error example.avi using LWLibavSource</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/tracking error example.avi", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># Setting color matrix to 470bg.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = core.std.SetFrameProps(clip, _Matrix=5)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># Setting color range to TV (limited) range.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># making sure frame rate is set to 15</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip = core.std.AssumeFPS(clip=clip, fpsnum=15, fpsden=1)</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"># Output</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">clip.set_output()<!--EndFragment--></p></body></html>
Alles anzeigen
in Notepad++ was aussieht wie der QTextBrowser den Text intern formatiert.
Vermute es liegt also irgendwie an der HTML->Text Konvertierung in Notepad++.
-> Hat jemand ne Idee wie ich es hinbekomme, dass die Formatierung in Notepad++ wieder passt?
Cu Selur