Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2016, 20:08   #1541  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
Well, you are trying to use a .vpy file as your input, but apparently VapourSynth is not installed. This clearly can't work

If, however, you are trying to say that Simple x264 Launcher did not detected VapourSynth although it is installed (what version?) on your system, then please run the application with --console and post your log...
Here is:

Quote:
Simple x264 Launcher v2.65.1004 - use 64-Bit x264 with 32-Bit Avisynth
Copyright (c) 2004-2016 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved.
Built on 2016-01-02 at 00:13:59 with MSVC 2015.1 for Win-x86.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License <http://www.gnu.org/>.
Note that this program is distributed with ABSOLUTELY NO WARRANTY.

This application is powerd by MUtils library v1.06 (2016-01-02, 00:13:35).

Command-Line Arguments:
--console

CPU vendor id : GenuineIntel (Intel=1)
CPU brand string : Intel(R) Core(TM) i5-3330S CPU @ 2.70GHz
CPU signature : Family=6 Model=58 Stepping=9
CPU capabilities : MMX=1 SSE=1 SSE2=1 SSE3=1 SSSE3=1 SSE4=1 SSE4.2=1 x64=1
Number of CPU's : 4

Using Qt v4.8.7 [2015-08-05], DLL, Windows msvc release full-config
Compiled with Qt v4.8.7 [2015-05-07], Windows msvc release full-config

Running on Windows 10 or Windows Server 2014 (Preview) (NT v10.0).

Failed to resolve function: ntdll::wine_get_version
Library Path:
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2

Process token elevation type: Limited -> not elevated.

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
[Validating binaries]
Binaries checker thread has been created, please wait...
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/x264_8bit_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/x264_10bit_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/x264_8bit_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/x264_10bit_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/x265_8bit_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/x265_10bit_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/x265_12bit_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/x265_8bit_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/x265_10bit_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/x265_12bit_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/avs2yuv_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x86/avs_check_x86.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/avs2yuv_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/x64/avs_check_x64.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/common/wget.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/common/gpgv.exe
C:/Program Files (x86)/MuldeR/Simple x264 Launcher v2/toolset/common/wupd.exe
Binaries checker thread finished.

[Check for Avisynth support]
Avisynth thread has been created, please wait...
Avisynth 32-Bit support is being tested.
Avisynth was detected successfully (current version: 2.60).
Avisynth DLL path: C:\Windows\SysWOW64\avisynth.dll
Avisynth 32-Bit edition found!
Avisynth 64-Bit support is being tested.
Avisynth was detected successfully (current version: 2.60).
Avisynth DLL path: C:\Windows\System32\AviSynth.dll
Avisynth 64-Bit edition found!
Avisynth thread finished.
Avisynth support is officially enabled now! [x86=1, x64=1]

[Check for VapourSynth support]
VapourSynth thread has been created, please wait...
VapourSynth Dir: C:/Program Files (x86)/VapourSynth
VapourSynth EXE: C:/Program Files (x86)/VapourSynth/core32/vspipe.exe
VapourSynth DLL: C:/Program Files (x86)/VapourSynth/core32/vapoursynth.dll
VapourSynth 32-Bit edition *not* found!
VapourSynth EXE: C:/Program Files (x86)/VapourSynth/core64/vspipe.exe
VapourSynth DLL: C:/Program Files (x86)/VapourSynth/core64/vapoursynth.dll
VapourSynth version was detected successfully.
VapourSynth 64-Bit edition found!
VapourSynth thread finished.
VapourSynth support is officially enabled now! [x86=0, x64=1]
And Vapoursynth:

Quote:
C:\Program Files (x86)\VapourSynth\core64>vspipe.exe -v
VapourSynth Video Processing Library
Copyright (c) 2012-2015 Fredrik Mellbin
Core R29
API R3.2
Options: -

