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) |
Disaster with wrong MPlayer - zigbay03 - 14.05.2018 See attached summary The avs scripts mentioned are simple 4-lines just to load the file. Originally I started with avisynth code I use under windows but found I had to modify it slightly to get things to work. For those interested, my setup is as follows: Slackware Linux 14.2 with multilib Wine-staging-3.7 (syswow64 enabled) FFMPEG-3.4.2 depends: framecounter freetype-2.6.3 glib2-2.46.2 openssl-1.02h qt5-5.7.1 optional: aften-0.0.8 bdsup2subpp-1.02 dcaenc-1.0 divx265-1.5.8 fdkaac-0.1.6 flac-1.3.1 gpac-0.7.1 kvazaar-1.1.0 libvpx-1.5.0 lsdvd-0.17 mediainfo-18.05 mencoder-20160125 (compiled against ffmpeg-2.8.6) mkvtoolnix-23.0.0 mp4box-0.7.1 mplayer-20160125 (compiled against ffmpeg-2.8.6) opus-1.2.1 opus-tools-0.1.10 sni-qt-0.2.6 sox-14.4.2 tsmuxer-2.6.11 x264-20180429 x265-1.8 installation: Create new folder hybrid-bin in /usr/bin Extract contents of avisynthExtension.7z into /usr/bin/hybrid-bin Copy Hybrid binary into /usr/bin/hybrid-bin You need to set permissions for the binary and make it executable. copy avisynth.dll and DEVIL.dll to ~/.wine/drive/c/windows/syswow64 create misc.ini in ~/.hybrid folder which is created by Hybrid at first launch RE: Disaster with wrong MPlayer - Selur - 14.05.2018 Confused,.. what does MPlayer have to do with Avisynth? MPlayer shouldn't be used when handling avisynth scripts by default. On linux avs2yuv should be used. -> Not enough details for me to comment on it. The MPlayer version I use on Windows is MPlayer SVN-r38109-7.3.0. RE: Disaster with wrong MPlayer - zigbay03 - 14.05.2018 Turns out have discovered that the libcdio library on which MPlayer depends was corrupted causing the issue. See attached revised summary. What is clear however, Hybrid has an issue with input of vob's and there is also an issue with AVSviewer when the file input is via avs. Hard to explain ?? Although not desirable, a workaround for the vob input problem is to first rip the dvd with MakeMKV and feed the result into Hybrid. Avisynth preview then works as do the filters on encode. LSMASHSource.dll packed with avisynthExtension is faulty. lsmashvideosource works but LWLibavVideoSource does not RE: Disaster with wrong MPlayer - zigbay03 - 16.05.2018 Kindly fix the preview Error. As you can see from the attached screenshot, avsViewr does work on my system but is being incorrectly called by Hybrid. Debug file is attached. RE: Disaster with wrong MPlayer - Selur - 16.05.2018 Ah it's a problem when loading an avisynth script as source. # loading source: /tmp/convert/Treasure-avi.avs RE: Disaster with wrong MPlayer - zigbay03 - 17.05.2018 (16.05.2018, 17:58)Selur Wrote: Ah it's a problem when loading an avisynth script as source.Thank You. The preview error problem occurs irrespective of the input filter called in the avs including: AviSource FFVideoSource MPEGSource2 LSMASHVideoSource LWLibavVideoSource MPEG2Source RE: Disaster with wrong MPlayer - Selur - 17.05.2018 Send you a link to probably fixed version yesterday, did you try that? Also The source Filters you use inside your external script are not the problem, the problem was that when FilterView was used, instead of: Import("/tmp/convert/Treasure-avi.avs") Source = Import("/tmp/convert/Treasure-avi.avs") Cu Selur RE: Disaster with wrong MPlayer - zigbay03 - 17.05.2018 Thanks for the test version. At first would not load giving either segmentation error or stopping on loading of NeroAACenc. So uninstalled NeroAACenc, then attempted to load mp4 file but found this test version worse than what I had been working with. Until now, the preview issue was largely when loading a file via avs but now the preview does not even work with just loading of a file (no avs). Debug etc attached. RE: Disaster with wrong MPlayer - Selur - 17.05.2018 Regarding NeroAaacEnc: try whether you can call it from a console and see what it outputs. Hybrid looks at that output, but apparently the output is empty, which should not be the case when it works. Regarding the Avisynth script: I see no problem. The script used: LoadCPlugin("/usr/bin/hybrid-bin/avisynthPlugins/ffms2.dll") The indexing call for FFVideoSource looks fine: wine "/usr/bin/hybrid-bin/avisynthPlugins/ffmsindex.exe" -f -t 0 "/tmp/convert/merged.mp4" "/tmp/mp4_064533b25950540cfe9d4ceb031af893_589265238_1_0.ffindex" The preview call: "/usr/bin/hybrid-bin/avsViewer.exe" --input "/tmp/tempPreviewAvisynthFile20_13_17_816.avs" --aspect 1 --matrix Rec601 --listen 2643 Don't see a problem there. (the '--listen 2643' is the port avsViewer is listening) Cu Selur RE: Disaster with wrong MPlayer - zigbay03 - 18.05.2018 (17.05.2018, 17:26)Selur Wrote: Regarding NeroAaacEnc: try whether you can call it from a console and see what it outputs. Hybrid looks at that output, but apparently the output is empty, which should not be the case when it works.Reinstalled NeroAACenc and attach screenshots to show that is working. Tried again to load the mp4 into Hybrid without any filtering but there was no preview just blank window which appeared for a second then closed. Sorry no debug generated. Tried your code clip and index was generated as per attached screenshot. This latest test version of Hybrid does encode because I have run an avs inputing a d2v file including filters and there was no problem except no preview. Also tried your avs but pretty much same thing although this time I managed to get a screenshot. Again no debug. The avs comes up okay in avsPmod and the effect of the Tweak filter can be clearly seen. |