View Full Version : Hybrid: Input -> x264/x265/Xvid/VP8/VP9
Selur
12th October 2013, 20:04
Okay, I see the cause of the problem: the number of audio channels is not changed. (input is 6.1 dts-hd, Hybrid extracts the dts stream, which is 5.1 but the dts decoder call is called with 7 channel output :()
-> not at home atm. will be tomorrow, and send you a fixed version then.
DJ-1
14th October 2013, 18:51
Ok, cheers got the new PM (version 2013.10.10.2)
exact same process as previous post and crash again....
debug: https://www.dropbox.com/s/7hqhkcp711vt97e/HybridDebugOutput2.txt
cheers.
Selur
14th October 2013, 18:54
Strange audio count is still off, may be I messes something uop with the upload,..
DJ-1
14th October 2013, 20:50
cool ok, audio seems to be ok now.
however now i got a video crash.....same as before all as defaults,
no video profile selected (video handling set to x264 ).
debug:https://www.dropbox.com/s/46g5t1dj493snjk/HybridDebugOutput3.txt
Selur
14th October 2013, 21:20
1st I though something was off since ffmpeg was used for avisynth input (normally mencoder should be used), but that is fine since you seem to be using the 32bit ffmpeg version, which does support 32bit Avisynth as input.
Avisynth file looks fine:
SetMemoryMax(768)
SetMTMode(3,0) # change MT mode
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\ffms2.dll")
# loading source
FFVideoSource("\\JOHN-HENRY\Sabnzbd Complete\PCTEMP~1\SORTIT~1\STARWA~1\ATTACK~1\BDMV\STREAM\00800~1.M2T",cachefile="E:\ENCODES\Hybrid\temp folder\17270130019_36_06_8710.ffindex",fpsnum=24000,fpsden=1001)
return last
but check if the Avisynth preview works -> I'm not sure avisynth supports network paths.
(I also wondered why Hybrid choose to use Avisynth as input method, but I saw you enabled 'Config->Avisynth->Always use Avisynth', so it was forced to,..)
also what happens if you call:
C:\PROGRA~1\Hybrid\ffmpeg.exe" -v -10 -analyzeduration 100M -probesize 100M -i "E:\ENCODES\Hybrid\temp folder\encodingTempAvisynthSkript_19_36_06_8710.avs" -an -sn -r 24000/1001 -threads 2 -vsync 0 -r 23.976 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --qcomp 0.5 --weightp 1 --aq-mode 0 --non-deterministic --stats "E:\ENCODES\Hybrid\00800_19_36_06_8710_13.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -
DJ-1
15th October 2013, 16:52
sorry for me being dopey, how do i call it?
i opened a cmd window and paste in the code and all i got was "the filename, DIR name, or Vol name syntax is incorrect"
I think it failed to create the stats file anyways....
I`m not sure sure if its relevant to this, but i noticed in the last couple of test versions u sent me when i open Hybrid I`m getting the Local.conf errors again (has been fine via installer for ages now.)
"Failed to save text To C:\Program file\Hybrid\fonts\local.conf"
and
"C:\Program file\Hybrid\fonts\local.conf needs to be adjusted to current enviroment "
my lLocal.conf seems ok, it has
C:\Users\Darren\AppData\Roaming\hybrid\fonts
C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cache
cheers.
Selur
15th October 2013, 17:00
Sorry, there's a "- missing at the start, of the call. :)
"Failed to send text To C:\Program file\Hybrid\fonts\local.conf"
was it "Failed to saveTextTo ..." ?
DJ-1
15th October 2013, 17:02
yeah, the installer version have not played up like that for ages...
Sent from my HTC One using tapatalk now Free ('http://tapatalk.com/m?id=10')
DJ-1
15th October 2013, 17:16
sorry for being crap with commands etc...
- C:\PROGRA~1\Hybrid\ffmpeg.exe" -v -10 -analyzeduration 100M -probesize 100M -i "E:\ENCODES\Hybrid\temp folder\encodingTempAvisynthSkript_19_36_06_8710.avs" -an -sn -r 24000/1001 -threads 2 -vsync 0 -r 23.976 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --qcomp 0.5 --weightp 1 --aq-mode 0 --non-deterministic --stats "E:\ENCODES\Hybrid\00800_19_36_06_8710_13.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -
or
C:\- PROGRA~1\Hybrid\ffmpeg.exe" -v -10 -analyzeduration 100M -probesize 100M -i "E:\ENCODES\Hybrid\temp folder\encodingTempAvisynthSkript_19_36_06_8710.avs" -an -sn -r 24000/1001 -threads 2 -vsync 0 -r 23.976 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --qcomp 0.5 --weightp 1 --aq-mode 0 --non-deterministic --stats "E:\ENCODES\Hybrid\00800_19_36_06_8710_13.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -
Selur
15th October 2013, 17:25
"C:\PROGRA~1\Hybrid\ffmpeg.exe" -v -10 -analyzeduration 100M -probesize 100M -i "E:\ENCODES\Hybrid\temp folder\encodingTempAvisynthSkript_19_36_06_8710.avs" -an -sn -r 24000/1001 -threads 2 -vsync 0 -r 23.976 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --qcomp 0.5 --weightp 1 --aq-mode 0 --non-deterministic --stats "E:\ENCODES\Hybrid\00800_19_36_06_8710_13.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -
send you a test version regarding the fonts problem
Cu Selur
DJ-1
15th October 2013, 17:38
Pre-GUI initialization starting 17:33:04.084
found autoAdd:
Loading resources:
model versions,...
raw video file extensions,...
raw audio file extensions,...
raw subtitle fil);ns,...
cuda capable cards,...
ogg extensions,...
wmv extensions,...
mp4 extensions,...
mp3 extensions,...
mpeg extensions,...
tsMuxeR extensions,...
raw output extensions,...
mov extensions,...
matroska extensions,...
subcodes,...
languages,...
additional mkv tags,...
format <> number mapping,...
avc level -> vbv max bitrate mapping,...
avc level -> max mps mapping,...
avc level -> max buffer mapping,...
avc level -> max dpb mapping,...
avc level -> max frame size mapping,...
Creating application,...
expected avisynth extension version: 20131005
GUI initialization starting 17:33:04.111
Collecting fonts available on system
Initializing the message handlers,...
home dir now equals appdata folder: C:\Users\Darren\AppData\Roaming
checkHomeDir, findNewHome: true
hybridPath: C:\Users\Darren\AppData\Roaming\hybrid
createFontsFolder
create and set fonts folder,...
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> folder exists
fonts: C:\Users\Darren\AppData\Roaming\hybrid\fonts
-> folder exists
Custom font folder: C:\Users\Darren\AppData\Roaming\hybrid\fonts
create and set fontcache folder
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> exists
cacheDir: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cache
-> exists
Custom font cache folder: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cach
e
checking local.conf file
checking for: C:\Program Files\Hybrid\fonts\local.conf
content: ???????????????????????????????????????????????????????????????????????
??????????????????????????????
dir short Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
dir long Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
content does neither dir long or short path,..
cache short Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\FONTCO~1\cac
he</cachedir>
cache long Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\ca
che</cachedir>
Failed to saveTextTo C:\Program Files\Hybrid\fonts\local.conf
cheers.
Selur
15th October 2013, 17:40
Okay, the problem seems to be that Hybrid doesn't properly read the content of the C:\Program Files\Hybrid\fonts\local.conf :)
DJ-1
15th October 2013, 17:47
ok cheers
Sent from my HTC One using tapatalk
DJ-1
15th October 2013, 18:40
nope still same errors :(
Pre-GUI initialization starting 18:40:12.949
found autoAdd:
Loading resources:
model versions,...
raw video file extensions,...
raw audio file extensions,...
raw subtitle fil);ns,...
cuda capable cards,...
ogg extensions,...
wmv extensions,...
mp4 extensions,...
mp3 extensions,...
mpeg extensions,...
tsMuxeR extensions,...
raw output extensions,...
mov extensions,...
matroska extensions,...
subcodes,...
languages,...
additional mkv tags,...
format <> number mapping,...
avc level -> vbv max bitrate mapping,...
avc level -> max mps mapping,...
avc level -> max buffer mapping,...
avc level -> max dpb mapping,...
avc level -> max frame size mapping,...
Creating application,...
expected avisynth extension version: 20131005
GUI initialization starting 18:40:12.978
Collecting fonts available on system
Initializing the message handlers,...
home dir now equals appdata folder: C:\Users\Darren\AppData\Roaming
checkHomeDir, findNewHome: true
hybridPath: C:\Users\Darren\AppData\Roaming\hybrid
createFontsFolder
create and set fonts folder,...
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> folder exists
fonts: C:\Users\Darren\AppData\Roaming\hybrid\fonts
-> folder exists
Custom font folder: C:\Users\Darren\AppData\Roaming\hybrid\fonts
create and set fontcache folder
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> exists
cacheDir: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cache
-> exists
Custom font cache folder: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cach
e
checking local.conf file
checking for: C:\Program Files\Hybrid\fonts\local.conf
content: ???????????????????????????????????????????????????????????????????????
??????????????????????????????
dir short Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
dir long Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
content does neither dir long or short path,..
cache short Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\FONTCO~1\cac
he</cachedir>
cache long Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\ca
che</cachedir>
Failed to saveTextTo C:\Program Files\Hybrid\fonts\local.conf
Selur
15th October 2013, 18:46
can you send me the local.conf (the actual file not just the content) ? (zip it before sending, so the content doesn't get changed during transfer)
DJ-1
15th October 2013, 18:54
https://www.dropbox.com/s/zqggha1n11tgyo5/local.zip?m
Selur
15th October 2013, 18:56
File looks normal, send you a link to a version which outputs which codec is used for decoding the text content,.. :)
DJ-1
15th October 2013, 19:01
output of the error:
Pre-GUI initialization starting 19:00:32.120
found autoAdd:
Loading resources:
model versions,...
raw video file extensions,...
raw audio file extensions,...
raw subtitle fil);ns,...
cuda capable cards,...
ogg extensions,...
wmv extensions,...
mp4 extensions,...
mp3 extensions,...
mpeg extensions,...
tsMuxeR extensions,...
raw output extensions,...
mov extensions,...
matroska extensions,...
subcodes,...
languages,...
additional mkv tags,...
format <> number mapping,...
avc level -> vbv max bitrate mapping,...
avc level -> max mps mapping,...
avc level -> max buffer mapping,...
avc level -> max dpb mapping,...
avc level -> max frame size mapping,...
Creating application,...
expected avisynth extension version: 20131005
GUI initialization starting 19:00:32.148
Collecting fonts available on system
Initializing the message handlers,...
home dir now equals appdata folder: C:\Users\Darren\AppData\Roaming
checkHomeDir, findNewHome: true
hybridPath: C:\Users\Darren\AppData\Roaming\hybrid
createFontsFolder
create and set fonts folder,...
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> folder exists
fonts: C:\Users\Darren\AppData\Roaming\hybrid\fonts
-> folder exists
Custom font folder: C:\Users\Darren\AppData\Roaming\hybrid\fonts
create and set fontcache folder
appData: C:\Users\Darren\AppData\Roaming\hybrid
-> exists
cacheDir: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cache
-> exists
Custom font cache folder: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cach
e
checking local.conf file
checking for: C:\Program Files\Hybrid\fonts\local.conf
read all using: UTF-16
utf-16 content: ???????????????????????????????????????????????????????????????
??????????????????????????????????????
dir short Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
dir long Path: <dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
content does neither dir long or short path,..
cache short Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\FONTCO~1\cac
he</cachedir>
cache long Path: <cachedir>C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\ca
che</cachedir>
Failed to saveTextTo C:\Program Files\Hybrid\fonts\local.conf
Selur
15th October 2013, 19:06
trying to reproduce it,...
DJ-1
15th October 2013, 19:28
yep that one works ok m8.......
thanks for ur help :)
digitall.h
15th October 2013, 20:56
Aaaahhhh....., those wonderful mysteries of windows systems...
:sly:
:p
Selur
16th October 2013, 10:34
Hybrid rev 2013.10.16.1:
*fixed*
audio: aac codec switch reseted bitrate to 192
audio: don't use mencoder for aac encoding on windows (windows mencoder doesn't come with faac by default any more)
audio: sox calls were missing '--ignore-length'
filter: missing ':' in ffmpeg + unsharpen call
installer: seems like the problems with non-latin1 user names are finally fixed :D
jobs: job optimization falsely combined calls on raw streams
*added*
audio: alac encoding through ffmpeg
-> downloads: http://www.selur.de/downloads
Cu Selur
DJ-1
16th October 2013, 17:21
hmm ok something weird going on, last night the last PM you sent had verison 2013.10.16.2 when opened (although if hovered over shows 2013.10.16.1) ....anyhow that was working fine.
Today, I un-instal and get the fresh `installer` download and is v2013.10.16.1
I now get the 1 error: "local.conf need to be adjust to the current enviroment".
also, I see on you website a note by the installer saying "dlete the Lisence.txt from avisynth plugins DIR".....but there isnt a lisence file there anyhow (just thought I`d mention it.)
I did re-try the version that DID work last night, but the above error now, even on that version.
:(
thanks.
Selur
16th October 2013, 17:30
the installer doesn't say that, Hybrid is saying that and it should only say that if there is a license.txt file inside the avisynthPlugins folder which contains my key (I accidentally forgot to remove it from a previous avisynthExtension version)
->
1. recheck your avisynthPlugins folder, fi it contains a license.txt file that isn't your own delete it
2. is the content of the local.conf still correct?
DJ-1
16th October 2013, 17:41
looks ok :<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>C:\Users\Darren\AppData\Roaming\hybrid\fonts</dir>
<cachedir>C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cache</cachedir>
</fontconfig>
Selur
16th October 2013, 17:43
send you a link to another test version.
DJ-1
16th October 2013, 17:44
not finding the Cache DIR ??
Pre-GUI initialization starting 17:43:29.469
found autoAdd:
Loading resources:
model versions,...
raw video file extensions,...
raw audio file extensions,...
raw subtitle fil);ns,...
cuda capable cards,...
ogg extensions,...
wmv extensions,...
mp4 extensions,...
mp3 extensions,...
mpeg extensions,...
tsMuxeR extensions,...
raw output extensions,...
mov extensions,...
matroska extensions,...
subcodes,...
languages,...
additional mkv tags,...
format <> number mapping,...
avc level -> vbv max bitrate mapping,...
avc level -> max mps mapping,...
avc level -> max buffer mapping,...
avc level -> max dpb mapping,...
avc level -> max frame size mapping,...
Creating application,...
expected avisynth extension version: 20131005
GUI initialization starting 17:43:29.499
Collecting fonts available on system
Initializing the message handlers,...
home dir now equals %appdata%/hybrid folder: C:\Users\Darren\AppData\Roaming
base home dir: C:\Users\Darren\AppData\Roaming
checkHomeDir, findNewHome: true
hybridPath: C:\Users\Darren\AppData\Roaming\hybrid
createFontsFolder
Custom font folder: C:\Users\Darren\AppData\Roaming\hybrid\fonts
Custom font cache folder: C:\Users\Darren\AppData\Roaming\hybrid\fontconfig\cach
e
checking local.conf file
local.conf: C:\Program Files\Hybrid\fonts\local.conf
read all using: System
auto content: <
grabCustomFolder, looking for font: dir
-> found no: <dir>
grabCustomFolder, looking for font: cachedir
-> found no: <cachedir>
font path:
cache path:
finished checking fonts: 0.016s
Selur
16th October 2013, 17:49
Better use pastepin.org or similar for the text content, seems like the board software doesn't like the xml content
DJ-1
16th October 2013, 18:04
try:http://pastebin.com/tSc5SNGA
Selur
16th October 2013, 18:07
strange "auto content: <"
should show the content of the local.conf (which it does for me) and not just a single "<",....
DJ-1
16th October 2013, 18:09
ok, new version you sent give same error:
http://pastebin.com/Fcv9Jc75
Selur
16th October 2013, 18:15
totally strange,..
Selur
16th October 2013, 18:25
managed to reproduce the problem on another system of mine,.. -> looking into it
DJ-1
16th October 2013, 19:29
Ok, all works without errors now :)
Thanks.
greatdanton
17th October 2013, 07:09
I have some trouble. I dont know why isn't working.
Please check text files.
https://www.dropbox.com/sh/mvv5qrku66moasv/RtlHGXv0Ue/HybridDebugOutput.txt
https://www.dropbox.com/sh/mvv5qrku66moasv/NcIC-C-nYA/dfgfdgfdgfgd_14_07_16_0410_Report.txt
Selur
17th October 2013, 07:21
@greatdonton: don't need Report file (like normal log, is is just for 'user amusement' ;); debug output on it's own is fine)
-> does it help to use 'Yadif (Avisynth)' instead of 'Yadif' as deinterlacer ? from the looks of it there's a mistake in the avisynth script Hybrid generated (it falsely assumes that the input is progressive)
Selur
18th October 2013, 00:41
Hybrid rev 2013.10.18.1:
*fixed*
avisynth: ColorMatrix call
decode: mencoder handling of X to i420 color space conversion
gui: problem with local.conf not properly read
*changed*
installer: delete license.txt if it contains one of my keys (*thanks to Faust*)
-> downloads: http://www.selur.de/downloads
Cu Selur
greatdanton
19th October 2013, 22:46
@greatdonton: don't need Report file (like normal log, is is just for 'user amusement' ;); debug output on it's own is fine)
-> does it help to use 'Yadif (Avisynth)' instead of 'Yadif' as deinterlacer ? from the looks of it there's a mistake in the avisynth script Hybrid generated (it falsely assumes that the input is progressive)
yeah, I'm using 'Yadif (Avisynth)' as encoding. but there is still crashed.
it can't creat any files like .stats.
Assuming I don't use avisynth filters it is working. I guess it has some problem about avisynth
Selur
19th October 2013, 22:52
yeah, I'm using 'Yadif (Avisynth)' as encoding. but there is still crashed.
According to the log you used 'Yadif -fast', not 'Yadif (Avisynth)'.
If Avisynth doesn't work for you (not sure why), you can always remove it, by either:
a. deinstall Hybrid and install it, while disabling Avisynth
or
b. rename the 'avisynthPlugins' folder to something else, in example: '_avisynthPlugins'
greatdanton
20th October 2013, 15:10
According to the log you used 'Yadif -fast', not 'Yadif (Avisynth)'.
If Avisynth doesn't work for you (not sure why), you can always remove it, by either:
a. deinstall Hybrid and install it, while disabling Avisynth
or
b. rename the 'avisynthPlugins' folder to something else, in example: '_avisynthPlugins'
it's solved. I'm sorry not to check basic background knowledge for encoding. you're right. I had been selected in 'Yadif (Avisynth)' but I didn't select the menu of the 'Overwrite input scan type'.
So I go to top field first and then it's working :)
I really appreciate to your advise.
Selur
22nd October 2013, 10:50
Hybrid rev 2013.10.22.1:
*fixed*
audio: audio source selection didn't get enabled for multi-source input
cosmetics: when no audio and video streams were found inside the input, the UI didn't get re-enabled.
jobs: jobs checks, didn't properly identify the MP4Version string if it ended it a character instead of a number
*changed*
container: support VP9 inside webm if mkvmerge version >= 6.5.0
cosmetics: tool-ip side bar, now will shop the tool-tips even if 'show tooltips' is disabled
mac: added version info to Info.plist for mac
*changed*
options to load/save/delete profiles
-> downloads: http://www.selur.de/downloads
Cu Selur
mike20021969
22nd October 2013, 13:50
Wow. The installer has shrunk by ~7MB. Recent one's have been ~89MB.
Selur
22nd October 2013, 13:53
installer size changes depending on the versions and tools included and then there's also a size difference depending on how good the installer compresses the files. (from time to time I test different compression settings :))
Selur
22nd October 2013, 14:26
Argh, found the problem :/
I accidentally included the 64bit mencoder/mplayer binaries in both the 32bit and the 64bit part of the installer, therefore the file size shrunk.
-> uploading a fixed version now (will be up in ~15min)
Music Fan
22nd October 2013, 15:10
-> uploading a fixed version now (will be up in ~15min)
Is it ok now ?
Selur
22nd October 2013, 15:11
yes, should be. :)
mike20021969
22nd October 2013, 15:22
yes, should be. :)
It's 88.3MB now.
But you've also altered the installer size on the download page...
Windows Installer (~82MB) contains all the packages below*
It was showing ~89MB earlier.
?
Selur
22nd October 2013, 15:25
it's 89MB again
DJ-1
18th November 2013, 10:44
hi, just reset defaults and install latest Hybrid....
only changes I made (on global profile) were 'output. m2ts' and default temp + output path DIR.
audio handling custom
video handling x264
audio tab: ac3 (aften) profile with under 'misc - passthrough original stream & passthrough set as 1st steam' being the changes from default.
I have a blu ray source, add the audio (2 streams total) and when conversion is finished Both the pass-through & re-encode. ac3 track are approx 1sec behind the video on playback (on any player)... (note I haven't changed any delay setting g at all.
if I select same blu ray in fille mode both streams ok, same process.
also tried a random. avi source, botth streams in av/sync ok there too.
before I reset defaults later and make a debug, is there anything obvious I may need to enabke/disable, or that could cause the mis- match....
thanks.
Sent from my HTC One using tapatalk
Selur
18th November 2013, 13:12
My guess is that it is related to a bug in ffmpeg I'm trying to get the ffmpeg folks to fix -> see https://ffmpeg.org/trac/ffmpeg/ticket/3117
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.