C:\Program Files (x86)\VapourSynth\core64>
tona69 is offline   Reply With Quote
Old 3rd January 2016, 20:12   #1542  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Hm, looks like VapourSynth was detected successfully:
Quote:
[Check for VapourSynth support]
VapourSynth thread has been created, please wait...
VapourSynth Dir: C:/Program Files (x86)/VapourSynth
VapourSynth EXE: C:/Program Files (x86)/VapourSynth/core32/vspipe.exe
VapourSynth DLL: C:/Program Files (x86)/VapourSynth/core32/vapoursynth.dll
VapourSynth 32-Bit edition *not* found!
VapourSynth EXE: C:/Program Files (x86)/VapourSynth/core64/vspipe.exe
VapourSynth DLL: C:/Program Files (x86)/VapourSynth/core64/vapoursynth.dll
VapourSynth version was detected successfully.
VapourSynth 64-Bit edition found!
VapourSynth thread finished.
VapourSynth support is officially enabled now! [x86=0, x64=1]
Are you 100% sure this log is from the same run where you got the VapourSynth error when trying to encode from VPY file?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd January 2016, 20:18   #1543  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
Hm, looks like VapourSynth was detected successfully:


Are you 100% sure this log is from the same run where you got the VapourSynth error when trying to encode from VPY file?
Yes, is the first time that show me that error, I alway use your program to encode since 2010 but with avs files and then Vapoursynth
tona69 is offline   Reply With Quote
Old 3rd January 2016, 20:23   #1544  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
Hm, looks like VapourSynth was detected successfully:


Are you 100% sure this log is from the same run where you got the VapourSynth error when trying to encode from VPY file?
http://prntscr.com/9lop58
tona69 is offline   Reply With Quote
Old 3rd January 2016, 20:24   #1545  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by tona69 View Post
Yes, is the first time that show me that error, I alway use your program to encode since 2010 but with avs files and then Vapoursynth
So what did you change right before it started failing?

