![]() |
|
Disaster with wrong MPlayer - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Disaster with wrong MPlayer (/thread-426.html) |
RE: Disaster with wrong MPlayer - zigbay03 - 21.05.2018 The preview errors occur irrespective of the wine version because I have tried 3 versions. I do not get the errors when I call avsViewer from the terminal nor are there any wine errors when avsPmod is used. You cannot just switch input file from one to another. It does not work You have to first close and relaunch Hybrid and only then can you input a different file. Vapoursynth history is less than avisynth. Support non existant. Documentation as bad as Hybrid. Usability for professional editing dubious. Yes I have it installed but unlikely to recompile it for my new machine for which I already have the motherboard, CPU and GEFORCE GTX1050 RE: Disaster with wrong MPlayer - zigbay03 - 22.05.2018 (20.05.2018, 07:41)Selur Wrote: Why do you create seven debug outputs when I ask for one regarding one of the problems? RE: Disaster with wrong MPlayer - zigbay03 - 22.05.2018 Discovered by accident that yesterday you had posted a new linux Hybrid version 180521. Have quickly evaluated. Do now get a preview of a sorts when loading avs but it is not a filter preview because for example I do not see effect of the Tweak filter. Encoding the file however works and the change in saturation can be seen in the end result. In contrast, if the mp4 is loaded direct into Hybrid, and tweak filter is set, its effect can be seen in the filter preview. debug attached RE: Disaster with wrong MPlayer - Selur - 22.05.2018 Quote:Do now get a preview of a sorts when loading avs but it is not a filter preview because for example I do not see effect of the Tweak filter.Okay, it is strange that you write that because according to the debug output you posted Hybrid does not use a modified avs file but just the avs file you used as input, thus it should be the other way around. Also: You are using the AvisynthPreview right, because inside the normal preview Avisynth is disabled by default,... -> Please create a debug output of the preview not working / showing the effects of tweak, so I can see what is called, to know whether you are using the wrong preview or whether there is a bug. Cu Selur RE: Disaster with wrong MPlayer - zigbay03 - 22.05.2018 First I loaded the avs, clicked support Avisynth + Filter View and got preview but no Tweak effect. However notice that the saturation of both sides is wrong and it looks like the Tweak filter has been applied overall. Closed the preview, deselected deinterlacing and selected Tweak filter which shouldn't be necessary if avs is properly read. This time the preview is correct with the right side having greater colour saturation. Debug,screenshots & avs attached. For interest, I loaded the tmp avs file generated by Hybrid into avsPmod and a screenshot is attached. Something weird is going on ? Why convert to RGB32 twice and I never called Bicubic resize. It should be Spline36 ?? RE: Disaster with wrong MPlayer - Selur - 22.05.2018 Quote:First I loaded the avs, clicked support Avisynth + Filter View and got preview but no Tweak effect.Looking at the preview script from that is used in avsViewer: # input color sampling YV12
# input luminance scale tv
Source = Import("/tmp/convert/merged-mp4-test.avs")
# current resolution: 1024x576
SourceFiltered = Source
# deinterlacing
# filtering
# color modifications
# Current color sampling before 'Tweak' is 'YV12'
# Supported color samplings for 'Tweak' are: 'YUY2, Y8, YV411, YV12, YV16, YV24'
SourceFiltered = SourceFiltered.Tweak(sat=2.00)
# adjust color to(2): RGB32
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source, SourceFiltered)
return last-> Looks fine to me, no clue why you can't see the effect. Works fine here. Quote:Why convert to RGB32 twiceOnce for the filtered and once for the unfiltered source. Quote: I never called Bicubic resize. It should be Spline36 ??Not sure that you are referring to, I don't see any resizing in this script at all,... Cu Selur RE: Disaster with wrong MPlayer - zigbay03 - 22.05.2018 Line 4 of my script calls Spline36Resize The colour saturation of the attached preview screenshot is all wrong - far too red. There is no difference between sides. so Tweak has been applied to both sides. RE: Disaster with wrong MPlayer - Selur - 22.05.2018 In the debug output your attached in the last thread the PreviewScript was: # loading source: /tmp/convert/merged-mp4-test.avs
# input color sampling YV12
# input luminance scale tv
Source = Import("/tmp/convert/merged-mp4-test.avs")
# current resolution: 1024x576
SourceFiltered = Source
# filtering
# adjust color to(2): RGB32
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source, SourceFiltered)
return lastSo yes, if you apply tweak the script that you feed Hybrid as input, both sides will show it's effect. Hybrid simply takes your script as Input, aside from grabbing the frame count, frame rate, color type and resolution it doesn't analyse the content of the script you feed it. -> Did you expect Hybrid to ? Cu Selur RE: Disaster with wrong MPlayer - zigbay03 - 23.05.2018 Your response is astonishing The purpose of having a preview is to see the effect of filters applied so that adjustments can be made if needed. If I load the mp4 direct into Hybrid and deselect all filters, the preview images are the same on both sides. If I however then apply the tweak filter and launch the preview, the effect of the filter can be clearly seen on the right side. This is not the case when I load the mp4 via avs. Screenshots of same frame before and after filter are attached. RE: Disaster with wrong MPlayer - Selur - 23.05.2018 Problem is that I need to either see the problem in the avs file that is used during the preview or need to be able to reproduce the issue. Sadly the effect you describe doesn't happen here and the avisynth script I posted from your debug output in Post #38 shows the following (removed old comments added new once to describe what's happening): Source = Import("/tmp/convert/merged-mp4-test.avs") # Input .avs is loaded
SourceFiltered = Source # Input is copied to SourceFiltered , so Source and SourceFiltered contain the same content
SourceFiltered = SourceFiltered.Tweak(sat=2.00) # Tweak is applied to SourceFiltered
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709") # SourceFiltered is converted to RGB32 using the Rec709 matrix
Source = Source.ConvertToRGB32(matrix="Rec709") # Sourceis converted to RGB32 using the Rec709 matrix
StackHorizontal(Source, SourceFiltered) # Source and SourceFiltered are stacked horizontally
return last # the stacked sources are returnedProblem is for some reason, I do not understand and can't reproduce, the sides look the same for you. I looked at the source code of Hybrid and [/url]avsViewer and nothing should have this effect once the above script is fed to avsViewer. This is how I try to reproduce your issue:
Assuming you didn't make a mistake and fed Hybrid with the already filtered Avisynth script I have no idea what is running wrong that you get the effect that you describe. Seeing that you seem to got MeGui running and we seem to be running in circles here I would recommend to you to use MeGui. Cu Selur |