Update to a newer program version? If so, what is the last version that was still working okay? Otherwise, maybe you updated to a newer VapourSynth version?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd January 2016, 20:28   #1546  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
It's working for me with VapourSynth R26:
Quote:
C:\Program Files (x86)\VapourSynth\core32>vspipe.exe -v
VapourSynth Video Processing Library
Copyright (c) 2012-2014 Fredrik Mellbin
Core R26
API R3.1
Quote:
Simple x264 Launcher (Build #1004), built 2016-01-02

Job started at 2016-01-03, 20:26:10.

Source file : C:\Program Files (x86)\VapourSynth\Test.vpy
Output file : C:\Users\MuldeR\Videos\Test.hevc

--- SYSTEMINFO ---

Binary Path : E:\DeLpHi\x264_x64_launcher\bin\Win32\Release
Avisynth : Yes
VapourSynth : Yes

--- SETTINGS ---

Encoder : x265 (H.265/HEVC), x64, 8-Bit
Source : VapourSynth (vpy)
RC Mode : CRF
Preset : veryslow
Tuning : <None>
Profile : <Unrestricted>
Custom : --psy-rd 2.0

--- CHECK VERSION ---

Detect video encoder version:

Creating process:
E:\DeLpHi\x264_x64_launcher\bin\Win32\Release\toolset\x64\x265_8bit_x64.exe --version

x265 [info]: HEVC encoder version 1.8+187-da48f2690076
x265 [info]: build info [Windows][GCC 5.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle

Detect video source version:

Creating process:
"C:\Program Files (x86)\VapourSynth\core32\vspipe.exe" --version

VapourSynth Video Processing Library
Copyright (c) 2012-2014 Fredrik Mellbin
Core R26
API R3.1

> x265 version: 1.8+187
>
VapourSynth version: r26 (API r3)

--- GET SOURCE INFO ---

Creating process:
"C:\Program Files (x86)\VapourSynth\core32\vspipe.exe" --info C:\PROGRA~2\VAPOUR~1\test.vpy -

Width: 920
Height: 712
Frames: 6220
FPS: 50000/1000 (50.000 fps)
Format Name: YUV420P8
Color Family: YUV
Bits: 8
SubSampling W: 1
SubSampling H: 1

Resolution: 920x712
Frame Rate: 50000/1000
No. Frames: 6220

--- ENCODING VIDEO ---

Creating input process:
"C:\Program Files (x86)\VapourSynth\core32\vspipe.exe" --y4m C:\PROGRA~2\VAPOUR~1\test.vpy -

Creating encoder process:
E:\DeLpHi\x264_x64_launcher\bin\Win32\Release\toolset\x64\x265_8bit_x64.exe --crf 20.0 --preset veryslow --psy-rd 2.0 --output C:\Users\MuldeR\Videos\Test.hevc --frames 6220 --y4m -

y4m [info]: 920x712 fps 50000/1000 i420p8 unknown frame count
raw [info]: output file: C:\Users\MuldeR\Videos\Test.hevc
x265 [info]: HEVC encoder version 1.8+187-da48f2690076
x265 [info]: build info [Windows][GCC 5.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: frame threads / pool features : 2 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4
x265 [info]: Keyframe min / max / scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 40 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 5 / 0 / 1
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing deblock sao
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd January 2016, 20:35   #1547  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
So what did you change right before it started failing?

Update to a newer program version? If so, what is the last version that was still working okay? Otherwise, maybe you updated to a newer VapourSynth version?
My computer is x64, previously it used the 32-bit version of Vapoursynth, Avisynthand Python, but uninstalled to use 64-bit was when the error occurred

I run the same script in in StaxRip_x64 and is fine.

Last edited by tona69; 3rd January 2016 at 20:57.
tona69 is offline   Reply With Quote
Old 3rd January 2016, 20:40   #1548  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Just tried VapourSynth R29, but everything is working perfectly fine:
http://i.imgur.com/iGZ9xDK.jpg
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd January 2016, 20:43   #1549  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
Just tried VapourSynth R29, but everything is working perfectly fine:
http://i.imgur.com/iGZ9xDK.jpg
Simple x264/x265 Launcher

StaxRip x64

I reinstalled all again and woks fine all : )

Works again

Last edited by tona69; 3rd January 2016 at 21:06.
tona69 is offline   Reply With Quote
Old 4th January 2016, 20:00   #1550  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by tona69 View Post
Simple x264/x265 Launcher

StaxRip x64

I reinstalled all again and woks fine all : )

Works again
Okay, after thinking about it a bit more, I probably know what your problem was:

If you have only the 32-Bit version VapourSynth installed, but you have selected "prefer 64-Bit" in the preferences, it was going to fail at the start of the encode.

Similarly, if you have only the 64-Bit version VapourSynth installed, but you have not selected "prefer 64-Bit" in the preferences, encode was going to fail as well.

This Test build should improve the "32-Bit vs. 64-Bit" selection logic for the Avisynth/VapourSynth source filters:
http://sourceforge.net/projects/muld...T.exe/download
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 4th January 2016 at 20:06.
LoRd_MuldeR is offline   Reply With Quote
Old 8th January 2016, 22:03   #1551  |  Link
tona69
Registered User
 
Join Date: Apr 2008
Posts: 9
Quote:
Originally Posted by LoRd_MuldeR View Post
Okay, after thinking about it a bit more, I probably know what your problem was:

If you have only the 32-Bit version VapourSynth installed, but you have selected "prefer 64-Bit" in the preferences, it was going to fail at the start of the encode.

Similarly, if you have only the 64-Bit version VapourSynth installed, but you have not selected "prefer 64-Bit" in the preferences, encode was going to fail as well.

This Test build should improve the "32-Bit vs. 64-Bit" selection logic for the Avisynth/VapourSynth source filters:
http://sourceforge.net/projects/muld...T.exe/download
Testing
tona69 is offline   Reply With Quote
Old 10th January 2016, 08:44   #1552  |  Link
movmasty
Registered User
 
Join Date: Feb 2002
Posts: 970
To make it simple, if one doesnt have Xsinth installed, what input can give?

Why it is not accepting my Huffy avi?

You need FFmpeg for this?

Why you could even have a patch for audio but not for intermediate uncompressed avi?

Why doesnt let me to delete the 64 binaries in a 32 bit environment?

So, my input was illegal and it stopped, but i put the following string like command

--ctu 32 --cutree --keyint 150 --min-keyint 10 --ipratio 1.9 --nr-inter 390 --sar 16:15 --no-strong-intra-smoothing

Is it legal?

Last edited by movmasty; 10th January 2016 at 11:35.
movmasty is offline   Reply With Quote
Old 10th January 2016, 16:04   #1553  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by movmasty View Post
To make it simple, if one doesnt have Xsinth installed, what input can give?
x264: Pretty much anything that can be decoded with libavcodec/libavformat (FFmpeg libraries). Which is pretty much everything.

x265: "Raw" YUV data in YUV4MPEG2 format.


Quote:
Originally Posted by movmasty View Post
Why it is not accepting my Huffy avi?
What is "it"?

If you refer to x265 here: At this time, x265 doesn't support reading (compressed) AVI files. Or anything else, except for YUV4MPEG2.

Just frame-serve the input from Avisynth/VaourSynth. Or pipe from FFmpeg. That's it.


Quote:
Originally Posted by movmasty View Post
You need FFmpeg for this?
If you want to pipe the input from FFmpeg, then, obviously, you are going to need FFmepg.

Avisynth/VaourSynth doesn't need FFmpeg (as a standalone application), but you probably want to use FFMS2 (FFmpegSource).


Quote:
Originally Posted by movmasty View Post
Why you could even have a patch for audio but not for intermediate uncompressed avi?
Don't know what you mean. Neither x264 nor x265 handles audio.

AFAIK, there is an unofficial "audio support" patch for x264, but that has never been committed (and probably never will).


Quote:
Originally Posted by movmasty View Post
Why doesnt let me to delete the 64 binaries in a 32 bit environment?
Again, what is "it" ???

So, my input was illegal and it stopped, but i put the following string like command


Quote:
Originally Posted by movmasty View Post
--ctu 32 --cutree --keyint 150 --min-keyint 10 --ipratio 1.9 --nr-inter 390 --sar 16:15 --no-strong-intra-smoothing

Is it legal?
"legal" in what regard?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 10th January 2016 at 16:12.
LoRd_MuldeR is offline   Reply With Quote
Old 10th January 2016, 18:17   #1554  |  Link
movmasty
Registered User
 
Join Date: Feb 2002
Posts: 970
I was a bit imprecise sorry,

I refer to x265, it doesnt accet avi in huffy, as i said i dont have avisinth,
could you put any prog able to feed x265 in the pack?

Since im on win32, i tryed to delete the binaries in 64 bits, it is not possible.

is
--ctu 32 --cutree --keyint 150 --min-keyint 10 --ipratio 1.9 --nr-inter 390 --sar 16:15 --no-strong-intra-smoothing
ok for x265?
movmasty is offline   Reply With Quote
Old 10th January 2016, 21:56   #1555  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by movmasty View Post
I was a bit imprecise sorry,

I refer to x265, it doesnt accet avi in huffy, as i said i dont have avisinth
That's easy to fix:
http://sourceforge.net/projects/avisynth2/

Quote:
Originally Posted by movmasty View Post
could you put any prog able to feed x265 in the pack?
In theory support for piping input from FFmpeg could be implemented. But it's currently not on my TODO list.

Just use FFMS2


Quote:
Originally Posted by movmasty View Post
Since im on win32, i tryed to delete the binaries in 64 bits, it is not possible.
Just ignore the 64-Bit binaries. They will not be used on your system, but they won't hurt either.

Quote:
Originally Posted by movmasty View Post
is
--ctu 32 --cutree --keyint 150 --min-keyint 10 --ipratio 1.9 --nr-inter 390 --sar 16:15 --no-strong-intra-smoothing
ok for x265?
I don't see anything "wrong" with this command. But is it a "good" idea to use?

Totally depends on what you are trying to achieve...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 13th January 2016, 01:20   #1556  |  Link
movmasty
Registered User
 
Join Date: Feb 2002
Posts: 970
OK thanks
movmasty is offline   Reply With Quote
Old 14th January 2016, 23:23   #1557  |  Link
Minister
Registered User
 
Join Date: Nov 2011
Posts: 11
Quote:
Originally Posted by LoRd_MuldeR View Post
Sorry to reply so late to this.

What you did is terrific! Solves the issue I was having exactly. Thank you very much for that.

Using the newer test build now.

Minister is offline   Reply With Quote
Old 24th January 2016, 15:46   #1558  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Simple x264 Launcher v2.65

Quote:
Version 2.65 [2016-01-24]
* Added menu entry to remove all completed or enqueued jobs at once
* Improved 32-Bit vs. 64-Bit selection for Avisynth/VapourSynth
* Updated x264 to revision 2665
* Updated x265 to version 1.8+212
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 6th February 2016 at 13:25.
LoRd_MuldeR is offline   Reply With Quote
Old 6th February 2016, 13:26   #1559  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Simple x264 Launcher v2.66
https://github.com/lordmulder/Simple...ases/tag/v2.66

Quote:
Version 2.66 [2016-02-06]
* Updated x265 to version 1.9+3
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 25th February 2016, 21:35   #1560  |  Link
2-perf
Registered User
 
Join Date: Feb 2016
Location: Montreal
Posts: 23
Second Pass Fails 9 out of 10 times.

Hi,

I'm a total newbie to video encoding. A friend at work heard me saying that I was using Handbrake to encode some Quicktime files to Blu-ray and told me I should be using a frame server... WTF? I replied to him!

Anyway he came to my place, set me up with:

- python-3.5.1-amd64.exe
- ffms2-2.22-msvc (I'm using the x64 flavor)
- vapoursynth-r29.exe (x64 flavor I guess)
- x264_launcher.2016-02-06.exe

He wrote me a VapourSynth script whish looks like this:
Code:
import vapoursynth as vs

# get the core instance
core = vs.get_core()

# load a native vapoursynth plugin, you can also use the auto-loading
# you should use absolute paths as the working directory may not be what you think it is
core.std.LoadPlugin(r'S:\Dropbox\softwares\portableapps\codec_encoder\ffms2-2.22-msvc\x64\ffms2.dll')

# open a video file; ret is now a clip object

path = r'D:\restauration\projet\tropico\deliveries\master\tropico.mov'

ret = core.ffms2.Source( source = path )

# flip the video a bit
#ret = core.std.Transpose( ret )

# set the clip to be output
ret.set_output()
The things is it fails 9 times out of 10 when trying to start the second pass.

Here's the .log (Well, I hope). Sorry I'm a digital colorist not a computer geek.

Code:
Simple x264 Launcher (Build #1012), built 2016-02-06

Job started at 2016-02-18, 22:19:28.

Source file : D:\encodage\projet\tropico\script.vpy
Output file : D:\encodage\projet\tropico\output\script.264

--- SYSTEMINFO ---

Binary Path : C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2
Avisynth    : No
VapourSynth : Yes

--- SETTINGS ---

Encoder : x264 (H.264/AVC), x64, 8-Bit
Source  : VapourSynth (vpy)
RC Mode : 2-Pass
Preset  : slower
Tuning  : Film
Profile : High
Custom  : --level 4.1 --ref 4 --subme 10 --psy-rd 1.00:0.15 --merange 24 --deadzone-inter 21 --deadzone-intra 11 --no-fast-pskip --cqm flat --chroma-qp-offset 3 --threads 12 --lookahead-threads 1 --slices 4 --no-dct-decimate --bluray-compat --vbv-maxrate 38000 --vbv-bufsize 30000 --bframes 3 --b-pyramid 1 --weightb --open-gop --weightp 1 --keyint 24 --min-keyint 1 --rc-lookahead 24 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --qcomp 0.00 --qpmin 0

--- CHECK VERSION ---

Detect video encoder version:

Creating process:
"C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2\toolset\x64\x264_8bit_x64.exe" --version

x264 0.148.2665 a01e339
(libswscale 4.0.100)
(libavformat 57.21.101)
(ffmpegsource 2.22.0.1)
built by Komisar on Jan 18 2016, gcc: 4.8.4 (multilib.generic.Komisar)
x264 configuration: --bit-depth=8 --chroma-format=all
libx264 configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat/ffmpegsource license: GPL version 2 or later

Detect video source version:

Creating process:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" --version

VapourSynth Video Processing Library
Copyright (c) 2012-2015 Fredrik Mellbin
Core R29
API R3.2
Options: -

> x264 revision: 2665 (core #148)
> 
VapourSynth version: r29 (API r3)

--- GET SOURCE INFO ---

Creating process:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" --info D:\encodage\projet\tropico\script.vpy -

Width: 1920
Height: 1080
Frames: 7491
FPS: 24000/1001 (23.976 fps)
Format Name: YUV422P10
Color Family: YUV
Bits: 10
SubSampling W: 1
SubSampling H: 0

Resolution: 1920x1080
Frame Rate: 24000/1001
No. Frames: 7491

--- ENCODING PASS #1 ---

Creating input process:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" --y4m D:\encodage\projet\tropico\script.vpy -

Creating encoder process:
"C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2\toolset\x64\x264_8bit_x64.exe" --bitrate 35000 --pass 1 --stats D:\encodage\projet\tropico\output\script.stats --preset slower --tune film --profile high --level 4.1 --ref 4 --subme 10 --psy-rd 1.00:0.15 --merange 24 --deadzone-inter 21 --deadzone-intra 11 --no-fast-pskip --cqm flat --chroma-qp-offset 3 --threads 12 --lookahead-threads 1 --slices 4 --no-dct-decimate --bluray-compat --vbv-maxrate 38000 --vbv-bufsize 30000 --bframes 3 --b-pyramid 1 --weightb --open-gop --weightp 1 --keyint 24 --min-keyint 1 --rc-lookahead 24 --colorprim bt709 --transfer bt709 --colormatrix bt709 --qcomp 0.00 --qpmin 0 --output D:\encodage\projet\tropico\output\script.264 --frames 7491 --demuxer y4m --stdin y4m -

y4m [info]: 1920x1080p 0:0 @ 24000/1001 fps (cfr)
resize [warning]: converting from yuv422p16le to yuv420p16le
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.1
x264 [info]: frame I:339 Avg QP:10.89 size:467818
x264 [info]: frame P:2145 Avg QP:13.96 size:277862
x264 [info]: frame B:5007 Avg QP:18.17 size:120544
x264 [info]: consecutive B-frames: 5.1% 5.4% 35.4% 54.0%
x264 [info]: mb I I16..4: 41.5% 0.0% 58.5%
x264 [info]: mb P I16..4: 43.0% 0.0% 0.0% P16..4: 35.5% 0.0% 0.0% 0.0% 0.0% skip:21.5%
x264 [info]: mb B I16..4: 12.5% 0.0% 0.0% B16..8: 26.5% 0.0% 0.0% direct:26.8% skip:34.2% L0:10.4% L1:14.9% BI:74.8%
x264 [info]: direct mvs spatial:99.7% temporal:0.3%
x264 [info]: coded y,uvDC,uvAC intra: 94.9% 39.3% 19.9% inter: 47.8% 11.9% 5.6%
x264 [info]: i16 v,h,dc,p: 14% 9% 65% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 9% 20% 10% 11% 11% 9% 10% 10%
x264 [info]: i8c dc,h,v,p: 65% 16% 16% 4%
x264 [info]: Weighted P-Frames: Y:3.0% UV:0.8%
x264 [info]: kb/s:34776.07
encoded 7491 frames, 25.61 fps, 34776.07 kb/s
vpyp [info]: Output 7491 frames in 292.32 seconds (25.63 fps)
Final file size is 1.26 GB bytes.

--- ENCODING PASS #2 ---

Creating input process:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" --y4m D:\encodage\projet\tropico\script.vpy -

Creating encoder process:
"C:\Program Files (x86)\MuldeR\Simple x264 Launcher v2\toolset\x64\x264_8bit_x64.exe" --bitrate 35000 --pass 2 --stats D:\encodage\projet\tropico\output\script.stats --preset slower --tune film --profile high --level 4.1 --ref 4 --subme 10 --psy-rd 1.00:0.15 --merange 24 --deadzone-inter 21 --deadzone-intra 11 --no-fast-pskip --cqm flat --chroma-qp-offset 3 --threads 12 --lookahead-threads 1 --slices 4 --no-dct-decimate --bluray-compat --vbv-maxrate 38000 --vbv-bufsize 30000 --bframes 3 --b-pyramid 1 --weightb --open-gop --weightp 1 --keyint 24 --min-keyint 1 --rc-lookahead 24 --colorprim bt709 --transfer bt709 --colormatrix bt709 --qcomp 0.00 --qpmin 0 --output D:\encodage\projet\tropico\output\script.264 --frames 7491 --demuxer y4m --stdin y4m -

y4m [error]: bad sequence header magic
x264 [error]: could not open input file `-'

WARNING: Input process exited with error (code: -1073741819), your encode might be *incomplete* !!!

IMPORTANT: The Vapoursynth process terminated abnormally. This means Vapoursynth or one of your Vapoursynth-Plugin's just crashed.

PROCESS EXITED WITH ERROR CODE: -1
Thanks for your patience.
2-perf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.