View Full Version : Hybrid: Input -> x264/x265/Xvid/VP8/VP9


Pages : 1 2 [3] 4

digitall.h
21st January 2014, 18:02
Downloaded!

And willing to test it :D


...so long, so good

digitall.h
1st February 2014, 00:50
Hi selur,
I wouldn't call it a bug, but I think it's a situation hat Hybrid could manage. I'll explain.
I use as temporal path a folder that is not mounted as default.
If I try to run Hybrid without mounting the temp folder, Hybrid shows a message window saying something like 'Cannot append to DebugOutput.txt' and if you click on OK it keeps opening the message window again and again.
In this situation, an error from the user, I would expect a warn from Hybrid ('Could not find the destination path and Hybrid will close', or something) and then close, or set temp path to default and keep running, or opening Hybrid with Config tab selected and temp path with a red background...

Once again, thank you for this very helpful program.

Selur
1st February 2014, 00:58
fixed it locally, Hybrid will now simply disable the debug output after the first message.

Cu Selur

Ps.: send you a link to a test build

FredThompson
7th February 2014, 16:37
Hybrid is returning vertically flipped video when the source uses Ut's (http://umezawa.dyndns.info/archive/utvideo/) RGB format.

These source are created by FlashBack Express's conversion from their screen capture format to AVI.

Can other people verify this behavior? Looking to verify if cause is inside Hybrid. All my systems have the same codecs/configuration so would be helpful to have some "outside" tests.

Selur
7th February 2014, 16:42
Does this change if you dis-/enable "Config->Input->Decoding->Flip raw rgb" ?
If you upload a small sample I can try to reproduce and fix it, I suspect that "Flip raw rgb" might either have to be changed into a 'Flip RGB' or it's accidentally not only checked for RAW input. :)

FredThompson
7th February 2014, 17:39
Does this change if you dis-/enable "Config->Input->Decoding->Flip raw rgb" ?Testing now.
If you upload a small sample I can try to reproduce and fix it, I suspect that "Flip raw rgb" might either have to be changed into a 'Flip RGB' or it's accidentally not only checked for RAW input. :)Not so easy. Hybrid won't take very short files. A 5-minute source is 7G! Screen captures were made at 8 fps but the AVIs created by FlashBack are 30 fps. Haven't found a free decoder for .fbr format. :(

Selur
7th February 2014, 17:41
may be lower the resolution and use a sample that's only a few seconds long`?

FredThompson
7th February 2014, 17:46
Solved, thanks. "Flip raw rgb" was enabled by default. ut RGb is a form of raw RGB but it's not flipped so perhaps Hybrid should test for specific codec.

Selur
7th February 2014, 17:48
perhaps Hybrid should test for specific codec.
It would if I knew what to look for, which is why a sample would be useful. :)

Selur
14th February 2014, 10:28
Hybrid rev 2014.02.14.1:

*changed*

avisynth: use setMTMode(3) before debanding filters
general: move mac settings folder to ~/Library/Application Support/Hybrid
input: don't assume .m4v as raw MPEG-4 Video on Mac OS X
x265: '--scenecut X' and '--min-keyint X' support
x265: support VBV options

*added*

video: Kvazaar (v0.2.4) support

*fixed*

analyse: problems with some mkvs created with older MakeMkv versions
avisynth: accidentally disabled sharpening in the last release
avisynth: bug in LimtedSharpenFaster call
avisynth: select preferred text renderer
avisynth: accidentally disabled sharpening in the last release
crop: OnLoad->AutoCrop didn't properly enable the gui after finishing
input: mpeg-2 raw frame count
input: added workaround for '-nosound dvd://' since current mplayer&mencoder builds are broken
jobs: cosmetics, fixed some progress indication bugs
mac: profiles&settings ended up in user home
x265: missed that '--refresh IDR/CDR' got replaced with '--[no]-open-gop'
x264: lossless output color space bug


-> downloads: http://www.selur.de/downloads

Cu Selur

mike20021969
14th February 2014, 10:36
Hybrid rev 2014.02.14.1:


-> downloads: http://www.selur.de/downloads

Cu Selur

Clicking the link on download page currently shows this:

Not Found

The requested URL "/sites/default/files/hybrid_downloads/Hybrid_2014.2.14.1_SETUP.exe" was not found on this server.

Selur
14th February 2014, 10:41
ahhh,... forgot to upload the Windows installer
Thanks for the repor!
-> should be there in ~12min

Should be up now :)

mike20021969
14th February 2014, 11:09
Should be up now :)

Many thanks :thanks:

luluhiyee
15th February 2014, 01:43
Hi! Can you give me tutorial to install on linux (Ubuntu 12.04)? Thanks

Selur
15th February 2014, 01:45
only thing I wrote for this is: Hybrid&dependencies for Ubuntu (http://forum.selur.de/topic124-hybriddependencies-for-ubuntu.html), shouldn't be to hard to setup

digitall.h
15th February 2014, 09:42
only thing I wrote for this is: Hybrid&dependencies for Ubuntu (http://forum.selur.de/topic124-hybriddependencies-for-ubuntu.html), shouldn't be to hard to setup

As selur says, it isn't hard to setup.

Install all dependencies
Download and extract last version of Hybrid for your Linux architecture
In Config tag select Tools and verify/correct paths to needed tools
and Enjoy


:D

Selur
15th February 2014, 09:44
saving the defaults after changing tool paths is also a good idea :)
btw. if some one has the knowledge and motivation to setup a .deb package (with all the dependencies) for Hybrid I'll happily link to their site or host the .deb file on the official site, since I simply lack the knowledge about .deb files and I lack the motivation and time to read up on it. (same goes for other package systems)

eqbal
15th February 2014, 20:14
I get this error: "Your Mp4Box version seems to be too old to handle MPEG-4 AVC content!" after I try to add a new x256 job to queue. I use the version of OS X 10.8+.
I replaced the nightly build of Mp4Box with the default one in the Hybrid package but it didn't help me, still get that error, any solution?

My hybrid version: 2014.1.22.1

Selur
15th February 2014, 20:19
Try clearing the Tools Cache (Config->Tools->Clear all cached tool infos), restart and try again
If that didn't help, go to Config->Tools->Tool Versions and post the info about the MP4box version. My guess is that there's some problem with Hybrid grabbing or analysing the version string.
(HEVC support is available starting with rev4524.)

eqbal
15th February 2014, 21:38
Thanks Selur, fixed, now the crashing issue in the 'muxing' step, from the app log:
-> 00_04_02_2610_02_muxing crashed:main send out an error: QProcess::Crashed
finished after 00:00:00.394
-> 00_04_02_2610_02_muxing crashed:ERROR: /Users/eqbal/Desktop/x265/_00_04_02_2610__02.mp4 was not created!
finishedJob: 00_04_02_2610

Selur
15th February 2014, 21:41
the log doesn't help me at all, see: http://www.selur.de/support
also update to the latest version, otherwise the debugoutput won't help :)

eqbal
15th February 2014, 22:15
Ok.
1- I have the latest version.
2- The muxing step got crashed.
3- I tried to re-encode the video track of a ts file to x265 with mp4 container .
4- I have the debug file.
5- Debug file is attached.
6- I can send you the sample file by email if needed.

Thanks in advance.

Selur
15th February 2014, 22:17
best send me the sample and the debugoutput via email since attached files require approval which might take a while,..

Selur
15th February 2014, 22:25
Argh, found the problem, seems like some library is missing -> looking into it

eqbal
15th February 2014, 22:28
Ok, I sent it via email.

Selur
15th February 2014, 22:31
argh, found the problem, some library was missing, uploading a fixed package -> redownload in ~30min and try then

digitall.h
21st February 2014, 01:06
Hi selur :)
I'm testing your last Hybrid 64bit 2014.02.14.1 version.
I lost some of my configuration on first start, mainly paths and tools paths.
I added them and saved GlobalDataModel.

But I then realized that a x264 profile I created was not selectable in the Configuration drop down menu in x264 tab. I changed default configuration and tried to save it. Hybrid opens a path: /home/me/.hybrid/.hybrid/profiles/video, that does not exist (there's no /.hybrid/.hybrid). My x264 profile is already at /home/me/.hybrid/profiles/video, but Hybrid looks for it in the wrong path.

I guess if this was also the problem with my default configuration.

Selur
21st February 2014, 07:43
will release an updated version today :)

digitall.h
21st February 2014, 20:53
:thanks:

Selur
21st February 2014, 20:56
Updated version will problably have to wait till sunday, since I couldn't connect to the server half the say and now I'm not at home.

Selur
24th February 2014, 22:42
Hybrid rev 2014.02.25.2:

*fixed*

ffmpeg extracting multiple streams at once


Hybrid rev 2014.02.25.1:

*changed*

kvazaar: '--cqmfile' and '--ref' support
ui: adjust slider ticks to max possible value
ui: some cosmetic fixes

*fixed*

cut: tsMuxeR cut calls
input: RealVideo handling
output: interlaced raw H.264 remuxing problems
tag: tagging was broken
ui: AV-Combo Profiles didn't show up in Main-tab after restart
filter: asynchrony issues accidentally deinterlacing instead of ivtc (if Avisynth was present, but not enabled for DVD input)
x264: make sure Hybrid feeds 10bit colors to x264-10bit (otherwise a crash occurs if the x264 version wasn't compiled with an additional scaler)
ffmpeg extracting multiple streams at once

*added*

input: option to decide whether 'dvd://' or 'dvdnav://' is used for mencoder/mplayer
x264: option to disable the automatic enforcement of medium restrictions for Blu-ray compatible output

-> downloads: http://www.selur.de/downloads

Cu Selur

luluhiyee
27th February 2014, 01:45
only thing I wrote for this is: Hybrid&dependencies for Ubuntu (http://forum.selur.de/topic124-hybriddependencies-for-ubuntu.html), shouldn't be to hard to setup
As selur says, it isn't hard to setup.

Install all dependencies
Download and extract last version of Hybrid for your Linux architecture
In Config tag select Tools and verify/correct paths to needed tools
and Enjoy


:D

after extract hybrid, what i have to do? i mean. i can't find hybrid in the menu

Sorry, Newbie

Selur
27th February 2014, 06:41
i can't find hybrid in the menu
That is because Hybrid doesn't come with an installer and has some dependencies, read the linked 'Hybrid&dependencies for Ubuntu'-thread.
For example to be able to start Hybrid itself you need to have 'libqt4-core libqt4-gui libqt4-network libqt4-dbus libqt4-opengl' installed, then you should be able to double-click it (+ depending on your system you might have to mark it as an executable), if you want an entry in any menu you have to create it. Also on start-up Hybrid will probably complain about a lot of missing and required tools, to install these follow the instructions on the 'Hybrid&dependencies for Ubuntu'.
(most of the tools should be available through the package manager)

As a general note, since I wrote the 'Hybrid&dependencies for Ubuntu'-thread quite a while ago the ppa's I mentioned it it might not be up-to-date any more and the versions in the package manager might be newer.

Cu Selur

FredThompson
2nd March 2014, 05:42
The current and last two previous versions of Hybrid x64 Windows drop video frames on some S3 HD TiVo MPEG2 source files. The source play properly with common players.

Prefered MPEG Decoder (Config/Input tab) has been set as "no preference." Now it is set to FFMPEG12 and the checkbox for Prefer FFmpeg is enabled.

what are the performance differences between ffmpeg12 and mpeg12 decoders?

Which would Hybrid use as the default for 1080i HD MPEG2 source?

Is there a way to force Hybrid to use DirectShowSource (AviSynth) to decode the source video stream?

Selur
2nd March 2014, 07:49
The current and last two previous versions of Hybrid x64 Windows drop video frames on some S3 HD TiVo MPEG2 source files.
never heard of "S3 HD TiVo MPEG2 source files." -> can you provide a small sample?

The source play properly with common players.
Strange if players like VLC, (S)MPlayer or MPC-HC can decode the content properly livav (and therefor mplayer/mencoder) should be able to decode it properly.

what are the performance differences between ffmpeg12 and mpeg12 decoders?
...
Which would Hybrid use as the default for 1080i HD MPEG2 source?
No clue, never checked it. By default (no preference) Hybrid let's mencoder decide which decoder to use. When a specific decoder is selected it enforces that decoder.
I added the option to enforce the mpeg-decoder, since:
a. mplayer/mencoder offers different options
b. I had a source, not sure which, where the default selection produced artifacts
c. I enforce ffmpeg12 for transportstream files since, a bunch of files in transportstreams crashed when mpeg12 decoder was used
Here's (roughly) how Hybrid decides on the decoder:

If prefer 'Prefer FFmpeg as decoder' is enabled FFmpeg get's used and the deocder choice doesn't matter since that option is ment for mencoder/mplayer.
If the source is inside a vob / DVD structure and Avisynth isn't used, mplayer/mencoder decides which decoder get's used
If the source is inside a transport stream container, Hybrid would use ffmpeg12 (unless decoding is done through Avisynth), otherwise it doesn't force a specific decoder an let's mencoder/mplayer decide.
If the source get's decoded through Avisynth:
- and the source is inside a mpeg/transportstream container and DGDecNV is present it get's used, otherwise DGMPGDec get's used
- and the source is inside a mp4 container and DGDevNV is present DGDecNV get's used, otherwise
- if "use L-Smash for mp4 input" is activated L-Smash get's used
- if 'LibavVideoSource instead of FFmpegSource' is selected, LibavVideoSource get's used otherwise FFvideoSource get's used
- and the source is inside a mkv container and DGDevNV is present DGDecNV get's used, otherwise
- if 'LibavVideoSource instead of FFmpegSource' is selected, LibavVideoSource get's used otherwise FFvideoSource get's used
- and the source is inside an av container and 'Prefer AviSource for avi input' and there is a vfw decoder present for the FOURCC of the content AviSource get's used, otherwise
- if 'LibavVideoSource instead of FFmpegSource' is selected, LibavVideoSource get's used otherwise FFvideoSource get's used
- and the source is inside some container I forgot and 'LibavVideoSource instead of FFmpegSource' is selected, LibavVideoSource get's used otherwise FFvideoSource get's used

Is there a way to force Hybrid to use DirectShowSource (AviSynth) to decode the source video stream?
Not atm. since DirectShowSource seemed to system dependent and I don't know of a (programmically) fast way to check whether there is a DirectShowFilter present which supports the content.
(never really cared about DirectShowSource)

-> If you can provide a sample of such content, which allows me to reproduce the problem, I can look into it.

Cu Selur

digitall.h
2nd March 2014, 14:13
Hi selur,
I have not worked a lot with Blu-ray sources lately. In my last encode I see a strange situation.
After finishing a x264 encode and viewing result I see some artefacts in the encode. I went back and previewed the same scene in Hybrid and I also see this same artefacts.
But when I play the original Blu-ray m2ts file in VLC, it plays smoothly, with no artefacts.
I put a capture to illustrate the problem. It is not exactly the same frame (I don't know how to get a capture with frame precision), but in original it was not there.
Original m2ts (VLC)
http://drive.google.com/uc?export=view&id=0B2vWFHTx0g4VTV9iY1JZQ2JfVVE

Encoded 264 (mplayer)
http://drive.google.com/uc?export=view&id=0B2vWFHTx0g4VVVBWQUVnNndWZkE

Is it a problem related to my mplayer/mencoder version?. I ask because mencoder is used to feed x264, isn't it?.
Is my system decoding badly the m2ts file?. Is it related to the ffmpeg version?

Selur
2nd March 2014, 14:19
Is it a problem related to my mplayer/mencoder version?. I ask because mencoder is used to feed x264, isn't it?.
If either mencoder or ffmpeg is used depends on the settings and the input. -> check your job queue :)
An yes, different mencoder/mplayer/ffmpeg version can have an impact on the decoding (assuming you are not using Avisynth).

Just out of curiosity: Is the source interlaced VC-1 or interlaced AVC, both have are better decoded with more recent version.

digitall.h
2nd March 2014, 14:39
The mencoder call:
"/usr/bin/mencoder" -lavdopts threads=4 -really-quiet -ofps 23.976 -of rawvideo -o - "/home/The_Island/BDMV/STREAM/00000.m2ts" -ovc raw -vfm ffmpeg
-noskip -vf scale,format=i420,crop=1920:800:0:140,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -vid 4113 -tsprobe 100000000
Uses mencoder, but then -vfm ffmpeg...

MediaInfo reports the source as VC-1 progressive.
I run Hybrid interlacing check and it reports the source as being progressive.

Selur
2nd March 2014, 14:44
'-vfm ffmpeg' -> the ffmpeg filters which were compiled into mencoder were used, so updating mencoder might help. :)
(if your ffmpeg version is newer than you mencoder version enabling 'prefer ffmpeg as decoder' might also help)

digitall.h
2nd March 2014, 15:12
My mplayer/mencoder version is SVN 34707. A bit old.
But I'm getting an error when compiling mplayer from SVN. I already posted it in ubuntuforums, but the thread is some months old...
The ppa you linked in your website, as you alerted, is outdated, and MOTU has not updated for the last 68 weeks. :scared:

Selur
2nd March 2014, 15:16
The ppa you linked in your website, as you alerted, is outdated, and MOTU has not updated for the last 68 weeks.
-> if you find a newer ppa, share the link and I'll update the one in the Ubuntu dependency thread. :)

digitall.h
2nd March 2014, 20:36
Did not find any yet...
Most of them are really outdated. :(

And the only I found was specific for Saucy Salamander :confused:

Will continue searching, as well as a way to correctly compile mplayer in my system

Selur
2nd March 2014, 20:40
finding more up to date ffmpeg and activating 'prefer ffmpeg as decoder' might be an easier solution ;)

digitall.h
2nd March 2014, 21:26
You're probably right.
I found a ppa from Jon Severinsson that is up to date.
But it says that
Please note that this is *actual* FFmpeg, from ffmpeg.org.
Recent Debian and Ubuntu packages feature Libav (from libav.org), a prominent FFmpeg fork, instead. You should be safe upgrading from Libav to FFmpeg, as the FFmpeg developers regularly pull from the Libav git tree, and thus have all Libav features, as well as several of their own.

However, both Libav and FFmpeg periodically break backward compatibility in order to more easily provide new features, so applications built against one version will not always work with the next...
I'm afraid it can break my system.

Anyway, I'm going to try to use the version of ffmpeg I have installed in my system as decoder, to see if it works better than mplayer/mencoder.
Just a doubt: if I select ffmpeg as decoder, when I hit preview, will ffmpeg be used for preview?, or just at encoding time?.


Hmmm, I ran a test and it seems that preview uses mplayer. So I don't really know if in preview is ffmpeg used...

On second thoughts, I read that ffmpeg is deprecated, and to be substituted by avconv... is that true?

microchip8
2nd March 2014, 23:20
On second thoughts, I read that ffmpeg is deprecated, and to be substituted by avconv... is that true?

ffmpeg is NOT deprecated. It's very actively maintained and developed. This is usual propaganda by Debian/Ubuntu packagers as they're on the side of libav instead of ffmpeg

digitall.h
3rd March 2014, 00:14
Hi froggy1,
yes, I read a little and this was the feeling I got.
It's a bad thing when we have to talk about 'sides' and have to face this 'battles' between FOSS developers. Really bad.

What about Severinsson's ppa?, may it break my system?.

I think I'm going a little off-topic. I'm sorry for this. :o

digitall.h
3rd March 2014, 01:47
Hi selur,
I compiled latest ffmpeg version, and configured Hybrid to use ffmpeg as decoder.
I created a job and started it.
But I think the code is the same:
"/usr/bin/mencoder" -lavdopts threads=4 -really-quiet -ofps 23.976 -of rawvideo -o - "/home/La isla/BDMV/STREAM/00000.m2ts" -ovc raw -vfm ffmpeg -noskip -vf scale,format=i420,crop=1920:800:0:140,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -vid 4113 -tsprobe 100000000 | "/home/x264-VLC/x264-r2389-956c8d8" --preset veryslow --tune film --profile high --level 4.1 --ref 4 --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --qpfile "/media/INTERCAMBIO/TMP/Isla_00_35_04_1910_01.qp" --output-csp i420 --fps 24000/1001 --input-res 1920x800 --output "/media/INTERCAMBIO/TMP/Isla_00_35_04_1910_02.264" -

Wouldn't ffmpeg be used as decoder instead of mencoder?.
There's another strange thing. I managed to compile mplayer/mencoder and have the last SVN version, I confirmed running them in terminal.
Hybrid reports correctly mplayer version, but keeps reporting previous mencoder version, even after clearing cache tools info.
:confused:

FredThompson
3rd March 2014, 04:23
never heard of "S3 HD TiVo MPEG2 source files." -> can you provide a small sample?
Series 3 High Definition TiVo DVR which saves in MPEG2 format. S4 and more recent save in MPEG4

If you can provide a sample of such content, which allows me to reproduce the problem, I can look into it.

This doesn't happen with all streams. The problem files are all at least 8G because they're 2 hours of HD. I'm not sure what causes the issue so can't create a sample. Posting an 8G file will be a challenge.

Hmmm...wonder if there's a problem with livav and large MPEG2 files. I'll load source and output streams into 2 instances of VirtualDub and compare frames after the 4G point.

Is there a frameserver which Hybrid will accept for input? Maybe that will work for the video input and the audio could be passed through. (I'm only encoding video, keeping source audio.)

Selur
3rd March 2014, 09:21
I select ffmpeg as decoder, when I hit preview, will ffmpeg be used for preview?, or just at encoding time?.
Just for encoding. Preview is always done with mplayer (Avisynth inside the AvisynthPreview)

Hybrid reports correctly mplayer version, but keeps reporting previous mencoder version, even after clearing cache tools info.
If you clear the tool cache, Hybrid will run 'which' to find the tool, so if the new version isn't the first one listed Hybrid will not find it and you manually have to tell Hybrid where to find it.

Wouldn't ffmpeg be used as decoder instead of mencoder?.
Normally it should. -> a debuglevel 1 of the job creation should explain why mencoder is used and not ffmpeg.

-----

Is there a frameserver which Hybrid will accept for input? Maybe that will work for the video input and the audio could be passed through. (I'm only encoding video, keeping source audio.)
Nope and that is not planned, since the whole analysis of the file will probably fail with a frame server.

This doesn't happen with all streams. The problem files are all at least 8G because they're 2 hours of HD.
argh,.. just out of curiosity can you check if the problem is still there if you remux the file to mkv before you feed it to Hybrid?
(running the files through ProjectX might also help)

digitall.h
4th March 2014, 00:07
Selur, when I run in terminal:
digitall.h ~ $ which mencoder
/usr/local/bin/mencoder


If I then run:
digitall.h ~ $ MEncoder SVN-r36970-4.6 (C) 2000-2014 MPlayer Team
No file given

Exiting... (error parsing command line)

But in Hybrid, in Config > Tools versions, it shows:
Known tool versions:
MediaInfo -> 0.7.61
x264 -> 2389
flaccl -> 1.2.1
mkvmerge -> 6.7.0
mplayer -> 36970-4.6
FrameCounter ->
tsMuxeR -> 2.6.11
neroAacEnc -> 1.5.4.0
oggenc -> 1.4.0
aften ->
delaycut -> 1.437
MP4Box -> 0.4.6-DEV-rev
mkvextract -> 6.7.0
lsdvd -> 0.16
ffmpeg -> 2.2.git
mencoder -> 34707-4.6
bdsup2sub++ -> 5.11
lame -> 3.99.3
sox -> 14.3.2

I don't know what is going wrong, but the versions are not the same. :confused:

digitall.h
4th March 2014, 00:25
Selur, I'm sorry, I go on...
I repeated the creation of the encoding job with ffmpeg forced as decoder.
And took a look to Debug level 1.
I first see:
DO CHECKS

...

Checking video settings,..
enforceFFmpeg: false
I would expect here enforceFFmpeg: true, but I may be looking at the wrong side.
Later Debug shows:
get decoder name....
avisynth: false
deinterlaceWithDecoder: false
Needs mencoder for .mpls input since ffmpeg is not compiled with libbluray suport,..
needsMencoder: true
needsFFmpeg: false
mplayer title:
mplayer was build with libbluray: true
mplayerCanBeUsedForBluray: false
videoInput: /home/ximo/Torrents/La isla/BDMV/PLAYLIST/00000.mpls
blurayInput: false
mencoderSetCutSelection,..
chapterUsed: false
cutting: false
cut: false
usesChapters: false
tsMuxeR compatible input: true
ffmpegWithLibBluray: false
-> preferFFmpeg: true
Decision time!
needsFFmpeg: false
needsMencoder: true
preferFFmpeg: true
x264 && useInternalDecode: false
-> chosen decoder: mencoder

I suppose that's the clue. If I understand Debug well, even if I choose ffmpeg, Hybrid selects mencoder because ffmpeg was not compiled with libbluray support, isn't it?
Can this be solved recompiling ffmpeg with libbluray support?.
Can the libbluray version be related with the artefacts I see in this movie?
:)

digitall.h
4th March 2014, 00:47
I'm getting closer :D

I managed to play the 'problematic' original Blu-ray with avplay (player of ffmpeg), and it does not show artefacts in the scene mplayer keeps playing with artefacts.

So with latest versions from mplayer and ffmpeg, the latter manages to play it well while the former cannot.
:)

Selur
4th March 2014, 01:10
an this be solved recompiling ffmpeg with libbluray support?.
yup, since ffmpeg can't handle with mpls files which link to multiple m2ts files without libbluray.
(if ffmpeg has libbluray support and 'Prefer ffmpeg as decoder' Hybrid would use ffmpeg to decode the mpls input.

Can the libbluray version be related with the artefacts I see in this movie?
doubt it, it's more likely related to the libav version.

I managed to play the 'problematic' original Blu-ray with avplay (player of ffmpeg),...
you are not using ffmpeg, you are using avconv.
ffmpegs player is ffplay. :)

digitall.h
4th March 2014, 01:41
Of course, you're right :o :rolleyes:

But then...
With mplayer, from inside Hybrid and in terminal, it shows artefacts.
With avplay (avconv) it plays well.
With ffplay (ffmpeg) it plays well...

If you think libbluray version is not critical I will try to re-compile ffmpeg with libbluray support.
Version installed in my system is 0.2.3
Latest version from VideoLAN is 0.5.0


What about differences in mencoder versions?.

Selur
4th March 2014, 06:43
mencoder is often compiled with ffmpeg in it, so depending on what versions mencoder is linked against it can make a lot of differences.

digitall.h
4th March 2014, 19:37
I'm sorry I explained it bad.

I'm referring to the question I posted.
When I run in terminal:
digitall.h ~ $ which mencoder
/usr/local/bin/mencoder


If I then run:
digitall.h ~ $ MEncoder SVN-r36970-4.6 (C) 2000-2014 MPlayer Team
No file given

Exiting... (error parsing command line)

But in Hybrid, in Config > Tools versions, it shows:

Known tool versions:
MediaInfo -> 0.7.61
x264 -> 2389
flaccl -> 1.2.1
mkvmerge -> 6.7.0
mplayer -> 36970-4.6
FrameCounter ->
tsMuxeR -> 2.6.11
neroAacEnc -> 1.5.4.0
oggenc -> 1.4.0
aften ->
delaycut -> 1.437
MP4Box -> 0.4.6-DEV-rev
mkvextract -> 6.7.0
lsdvd -> 0.16
ffmpeg -> 2.2.git
mencoder -> 34707-4.6
bdsup2sub++ -> 5.11
lame -> 3.99.3
sox -> 14.3.2
I don't know what is going wrong, but the versions are not the same. :confused:

Selur
4th March 2014, 19:45
Create a debug output by:
1. setting a default output path (Config->Path->Default output path)
2. enabling Config->Internals->DebugOutput at Level 9
3. saving the defaults (Config->Defaults->Save->Save all)
4. closing Hybrid and deleting the existing HybridDebugOutput.txt inside the default output path you specified
5. start up Hybrid send me the debugOutput

digitall.h
4th March 2014, 21:32
Selur, I may try as you advised, but let me tell you first something I discovered.

As I told you which points to mencoder in /usr/local/bin, and when I run it in terminal it shows version -r36970

But I ran locate mencoder in terminal, and found out I have 2 versions, the one that which pointed me at in /usr/local/bin, but a second one in /usr/bin.
:scared:

And if I run in terminal /usr/bin/mencoder, it shows version -r34707
:angry:

So I made Hybrid point mencoder tool to /usr/local/bin and now shows correct version
:D ;)
:stupid:

digitall.h
4th March 2014, 21:41
This is probably not the correct place to ask this, please point me to the right place in case.

I'm trying to compile x264 with libav and/or ffms support.
I don't know if it's needed in Hybrid to work with ffmpeg and x264 (I think not because ffmpeg outputs raw that x264 can read).
But I would like to compile x264 with this support to work with vapoursynth.
I have been searching the web for the right commands but I didn't find them. Do you know how can it be done?.

Going on with compilation, I managed to compile ffmpeg with libbluray support and now Hybrid creates a job with ffmpeg as decoder (as you said ;)). But I used the libbluray version in my system 0.2.3, and I would like to use a more recent version (now 0.5.0).
When I try to compile 0.5.0 it exits with error:
No package 'libxml-2.0' found
I read a post of yours where you had this same problem when trying to compile libbluray, but did not find the solution. Can you point me to it?.

:)

Selur
4th March 2014, 21:48
regarding x264&vapoursynth: no special flaks are needed, straight builds from the git should support it.

I read a post of yours where you had this same problem when trying to compile libbluray, but did not find the solution. Can you point me to it?.
don't really remember how I fixed that on linux (don't really need libbluray on linux), but I gave up to fix it on Mac
Looking at the script used in https://github.com/jb-alvarado/media-autobuild_suite might help. (I know it's a script ment for MinGW, but as far as I remember the general way should work)

digitall.h
5th March 2014, 00:31
I managed to compile libbluray 0.5.0

Thanx

I will try later x264

:)

The jb-alvarado script does not contain support to add ffms or libav to x264

digitall.h
5th March 2014, 09:29
I don't know if this is supposed to happen, but with the same film Hybrid encodes x264 @ 2.36 fps when with mencoder it was encoding @ 3.8 fps...
:(

Selur
5th March 2014, 09:40
The jb-alvarado script does not contain support to add ffms or libav to x264
You are wrong, it does. (I use it to compile my Windows binaries. ;))

I don't know if this is supposed to happen, but with the same film Hybrid encodes x264 @ 2.36 fps when with mencoder it was encoding @ 3.8 fps...
Not enough infos to reproduce. My guess: you are not using the same settings. :)
-> show the command lines you use to test this, so others can reproduce it

digitall.h
6th March 2014, 00:11
You are wrong, it does. (I use it to compile my Windows binaries. ;))

Most probably you're completely right. I will revise the files, I think I just saw code for vanilla x264 compilation.
In compile_videotools.sh:
git clone http://repo.or.cz/r/x264.git x264-git
cd x264-git
./configure --host=$targetHost --prefix=$LOCALDESTDIR --extra-cflags=-fno-aggressive-loop-optimizations --enable-static --enable-win32thread
make -j $cpuCount
I don't find another reference to x264 compilation. But I have to revise it carefully.

My guess: you are not using the same settings. :)
-> show the command lines you use to test this, so others can reproduce it
Let's go:
"/usr/bin/mencoder" -lavdopts threads=4 -really-quiet -ofps 23.976 -of rawvideo -o - "/home/La isla/BDMV/STREAM/00000.m2ts" -ovc raw -vfm ffmpeg -noskip
-vf scale,format=i420,crop=1920:800:0:140,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -vid 4113 -tsprobe 100000000 |
"/home/x264-VLC/x264-r2389-956c8d8" --preset veryslow --tune film --crf 23 --profile high --level 4.1 --ref 4 --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125
--qpfile "/media/TMP/La_isla_00_46_35_2110_09.qp" --output-csp i420 --fps 24000/1001 --input-res 1920x800 --output "/media/TMP/La_isla_00_46_35_2110_10.264" -

"/home/ffmpeg_build/bin/ffmpeg" -y -v -10 -r 24000/1001 -analyzeduration 100M -probesize 100M -playlist 0 -i bluray:"/home/La isla" -an -sn -threads 4
-vf crop=1920:800:0:140 -vsync 0 -r 24000/1001 -pix_fmt yuv420p -f rawvideo - | "/home/x264-VLC/x264-r2389-956c8d8" --preset veryslow --tune film --crf 18 --profile high
--level 4.1 --ref 4 --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --qpfile "/media/TMP/Isla_00_28_04_2610_01.qp" --output-csp i420 --fps 24000/1001
--input-res 1920x800 --output "/media/TMP/Isla_00_28_04_2610_02.264" -

Aaaarrrggghhh!!
:(
Aaaarrrggghhh!!
:D

You were right. My computer is still hot, after 12 hours of coding...

digitall.h
6th March 2014, 01:47
Well, repeating encoding, and with ffmpeg it encodes at 3.7 fps, about the same speed as mencoder.
I suppose that the bottleneck is in x264.
I will try to optimise x264 compilation in my system, to improve speed.
:)

Selur
6th March 2014, 06:39
I doubt that optimizing the compilation will do much, trying to find faster settings which still produce an acceptable quality might be the better way. :)

digitall.h
6th March 2014, 23:41
Well, I prefer to wait for the result, and enjoy the quality ;)

I suppose that x264 makes a more intensive use of CPU than RAM, because when encoding, CPU goes up to 99% of usage, and memory stays calm.

So optimization will not improve anything if directed to a better use of cores (they are already being used 99%) :scared:

xkinn123
9th March 2014, 09:53
selur, can you add "add font" feature? i really need that! :D

Selur
9th March 2014, 10:17
Don't even know what that feature should do?
wild guess: `Copy the font you want into the 'Font path'? (see: Config->Path->infos->Font path)

v0lt
16th March 2014, 15:05
Hybrid_32bit_140312.7z contains mkvmerge v6.8.0, but not mux HEVC stream.

I used mkvmerge GUI v6.8.0. Was no such problem.

Selur
16th March 2014, 15:12
@volt: does Hybrid know that you are using v6.8.0? (check "Config->Tool versions")

v0lt
16th March 2014, 15:52
I do not know why, but today mkvmerge works in Hybrid.

digitall.h
16th March 2014, 20:38
Hi selur,
using Hybrid 2014.02.25.1 Linux 64bit.
When you select under x264>Misc>Main>Adjustments the option 'Stitchable', it does not change anything in the command-line that Hybrid shows, and then it does not add --stitchable option to x264 call.
:)

Selur
16th March 2014, 20:39
will fix :)

Selur
21st March 2014, 11:18
Hybrid rev 2014.03.21.1:

*changed*

output: add par info to mp4(hevc); did cause problems with the earliest decoders, which is why it was disabled before

*fixed*

avisynth: problem with DGDecNV not being used
jobs: cosmetics, qaac, x265 progress indication
audio: delay was sometimes ignored
x265: color mess when feeding 16bit x265
x264: enabling 'stitchable' didn't change the call

*added*

filter: colorMatrix support through ffmpeg (not only avisynth)
output: option to use 'Title'-tag value as base-name for name generation
x264: option to enforce .stats creation

*removed*

filter: 'Selection', since it doesn't work with mencoder as decoder (only got it working with ffmpeg or avisynth)
x265: x265 support is removed when a version newer than 0.8+149 is used on Windows XP machines (x265 doesn't support Windows XP any more unless someone writes a patch for it)


General note for those using 32bit systems and general about 4k&8k resolutions:
Don't be surprised if you can't reencode content with 4k or 8k resolutions. The 2GB (3GB with LAA on a 64bit OS running the 32bit application) memory limit is simply not enough.
4k = 3840x2160 pixels with Yv12 that is 1.5byte per pixel, so 3840x2160x1.5 = 12384000 byte ~ 11.8MB per Frame, so assuming a max GOP size of 250 is used a bit over 2.8GB would be needed to buffer the whole GOP. With 8k the whole thing easily kills more systems using 4 times that amount of RAM buffering 250frames requires ~11.5GB RAM. So for any system with less than 16GB, 8k is not something to really work with.

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
22nd March 2014, 15:54
I can't start the latest version on XP (after installation), I get 2 error messages about x265 : InitializeConditionVariable not foundable in KERNEL32.dll and GetTool Versions got an empty output for x265.

Selur
22nd March 2014, 17:55
damn, seems like I missed some x265 test. -> x265 dropped XP support and version later then 0.8+149 don't work on Xp.

Music Fan
22nd March 2014, 18:24
Yes, I saw above, I hope you can still make a version for XP users (without x265).

Selur
22nd March 2014, 18:25
replace the current x265 with an older one,..

Music Fan
22nd March 2014, 19:00
replace the current x265 with an older one,..
I only find the last.:o

Music Fan
22nd March 2014, 19:06
Ok it's good, I found ;
http://forum.doom9.org/showthread.php?p=1645128#post1645128

Selur
22nd March 2014, 22:50
look over at videohelp in the MinGW thread

Music Fan
22nd March 2014, 22:59
I guess you mean this ;
http://forum.videohelp.com/threads/357754-%5BHEVC%5D-x265-EXE-mingw-builds

Selur
23rd March 2014, 06:22
yup, a few users posted different version throughout the thread which are not mentioned in the start of the thread.

Music Fan
23rd March 2014, 12:11
Where do these versions come from ? They are not on the official x265 website ?

Music Fan
23rd March 2014, 13:40
When I try to encode in 720.576 in interlaced x264 and when hardware is ticked and put on Blu-ray/AVCHD, Hybrid refuse this resolution and force a resize in 1280.720, why ?
Blu-ray and AVCHD are though 720.576 compatible.
If I want 720.576, I have to untick hardware, go in crop/resize and untick letterbox.

Selur
27th March 2014, 15:47
Where do these versions come from ? They are not on the official x265 website ?
they compile them themselves
When I try to encode in 720.576 in interlaced x264 and when hardware is ticked and put on Blu-ray/AVCHD, Hybrid refuse this resolution and force a resize in 1280.720, why ?
Since you didn't post a debug output here's a wild guess: you kept the par at 1:1 and 567i either needs to be 16:11 or 10:11, since the output par is 1:1 the lowest resolution that is supported by Blu-ray is 720p, which is why Hybrid resized to 720p.

Cu Selur

Music Fan
28th March 2014, 10:54
Thanks, that was it. This is an avs script thus I guess the PAR is always 1:1.
But now my picture in 720.576 is pillarboxed.:confused:
I changed the output PAR, I'm gonna try to force the input PAR.
Ok that was it, just forced the input PAR in 16 x 11 and put the same for output PAR.

Something else : I saw that we could transform TS in MKV without re-encoding with Hybrid ; how do you make to put the good framerate for interlaced stuff ? I tried manually the same method than Hybrid (extraction with TSMuxer, remux with MKVMerge, put 50i) but MediaInfo detects my MKV's framerate as variable while it is constant. When it's done with Hybrid, the framerate is well detected as constant.

Music Fan
28th March 2014, 12:13
Actually 16/11 is not good for 16/9 PAL videos ; MKVMerge detects this display size : 1047*576 while it should be 1024*576, could you add this in Hybrid ?

Selur
28th March 2014, 13:07
no way. Yo are mixing DAR and PAR, see: http://forum.selur.de/topic287-info-about-pixel-aspect-ratios.html

how do you make to put the good framerate for interlaced stuff ?
I explicitly tell mkvmerge which frame rate should be used.

Music Fan
28th March 2014, 17:30
I explicitly tell mkvmerge which frame rate should be used.
I also do this, I put 50i.:confused:

no way. Yo are mixing DAR and PAR
No, I know what means DAR and PAR, I made a lot of mpeg-2 encoding and dvd authoring.

see: http://forum.selur.de/topic287-info-about-pixel-aspect-ratios.html
Ok, I see where the difference comes from ; 16/11 PAR is another norm. But in my opinion, this shouldn't be used for AVCHD/Blu-ray because it gives a unusual Display Resolution (1047*576 instead of 1024*576) and may not be compliant with standalone players (I mean when converted in m2ts with TSMuxer or multiAVCHD).
I will put 64/45.

Music Fan
28th March 2014, 17:41
Actually I can't put 64/45 !:confused:
I have an avs script with a 720.576 resolution and I wanna let it in 720.576 and have a 64/45 PAR, how to do this ?

Selur
28th March 2014, 18:42
by setting the "Input PAR" to 64/45

Music Fan
28th March 2014, 19:00
That's what I did but Hybrid still force the resize in 1280.720 if I don't untick hardware Blu-ray/AVCHD (no problem if I put 16/11 instead of 64/45) and the output PAR is ticked and I have to choose a PAR in the list which does not include 64/45 (logical with a resize in 1280.720).

Selur
29th March 2014, 00:50
no, yo have to set inpt par to 64/45 and set output par to 16/11

Music Fan
29th March 2014, 03:53
In this case Hybrid make a resize in 496.576, but I can change it, thus I put 720.576, I go in the main window, then I go back in crop/resize and it became 704.576.:o
And anyway, if I put 16/11 I won't get what I need and will have to correct it with MKVmerge while it could be done directly with Hybrid.:(
Why is it impossible to put the PAR we want for input and ouptut without crop and/or resize, especially 64/45 which is the usual PAR for anamorphic 16/9 in 720.576 ?

Selur
29th March 2014, 08:46
a. if you change the input PAR no resize or cropping is necessary
b. if you convert one input PAR to another output PAR resize&cropping is necessary
c. there is no restriction (I'm aware of) regarding the input or output PAR unless you want some hardware compatibility

How about you:
a. load your source (not the avisynth script) and see which PAR Hybrid reports
b. load your avisynth script and set that PAR as input PAR
c. if you want/need Blu-ray compatibility: enable x264->Main->Restriction Settings->Hardware->Blu-ray tell Hybrid to use a compatible PAR (the matching MPEG-4-PAR under 'Crop/Resize->Pixel Aspect Ration (PAR)')
-> really sure where your problem is

Music Fan
29th March 2014, 14:14
c. there is no restriction (I'm aware of) regarding the input or output PAR unless you want some hardware compatibility
Yes, that's what I said : I chose Blu-ray compatibility but in this case your program forbid to use 64/45 for 720.576 in 16/9 while it's the only PAR that gives a real 16/9 DAR, 1024.576.
16/11 on 720.576 gives 1047*576 as Display Resolution (you can see it when you load the mkv in MKVmerge), which is not 1,7777... (16/9) but 1,817...
Thus I have to put 16/11 for input and ouptut PAR to avoid crop/resize then I have to change the DAR in MKVmerge to create a file with good PAR/DAR, which makes one more step.:o
Or I have to untick hardware compatibility ; in this case I can put 64/45 for input and ouptut PAR without crop/resize, but I guess it's better to tick hardware compatibility if I wannna make AVCHD and/or Blu-ray.

Selur
29th March 2014, 14:25
Yes, if you enable Blu-ray hardware compatibility Hybrid will only allow to create Blu-ray compatible output, not some output with a "resolution<>PAR<>scan type<>fps"-combination that is not supported by AVCHD and/or Blu-ray.
-> this is not a bug, but you wanting to create non compliant content while you tell Hybrid to enforce compliance. ;)

Music Fan
29th March 2014, 14:34
So, for you, a real 16/9 DAR (1024,576) is not compliant with AVCHD and/or Blu-ray ?
Where did you see this ?
Why should my videos be deformed when encoded in x264 while a 64/45 PAR for 720.576 is ok in mpeg-2 on dvd ?

Selur
29th March 2014, 14:54
So, for you, a real 16/9 DAR (1024,576) is not compliant with AVCHD and/or Blu-ray ?
Has nothing to do with me, there are standards and the DVD, AVCHD and Blu-ray standards differ.

Where did you see this ?
from the tool-tip of the hardware restriction:
1. Blu-ray restrictions see: http://forum.doom9.org/showthread.php?t=154533
2. AVCHD restrictions see: http://www.avchd-info.org/format/index.html
3. DXVA restrictions see: http://www.avsforum.com/avs-vb/showthread.php?t=972503, Hyrid allows all mod16 resolutions not just the few mentioned

Why should my videos be deformed when encoded in x264 while a 64/45 PAR for 720.576 is ok in mpeg-2 on dvd ?
because there are different standards and if you are compliant to one standard it does not mean you are compliant to the next one

Music Fan
29th March 2014, 15:22
because there are different standards and if you are compliant to one standard it does not mean you are compliant to the next one
Ok, but why should the DAR differ from a media to another ? 16/9 is 16/9, whatever the codec used. And to get 1,777 (16/9) from 720.576, there is only one good PAR : 64/45, that's mathematical.

AVCHD restrictions see: http://www.avchd-info.org/format/index.html
There is nothing about PAR.

Blu-ray restrictions see: http://forum.doom9.org/showthread.php?t=154533
16/11 and 12/11 for 720*576 are very strange PAR, not sure it applies to all sources. And I continue to doubt because, as shon3i wrote ;
it's based on original Blu-Ray specification, which are not available in public.
I'd like to be sure his post is complete.
If it is, I wonder why Blu-ray inventors changed the PAR for SD resolutions compared to dvd while the video sources can be the same on both supports.:confused:

Anyway, if I make an AVCHD, MKV will be converted in m2ts by TSMuxer, thus I should verify what TSMuxer does.

Selur
29th March 2014, 15:34
Sorry, but it's a moot point of discussion.
As far as I know the specifications are they are and they require a MPEG-4 PAR for MPEG-4 AVC content.

I'd like to be sure it's complete.
Specification is complete for some time and from what I know that point never changed.

If it is, I wonder why Blu-ray inventors changed the PAR for SD resolutions compared to dvd while the video sources can be the same on both supports.
MPEG-2 isn't MPEG-4, it should be standard compliant to put DVD content onto a Blu-ray.
Converting the MPEG-2 content to MPEG-4 and putting it on a Blu-ray requires the MPEG-4 content to have a MPEG-4 compliant PAR.
-> Can't tell you why the standard committees decided they way they did, but Hybrid will enforce (or try to enforce) standard compliance if it was told to do so by enabling "x264->Main->Restriction Settings->Hardware".

=> It's not a bug in Hybrid that it behaves the way it does and I can't help you change the standards.
For me atm. it's like you asking me why the MPEG-4 AVC level restrictions are the way they are and why Hybrid would enforce them if it was told to do so.
So sadly I can't help you since I don't see a problem I can help you more then I did, by trying to explain how thinks are from what I know.

Anyway, if I make an AVCHD, MKV will be converted in m2ts by TSMuxer, thus I should verify what TSMuxer does.
tsMuxeR doesn't care about either the Blu-ray or AVCHD standard when creating a m2ts file, it doesn't do any vbv, resolution or other checks as far as I know.

Music Fan
29th March 2014, 17:07
I can help you more then I did, by trying to explain how thinks are from what I know.
Don't worry, I understood with your previous post why Hybrid worked like this and I thank you for your explanations.

Specification is complete for some time and from what I know that point never changed.
Of course but I was talking about shon3i's post, not about the norm.

the specifications are they are and they require a MPEG-4 PAR for MPEG-4 AVC content.

(...)

Converting the MPEG-2 content to MPEG-4 and putting it on a Blu-ray requires the MPEG-4 content to have a MPEG-4 compliant PAR.
In this case, how to know that anamorphic 16/9 will be correctly displayed in 16/9 ?

tsMuxeR doesn't care about either the Blu-ray or AVCHD standard when creating a m2ts file, it doesn't do any vbv, resolution or other checks as far as I know.
Actually I meant using TSMuxer with multiAVCHD, which creates standard files or warn if a video is not AVCHD (or Blu-ray) compliant. And when using TSMuxer alone to create an AVCHD folder, it's maybe more exigent than when simply multiplexing in ts or m2ts.
My standalone players never refused projects made with multiAVCHD (except when I made authoring errors), so I guess the PAR are ok.
But that was before using Hybrid ; I encoded with MeGui (IIRC, the format was mp4) and I put it in TS with TSMuxer in which I specified the DAR (4/3 or 16/9).

Selur
29th March 2014, 17:30
In this case, how to know that anamorphic 16/9 will be correctly displayed in 16/9 ?
I use the preview. :)

Music Fan
29th March 2014, 19:00
I'm afraid the preview might not allow to make easily the difference between 1,777 and 1,817.
But I will make tests to see what happens on my TV screen.

Selur
2nd April 2014, 15:19
Hybrid rev 2014.04.02.1:

*changed*

avisynth: disable distributor() by default

*fixed*

audio: stretch handling and audio add options could lead to too many
audio queue entries
audio: opus bitrate selection when aac stack got removed
filter: disable threaded decoding if gradfun is used on .avi input
preview: crash for audio only input
model: "Current defaultTempPath is empty" when 'Generate' and 'Temp path to output path' were enabled.
mux: audio stream got lost for negative delay + mp4 output
output: multioutput file naming

*added*

DivX265: support for constant quantizer support and additional aq modes
'Create iso with tsMuxeR'
gui: audio/subtitle some keyboard mappings
x265: support for weightedB

*removed*

'Create image using ImgBurn'

*notice*

it's recommend to reset the DivX265 profile


-> downloads: http://www.selur.de/downloads

Cu Selur

Havokdan
2nd April 2014, 18:38
Dont start here...

Selur
2nd April 2014, 18:38
I know, working on it, it' because vpxenc is broken, will upload a new version in a few minutes.

Selur
2nd April 2014, 18:42
try in ~20min, then the Installer and the new win64 package will be uploaded

Selur
2nd April 2014, 19:01
correction, had to restart the upload so it will take another 15min

Music Fan
5th April 2014, 14:07
Hi,
Hybrid rev 2014.03.21.1 failed to encode the sound in ac3, the whole process stopped and the picture was not encoded either. No problem if I select ignore instead of custom for the sound.
My source is an avs script which looks like this ;
A = FFAudioSource("G:\video.mpg")
V = FFVideoSource("G:\video.mpg")
AudioDub(V, A)
assumetff()
trim(0,0)
The sound is in mp2 but for Hybrid it's wave. Does Hybrid need a real audio file that can be demuxed ?
Anyway, the wave can be demuxed from an avs file (by Virtual Dub).

Selur
5th April 2014, 14:11
a. not sure what Avisynth version will be used to open the file (the one from Hybrid or the one or your system)
b. since the script is only one frame long, Hybrid will probalby ignore it
c. won't try to reproduce since you didn't use the latest (2014.04.04.1) version

Music Fan
5th April 2014, 16:15
a. not sure what Avisynth version will be used to open the file (the one from Hybrid or the one or your system)
I don't know how Hybrid works with input files but I guess the version used is the one of my system (2.6 alpha 4).
When I open this script in Virtual Dub, there is sound and I can extract it (file, save wav).

b. since the script is only one frame long, Hybrid will probalby ignore it
It's not one frame long, it lasts 1m25s.
trim(0,0) does not keep only frame 0, it allows to have exactly the same length for audio & video without effect on video by cutting the sound when it's longer than video or adding a blank part at the end when it's shorter than video.

c. won't try to reproduce since you didn't use the latest (2014.04.04.1) version
If you didn't change anything about avs input in Hybrid, I guess the problem will be the same on the last version.

Selur
5th April 2014, 16:21
If you didn't change anything about avs input in Hybrid, I guess the problem will be the same on the last version.
probably, but I won't look at it unless it's checked against the latest version
-> if it fails with the latest version, I'll look at it tomorrow.

Music Fan
5th April 2014, 16:26
By the way, I made an AVCHD with multiAVCHD using two MKV encoded by Hybrid, both in anamorphic 16/9 in 720*576 : one with PAR 64/45, the other with PAR 16/11. Both were accepted without re-encoding and both mts are detected as 16/9 by MediaInfo.
My two players display both files the same way (exactly same DAR), thus I guess these 2 PAR are not that important for multiAVCHD which consider these files have 16/9 DAR. I guess the behavior is the same with 4/3 (choice between PAR 16/15 and 12/11).

Music Fan
5th April 2014, 17:35
-> if it fails with the latest version, I'll look at it tomorrow.
It does (just tried with rev2014.04.04.1). The crash happens with ffmpeg but the first step seems to work (the extraction with mplayer), that's what I see in the jobs window.

Selur
5th April 2014, 22:28
-> please create a debug output (level 4) with the latest version (not sure why ffmpeg is used)

Music Fan
6th April 2014, 16:25
Very strange, I believed I had found the solution but now there is another problem.
There was no more sound problem when I erased the ffindex file and created it again (by opening the script in Virtual Dub), but now the crash happens during the remux with MKVMerge, here is the debug file ;
http://pastebin.com/0XdHRTej

Selur
6th April 2014, 16:31
My guess is that mkvmerge doesn't like the wav file which was extracted using:
"C:\PROGRA~1\Hybrid\mplayer.exe" -msglevel statusline=5:all=0 -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 0 "G:\G Emissions\11 09 06 GJ 3 BŕQ Dati Judor Bellucci.avs" -vo null -ao pcm:fast:waveheader:file=""""H:\iId_2_aid_0_17_16_32_1210_01.wav""""
here's the mkvmerge call:
"C:\PROGRA~1\Hybrid\mkvmerge.exe" --ui-language en -o "P:\bell4.mkv" --global-tags "H:\bell4_17_16_32_1210__09.xml" -d 0 --default-track 0:yes --default-duration 0:50i --aspect-ratio-factor 0:16/11 --fourcc 0:MP4V --chapter-charset UTF-8 --chapters "H:\17_16_32_1210__10.chp" --compression -1:none --forced-track 0:yes --no-audio --no-subtitles "H:\bell4_17_16_32_1210_05.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "H:\iId_2_aid_0_17_16_32_1210_01.wav"
if you call it inside a windows command prompt, does mkvmerge show any errors?

Music Fan
6th April 2014, 17:36
Yes : "the file H:\iId_2_aid_0_17_16_32_1210_01.wav could not be opened for reading : open file error".
But I don't see the original mpg file in this call and I guess the wav file is needed while it's not there anymore because it was a temporary file created and erased by Hybrid.
And bell4.mkv does not exist either.

Selur
6th April 2014, 17:47
And bell4.mkv does not exist either.
muxing aborted, so mkvmerge didn't create any output

But I don't see the original mpg file in this call
No, how should it end up there?
a. the input you gave Hybrid was an .avs file
b. Hybrid always extracts audio&video before muxing

the wav file is needed while it's not there anymore because it was a temporary file created and erased by Hybrid.
according to the log Hybrid didn't delete it

Music Fan
6th April 2014, 20:35
Actually the temp files are still there except this wave !
But the ac3 file encoded by Hybrid is there thus I guess the wav used to create it existed, at least during a few seconds.
By the way, why does MKVMerge need this wave while only the ac3 should be used for the final mkv ?

Selur
6th April 2014, 21:03
Totally can't follow you.
The script that you feed to Hybrid does not output an .ac3 file. Avisynth always outputs uncompressed wav.
-> if you want Hybrid to passthrough the audio and use the .ac3 stream from the source, feed it with the original source not an avisynth script,...

Music Fan
6th April 2014, 21:13
I believe you didn't read carefully what I wrote and the debug file : I want to encode the wav audio from the avs file in ac3, and Hybrid does it correctly, I still have the iId_4_aid_0_17_03_46_2910_02.ac3 file in the temp folder ! There is no reason to put the wav in the mkv, I just want the ac3 (and the video of course) created by Hybrid !
The audio source is not ac3, it's mp2 (decompressed in wav by avisynth), otherwise I would keep it of course.

Selur
6th April 2014, 21:41
Then post a debug output which shows Hybrid trying to mux the wrong thing. The debug output you posted did only contains a passthrough audio call.

Music Fan
6th April 2014, 21:56
:confused:
I posted the complete debug file, you should see that I checked the ac3 encoding, otherwise I wouldn't have this ac3 file in the temp folder.

Music Fan
6th April 2014, 22:13
I made the test again, now there is again the ac3 problem :confused:
video is set on x264, audio on custom. In the audio tab, I checked reencode, encoding, ac3 @ 224 k.
Here is the debug output ;
http://pastebin.com/mZzELYfd

Music Fan
6th April 2014, 22:31
Other test with audio set on passthrough all, but with same settings than above in the audio tab (reencode in ac3) and same crash at the end ;
http://pastebin.com/G0CAarmY
But this time I did something I didn't do before : in the audio tab, I removed the first job (added automatically when sound is set on passthrough) and I clicked on add current, which gives probably the same result than when audio is set on custom (keeps only the ac3).
I forgot to do this for the test I made for the first debug output I posted and I probably didn't see that sound was set on passthrough because audio encoding was still available.

Why is the audio encoding still available when sound is set on passthrough ? That's confusing.

Music Fan
6th April 2014, 23:03
To be complete, the last case : audio set on passthrough and audio reencode NOT checked. It's like with my first debug output : no audio encoding problem (logical as it is in passthrough) but muxing problem ;
http://pastebin.com/DqDiiDay
In the first case, I had checked reencode but as I forgot to add the audio job, I guess it's like if I hadn't checked reencode.
Thus I have 2 different problems (but probably linked) : ac3 encoding and mkv muxing.
And I recall that in all cases, the source is the same avs script.

Selur
6th April 2014, 23:13
I made the test again, now there is again the ac3 problem
Okay, I think I see the problem there, MPlayer can't handle the name of you .avs file. :)
"C:\PROGRA~1\Hybrid\mplayer.exe" -msglevel statusline=5:all=0 -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 0 "G:\G Emissions\11 09 06 GJ 3 BŕQ Dati Judor Bellucci.avs" -vo null -ao pcm:fast:waveheader:file=""""H:\iId_1_aid_0_23_07_49_5610_01.wav""""
should produce some error

Other test with audio set on passthrough all, but with same settings than above in the audio tab (reencode in ac3) and same crash at the end
"passthrough all" -> settings in the audio tab don't matter :)
Problem is the same mplayer can't handle the input file name. :)

-> I might be able to write a workaround for it.

Music Fan
6th April 2014, 23:35
"C:\Program Files\Hybrid\mplayer.exe" -msglevel statusline=5:all=0 -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 0 "G:\G Emissions\11 09 06 GJ 3 BŕQ Dati Judor Bellucci.avs" -vo null -ao pcm:fast:waveheader:file=""""H:\iId_1_aid_0_23_07_49_5610_01.wav""""
should produce some error
Nothing happens with this call :confused:


"passthrough all" -> settings in the audio tab don't matter :)
Even if I add a new audio job in the audio tab ?


Problem is the same mplayer can't handle the input file name. :)
Ok, but does it also explain why MKVMerge can't mux audio when sound is set on passthrough ?

Selur
6th April 2014, 23:38
Even if I add a new audio job in the audio tab ?
That's a bug in the current version, normally you shouldn't be able to change the audio queue unless 'custom' is selected. :)

PelPix
8th April 2014, 21:24
Having a problem with subbed mkv inputs where it gets stuck extracting the font files for the subtitles forever.

Selur
8th April 2014, 22:07
No way to reproduce that without a sample. Not sure if this is a bug in Hybrid or if mkvextract has some problem with the file.

xkinn123
15th April 2014, 14:09
hey selur, can you help me this one?
how to properly install Hybrid on Linux Ubuntu 13.10?
i got this error and i dont understand at all...

Selur
15th April 2014, 14:38
a. looks like you just installed Hybrid and not it's requirements.
see: http://forum.selur.de/topic124-info-hybriddependencies-for-ubuntu.html
b. seems like there's something wrong with the mplayer version on your system

xkinn123
15th April 2014, 14:59
a. looks like you just installed Hybrid and not it's requirements.
see: http://forum.selur.de/topic124-info-hybriddependencies-for-ubuntu.html
b. seems like there's something wrong with the mplayer version on your system

1. should i really install all of it? because i only need x265, x264, mkvtoolnix, neroAAC to encode it (either input or output file). is there any tools i need to install?
2. the mplayer one hasn't been updated for 2 years, and is there any difference between x264 on 2012 and now?

microchip8
15th April 2014, 15:17
2. the mplayer one hasn't been updated for 2 years, and is there any difference between x264 on 2012 and now?

Yes and yes. Major differences and improvements

xkinn123
15th April 2014, 15:33
Yes and yes. Major differences and improvements
looks like Hybrid for linux is useless now :(

microchip8
15th April 2014, 15:54
looks like Hybrid for linux is useless now :(

Not necessarily. Compiling both MPlayer and x264 is a fairly easy job. Just make sure to use --disable-vdpau when configuring MPlayer and make sure you have yasm installed when compiling x264

(I mention --disable-vdpau because I don't know how Hybrid works. If you try to encode directly with MEncoder which has vdpau enabled, it will error out as it doesn't support it)

Selur
15th April 2014, 15:56
should i really install all of it? because i only need x265, x264, mkvtoolnix, neroAAC to encode it (either input or output file). is there any tools i need to install?
Here's what's essential and what not (not sure if I did miss anything):
ffmpeg, mplayer, mediainfo, mkvinfo and sox to analyse normal file input (all essential)
lsdvd is needed for dvd input (essential)
mkvmerge is needed for mkv cutting and muxing (essential for mkv output)
mkvextract is needed to extract timecodes and streams in general from mkv input (essential for mkv handling in general)
delaycut is needed to fix audio streams and fix their delay (essential)
tsMuxeR is needed to handle transportstreams (not essential if an up-to-date ffmpeg version with libbluray is used)
NeroAacEnc is needed for aac audio encoding (not essential)
oggenc is needed for vorbis audio encoding (not essential)
aften is needed for ac3 audio encoding (not essential)
frameCounter is needed for raw video input (essential)
FLVExtractCL is needed for flv input (essential)
MP4Box is needed for mp4 handling (essential)
dcaenc is needed for dts encoding (not essential)
mp4fpsmod is needed for mp4 timecode handling (essential)
telxcc is needed for teletext subtitle handling (not essential)
vpxenc is needed for vp8/vp9 video encoding (not essential)
mencoder is needed for audio handling and xvid encoding (essential)
flac is needed for flac audio encoding (not essential)
x265 is needed for HEVC video encoding (not essential)
Kvazaar is needed for HEVC video encoding (not essential)
x264 is needed for AVC video encoding (not essential)
Qt runtime 4.6 or newer (essential)

-> in general I would recommend to:
a. keep the tools up-to-date
b. install all optional tools

looks like Hybrid for linux is useless now
It's a graphical user interface and as such requires a bunch of background tools.
Also it works fine here on Ubuntu 10.04 and newer.
-> Why should it be useless?

it will error out as it doesn't support it
problem is more that vdpau doesn't support output via pipe,...

Cu Selur

xkinn123
15th April 2014, 16:40
Here's what's essential and what not (not sure if I did miss anything):
ffmpeg, mplayer, mediainfo, mkvinfo and sox to analyse normal file input (all essential)
lsdvd is needed for dvd input (essential)
mkvmerge is needed for mkv cutting and muxing (essential for mkv output)
mkvextract is needed to extract timecodes and streams in general from mkv input (essential for mkv handling in general)
delaycut is needed to fix audio streams and fix their delay (essential)
NeroAacEnc is needed for aac audio encoding (not essential)
frameCounter is needed for raw video input (essential)
FLVExtractCL is needed for flv input (essential) <- why? since all of files i encoded are in .mkv extension.
MP4Box is needed for mp4 handling (essential)
mp4fpsmod is needed for mp4 timecode handling (essential)
mencoder is needed for audio handling and xvid encoding (essential)
x265 is needed for HEVC video encoding (not essential)
x264 is needed for AVC video encoding (not essential)
Qt runtime 4.6 or newer (essential)

-> in general I would recommend to:
a. keep the tools up-to-date
b. install all optional tools


It's a graphical user interface and as such requires a bunch of background tools.
Also it works fine here on Ubuntu 10.04 and newer.
-> Why should it be useless?


problem is more that vdpau doesn't support output via pipe,...

Cu Selur

hmm... looks like i'll install all that essential one and what would i need to encode..
ffmpeg, mplayer, mediainfo, mkvinfo and sox to analyse normal file input (all essential)
lsdvd is needed for dvd input (essential)
mkvmerge is needed for mkv cutting and muxing (essential for mkv output)
mkvextract is needed to extract timecodes and streams in general from mkv input (essential for mkv handling in general)
delaycut is needed to fix audio streams and fix their delay (essential)
NeroAacEnc is needed for aac audio encoding (not essential)
frameCounter is needed for raw video input (essential)
FLVExtractCL is needed for flv input (essential) <- why? since all of files i encoded are in .mkv extension.
MP4Box is needed for mp4 handling (essential)
mp4fpsmod is needed for mp4 timecode handling (essential)
mencoder is needed for audio handling and xvid encoding (essential)
x265 is needed for HEVC video encoding (not essential)
x264 is needed for AVC video encoding (not essential)
Qt runtime 4.6 or newer (essential) <-can you tell me where can i find Qt runtime 4.6?

-> Why should it be useless?
forget it. looks like i'll never use x264 anymore :p

Selur
15th April 2014, 16:44
why? since all of files i encoded are in .mkv extension.
then try to work without it, unless it's used by Hybrid at some point you might get away with it missing

Qt runtime 4.6 or newer (essential) <-can you tell me where can i find Qt runtime 4.6?
you must already have a 4.6 or newer runtime, otherwise Hybrid wouldn't startup at all

xkinn123
15th April 2014, 17:00
still not working :(
even after updating mplayer to the latest svn :(

xkinn123
16th April 2014, 09:53
selur, how can i compile mplayer with bluray support? because my compiled Mplayer doesn't include bluray option...
root@norvin-Lenovo-IdeaPad-Z400:~# mplayer -bluray-device
Error parsing option on the command line: -bluray-device
MPlayer SVN-r37152-4.8 (C) 2000-2014 MPlayer Team
root@norvin-Lenovo-IdeaPad-Z400:~# mplayer -v
MPlayer SVN-r37152-4.8 (C) 2000-2014 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz (Family: 6, Model: 58, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX CMOV
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading optional codecs config file /root/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv> select video output driver ('-vo help' for a list)
-ao <drv> select audio output driver ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <position> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
down or up seek backward/forward 1 minute
pgdown or pgup seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
x or z adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

microchip8
16th April 2014, 09:57
selur, how can i compile mplayer with bluray support? because my compiled Mplayer doesn't include bluray option...


install the development package of libbluray (usually called libbluray-devel or libbluray-dev) and recompile MPlayer again

Selur
16th April 2014, 10:01
you don't necessarily need libbluray in either mplayer/mencoder or ffmpeg, it just offers Hybrid more possibilities.
libbluray support only is helpful if you want to feed Hybrid with a Blu-ray as input
no clue, it's ages since I last compiled mplayer/mencoder with libbluray support on a linux system (and I can't get it working on Mac OS X)
I guess a normal search engine like Google&Co should produce some guides on how to compile mplayer/mencoder with the usual dependencies


The problem with the call above:
"home/norvin/mplayer" -v br:// -blu-ray-device Testing
wasn't that mplayer/mencoder wasn't compiled with libbluray, the problem was that the call didn't produce an output (more precise: didn't start) after 5 seconds!

xkinn123
16th April 2014, 12:56
you don't necessarily need libbluray in either mplayer/mencoder or ffmpeg, it just offers Hybrid more possibilities.
libbluray support only is helpful if you want to feed Hybrid with a Blu-ray as input
no clue, it's ages since I last compiled mplayer/mencoder with libbluray support on a linux system (and I can't get it working on Mac OS X)
I guess a normal search engine like Google&Co should produce some guides on how to compile mplayer/mencoder with the usual dependencies


The problem with the call above:
"home/norvin/mplayer" -v br:// -blu-ray-device Testing
wasn't that mplayer/mencoder wasn't compiled with libbluray, the problem was that the call didn't produce an output (more precise: didn't start) after 5 seconds!

you said that your software was worked in ubuntu, right?
is it possible to share it to me?;)

Selur
16th April 2014, 13:06
Yes, Hybrid does work on Ubuntu. The version for 64bit Ubuntu 13.10 would be the normal "Hybrid Linux64bit"-download.
Sharing binaries like mplayer&co isn't that easy on Linux since most tools can't really be compiled totally static, so they will only work with a specific distribution.

Most of the tools required should be available through the normal:
sudo apt-get install nameoftool
and some really need to be compiled on manually. (see: http://forum.selur.de/topic124-info-hybriddependencies-for-ubuntu.html)

is it possible to share it to me?
Not really:
a. some tools wouldn't work
b. some tools are not freely distributable in binary form

xkinn123
17th April 2014, 05:29
so, is this Hybrid fault to got that error or Mplayer fault?
does Hybrid quit if Mplayer get an error like that?

Selur
17th April 2014, 17:33
The a program does not respond to a call can have a lot of reasons some serious like some trojan running wild a simple one like a hdd that takes to long to spin up.
Normally it's just a buggy build of the tool called (or some unfinished update which removed some libraries the tool depends on).
So keeping a working background tools normally is a good idea. (especially in the case of x265, some build work fine and other simply crash on some machines and not others)
Side note: if you change out tools, clear the tool cache in Hybrid (Config->Tools), so that Hybrid will rescan for the tools and their versions.

does Hybrid quit if Mplayer get an error like that?
it shouldn't, but I wouldn't guarantee it since it doesn't happen in any on my VMs or live systems.

xkinn123
19th April 2014, 02:19
so, i found out why Hybrid got an error in my laptop : it's also check my Home folder that also has same name folder (ffmpeg, neroaac, also mplayer).
seriously, why Hybrid also check my Home folder if most of the tools can be find on /usr/bin or local folder?

anyway, i got stuck when Hybrid exracted fonts from my mkv file. does it use mkvextract? because when i use it in root, it extracted smoothly.

Selur
19th April 2014, 05:53
Hybrid uses 'which' to find the tools, in example it calls: 'which mplayer' and then uses the first path it get's.
-> manually setting the paths to the tools under Config->Tools and saving the new paths as defaults should solve that

anyway, i got stuck when Hybrid exracted fonts from my mkv file. does it use mkvextract? because when i use it in root, it extracted smoothly.
Yes, as default mkvextract is used unless ffmpeg is preferred by configuration.
-> can't really say more without a debugoutput. (read: http://www.selur.de/support)

Cu Selur

xkinn123
19th April 2014, 11:32
selur, can you fix this one?
it's about minimizing to the system tray.
when i tried to minimize it, it went to system tray. but, when i tried to unminimize it, i can't.
it looked like this http://i.imgur.com/Rz9O8ys.png. i kept click it but it has no response.
OS: Ubuntu 14.04

Selur
20th April 2014, 07:46
will look into it tomorrow (visiting family atm. and only have my tablet with me)

Music Fan
20th April 2014, 16:27
Hi Selur,
does Hybrid work well on Windows 7 64 bits ? Because I will maybe buy it to replace XP.

Selur
20th April 2014, 16:44
Yes, I mainly develop and use it under Win 7 64bit :)

Music Fan
20th April 2014, 16:49
Cool.
Do you believe the pro edition is useful for audio/video editing/encoding/playing or the home edition is enough ?

Selur
20th April 2014, 18:20
Only real restriction regarding A/V handling I see with the home is it's restriction to 16GB RAM, when having 4k resolutions in mind.
http://www.zdnet.com/blog/bott/do-you-need-more-than-windows-7-home-premium/1128 might be interesting

digitall.h
20th April 2014, 21:37
Hi, sorry, arriving late to the 'Hybrid under Linux' call...
:p

xkinn123, I'm using Hybrid under Linux Mint 64bit for about a year (more?), and works great!
Follow Selur advice, read the Selur site forum and his thread, and you will succeed.
:)

xkinn123
21st April 2014, 02:10
Hi, sorry, arriving late to the 'Hybrid under Linux' call...
:p

xkinn123, I'm using Hybrid under Linux Mint 64bit for about a year (more?), and works great!
Follow Selur advice, read the Selur site forum and his thread, and you will succeed.
:)

i've already found the reason why it didn't run, anyway :p

Music Fan
21st April 2014, 12:20
Only real restriction regarding A/V handling I see with the home is it's restriction to 16GB RAM, when having 4k resolutions in mind.
http://www.zdnet.com/blog/bott/do-you-need-more-than-windows-7-home-premium/1128 might be interesting
Thanks for this information.
But you wrote one month ago that 16 GB could be enough for 4K and also 8K ;
http://forum.doom9.org/showthread.php?p=1674455#post1674455
assuming a max GOP size of 250 is used a bit over 2.8GB would be needed to buffer the whole GOP. With 8k the whole thing easily kills more systems using 4 times that amount of RAM buffering 250frames requires ~11.5GB RAM.

Selur
21st April 2014, 12:24
Yup you are right even with openGop 4k should be fine with 16GB. :)

Music Fan
21st April 2014, 12:25
And 8K too, isn't it ?

Selur
21st April 2014, 12:30
Only if you assume that no more than 250 frames get cached, if you use openGOP and/or a larger max GOP size this might not be the case.
So personally I would call 16 GB more a minimum requirement for 8k handling, but when I would have to build a machine for 8k encoding&editing, I would aim for 32GB or above.

Music Fan
21st April 2014, 12:33
Ok. Anyway I'm far to encode in 8K so I guess I won't need more than 16 GB before a few years.

Selur
23rd April 2014, 10:58
It's time to think about the support of older OSs.

Should Hybrid try to keep supporting:

Windows XP?
Since the security support for it died, one should probably switch to a newer OS. Also looking at the recent trouble with x265, it's not hard to imagine that other tools might want to drop XP support too.
Linux with Qt versions below 4.8?
With Ubuntu 14.04 LTS being out an thus replacing Ubuntu 10.04 and all current Linux distributions support Qt 4.8+, dropping 4.6 support shouldn't be too much harm.
Mac OS X below 10.8?
Mac OS X is a sad picture regarding free tools, since:

it seems like nobody is compiling mencoder/mplayer for Mac OS X 10.6+ (with libbluray and libass in it)
to be frank most other tools also do not get up-to-date releases for mac, but most of them are easy to compile manually.
newer tsMuxeR versions require Mac OS X 10.8
newer mkvtoolnix versions require Mac OS 10.7



Would be nice to get some feedback.

Cu Selur

Selur
23rd April 2014, 13:54
@xkinn123: managed to reproduce the minimize-Problem on Ubuntu 14.04 (doesn't happen on Kubuntu 14.04), will look into it.
-> it's fixed in my current dev version, are you using 32bit or 64bit Ubuntu?

Correction, not really fixed:

I read up some more on the issue and the problem is that Unity needs applications to be white-listed to allow them to use the system try.

on older Ubuntu versions using (before 13.04):
gsettings get com.canonical.Unity.Panel systray-whitelist
would show the the currently white listed applications
gsettings set com.canonical.Unity.Panel systray-whitelist <Hybrid>
would add Hybrid to that list.

With 13.04 they added a new package 'sni-qt' which seems to fix the issue if the application was build with the same qt version sni-qt was build with.
Problem is Ubuntu 14.04 uses Qt 5.2.1, but atm. I only compile Qt 4.6 and Qt 4.8 version.

If you tell me if you use a 64bit or a 32bit Ubuntu 14.04 I can compile a 5.2.1 version for you to test, but upon further reading and testint another issue is that even if the tray icon of Hybrid is shown, it is shown at the wrong location.

Havokdan
23rd April 2014, 15:01
Better batch encode?

Selur
23rd April 2014, 15:07
@Havokdan: Sorry, but I don't get the question.
'Better batch encode?' has nothing to do with 'old OSs support' so I'm a bit confused about the intension of the question.
If this is some sort of 'feature request', please share more details what you would like to be better. No clue what batch encode is lacking from your point of view, so I have no clue what you think should be changed to make it better.
Personally I'm totally happy with the way batch encoding is supported atm.

Cu Selur

Havokdan
23rd April 2014, 17:02
It was a desired feature for me, having a window or tab to select certain profiles for each open file for example instead of navigating in aba in tab to select an option. As for the operating system, if it is for surfing like Windows XP, it would be nice keep the site the latest version compatible with the same.

Selur
23rd April 2014, 17:04
It was a desired feature for me, having a window or tab to select certain profiles for each open file for example instead of navigating in aba in tab to select an option.
that are basically what the A/V profiles are for,...

Havokdan
23rd April 2014, 18:13
that are basically what the A/V profiles are for,...

You have to define these profiles file to file, or by selecting multiple files and adds them to the queue? It is possible that profile is being used for a given conversion in the queue?

Selur
23rd April 2014, 19:42
You set a profile, load multiple files and add the files to the queue,..

Havokdan
23rd April 2014, 19:46
You set a profile, load multiple files and add the files to the queue,..

Yes, but it is possible to see which profile is being used in the conversion queue?

Selur
23rd April 2014, 20:04
No, the profiles have nothing to do with the job generation or the jobs once they are created.

Selur
28th April 2014, 17:25
Hybrid rev 2014.04.28.1:

*fixed*

audio: pcm extraction from avisynth input
audio: multi-input/batch processing audio processing
input: make sure tsMuxeR analysis is fed with 8.3 file names on Windows
cut: fix chapter&cut selection on mplayer dvd audio reencoding
cut: fix job optimization for ffmpeg cut calls
cut: keyframe positions display
general: crash when first a normal file and then a dvd was analysed
tags: remove pipe-symbol ('|') from tags which will be send to MP4Box, to avoid a crash
x264: 10bit encoding
x264: show live bitrate during crf encoding
xvid: y4m -> xvid encoding.
note: progress indication is not working since mencoder doesn't provide a progress indication when fed through a pipe.

*changed*

audio: when using MultiInput (batch processing) only 'Custom' allows to change the audio queue.
input: check that the 'which' result(s) are indeed files and not folders
DivX265: adding an additional ffmpeg call to work around DivX265 not being able to show progress indication
preview: limit preview on mac for mpls files when mplayer is too old or not compiled with libbluray
preview: open the preview inside the same window Hybrid is located (horizontal alignment of monitors assumed)
profile: re-run auto routines if GlobalProfile or AV-Profiles get loaded and input is not empty
audio: use DGIndex to extract audio form DVD, if a. avisynth is present, b. input is DVD, c. mplayer reported it can't handle the input audio and d. Hybrid was set to ignore this report
x265: removed crf and cq from x265 defaults

*added*

avisynth: added support for Peachsmoother and mftoon (not much tested)
jobs: option to set minFreeSize to start (sub-)job
cut: option to always use key frames selection


-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
28th April 2014, 21:08
Did you also fix this ;
http://forum.doom9.org/showthread.php?p=1676666#post1676666
and this ;
http://forum.doom9.org/showthread.php?p=1676668#post1676668

Actually you did in a version you sent me in PM but it's not mentionned in the fixed list.

Selur
28th April 2014, 21:23
It's part of "audio: when using MultiInput (batch processing) only 'Custom' allows to change the audio queue."

xkinn123
30th April 2014, 10:28
Selur, i've had a problem
on linux64, i can't extract subtitle attachment from mkv...
please fix that..

Selur
30th April 2014, 10:30
debug output?

xkinn123
30th April 2014, 14:20
debug output?
here it go...

Selur
30th April 2014, 15:20
a. re-read on how to create the debutoutput, the debut output you posted is too short.
b. use the latest version
c. for subtitle problem please create a debut output with level 5

xkinn123
30th April 2014, 18:27
a. re-read on how to create the debutoutput, the debut output you posted is too short.
b. use the latest version
c. for subtitle problem please create a debut output with level 5

a. because it's level 4(?)
b. it is.
c. here it goes...

Selur
30th April 2014, 18:33
because it's level 4(?)
No because it doesn't include the analysis&co.

b. it is.
Current version is "2014.04.28.1" according to the log you used "2014.04.23.1"

c. here it goes...
will look at it once a moderator approves it (and I'm aware of that approval)

Guest
30th April 2014, 18:38
@all

No help to be given to xkinn123 on his issue, as he is discussing rule 6 material.

Selur
30th April 2014, 18:40
Sorry, xkinn123.

VoxMix
11th May 2014, 15:40
hi
hybrid dont start in my system and show this error:

---------------------------
kvazaar.exe - Application Error
---------------------------
The application was unable to start correctly (0xc000007b). Click OK to close the application.
---------------------------
OK
---------------------------


How I fix this :scared:

Selur
11th May 2014, 16:44
a good start would be to provide at least some basic infos about your system,....
uploaded MinGW build binaries to: http://www.embedupload.com/?d=6RM0BMGZEB

VoxMix
12th May 2014, 08:27
Thank you so much Selur!
my problem fix
hybrid is wonderful GUI , i love it:thanks:

MichaelRow
21st May 2014, 06:09
Hi, Selur.
It seems that the zone editor doesn't work, or is my setting wrong?
type:constant rate fator
Mod/quant:16

Selur
21st May 2014, 06:34
will look into it (haven't used the zones for ages :))
-> found the bug (a missing not), if you tell me what OS you are using I can build and send you a link to a dev version which should fix the problem

DJ-1
21st May 2014, 12:39
Hi, just a quick one. In the resize section of Hybrid is the Lanzsos option a certain version of it or is the Lanzsos 2, 3, 3 optimised, 4 etc... Or are theses just 'playback types(realtime iterations of Lanszos?)
Cheers.

Sent from my HTC One using tapatalk

Selur
21st May 2014, 12:44
when Avisynth is used: lanczos <> LanczosResize(...)
when mencoder is used: lanczos <> -sws 9
when ffmpeg is used: lanczos <> -sws_flags lanczos
no clue if they all use the same or different lanczos implementations

DJ-1
21st May 2014, 15:23
when Avisynth is used: lanczos <> LanczosResize(...)
when mencoder is used: lanczos <> -sws 9
when ffmpeg is used: lanczos <> -sws_flags lanczos
no clue if they all use the same or different lanczos implementations
Ok ta... When is the nnedi3 used, I don't remember seeing it in hybrid.... I may be wrong but think it's a resizer used when Qtgmc is active?... Forgot now..
Cheers.

Sent from my HTC One M8 using tapatalk

MichaelRow
22nd May 2014, 06:09
will look into it (haven't used the zones for ages :))
-> found the bug (a missing not), if you tell me what OS you are using I can build and send you a link to a dev version which should fix the problem
OS X 10.9.3
Thanks:)

DJ-1
23rd May 2014, 09:24
Hi, if I wanna try out other deinterlacing options, mcbob for instance, can I just drop the plug in & its dependencies into the avisynth plug in folder & go. Or hybrid not like that?
Cheers.

Sent from my HTC One M8 using tapatalk

Selur
8th June 2014, 19:44
Hybrid rev 2014.06.08.1:

*added*

avisynth: support for aWarpSharp sharpening
avisynth: tivtc now also allows QTGMC 'slow' and 'Very Slow' as deinterlacer
avisynth: 'add custom content', allows to add content to Hybrids avisynths scripts;
WARNING: Hybrid does not check/verify the content of the entry, so if you mess up, you are on your own!
Kvazaar: support for RDO quantization
x265: support for 4:2:2 color space
x265: support for '--[no-]repeat-headers'
x265: support for '--psy-rdo X';
x265: adjusted to new preset&tune values -> It's recommend to reset the x265Model
WARNING: This option is known to produce artifacts in some cases!

*changed*

avisynth: set MTMode to 5 before LibAVVideoSource
avisynth: enable "Disable distributor()' for Windows 8 & 8.1, by default, for all others disable it by default
avisynth: fixed links which linked to avisynth.org
avisynth: allow distributor() even for avisynth preview
input: improve mpls handling
jobs: make sure there will be no job creation if .m4v is used as output extension while 'Audio handling' isn't set to ignore. Added awarning about it and how to avoid it and still create .m4v output.
DivX265: use DivX265 'resolution profiles' internally and enforce them


*fixed*

audio: mp4 audio extraction name problem (on Windows)
avisynth: force deinterlace + Avisynth-Deinterlacer sometimes didn't force deinterlacing
avisynth: RGBColorAdjust Filter-Preview
avisynth: ColorMatrix Avisynth/Filter-Preview
avisynth: bug could cause distributor() to be added, even when 'Disable distributor()' was enabled
avisynth: reset 'need avisynth'-checks
avisynth: fixed HQDering call
decode: mencoder 422 output and color space mixup using mencoder
DivX265: use constant quantizer '-qp' instead of '--cq'
filtering: mcdeint -> framestep didn't update the gui
input: monitoring folder support
jobs: check whether FRAPS is installed on the system or not
x265: 12bit encoding
mux: mp4box didn't always use short file names on Windows which could cause problems with unicode names&paths
mux: tsMuxeR set disklabel for isos



-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
9th June 2014, 22:50
Great!, good news!

Already downloaded, I will try and test ASAP.

:thanks:
...I was missing your releases.

I suppose that real life take a lot of our time.

:D

MichaelRow
10th June 2014, 03:18
Can't download the Mac packages.http://i57.tinypic.com/2r3e9ms.jpg

Selur
12th June 2014, 23:38
fixed, btw. will probably release new versions tomorrow,...

Selur
13th June 2014, 12:33
Hybrid rev 2014.06.13.1:

*fixed*

audio: using audio from different source than the main input
audio: crash when switching between titles with and without audio
tools: Windows package contained a kvazaar binary which did cause problems on some systems<


*added*

video: initial support for QSVCEnc as encoder
video: initial support for FFV1 as encoder


-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
15th June 2014, 23:53
Hybrid rev 2014.06.13.1:

*fixed*

audio: using audio from different source than the main input...



I use this option very little, but I was going to post it was not working properly... but you already fixed it!
:thanks:

Selur
17th June 2014, 10:40
Hybrid rev 2014.06.17.1:

*added*

avisynth: de-'dot crawler': DeCrawl, Checkmate, DeCrow

*fixed*

decode: mencode decod ecall containing '-vf ,scale', instead of '-vf scale'
qsvenc: adjust to feature restriction on system

*changed*

avisynth: speed-up FFVideoSource by using setMTMode(5,.. instead of setMTMode(3,..


Hybrid rev 2014.06.17.2:

*fixed*

audio: extracted audio didn't get deleted after audio reencoding


-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
18th June 2014, 20:27
Hi selur,
Latest version Linux64bit Qt4.8 2014.06.17.2 and also previous 2014.06.15.1 does not show preview correctly.

Send you debug.
:)

Selur
18th June 2014, 21:01
please send me a debug output of the latest version, not of the older one
Also preview related stuff requires debug output level 6.

digitall.h
18th June 2014, 21:11
It was from the last version.

I'll activate debug level 6 and send you a new debug.

Selur
18th June 2014, 21:14
It was from the last version.
Nope it was from:
2014.06.18 - 20:19:52_linux-64bit_4.8.1_2014.06.15.1

digitall.h
18th June 2014, 21:46
Look some lines below (I had not erased previous debug)
:D

Sent new debug with level 6 activated.

DJ-1
27th June 2014, 21:11
Hi, currently using latest Hybrid, wasnt having any issues untill i start getting a windows pop-up msg saying ""ffmpeg.exe - no disk" "there is no disk in drive H:"

Im running Win 8.1 Pro N

I`m using a global data model with only the Paths changed (all pointing to my E:)
when any source file is scanned the msg pops up, also if i ignore it, hit add-to-queue, then run Queue it qives same error msg.

I do have a drive H: but its part of a usb hub and is always threre.... but theres not any drive `plugged in` to H:


so all a bit wierd....
debug:https://www.dropbox.com/home/Hybrid/no%20disk%20in%20drive%20error%20msg

cheers.

Selur
27th June 2014, 21:25
a. Can't access the message. :(
b. Need a debug output to see what is happening there.
c. strange thing that Hybrid doesn't produce any popup containing the word 'disk'
-> my guess atm. is that the Windows Explorer or some shell extension is creating that message :)

DJ-1
27th June 2014, 21:33
Yeah I assume debug level 4 is fine?....
Im just doing some windows updates (about 60) as it's been prompting me for ages hopefully it'll be ok.

Yeah I noticed there's no mention of disk in the debug, it's all very odd at the moment.

I see what happens once all the updates are done...

Selur
27th June 2014, 21:36
Yup debug level 4 should be fine. :)

I see what happens once all the updates are done...
I keep my fingers crossed. :)

DJ-1
27th June 2014, 23:08
hmmm ok all up to date

using the same global profile (default, with only the Paths changed) seems to run a job fine.

But, if i reset cached tools list in Hybrid, close it, re-open i then get same msg "ffmpeg.exe no disk in drive H:"... but assume its windows error as no mention of disk error in debug...

debug:
https://www.dropbox.com/s/9jfr09p2xjh4kuu/HybridDebugOutput.txt

Selur
28th June 2014, 06:00
a. can't access the debug file
b. try if it helps to reset the tool cache (Config->Tools->Clear all cached tool infos)

DJ-1
28th June 2014, 10:07
If I reset the tools list cache, after restart hybrid it triggers the error...

Debug link fixed now :)

Selur
28th June 2014, 10:15
Is it triggered on startUp, when creating a job, or when processing a job?

DJ-1
28th June 2014, 10:18
On startup, straight after resetting tool list cache...

Sometimes while scanning a source file(not every file though)

Selur
29th June 2014, 09:24
Hybrid rev 2014.06.29.1:

*added*

video: initial support for ffvhuff and libutvideo
decode: added options to support hardware acceleration when ffmpeg is used.
mux: option to disable mkv statistics per track (introduced with mkvtoolnix 7.0.0)


*fixed*

preview: fixed preview issue if no avisynth is available on the system
video: QSVEnc support, adjusting to QSVEnc 1.23, thanks to rigaya for fixing some problems
ffv1: ffv1 mencoder call
subtitle: crash on subtitle extraction
timecode: fixed a crash in time code handling due to formating issues
audio: extracting&muxing aac to mp4 could trigger a conversion to wav, even when 'passthrough' was selected.
audio: enabling 'Always extract as wav' and audio handling 'passthrough' interfered


*changed*

general: switched to MSVC++ 2013 for Win 64bit builds


-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
29th June 2014, 13:05
video: initial support for ffvhuff
I didn't know ffvhuff, it seems interesting, more efficient than huffyuv.
How to install and use it ?
Can we capture in this format ? I use Lagarith usually.

Selur
29th June 2014, 13:14
ffvhuff = huffyuv + "adaptive huffman tables" + support for all the color formats ffmpeg supports

How to install and use it ?
comes with ffmpeg,... argh typo is hiding the option-tab of ffvhuff
(tab shows if UT-Video is selected,... argh -> select UT-Video, then select FFVHuff)

Can we capture in this format ? I
since it's part of ffmpeg/ffdshow/libav I see no reason against that.

Music Fan
29th June 2014, 15:04
Thanks, I'd like to try it but I don't understand how to install fmpeg. I took the last version there ;
http://ffmpeg.zeranoe.com/builds/
I found a french a french tutorial but it seems complex ;
http://fr.wikihow.com/installer-FFmpeg-sur-Windows
Is there a version with installer ?

Selur
29th June 2014, 15:49
yes, the installer includes ffmpeg. (I compile up-to-date builds before new releases using: https://github.com/jb-alvarado/media-autobuild_suite <- easy to use)

Music Fan
29th June 2014, 19:07
yes, the installer includes ffmpeg
I guess you are talking about Hybrid, but I'm searching for an installer for ffmpeg, to use it with any program, not only Hybrid.

(I compile up-to-date builds before new releases using: https://github.com/jb-alvarado/media-autobuild_suite <- easy to use)
I don't find links or explanations on this page, github is a confusing website, I prefer videohelp or sourceforge.
edit : I found the link below, it should be placed on top of the page.

Selur
29th June 2014, 19:35
I'd like to use ffvHuff with my capture card with the program Virtual VCR (and maybe also virtual Dub).
Installing ffdshow and enabling the vfw encoders should help there. :) (Your PM storage is full)

: I found the link below, it should be placed on top of the page.
"Download zip" :)

Music Fan
29th June 2014, 19:49
Installing ffdshow and enabling the vfw encoders should help there.
Ok, but I don't use it anymore.
The ffmpeg developers should release this codec alone, to use it as simply as Lagarith, Xvid, x264...
I downloaded media-autobuild_suite and I read the explanation but it's not clear for me (he doesn't explain how to choose the path of the exe to compile and it seems to install other tools I don't need) and it needs 3 hours to compile :eek:
I don't understand why a so known program isn't available with an installer usable by anybody, as all programs, it's discouraging.:(

Your PM storage is full
Ok, I removed some messages.

Selur
29th June 2014, 20:08
media-autobuild_suite is a large scrit ment to build multiple sources from source, so the inital build will take a long time, later it's faster (initially the build environment itself needs to be build,..)

Music Fan
29th June 2014, 20:37
Ok, so that's not for me.
But I found another tutorial ;
http://www.eric-pidoux.com/tutoriaux/installer-ffmpeg-sous-windows-mac
Thus I put the 3 exe in the folder C:\ffmpeg and added this folder in the path list in Environment Variables.
But it's not enough to use the ffvhuff codec which does not appear in the codec list in Virtual Dub.:o

Selur
29th June 2014, 20:42
You use ffvhuff with Virtual Dub, you either need to:
a. call ffmpeg through the external encoder feature of Virtual Dub (with the right parameters)
or
b. use ffdshow

Music Fan
29th June 2014, 20:54
You use ffvhuff with Virtual Dub, you either need to:
a. call ffmpeg through the external encoder feature of Virtual Dub (with the right parameters)
or
b. use ffdshow
Thanks, I didn't know the external encoder feature of Virtual Dub, usually I go in video, compression and select a codec in this list.
In options, external encoders, I see encoders sets and encoders but I don't understand how to add ffvhuff, I will make research.

Selur
29th June 2014, 20:59
In options, external encoders, I see encoders sets and encoders but I don't understand how to add ffvhuff, I will make research.
a. look how Hybrid calls ffmpeg for encoding with ffvhuff
b. read http://forums.virtualdub.org/index.php?act=ST&f=3&t=18840&st=0 (and if that isn't enough there are a bunch of examples over in the videohelp forum about using the external encoder)
c. adapt the encoder call with the call from a.

Selur
29th June 2014, 23:36
Hybrid rev 2014.06.30.1:

fixed*

general: tool tips not showing
video: ffvHuff-tab configuration en-/disable


-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
30th June 2014, 00:47
read http://forums.virtualdub.org/index.php?act=ST&f=3&t=18840&st=0
Thanks but all images disappeared and it's hard to understand without it, especially about command arguments.
and if that isn't enough there are a bunch of examples over in the videohelp forum about using the external encoder)
I don't find these examples.:o

Selur
30th June 2014, 01:21
http://forum.videohelp.com/threads/321874-VirtualDub-doesn-t-see-x264-codec?p=1993055&viewfull=1#post1993055 <- using x264, NeroAacEnc and MP4Box with Virtual Dub
http://forum.videohelp.com/threads/359154-what-apps-allow-the-use-of-external-encoders?p=2270351&viewfull=1#post2270351 <- using DivX265 and MP4Box with Virtual Dub
https://encodingtalk.com/threads/virtualdub-save-direct-to-mp4-fraps-to-youtube-with-external-encoders.2446/page-2 <- about using ffmpeg with Virtual Dub
simply searching for:

Virtual Dub external encoder x265
Virtual Dub external encoder x264
Virtual Dub external encoder ffmpeg
Virtual Dub external encoder MP4Box

should produce lots of useful results with your favorite search engine. ;)

Music Fan
30th June 2014, 10:07
Thanks for your research (I did the same before to write my previous post) but none of these threads explain clearly how to configure Virtual Dub for ffvhuff.
I will have a look at Hybrid's call.

Music Fan
30th June 2014, 10:52
The last Hybrid rev (2014.6.30.1) does not want to launch on Windows XP Pro 32, there is a message about QSVEncC.exe. Same message when I restart, again and again.
Actually Hybrid works if I remove QSVEncC.exe.

Selur
30th June 2014, 10:56
You are right, totally forgot about QSVEnc. Will remove QSVEnc from Hybrid for Windows XP (like I do for Vista), since it requires Windows 7 or never.

Music Fan
30th June 2014, 11:21
Ok.
I made a short encoding in ffvHuff with Hybrid, the bitrate is much higher than Lagarith's.
And I believe I won't be able to capture in ffvHuff because my capture tool is old and probably not ffvHuff compatible. And I can't use another capture program because Virtual VCR is the only one to be able to bypass my card's mpeg encoder and capture in lossless, so I will continue to use Lagarith for captures.

Selur
30th June 2014, 11:27
I made a short encoding in ffvHuff with Hybrid, the bitrate is much higher than Lagarith's.
Not surprised by that, iirc ffvHuff should be faster (during capturing and playback) but than lagarith, but should not compress as good.

Music Fan
30th June 2014, 11:39
Ok, so its compression is between Lagarith and Huffyuv.
I read that Huffyuv was better than Lagarith for captures because it needs less CPU which could help to get less lost (dropped) frames during capture, despite its higher bitrate. And a compression in Lagarith can be done after to save space. The problem is that I can't make work Huffyuv correctly (the colorspace is always rgb even when I choose yuy2, while I unticked "always suggest rgb"), that's why I was interested by ffvHuff.

Selur
30th June 2014, 11:40
Like I wrote before if your software only support vfw codecs, using ffdshow should help.

Music Fan
30th June 2014, 11:50
Right, I forgot that (because I never used ffdshow to encode).
I edited my previous post to clarify the problem with Huffyuv.

Music Fan
30th June 2014, 11:54
But I guess that if I use ffdshow for ffvHuff encoding, the ffvHuff version used will be quiet old because ffdshow seems abandoned.
No in fact, I just see there is a new version ;
http://sourceforge.net/projects/ffdshow-tryout/

Selur
30th June 2014, 12:00
Yes, there is. I think that should be enough of the really off-topic stuff in this thread. Best open a new thread if you have further non-Hybrid related problems&questions.

Cu Selur

Selur
2nd July 2014, 23:23
Hybrid rev 2014.07.02.1:

*added*

DivX265: support new VUI options

*fixed*

avisynth: indexing mkv(vp9) content with ffvideosource
ui: font change did not influence queues and separate log window
ui: fffmpeg progress indication
job: 'remove all' button not working
input: don't use '-demuxer mkv' when analysing mkv with a vp9 video stream

*removed*

tools: QSVEncC support for Windows XP (requires Windows 7 and newer)

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
3rd July 2014, 21:53
Hybrid rev 2014.07.03.1:

*fixed*

DivX265: progress indication (percentage wasn't shown)
ui: automatic loading of custom styling)

*changed*

tools: tool arrangement under windows, to avoid problems which occurred on systems with missing run-times. Tools are now split over three locations:

program folder: here are all the static tools
'dynamic'-sub-folder: here are all the tools which are only available as a. 32bit and b. dynamically linked
'dynamicX'-sub-folder: here are all the tools which are available as 32bit and 64bit versions and dynamically linked


*NOTICE*

Windows: it's recommend to uninstall old Hybrid versions (settings do not have to be removed) before installing this or a newer version


-> downloads: http://www.selur.de/downloads

Cu Selur

xkinn123
4th July 2014, 05:29
yay major updates (ノ ̄ω ̄)ノ

DJ-1
4th July 2014, 08:04
Is there a huge difference in unis uninstalling & before new versions are installed..... I usually installed & check the 'reset defaults' during install..

Selur
4th July 2014, 08:09
a. normally 'reset defaults' is not needed (at least I try to keep everything compatible)
b. this time uninstallation is recommend since the file locations changed (see changelog) to avoid problems when Visual C++ 2010 or 2013 runtime aren't installed
So resetting defaults doesn't hurt, not cleaning the Hybrid folder might.

DJ-1
4th July 2014, 08:10
Ahh ok... Cheers.

Ajvar
9th July 2014, 19:08
Does not launch with QSVEncC.exe. Says that was an appcrash QSVEncC.exe (64). Fresh Windows 7 install. It was workinf fine on the previous OS. Launches without QSVEncC.exe

Selur
9th July 2014, 19:16
Hmm,... might be that it requires DirectX to be installed.
What happens if you call QSVEncC from a windows prompt (terminal)? Any error message?

Ajvar
10th July 2014, 02:24
Hmm,... might be that it requires DirectX to be installed.
What happens if you call QSVEncC from a windows prompt (terminal)? Any error message?
Everything is fine. It tells that there is an error due to no command given but the same is on the other OS and it works... kinda. read further. DirectX Web setup says I was fine already and I believe te problem might be in missing some files in Windows folder maybe? As I said read further.


Man, this program looks great but...

Another try installing on Windows 8.1:
1. Installed fine and working. YEY! Immediately updated Intel HD 4000 driver to the latest OEM (15.33.22.64.3621) and... Can't launch Hybryd anymore LOL! It can't find msvcP120.dll.
I copied 2 files from Dynamic and DynamicX to SysWOW64 and System32 flders and it worked.
2. Decided to doublecheck again and uninstalled Hybrid (fully with Uninstall manager). Installed again (as admin) and... this time it couldn't launch because couldn't find msvcR120.dll! Funny:)
As I found out this time it was missing just in a folder SysWOW64.

Update: Reinstalled driver Intel HD 15.33.22.64.3621 on Windows 7 and it worked now.

Could somebody tell me if it is possible to encode video in LOSSLESS with Hybrid?

Selur
10th July 2014, 06:47
a. Like the changelog mentioned a de- and reinstall was recommend.
*NOTICE*

Windows: it's recommend to uninstall old Hybrid versions (settings do not have to be removed) before installing this or a newer version



b. Unless you tell me which program is complaining about a dll, I can't fix it.

Could somebody tell me if it is possible to encode video in LOSSLESS with Hybrid?
Yes it is.

x264 in lossless mode
FFV1
UT Video
FFvHuff

are all lossless (you will still suffer losses if you do color conversions or filtering, but the output of the decoder will be compressed lossless)

Ajvar
10th July 2014, 08:19
Thank you. I will use one of those encoders for lossless.

I did not have any older version of Hybrid. As I told I installed it on 2 freshly installed OS: Windows 7 and Windows 8.1.

And as for a program which is complaining about dll... it is Hybrid_2014.7.3.1 It ass complaining about dlls. Some error message like qaas is empty or smth like that.
Now it seems launch fine even if I move those files from Windows folder so I just happy that it works.

Selur
10th July 2014, 08:25
It is complaining about dlls
Hybrid itself should not be able to complain about a missing dll, only the tools used by Hybrid should be able to.
-> Look at the window again, normally you should get something like:

---------------------------
mp4fpsmod.exe - System Error
---------------------------
The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
--------------------------- (the content of such popups normally can be copied using ctrl+c ;))

Cu Selur

Selur
10th July 2014, 21:55
Hybrid rev 2014.07.10.1:

*fixed*

avisynth: code page problem when writing avisynth files
cosmetics: glitch in title progress indication
decode: ffmpeg crash when colorMatrix from&to are equal
input: time code extraction of flv files with non-ANSI names
input: mkv time code handling
input: hevc stream detection inside mkv container
tools: problems properly detecting tools
x265: bug minimizing crf min/max values that are not zero
audio: tsmuxer not compatible audio accidentally fed to tsMuxeR

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
12th July 2014, 13:21
b. this time uninstallation is recommend since the file locations changed (see changelog) to avoid problems when Visual C++ 2010 or 2013 runtime aren't installed
So resetting defaults doesn't hurt, not cleaning the Hybrid folder might.
So if we uninstall with Windows ("add or remove programs"), that's enough and the settings and profiles are not lost ?

Selur
12th July 2014, 13:27
"add or remove programs" simply calls Hybrids uninstaller, which at the end of the installation asks whether or not you want to delete the settings&co.

DJ-1
12th July 2014, 13:35
So if we uninstall with Windows ("add or remove programs"), that's enough and the settings and profiles are not lost ?
... Also if you worried about losing any profiles etc, & updated to the latest version you may wanna have a look at the global user profiles you have & a look at the 'tools tab' (when 1 of your old profile has been applied) & correct the Paths for some of the tools.

Some of the tools are in a Dynamic or DynamicX folder (within the Hybrid program files DIR)

Selur
12th July 2014, 13:48
you could also simply make a copy of your settings folder,...

Win7: C:\Users\USERNAME\AppData\Roaming\hybrid
WinXP: C:\Documents and Settings\USERNAME\Application Data\hybrid
Linux: /home/USERNAME/.hybrid/
Mac: /users/USERNAME/Library/Application Support/hybrid


Some of the tools are in a Dynamic or DynamicX folder (within the Hybrid program files DIR)
any having them inside the Hybrid folder and inside a dynamic folder will cause problems

Music Fan
12th July 2014, 13:55
"add or remove programs" simply calls Hybrids uninstaller, which at the end of the installation asks whether or not you want to delete the settings&co.
Ok, and if I choose not to delete it, there will be no problem with the next installation (it does not overwrite the undeleted folders) ?

edit : the answer is no, I tried ;)

von Suppé
12th July 2014, 19:14
Hi all

I did a search on this forums but couldn't find the answer for 2 errors I get after installing & trying to run newest Hybrid:

14271

14272

Any help, please?

Thank in advance :)

Music Fan
13th July 2014, 13:08
I believe Selur will need a debug output file to answer your question, as suggested in the 2nd error message.

von Suppé
13th July 2014, 16:02
I believe Selur will need a debug output file to answer your question, as suggested in the 2nd error message.
Can you tell me how to get this debug output file?

Thanks

Music Fan
13th July 2014, 16:19
config, internals, create debug file, level x
You can save this setting (save, all in bottom right corner) to get this file each time you open Hybrid.
I don't remember if the file is created directly or if you have to save this setting, close Hybrid and open it again. And I don't remember either where this file is created, probably in the source or output folder.

If you have a problem with QSVEncC while you don't use it, I believe you can simply remove it from Hybrid's folder.

von Suppé
14th July 2014, 16:35
@ Music Fan:

Thanks for your answer, but here's how it goes.

Installation (as admin) runs ok, setup complete.
When I want to run Hybrid, I get error 1.
Whatever I do with error 1, after that I directly get error 2.
After closing error 2 Hybrid doesn't start. No window/GUI whatsoever.

Can you advise? I'm a noob at this :stupid:

Thanks in advance

Selur
14th July 2014, 16:45
if you had another (older) Hybrid version installed, make sure to uninstall it before installing hte latest version
if you got a QuickSync capable Intel CPU and QSVEncC crashes, make sure to install the latest Intel CPU graphic drivers from https://downloadcenter.intel.com/default.aspx.
if you do not have a QuickSync capable CPU and get a QSVEncC crash please share what OS and CPU you are using
if everything fails, you can always delete the QSVEncC.exe from your Hybrid folder, Hybrid will take a bit longer on startUp, but it should not show any errors and hide QSVEnc from the GUI.


And I don't remember either where this file is created, probably in the source or output folder.
Inside the 'output'/'default output' folder, if neither a 'default output' nor an 'output' folder folder is specified no debug output file will be created.

Cu Selur

Music Fan
14th July 2014, 16:58
Thanks, German are really the best :D

von Suppé
14th July 2014, 17:05
Thanks, German are really the best :D
Yep, chances are 7:1 they are :D

I'll try things out, thanks all.

Selur
14th July 2014, 17:22
@von Suppé: also if you are using Windows XP simply delete QSVEnc since it doesn't work on Windows XP (next version of Hybrid will not check for it)

von Suppé
14th July 2014, 17:40
I run Windows 7 64 bit with Core i7 2600K.
During latest driver from your suggested link, I got this:
14277
Installed anyhow. I had no such issues with earlier versions of Hybrid.
Do wonder where I got this newer driver from... Windows update perhaps, or silent auto-update from MoBo manufacturer ASUS?

But, it did the trick. Hybrid works smoothly again, thanks for the help :)

Selur
14th July 2014, 17:44
Ah okay, QSVEncC crashes when the drivers are there but kind of broken. :)

Music Fan
20th July 2014, 11:11
Hi,
is there a way to open and convert an audio file only, without video ? Because I opened a mp3 but there is no "audio" tab and there is nothing else than "ignore" available for audio handling.
Tried with rev 2014.07.10.1 on XP Pro 32 bit.

Selur
20th July 2014, 11:18
Works fine here,...
a. update to the latest version 2014.07.17.1
b. create a debug output of the opening of the file

Music Fan
20th July 2014, 13:12
Works fine here,...
a. update to the latest version 2014.07.17.1
Works with this version ;)

Selur
27th July 2014, 22:55
Hybrid rev 2014.07.27.1:

*changed*

avisynth: disable MT, when it's not needed
x265: added support for tier/profile/level and 2pass encoding, for the later you need to disable (x265->Misc->Create qp file for chapters and keep level set to 'unrestricted' otherwise it will probably crash, but the x265 developers are working on it)


*fixed*

avisynth: ColorMatrix-call
tags: tag queue accidentally got cleared partially when clicking on it
subs: .sup subtitle handling (conversion to .idx/.sub for mp4 muxing)
subs: manual subtitle extraction
video: 2pass custom target file size not always properly reloaded from model/profile

-> downloads: http://www.selur.de/downloads

Cu Selur

zooom
30th July 2014, 09:14
How can i run Hybrid as portable?

Selur
30th July 2014, 09:37
see: http://forum.selur.de/topic33-hidden-hybrid-options.html

digitall.h
3rd August 2014, 20:50
Tested latest Hybrid_140727_64bit_binary_qt48 version with a DVD.
It completed the encoding well.
Will try with a Blu-Ray.

Already posted in other thread, but I feel it could be interesting to inform also here.
In last x264-r2453-ea0ca51 version I read in the --help:

Filtering:

--vf, --video-filter <filter0>/<filter1>/... Apply video filtering to the input file

Filter options may be specified in <filter>:<option>=<value> format.

Available filters:
...
select_every:step,offset1[,...]

Selur, do you know how this select_every filter works under x264?.
Do you thin it could be used to encode a selected percentage of the footage in crf mode where we don't know what will be the final file size?.

Selur
4th August 2014, 01:20
Hybrid rev 2014.08.03.1:

*changed*

subs: added option to enforce a specifc idx/sub resolution during .sup
x265: added support for '--psy-rdoq X'
general: added a few additional tool-tips


*fixed*

decode: disabling lavthreads didn't set lavthreads to 1
preview: crop-preview didn't show up properly when avisynth as used as decoder
input: more flexible parsing then reading the tsMuxeR analyse output
subs: subtitle language passthrough for subtitles which got extracted by tsMuxeR

-> downloads: http://www.selur.de/downloads

Cu Selur

DJ-1
4th August 2014, 09:00
Just made a small donation, as I've been using this software for a while now & is easily the most extensive/'complete' all round solution I've used in years.

Selur
4th August 2014, 09:02
Happy you like it and thanks for the donation. :)

DJ-1
4th August 2014, 09:42
Dvd sources: for ages now I've awarded dvd shrink simply to cut episodic TV dvds into individual titles as they're often all in 1 title on the discs...

I know it's not the best way of cutting know get a clean cut on start/ends of files) so asked on forum & was directed towards either cuttermaran or mpeg2schnitt.

Will give cuttermaran a try later,
As far as output goes I've always kept.. Vob files (dvd titlesets) to a maximum size...
Is it fine to do that or is sticking to the '1gb limit' proffered?
Cheers.

Selur
4th August 2014, 09:45
if you encode these episode with the same settings, you could also copy the source 1:1 (without the copy protection) to hdd and use the 'Queue titles' option.

DJ-1
4th August 2014, 09:49
Sorry I hit the 'send' button early... Added more..

Selur
4th August 2014, 09:55
a. assuming there is a PGC per episode you could use: http://download.videohelp.com/jsoto/dvdtools.htm to get just a specific episode
b. size shouldn't really matter unless one of the tools has a problem with that, but I'm not aware of any such problem, or you author a dvd with it again (I would suspect that mencoder/mplayer would then not 'like' such large vob files that belong to an .ifo file)
c. personally I use cuttermaran to cut mpeg-2 content (first I normally send it through ProjectX and then process it with cuttermaran)

Music Fan
4th August 2014, 12:48
Dvd sources: for ages now I've awarded dvd shrink simply to cut episodic TV dvds into individual titles as they're often all in 1 title on the discs...

I know it's not the best way of cutting know get a clean cut on start/ends of files) so asked on forum & was directed towards either cuttermaran or mpeg2schnitt.
Dvd-Shrink makes clean cuts, I use it for a long time. But as it is only done on keyframes, it's not as precise as a smart rendering tool.

DJ-1
4th August 2014, 12:50
Yeah I've used dvd shrink for years too...
wasn't sure.. The cuttermaran frame accurate so has an advantage with getting a better range of cut points

Will have a play with cuttermaran later & see what it's like

Music Fan
4th August 2014, 12:57
Actually, according to your needs, you can make a first cut with Dvd-Shrink (to avoid to copy the entire dvd on your HDD) including a slightly larger part than what you need then make a more precise cut with a smart rendering tool.

Music Fan
4th August 2014, 14:22
There is a problem with last version on XP 32 : when I open an avs script including a 1080p video @ 23.976 fps and choose x264, Hybrid wants to change its framerate to 25 fps and resize it to 720*576 while I don't need these changes ! And I don't see how to remove them.

edit : actually there is no resize if I don't check hardware and don't choose Blu-ray/avchd in restriction settings (and if I choose DXVA, I can untick the resize in crop/resize window). But I'd like to check Blu-ray/avchd, I used to let it checked without problem with old versions (I don't remember until which one, I didn't make encoding for a while).

Selur
4th August 2014, 20:53
Hybrid rev 2014.08.04.1:

*removed*

x265: support for '--[no-]slow-firstpass (not supported by x265 atm.)


*fixed*

x264&x265 1pass encoding
ffmpeg output collection

-> downloads: http://www.selur.de/downloads

----
@Music Fan: Hybrid does those changes based on the Output PAR, different OutputPAR, different allowed frame rates&co.
Can't see a mistake in what Hybrid is doing.

Cu Selur

Music Fan
4th August 2014, 21:32
For 1080p, the PAR has to be 1:1 and anyway, whatever I choose for the PAR, I can't export in 1080p, so there is problem.

Selur
4th August 2014, 21:40
work fine here, what I did:

Started Hybrid
Loaded 1080p source
Enabled x264->Hardware->Blu-ray/AVCHD
Switched to Crop/Resize to check the resolution
-> resolution is still 1080p.
loaded different 1080p/1080i source and got no problem with the resolution


-> May be your defaults/profiles got messed up or something, can't reproduce the problem here at all.

Music Fan
4th August 2014, 21:51
Does not work here, always resize (now it is in 1280*720) :o

Selur
4th August 2014, 21:59
Try resetting you defaults. Other than that can't really tell you anything other than that it works here without any problem.

Music Fan
4th August 2014, 22:05
How to reset defaults ? Even when I erase all my x264 profiles, the problem stays.

Selur
4th August 2014, 22:22
"Config->Defaults->Reset->All" + "Reset selected"
Going to bed now, but if you upload a sample and write me a step-by-step guide on what you do, I can try to reproduce it, you must be doing something another way than I do here or Hybrid has some problem with your source.

Music Fan
4th August 2014, 22:32
I re-installed Hybrid before to see your answer and it's ok now.;)
Except that in the main window, the detected framerate seems bad : 2400023.976, or is it just a display error ?
My script contains this : assumefps(24000,1001)

Selur
5th August 2014, 07:47
definitely not a display error, Hybrid got that information from somewhere.

My script contains this : assumefps(24000,1001)
Which script? I need more details.

Music Fan
5th August 2014, 10:51
Just an avisynth script I made, no problem when opened in Virtual Dub (which shows well that the timecode of the 24th frame is 0:00:01.001).
assumefps(24000,1001) is the last line of this script so I don't understand why Hybrid detects another framerate than 23.976.

Selur
5th August 2014, 10:55
try adding a:
last
to the call.

To see the infos Hybrid will get for an avs script, you can call:
"PATH TO Hybrid FOLDER/avsInfo.exe" "PATH TO avs script"

Music Fan
5th August 2014, 11:22
try adding a:
last
to the call.

To see the infos Hybrid will get for an avs script, you can call:
"PATH TO Hybrid FOLDER/avsInfo.exe" "PATH TO avs script"
It indicates "framerate : 24000/1001", whatever I put last or not in the script.

Selur
5th August 2014, 11:26
I see,.. there's a typo somewhere which causes the rounded and unrounded fps to be concatenated. (for avs input only)
-> will fix

Selur
6th August 2014, 20:30
Hybrid rev 2014.08.06.1:

*added*

avisynth: added option to disable Avisynth during normal preview, this way audio and subtitles from the source can be viewed.

*changed*

x265: support for '--[no-]slow-firstpass'

*fixed*

input: ffmpeg addressing video id and temp file detection

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
6th August 2014, 21:18
I guess this version also includes the fix about the detected framerate when opening avs scripts.

Selur
6th August 2014, 21:20
yeah, forgot to mention that. :)

Music Fan
10th August 2014, 12:02
There is a bug in rev 2014.08.06.1 : nothing happens when I click on + (add current) in audio tab after having opened a wav and changed pitch.

Selur
10th August 2014, 12:04
will look into it tomorrow :)

Music Fan
10th August 2014, 12:28
Actually I found what was wrong : I had to open first the wav in the main window and not directly in audio tab, then I click on +, go back to main window, create output file, add it to queue, go in jobs tab.;)

Selur
10th August 2014, 12:55
Ah, okay.
Yes, the Audiotab is always ment as addition to the main input.
-> no Main-Input, no Audio processing. ;)

Music Fan
10th August 2014, 13:28
Ok, so the file opening in Audiotab is only done to choose another audio track than the one integrated in the video file opened in main window (or to add an audio track when there is only video) ?

Selur
10th August 2014, 13:41
Exactly. :) If you got an Audio only sources, open them in the main tab.

Selur
13th August 2014, 08:36
@digital.h: posted a temporary solution for the selection stuff, see: http://forum.doom9.org/showthread.php?p=1689823#post1689823
So in theory I could now write some sort of 'compression test'.
Remaining questions are:

What to do with the X% encode of the source? (delete it after some analysis?)
What infos would a user want?
Only thing that pops into my mind atm. is "estimated output size of the whole file" which would be:
estimatedSize = (outputSizeOfEncodedChunks/X)* 100

DJ-1
14th August 2014, 18:04
Hi, think I found a bug with VFR inputs,

running default Global settings
Video = x264
audio = Passthrough All

x264 preset = x264 Hybrid default

VFR is detected by Hybrid as per the info pane and when encode is finnished I get `Constant frame rate mode output`

(I did check the "config/Input tab" and CFR is unchecked.)

debug: https://www.dropbox.com/s/0povdnh2kwjcz72/Output%20constant.txt

Selur
14th August 2014, 18:17
Looking at the log:
1. Hybrid detect the content as vfr
2. Hybrid extracts the time codes and checks if they really indicate vfr (they do)
3. Hybrid reencodes the video
4. Hybrid muxes the video
5. seems like Hybrid doesn't add the time codes again (normally a mp4fpsmod call your be there)
-> will look into it

=> seems like I accidentally commented the line which adds the time codes when reencoding with x264 out. :)

DJ-1
14th August 2014, 18:56
tried test version and still the same, cfr output

debug: https://www.dropbox.com/s/molfn077cvnfmt0/1st%20test%20version.txt

Selur
14th August 2014, 19:02
According to the log file, Hybrid:

1. reencoded the video
2. muxed the video into an mp4 container using mp4box
3. used mp4fpsmod to add the time codes from the input to the output without any problem
4. added the audiostream to the mp4 using mp4box
-> I see no problem,...

Is the output async?

DJ-1
14th August 2014, 19:12
hmmm, just updated mediainfo (was promting me for an update..)

on the output file mediainfo shows

Frame rate mode : Constant
Frame rate : 23.976 fps
Original frame rate : 25.000 fps
...also if i use the output .mp4 as source in Hybrid its detected as CFR



the source file is

Frame rate mode : Variable
Frame rate : 23.976 fps
Minimum frame rate : 23.974 fps
Maximum frame rate : 23.981 fps

Selur
14th August 2014, 19:14
since you use avisynth, try if it changes if you use LibavSource instead of FFVideoSource

DJ-1
14th August 2014, 19:20
...sorry, cant find that yet, which tab is that under ?

Selur
14th August 2014, 19:22
Filtering->Avisynth->Misc->Misc->LibavVideoSource instead of FFmpegSource

DJ-1
14th August 2014, 19:32
same, with the same mediainfo details also....

incase you want it for comparison or something..

debug:https://www.dropbox.com/s/03hkel297zrovuv/Libavsouce%20checked.txt

Selur
14th August 2014, 19:37
during that encode avisynth isn't used,...

Selur
14th August 2014, 19:39
Also:
1. What happens if you enable "Config->Automation->On Load->Always extract timecoides form mp4/mkv/flv files" and then load the reencode?
Hybrid should then check the time codes.
2. Still waiting for the answer to: "Is the output async? "

DJ-1
14th August 2014, 19:49
Doh, yeah forgot to enable avisynth:scared:

missed the question about async, I have a look in a min, but its only a 4 min clip.....usually vfr source that ends up as cfr starts in sync but slowly drifts, not sure if It`ll be noticeable on this clip.


will try the timecode setting in a mo....

DJ-1
14th August 2014, 20:07
enabled the `extract timecodes` setting loaded the source and still reports cfr 23.976 (in the hybrid info panel.)

didnt see any async issues, but maybe down to the clip duration..

avisynth should be active now:

debug:https://www.dropbox.com/s/6p4d3ud93vkau3l/avisynth%20active%20and%20Libav.txt

Selur
15th August 2014, 14:49
Uploaded a new version which still produces the same mediainfo output, funny thing is, that if I simply passthrough the video, audio and timecode streams this still happens.
-> my guess is that this isn't really a Hybrid bug, but just one of many cases where MediaInfos vfr detection isn't that good.

DJ-1
15th August 2014, 16:34
hmmm ok cheers, I got the version, only enabled the `extract timecodes from source` option.

Ran a test, detected as cfr same....
https://www.dropbox.com/s/6sc6db0848vte6h/new%20test%20verson.txt

are there any alternative to Mediainfo ?


just a thought, is there a chance of having an option to `force VFR` ?( like the CFR output option thats pretty much "force mode").

I cant find the original longer source vfr clip i had so i had to find a short clip online, but couldnt find much `sample vfr clips`, do you have a longer vfr clip i could try so i can try an async test by eye after a test ?

cheers.

Selur
15th August 2014, 16:48
a. Got a sample on my GoogleDrive (https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing) which I like to take for vfr testing.
b. No Hybrid got no 'force VFR' option and will probably not get one since vfr is rarely worth the effort since newer codecs don't really waste much space when encoding duplicates.

are there any alternative to Mediainfo ?
Not really and MediaInfo got some limits due to the way it works. (vfr detection is one of them since it only checks the first few time codes if those have the same distance content is assumed to be cfr otherwise vfr)
Only way to reliably know if a file is vfr or cfr is to look at the time codes.
If you enable "Config->Automation->On Load->Always extract timecoides form mp4/mkv/flv files" and load an mkv/mp4/flv file Hybrid will extract the time codes and check if they indicate vfr or not, if they don't Hybrid will output: "timecodes from input do not indicate vfr and will therefore be ignored."

You can also manually extract time codes yourself using flvextract for .flv, mkvextract for .mkv and mp4fpsmod for .mp4 files

Cu Selur

DJ-1
15th August 2014, 16:57
ok cheers.

digitall.h
16th August 2014, 16:53
@digital.h: posted a temporary solution for the selection stuff, see: http://forum.doom9.org/showthread.php?p=1689823#post1689823
So in theory I could now write some sort of 'compression test'.
Remaining questions are:

What to do with the X% encode of the source? (delete it after some analysis?)
What infos would a user want?
Only thing that pops into my mind atm. is "estimated output size of the whole file" which would be:
estimatedSize = (outputSizeOfEncodedChunks/X)* 100

Great!.
I already run some tests with your previous ffmpeg code. I encoded 2% of the film, and even it is not perfectly accurate (I would say that encoded test is a little oversized) it is very useful, when encoding in crf mode, to anticipate the approximate final x264 file size.

The 'easiest' thing to do would be the one you suggest: encode the requested X% of the movie, using Y seconds chunk size, and show the user (in a window?) what would be the final file size with given encoder settings. And then delete the test file or not (it could be an option to be selected in the GUI). I also imagine this could be a functionality in the x264 encoder tab, with two input items (for % and chunck size in seconds) and a 'Go test!' button...

The more complete solution would be to ask the user the % of the movie to be encoded (the bigger the more accurate), the chunck length in seconds, and the approximate final video (or mkv/mp4) file size. Then an internal routine would run tests changing the crf value until finding the crf value that generates the test file with the size that predicts the requested final size. And would keep the test file encoded with the crf value that will probably generate the file with the requested size.
:D

It is easy to have ideas. It is difficult to code them. But as you asked...
:p
;)

This is a functionality that could be added to Hybrid. But if you think that it is not a matter to be discussed in this thread, please let me know and point me in the right direction.

Selur
16th August 2014, 17:09
The more complete solution would be to ask the user the % of the movie to be encoded (the bigger the more accurate), the chunck length in seconds, and the approximate final video (or mkv/mp4) file size. Then an internal routine would run tests changing the crf value until finding the crf value that generates the test file with the size that predicts the requested final size. And would keep the test file encoded with the crf value that will probably generate the file with the requested size.
to me: that does not make any sense
If you aim for a specific size use 2pass encoding, which probably is faster than multiple times encoding 5% with full settings.

digitall.h
16th August 2014, 17:39
Of course, to target an specific size is not the objective.

But in crf mode sometimes you get a really oversized file, that you have to reencode. This functionality would help to avoid it.
In my tests I did not even use crf decimal values, just tested crf=20, 21 or 22.
And when I speak about a target file size I'm really referring to an approximate final file size. If I encode a file with 14 GB size, I wonder if I can generate a 10 GB file while keeping good quality. If I make this choice before the final (whole movie) encoding, looking at the test file, I will save time and CPU life time.
:D

Selur
16th August 2014, 17:47
-> Don't think anything like that will come anytime soon.
May be I'll add an option to create video only jobs which encode x% of the input, using y-sec chunks, but that's probably it.
(the normal log will show the final size of the output, but the whole estimating stuff would be up to the user)

digitall.h
16th August 2014, 18:07
It would be enough.
If nobody else shows interest in this kind of functionality, I don't think it does merit further effort.

Would they be just video test-encoding jobs?, would it keep the test for further analysis?.

Selur
16th August 2014, 18:11
Would they be just video test-encoding jobs?,
yes, it would be video only (cutting subtitles&co would just slow things down a lot and not really help)

would it keep the test for further analysis?.
What kind of analysis? Atm. I see no further use for the output file, so Hybrid would delete it.

digitall.h
16th August 2014, 18:22
It would be useful to play the test file and evaluate the quality at a given crf value.

Selur
25th August 2014, 15:42
Hybrid rev 2014.08.25.1:

*added*

audio: option to not cut external audio
audio: don't use DGIndex when for audio extraction when chapters are selected


*removed*

encoder: support for cuda encoder since latest drivers dropped support for nvcuenc (which is the old api), will add a new cuda encoder when I stumble over nvcenc using command line application or I write one myself; for those who still use old nvida drivers I added a misc.ini option to enable cuda support
avisynth: DGDecNV got removed due to request from the author, see: http://rationalqm.us/board/viewtopic.php?f=12&t=364
It's still supported, but the files that belong to it now have to be manually downloaded and added to the avisynthPlugins-folder for Hybrid to be able to use it.


*fixed*

audio: using raw external audio and mkv a/v input
input: wrong avs frame rate detection on decimal frame rates
cut: mkvmerge cut/split call
x265: 2pass fast 1st pass
x264: time codes accidentally got ignored when encoding with x264
decode: mencoder->ffmpeg->encoder call, removed map-call inside ffmpeg call
cuda: cq encoding


*changed*

subtitle: subtitle tab show grab language from file name in sidebar


-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
3rd September 2014, 18:18
Latest version Linux 64bit 2014.05.25.1 working great here.
:D
I don't know if it was there before, but I see now, in crf mode (I don't know in other modes) 'estimated size' when encoding x264, good!.

It was just first encode, but I realised that with a bluray source, video encoder x264, crf mode, preset very slow and tune film, it now uses 5 reference frames instead of the 4 ref frames it used. Did you change anything in the command Hybrid passes to x264, or was it a change in x264 presets and tunes?.

Selur
3rd September 2014, 18:29
2014.05.25.1
you meant, 2014.08.25.1, right?

I haven't change anything and afaik. the presets&tunes haven't changed either. My guess is that you changed something in your settings. :)

digitall.h
3rd September 2014, 23:31
Of course, you're right, it's 2014.08.25.1 (a typo...)

I would swear a did not change anything.
Anyway I did a second encode, applying the same settings, and the x264 encoding command line now shows 4 reference frames...
Mysterious happenings...
I'll keep trying and report back
;)

It happened again.
Initially it was showing correctly --ref 4. But after some tweaking and loading again profile, preset and tune, it shows --ref 5.
I checked in ~/.hybrid my profile and there everything is Ok.
Send you debug, in case it helps...

Music Fan
19th September 2014, 11:16
Hi Selur,
x264 encodings crash with Lagarith videos in avi container, whatever I open directly the avi in Hybrid or via an avs script.
Here is a debug file level 4 ;
http://paste2.org/dhHMp2Oh

Selur
19th September 2014, 12:00
before I look at it, try if it works if you use the x264 version from http://download.videolan.org/x264/binaries/

Music Fan
19th September 2014, 12:25
Which version ?
Could you just look the end of the debug file before I try to change x264 ?

Selur
19th September 2014, 12:30
Which version ?
latest matching your OS

Looked at the end:
"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=4 -really-quiet -of rawvideo -o - -ovc raw -noskip -vf scale,format=444p,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "F:\ZOOCUT~2.AVS" | "C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --slow-firstpass --bitrate 2000 --profile high --level 4.0 --ref 4 --keyint 100 --qcomp 0.5 --no-mbtree --tff --nal-hrd vbr --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 0 --aq-mode 0 --non-deterministic --stats "E:\t2_12_09_18_9710_01.stats" --input-csp i420 --fps 25000/1000 --input-res 720x576 --output "E:\t2.264" -
the only thing strange is that the input seems to be 444 and you convert it to 420.
Since I have no clue what is inside the .avs you feed Hybrid with I can't say more.

Music Fan
19th September 2014, 12:49
latest matching your OS
Ok but can I take a version from win 64 folder if I use Avisynth 32 bit ?

the only thing strange is that the input seems to be 444 and you convert it to 420.
Since I have no clue what is inside the .avs you feed Hybrid with I can't say more.
Strange because it's a 4:2:0 file and I didn't change it in the script, I just wrote avisource("F:\file.avi").assumetff().
Here is the debug file when I open the avi in Hybrid ;
http://paste2.org/IyUaVt4a

Is this normal (line 858) ;
"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=4 -really-quiet -of rawvideo -o - -ovc raw -vfm ffmpeg -noskip -vf scale,format=i420
I'm talking about the - without anything after, between -o and -ovc raw.

Selur
19th September 2014, 12:57
Ok but can I take a version from win 64 folder if I use Avisynth 32 bit ?
Since Hybrid uses mencoder for decoding: Yes

Is this normal (line 858)
Yes.

I just wrote avisource("F:\file.avi").assumetff().
a. add 'ConvertToYv12()' to the end
b. check the output of avsInfo when you feed it with the .avs file

Starting Main@12:04:06.053:
"C:\PROGRA~1\Hybrid\x264.exe" --pass 1 --slow-firstpass --bitrate 2000 --profile high --level 4.0 --ref 4 --keyint 100 --qcomp 0.5 --no-mbtree --tff --nal-hrd vbr --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 0 --aq-mode 0 --non-deterministic --stats "E:\test_12_03_56_4810_01.stats" --input-csp i420 --fps 25000/1000 --input-res 720x576 --output "E:\test.264" -
2014.09.19 - 12:04:06_Windows 7-64bit_2014.08.25.1 - level 4: Main call started,..
2014.09.19 - 12:04:06_Windows 7-64bit_2014.08.25.1 - level 4: Starting Helper:
"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=4 -really-quiet -of rawvideo -o - -ovc raw -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "F:\ZOOCUT~2.AVI"
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: Helper call 1 started,..
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: startJobs,...
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: postponeJobs:
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: Queue is empty,...
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: No parentjobs -> nothing to do
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: 12_03_56_4810_01_video ### F:\test.mkv ### x264 [error]: could not open output file `E:\test.264'
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: 12_03_56_4810_01_video ### F:\test.mkv ### finished after 00:00:01.526 with exitCode -1
2014.09.19 - 12:04:07_Windows 7-64bit_2014.08.25.1 - level 4: -> 12_03_56_4810_01_video crashed:Crash: 0
-> seems like x264 can't write to E:\test.264

Cu Selur

Ps.: Also do not forget to check the x264 version, there have been other users having issues with the x264 version which atm. comes with Hybrid,...

Music Fan
19th September 2014, 13:19
Thanks but I discovered that all files crashed, I searched why and I found a few minutes ago that the problem was actually the temp folder which was E: (the root, no folder actually), probably because I have 2 OS (XP and 7) in dual boot and E: contains XP (E: is actually C: when running XP and becomes E: when running 7) but I believed it didn't matter. I don't why Win 7 can't write on this partition.
I probably changed temp folder's path some time ago without doing encodings at this moment, that's why I didn't realize before that this path was problematic.
Everything is ok now.

xkinn123
27th September 2014, 14:31
Selur forgot to post a changelog for the latest one (9.27) :o ?

and this one is ridiculous. now i can see three decimal numbers both in percentage and average bitrate? XD

Selur
27th September 2014, 14:34
@xkinn123: busy atm. + you can configure what progress info can be seen where (Config->View)

xkinn123
27th September 2014, 14:39
didn't realize it until you told me :D!

----------------------------------

1. go to x265's motion tab
2. check if "rectangular" in motion partitioning tab isn't checked. if so, uncheck it
3. save the preset
4. restart the program
5. check the rectangular one <- the asymetric option was checkable
6. uncheck the rectangular <- the asymetric option became uncheckable

wonder why noone report this bug? :/

Selur
27th September 2014, 14:42
btw. there's a RSS feed for updates: http://forum.selur.de/feed-rss-topic32.xml and I always additionally post the changelog at least over at http://www.selur.de/changelog

Gravitator
6th October 2014, 18:48
Салам,
The program does not remember my previous selected directory "H:\", and offers to save the image in the "C:\Program Files\Hybrid" (view mode).

Selur
6th October 2014, 18:52
Assuming you are referring to the installer, that is a known behavior which won't change since I don't know if NSIS is able to do it another way. :)
If you are referring to something else please describe it in more detail.

Gravitator
6th October 2014, 19:12
Run AVS Preview > save the image (offers "C:\Program Files\Hybrid")> select a different location (for example "H:\") > repeat preservation - and again offers to save to the default directory "C:\Program Files\Hybrid" . :)

Selur
6th October 2014, 19:15
Ah, okay. That's avsViewer. -> will change for next version

Gravitator
6th October 2014, 19:29
Thank you!
One very serious question .... Heaven forbid, if something is not good happens, then who is to continue work on the project (For example at MPC have MPC-BE)? This applies to all the programmers alone.

Selur
6th October 2014, 19:37
About Hybrids source code:
Atm. there's no specific plan when and if I release the source code of Hybrid. (If/When I stop developing Hybrid I will probably release the code under LGPL.) source: http://www.selur.de/downloads
Uploaded (https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing) a modified, avsViewer, which will remember the save path while it's open. (if you close the window, it will forget the url)

Gravitator
7th October 2014, 11:39
Thanks!

The tedious question is related to programming: how difficult it is to implement the command / procedure of temporary suspension of execution of commands (pause button) in the converter, possible obstacles and how much time will?
DivX brakes more than 9 months > example (https://forums.divx.com/divx/topics/3_improvement_ideas_for_the_divx_converter?topic-reply-list[settings][filter_by]=all)

Selur
7th October 2014, 11:47
You can pause running processes without a problem for quite some time now, while keeping Hybrid open.
A pause option which will allow to pause and close Hybrid would require a whole memory dump and a lot of other stuff, which either would require:
a. a rewrite of all the tools involved to do this (since each would need to create their own memory and internal position dump)
b. administrator rights and some OS specific hacks (I'm not capable of without a lot of time studying each OS)
-> I doubt that you will see any of this inside an application, since basically it would require the functionality Windows sleep mode has, but even more complex since you want this only for a hand full of applications.
(on Windows pausing like Hybrid is doing it, is a simple call to NtSuspendProcess which is a basic function of the ntdll, implementing that inside a c/c++ based software should be possible in a short time. If the DivX Networks hasn't implemented this in 9 months it's not because they can't it's because they do not want to.)

Gravitator
7th October 2014, 12:20
Can be in the mode of "AVS view" insert text (as a logo) and do touches (circles and squares to allocate) :\

Selur
7th October 2014, 12:32
avsViewer is a really simple tools which doesn't have any real capabilities to modify avs files it's just a simple tool to display avs files.
It's not intended to be some sort of avs editor like avsMod or similar.
-> don't think this will happen.

Selur
10th October 2014, 17:58
Is any Linux user still using the QT 4.6 builds? (thinking about dropping Qt 4.6)

Gravitator
10th October 2014, 18:13
Привет,
Have a folder with DVD or MKV > chose x264 > chose restriction 1CD (e.g. automatically 749kb/s) > then delete or adds a chapter - Hybrid not responsive / does not change the bit rate for mode 1CD (on former 749kb/s).

Selur
10th October 2014, 18:25
will look into it also "not responsive" and "does not change the bit rate" are two totally different things.
-> fixed the not adjusting of the target bit rate in the grayed out dialog

digitall.h
13th October 2014, 17:45
Is any Linux user still using the QT 4.6 builds? (thinking about dropping Qt 4.6)

This is not exactly the answer you were looking for, but...

I'm not using QT 4.6 build

:)

Selur
14th October 2014, 09:36
Hybrid rev 2014.10.13.1:

*fixed*

avisynth: make sure content is 4:2:0 before applying SalFps3
calc: adjusting bit rate indication when a fixed output file size was selected and the chapter selection got changed
cosmetics: 'extracting video ...' was shown during Xvid encoding
filter: don't change frame rate when doing progressive to interlaced conversion (mixed up fields and frames :/)
prores: profile selection and indication
x264: --aq-strength wasn't properly minimized

*added*

filter: 'force 4:4:4 downsize' option to better preserve chroma information
avisynth: (direct) edgeLevel and aSharp support

*changed*

avisynth: rewrote avisynth filter support to easier support new filters
cosmetics: always show two internal decimal places for fps and progress, always round bit rate during progress indication


-> downloads: http://www.selur.de/downloads

Cu Selur

mike20021969
14th October 2014, 10:54
The installer has shrunk ~10MB compared to previous release.

Hybrid_2014.9.27.1_SETUP.exe - 117 MB (122,920,575 bytes)
Hybrid_2014.10.13.1_SETUP.exe - 107 MB (113,239,420 bytes)

Selur
14th October 2014, 11:03
Yes, it did.

Selur
15th October 2014, 21:46
Hybrid rev 2014.10.15.1:

*added*

input: vfr timecode extraction through ffmpeg this way Hybrid can extract the time codes of every format that is supported by libav :) (mainly useful for vfr wmv)

*fixed*

avisynth: DeGrainMedian-call container 2 times the 'mode'-parameter :/
avisynth: Levels, only supports named parameter addressing for corning and dither
avisynth: DeHalo filters didn't get applied
avisynth: SalFPS3, 'FPS' isn't optional and needs to be set explicitly

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
23rd October 2014, 21:38
Hybrid rev 2014.10.23.1:

*fixed*

input/jobs: bug during subtitle processing
avisynth: load "d3dx9_30.dll" when loading FFT3dGPU.dll
avisynth: change frame rate/count when QTGMCs input type is not zero

*added*

avisynth: "Interactive script view"-option, when enabled, Hybrid will not disable the GUI while the avisynth preview is enabled. It will also update the view on every change made that influences the script.
*WARNING* This option is experimental! It isn't tested extensively, so use it with case. Especially the fast change of settings, e.g. by using the up/down arrows of an option might cause problems. -> if your run into reproducible problems please tell my how to reproduce the problem and I'll try if I can find a fix for it.
tools: 'Check for new release'-button, when pressed Hybrid will check if there's a newer version of Hybrid available online
or not.
x265: support for '--rd-penalty X'

*changed*

avisynth: support Avisynth+ as alternative to normal Avisynth (the avisynth extension still comes with Avisynth 2.6 MT atm.)
input: always set frame count to the number of time codes, for vfr content

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
24th October 2014, 07:59
Hybrid rev 2014.10.24.1:

*fixed*

general: adding a job blocked by development debug output

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
25th October 2014, 00:58
Hybrid rev 2014.10.25.1:

*fixed*

avisynth: case-insensitive search on Windows caused Hybrid to falsely assume Avisynth+ as being present, which caused Haybrid to look for RgTools instead of RemoveGrain&Co. :/ (Windows only)
tools: 'bdsup2sub++' detection problem (now Hybrid manually searches /usr/bin for bdsup2sub++, seems like 'which' didn't like the '++' in the name (Mac&Linux only)

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
3rd November 2014, 18:06
Hybrid rev 2014.11.03.1:

*changed*

x265: '--[no]-lft' got replaced by '--[no]-deblock=<alpha:beta>'
x265: added support for '--[no]-pmode' and '--[no]-pme'
x265: adjusted presets&co to 1.4+

*fixed*

avisynth: Avisynth looking for RgTools instead of RemoveGrain
build: adjustments to Hybrid to work better with Yosmite

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
9th November 2014, 02:13
Hybrid rev 2014.11.09.1:

*fixed*

audio: crash when no audio was present, but 'add current' was triggered.

*changed*

DivX265: support --main10 and --format X introduced with version 1.4
jobs: lower progress update frequency when mencoder is used
x265: added support for '--tune grain'

*cosmetics*

x265: delete '.stats.cutree'-file after "2pass 2nd pass" job


-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
9th November 2014, 12:39
Hybrid rev 2014.11.09.2:


*changed*

analysis: redo video analysis with ffmpeg if mediainfo doesn't provide color sampling infos


*fixed*

gui: crash on start-up on mac


-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
11th November 2014, 15:36
Hybrid rev 2014.11.11.1:

*fixed*

audio: NeroAacEnc wasn't supported on Windows
start-up problems on linux machines

*changed*

cosmetics: added splash-screen during start-up

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
11th November 2014, 18:18
Hybrid rev 2014.11.11.2:

*fixed*

input: typo which broke file analysis

-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
12th November 2014, 19:35
Very nice!, the splash screen
:D

I was caught by surprise and had to start Hybrid again to look at details.
Very nice, minimalistic, informative, great!
:thanks:

Selur
12th November 2014, 20:13
it's mainly there to give some info that Hybrid is running for those who are surprised that the 1st start after a version update is taking so long.

Selur
13th November 2014, 13:46
Hybrid rev 2014.11.13.1:

*fixed*

input: dvd title shown, not the one being selected on dvd load for some dvds

*changed*

x265: adjusted: removed --b-intra from --tune grain
x265: changed --nr limit to 0-20 (internally value will be multiplied by 100)
cosmetics: changed splashscreen for Mac OS X

-> downloads: http://www.selur.de/downloads

Cu Selur

Beak
14th November 2014, 00:24
I love this program and it used to run flawlessly for me.

Now I am plagued by the programme freezing frequently or creating an output file before encoding is finished.

I have installed, reinstalled, removed all other video related programs, uninstalled avisynth, everything I could think of.

The logs are all different and don't show any errors, often saying encoding completed when this has not happened.

I guess I'm looking for some generic suggestions I might try.

Any help would be appreciated....

Selur
14th November 2014, 07:00
No clue which encoder, decoder, etc. are used.
Problem might be related to the x264 version, try if replacing the x264&x264-10bit version with the versions from http://download.videolan.org/pub/videolan/x264/binaries/ helps.
Other than that please provide proper infos which might allow to reproduce the problem.

Selur
15th November 2014, 17:25
Hybrid rev 2014.11.15.1:
*fixed*

tools: mix-up with fdkaac(enc) (on some Linux systems)
avisynth: fixed calling QTGMC-3.32 instead of QTGMC-3.33
input: lsdvd DVD aspect ratio detection (Mac OS X and Linux only)
preview: image resize (Mac OS X only)

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
16th November 2014, 16:41
Hybrid rev 2014.11.16.1:

*fixed*

avisynth: combining avisynth filtering and cropping while deinterlacing through mencoder led to a broken avisynth script
avisynth: crop-Call
avisynth: accidentally ColorMatrix was always called which could case a problem with MPEG-2 content

*removed*

installer: Advanced 64bit options, since too many users simply enabled them without knowing what they do, also removed 64bit avsInfo and avsViewer (so 64bit Avisynth can't be used with Hybrid)

-> downloads: http://www.selur.de/downloads

Cu Selur

Havokdan
16th November 2014, 17:34
Releases all days :) \0/

Music Fan
18th November 2014, 19:15
Hi Selur,
is there a way with Hybrid to create a video having the same duration than an audio file ?
The idea is to open audio and create a chaptered album for a player that needs video (does not support mka).
This option exists for avi in Virtual Dub Mod (and not Virtual Dub) but this is too old and does not support x264.
It works with avisynth templates that look like this ;
#ASYNTHER Import_audio_29.97

fps=29.97
H=64
L = 64
audio = [directshowSource("%f",video=false)]
audio_length = float(AudioLength(audio))
audio_rate = audiorate(audio)
t =audio_length/audio_rate
length = round(t*fps)
video = blankclip(width=L,height=H,length=length,fps=fps,pixel_type="yv12")
audiodub(video,audio)
It's in an avst file located in a subfolder of VirtualDubMOD.
We have to choose a template, open the audio file, the video is created with the audio duration, then choose a video codec and launch the encoding.
It encodes audio too but if we don't want to re-encode audio, the solution is simple : replace audio by the original audio file after encoding.

Do you believe you could add anything in this kind in Hybrid ?
Thanks ;)

Selur
18th November 2014, 19:31
http://ubuntuforums.org/archive/index.php/t-1244112.html might be interesting to you

Do you believe you could add anything in this kind in Hybrid ?
Sounds a bit exotic. What players require video and don't support the audio on it's own?
(btw. does the player support mp4, if it does you could try if it supports an mp4 with: an image + chapters + sound)

Cu Selur

Ps.: To answer your question: Yes, I could add such a feature in theory, but since it a. seems like a strange feature b. I would have to rewrite quite a bit I'm not really motivated to write something like that. (writing a separate small application which does the same thing and simply calls ffmpeg to do the job is probably easier)

Music Fan
18th November 2014, 20:46
Ok thanks.

http://ubuntuforums.org/archive/index.php/t-1244112.html might be interesting to you
That's not really different than the script I posted.
Actually I can use this script and put manually the path of the audio file instead of %f in audio line.
Works with a little modification => [] removed in audio line ;
fps=29.97
H=64
L=64
audio=directshowSource("H:\my file.wav",video=false)
audio_length=float(AudioLength(audio))
audio_rate=audiorate(audio)
t=audio_length/audio_rate
length=round(t*fps)
video=blankclip(width=L,height=H,length=length,fps=fps,pixel_type="yv12")
audiodub(video,audio)
And I will open it in Hybrid. And of course, resolution can be changed, 64x64 is very little.

Sounds a bit exotic. What players require video and don't support the audio on it's own?
(btw. does the player support mp4, if it does you could try if it supports an mp4 with: an image + chapters + sound)
Audio, yes, but I'm not sure that standalone players support images, chapters and pcm in mp4 container.
I tried Yamb (a GUI for mp4box), it does not support wav.

Selur
18th November 2014, 23:14
I tried Yamb (a GUI for mp4box), it does not support wav.
Nope, PCM won't work. (didn't see that you wanted PCM audio)

That's not really different than the script I posted.
Nope, but that solutions works on Linux, Mac and Windows since it doesn't rely on Avisynth ;)

Ajvar
22nd November 2014, 02:27
Selur, in Hybrid 2014.1.16.1 in the Filtering>Avisynth>Misc> Avisynth cut support checkbox when hold cursor opens info "trimming oints can be set inside the avisynth preview window".
I believe you mean points, right?

And BTW, I clicked Show crrent Avisynt script and couldn't modify it at all. Could you tell me where exactly I can set those points and what formulas/rules are there for splitting 2 different part of 1 video in 1 step? Thank you.

Selur
22nd November 2014, 06:40
Show crrent Avisynt script and couldn't modify it at all.
Hybrid doesn't allow to modify the script directly. You can add a custom part to the script (Filtering->Avisynth->Custom) but be aware that this if you change general frame characteristics (count, scan type, resolution) Hybrid can not verify what you did and you are responsible for problems due to such changes.

"trimming oints can be set inside the avisynth preview window".
fixed locally

what formulas/rules are there for splitting 2 different part of 1 video in 1 step?
When cutting through the normal cut support, Hybrid only allows one cut.
When using the 'highly experimental' Avisynth cut support, Hybrid will only cut the video (audio, subtitles, etc. will not be processed).

normal Avisynth view:
http://i59.tinypic.com/fz6jyf.png
Avisynth view, with 'Avisynth cut support (Video only!)' enabled:
http://i61.tinypic.com/296hono.png

Tool-tip of:

Cut-Start: Set 1st frame that should be set
Cut-End: Set last frame that should be kept
Add to Cut-List: Add current selection to cut list
Remove From Cut-List: Remove the currently selected item from the Cut-List.
Cut-List: The elements in this list are the regions that should be kept in the output! Not the regions that should be removed!


So in theory (ages since I tried to use that option and you are the first one who probably looks at it), you should set multiple start&end cuts and add them to the cut list.
By:

Navigate to a cut start-position (using the scroll bar and/or the Previous/Next button)
Set the current location as starting point for the cut by pressing the 'Cut-Start'-button
Navigate to a cut end-position (using the scroll bar and/or the Previous/Next button)
Set the current location as end point for the cut by pressing the 'Cut-End'-button
Adding the current selection to the 'Cut-List' by pressing 'Add to Cut-List'
Repeat the above steps if you want to keep multiple parts of the input.

Like I wrote before, this option is highly untested.
I will probably remove it for the next version, since:
a. I totally forgot about that option
b. I lack the time&motivation to look more into it
c. a more Avisynth centric or NLE like tool is probably better suited for something like this.

-> If you want to cut an mkv file with H.264 video MKV Cutter (http://forum.selur.de/topic220-mkv-cutter-tool-to-cut-h264-mkv-files-frame-accurate.html) or other tools might be better suited than Hybrid.

Cu Selur

Ajvar
22nd November 2014, 19:20
@Selur, I couldn't even hope to get such a full answer on my question! Thank you!
I used mkvmerge to set cuts in global settings and then merge fragments which is useful without quality loss but sometimes you need to do the same but set a cut in the middle of keyframes which is impossible to do. I have couple recorded videos of gaming in extremely high bitrate so wanted to do both CUT and Convert in one operation.

P.S. Please don't remove that option because xvid4psp is not that good as Hybrid:).

P.P.S. Another kinda bug. The shortcut goes to Users/DefaultUser/Desktop even if I have already changed the directory of system's Desktop folder.

digitall.h
1st December 2014, 23:15
Hi Selur,
As you know I'm a satisfied Linux user, and a happy Hybrid user.
;)
Now that we have at home a 3D enabled TV set I was considering converting 3D bluray into 3D mkv.
After some reading I see it could be done with some avisynth scripting. Not for a Linux without Wine environment.

My question: do you think it could be done natively inside Hybrid?. Could it be done with ffmpeg?, can ffmpeg read MVC streams and extrapolate the alternative eye frame?.
:thanks:

Selur
2nd December 2014, 00:29
afaik. libav doesn't support mvc decoding, so it would only decode one half

digitall.h
2nd December 2014, 16:32
Yes, you're right.
I read there's some work ongoing on libav side to add MVC decoding capabilities.
And in ffmpeg they seem to be waiting libav development on this matter.
:rolleyes:

Maybe something that will be add to Hybrid in the near future...

Selur
2nd December 2014, 16:39
Maybe something that will be add to Hybrid in the near future...
We will see, MVC is mentioned over at https://trac.ffmpeg.org/wiki/SponsoringPrograms/OPW/2014-12, but I wouldn't hold my breath.

Selur
6th December 2014, 00:23
Hybrid rev 2014.12.05.1:

*fixed*

audio: qaac bitrate listing
output: avi muxing using ffmpeg
decode: avisynth + blu-ray input

*changed*

x265: added support for '--ratetol X' and '--tune cbr'
mp4: 'iTunes compatible' changed, Hybrid will now allow non-aac audio
streams as first audio stream unless 'iTunes compatible old' is enabled.
(older iTunes versions only supported ac-3 audio streams if the first
audio stream was aac audio)

-> downloads: http://www.selur.de/downloads

Cu Selur

Ajvar
9th December 2014, 15:21
This is just an idea. The default MaxGOP size = 10 x Output FPS. Default now is 250 which is about 10 seconds for 25fps video or tiny more for 24fps. But for 30 fps 10 seconds scene change would be 300 frames, right?

Selur
9th December 2014, 16:46
The default MaxGOP size = 10 x Output FPS.
Yes, that is what most encoders use.

But for 30 fps 10 seconds scene change would be 300 frames, right?
Max GOP doesn't mean there is a scene change. Max GOP size is more like: If there hasn't been a key frame because of a scene change for X frames, force a key frame to ensure better navigation inside the clip. If you don't care much about navigation inside your content using larger GOP sizes and/or OpenGOP will probably yield better compressibility.

Selur
23rd December 2014, 10:43
Hybrid rev 2014.12.23.1:

*added*

input: added option to automatically run interlace analysis on 29./59./119. fps content which isn't detected as telecined (on by default)
vpxenc: support constant quantizer mode

*fixed*

avisynth: dvd input using DGIndex&DGIndexNV
cosmetics: crashed jobs weren't shown as CRASHED, they simply stayed in their previous mode
audio: crash when mplayer + sox + audio encoder were used at the same time (only happend when 'Config->Input->Decoding->Raw with MPlayer' was enabled)
avisynth: add 'wine' before avs2yuv calls on non-Windows systems

*changed*

cosmetics: showing a countdown during shutdown&hibernation notification and set 'always on top'
qsvenc: adjusted to QSVEncC 1.27 (Windows only)
x264: rev 2525+ now supports --aq-mode 3 (auto-variance AQ with bias to dark scenes); not on Mac atm. due to lack of up-do-date x264
x265: splitting noise reduction into intra&inter noise reduction
input: audio now always gets extracted on DVD input before processing to avoid unwanted peep sounds on some systems
output: change current output path if default output path gets changed and generate output name is enabled

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
4th January 2015, 12:26
Hybrid rev 2015.01.04.1:

*fixed*

cosmetics: progress indication when extracting streams with mplayer
demux: hevc remuxing
demux: mpeg-2 demuxing with mplayer
x264: typo --psnr vs. --psrn
x265: 'minimize command line' did remove '--psnr'
x265: after 2pass delete .stats.cutree temp file
x265: fix 'unknown version'-info of the attached binary (Windows only), Thanks to jb_alvarado (https://github.com/rdp/ffmpeg-windows-build-helpers)

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
7th January 2015, 15:55
Hybrid rev 2015.01.07.1:
*fixed*

audio: temp file removal
input: bug reading the mkvtoolnix version which caused problems handling mkv files properly
input: ignore pulldown flag for files which are 23.9.. fps (since they are normally soft telecined)
subs: ignore empty subtitle entries during srt/ass->ttxt conversion
trans: 'None' wasn't always translated properly
tags: multi input audio-tag handling

*added*

mux: use ffmbc instead of ffmpeg for .mov muxing if it's present
If other features of ffmbc should be added to Hybrid, please post in the forum. Windows and Mac packages now contain ffmbc. Thanks to houdini for compiling the Mac version!
x265: support for the range extension profiles (Warning: These are not finalized!)

-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
10th January 2015, 01:52
Hybrid rev 2015.01.07.1

Thank you Selur,
working great!!

Selur
19th January 2015, 20:37
Hybrid rev 2015.01.19.1:

*fixed*

audio: aac audio encoder delay handling
audio: mono to strereo upmix handling
mux: negative audio delay got ignored for vfr video content when muxing to mp4
avisynth: MAA2 call
input: auto loading audio file(s)
input: avi(raw rgb video) handling
input: workaround for 1st chapter infos messed up by MakeMKV
ui: crash when disabling 'Blu-ray'-Input after Blu-ray was loaded.
subs: crash during job creation, when sup2idx was enabled

*added*

avisynth: benchmarking through AVSMeter
avisynth: Denoiser->NLMeansCL2
avisynth: Color->AutoAdjust

*changed*

tools: reverted to MediaInfo 0.7.66 due to http://sourceforge.net/p/mediainfo/bugs/860/ (forgot about the bug, which is why I accidentally updated MediaInfo, sadly it seems like the bug isn't that important since I got no feedback from the developer of MediaInfo so far) (Mac only)


-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
20th January 2015, 07:51
Reuploaded a 'Hybrid rev 2015.01.19.1' installer for Windows with older mplayer/mencoder versions since there was a problem with the current mplayer/mencoder versions (they caused C++ Runtime errors).

Cu Selur

Selur
26th January 2015, 18:13
Hybrid rev 2015.01.26.1:

*fixed*

avisynth: keep screen split on update
avisynth: 4:1:1 input handling
profiles: loading of multiple old (pre 2014.01.11.1) profiles in a row
tools: WinXP compatibility (thanks to the mingw64 team for fixing)

*changed*

tools: added some alternative names for some tools for more automated tool detection
x265: support '--zones ..'
input: using 0.7.66 and 0.7.72 MediaInfo to analyse content (Mac OS X only)
avisynth: updated to latest Avisynth MT 2.6 RC1

*notice*

linux: djcj made some changes to the ppa, see: http://forum.selur.de/post7809.html#p7809

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
29th January 2015, 16:28
Hybrid rev 2015.01.29.1:

*fixed*

subs: automated subtitle extracation during batch processing
audio: channel mapping on multi-channel (>2) for ogg&opus

*changed*

cosmetic: show Title-tag of input audio/video/subtitle stream as tool-tip for the selection combo-/spinbox

-> downloads: http://www.selur.de/downloads

Cu Selur

Selur
8th February 2015, 17:02
Hybrid rev 2015.02.08.1:

*fixed*

audio: remembering default bitrate settings
audio: automatic downmix to 5.1 when encoding to ac3 using ffmpeg and not aften
x265: strictCBR error during 1pass average bitrate mode


*added*

avisynth: base support for denoiser MDegrain (= MVDegrain for mvtools2)
avisynth: support for FrFun7 denoiser
ProRes: advanced ProRes settings when using Kostyas ProRes implementation


*changed*

audio: using 64bit qaac on 64bit Systems now (before only a 32bit version was available)
Note that this requires the 64bit Apple Application Support. (Windows only)
x265: adjusted '--psy-rd X' default to 0.3
x265: added support for --[no-]temporal-layers

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
9th February 2015, 16:20
Hi Selur,
is there a way to specify a new length for an audio file (for example from 1:00:04 to 1:02:07), instead of changing its framerate ?

Selur
9th February 2015, 18:01
Not atm. :) (btw. it's not changing a frame rate it's giving a fraction, the frame rates are just there since most people know the want to stretch from-to a frame rate)

Music Fan
12th February 2015, 15:56
Ok. Thus actually one could specify a fraction that would work as a percentage calculated from the original and destination durations ? If the new duration represents 2,34 % over the original, one could put 10234 and 10000 (or something like that) in boxes from and to beside speed change, right ?

Gravitator
12th February 2015, 23:21
Всем привет!
What guantizer in x265? And is there any benefit (difference) from the increase in the min/max values of 10-51 and 0-69?

Selur
13th February 2015, 06:30
Ok. Thus actually one could specify a fraction that would work as a percentage calculated from the original and destination durations ? If the new duration represents 2,34 % over the original, one could put 10234 and 10000 (or something like that) in boxes from and to beside speed change, right ?
Yes. :)

And is there any benefit (difference) from the increase in the min/max values of 10-51 and 0-69?
for x264: only if there is a chance that your encoding will actually use one of those otherwise left out quantizers.
for x265: how do you plan to do that? (afaik there is no option to change the min/max quantizer)

Gravitator
13th February 2015, 15:42
Add a button to cancel scanning for "Auto crop" mode.
I can not reduce the value of "Curve compression" to zero (min threshold 50 at x265).
Click "Remove all" during encoding, this leads to the purification of the list and stop encoding, but the progress bar does not clear from the information (green stripe and percentages hang).

Music Fan
13th February 2015, 16:18
Yes. :)
Ok. If you have time, could you add the possibility to change sound's duration with original and desired durations (instead of fps or fraction) to simplify the process ?
I mean as an optional extra, I don't ask you to remove the change by fps of course.

Selur
13th February 2015, 18:47
Add a button to cancel scanning for "Auto crop" mode.
Configure 'Auto Crop' through 'Crop/Resize->Advanced Auto Crop Options' to analyze less/other frames instead.

Click "Remove all" during encoding, this leads to the purification of the list and stop encoding, but the progress bar does not clear from the information (green stripe and percentages hang).
I know. Got it on my 'misc/cleanup'-list. :)

I mean as an optional extra, I don't ask you to remove the change by fps of course. Will look into it during the weekend. :)

Gravitator
13th February 2015, 19:04
Curve compression?

Selur
13th February 2015, 19:51
Why would you want to lower it to zero? (fixed locally)

gambit19
13th February 2015, 21:36
i downloaded yesterday a couple of recent version of hybrid but i am not able to open it, it always gives me error about not being able to find QSVEnc but i can clearly see it in the hybrid folder, any ideias what this might be, I am running windows 8.1?

Any idea when you might incorporate the new hvec 1.5?

Selur
14th February 2015, 06:54
Any idea when you might incorporate the new hvec 1.5?
never heard of it until now, so without a link no clue what you are speaking of.
Or do you mean x265s latest release? (Hybrid should already support everything that is included in the 1.5 release)

i downloaded yesterday a couple of recent version of hybrid but i am not able to open it, it always gives me error about not being able to find QSVEnc but i can clearly see it in the hybrid folder, any ideias what this might be, I am running windows 8.1?
a. What does the error message say. There shouldn't be an error message.
b. QSVEnc might require more up-to-date Intel drivers.

Cu Selur

legend
14th February 2015, 18:57
My source file is DTS 6CH....How Do I encode from DTS 6 Channel to 2 channel aac HE audio..

Selur
14th February 2015, 20:29
make sure you got a aac encoder which support AAC encoding (Hybrid supports Nero AAC, Qaac, FHG, FDK), see: *hidden* Hybrid options,... (http://forum.selur.de/topic33-hidden-hybrid-options.html)->Additional aac encoders
enable Audio->Main->Reencode
set "Audio->Main->Audio Encoding Options->Audio format" to 'aac'
select the aac audio encoder you want "Audio->Main->Audio Encoding Options->Nero AAC/Qaac/FHG/FDK"
select "Audio->Main->Audio Encoding Options->Audio format->aac" + 'high efficency"
select "Audio->Main->Filtering"
set "Audio->Main->Audio Filtering->Downmix" to one of the 'toStereo ...' modes
add your audio stream to the audio queue

Gravitator
15th February 2015, 05:46
Why would you want to lower it to zero? (fixed locally)
Still there 40,30,20,10 :)

Will add support NVEnc - HEVC? > https://onedrive.live.com/?cid=6BDD4375AC8933C6&id=6BDD4375AC8933C6!2293
With this forum > http://x265.ru/f/viewtopic.php?f=2&t=7

Selur
15th February 2015, 12:53
Will add support NVEnc - HEVC?
ah, didn't know rigaya made a standalone binary.
Thanks for the info, will look into it.

Still there 40,30,20,10
will be included in the next public release

Selur
15th February 2015, 13:16
@Music Fan:you PM storage is full -> the verison.txt and the dll belong to the avisynth extension so if you disabled the avisynth extension those two files are not needed.
@Gravitator: looked into NVEncC and support for it will have to wait a bit since I don't own a graphic card which supports H.265 encoding through it. It requires a Maxwell NVIDIA cards iirc. and since my current Geforce GTX 660ti is working fine and will probably be enough for me for the next few month I doubt that NVEncC H.265 support will come anytime soon.
(tried to test NVEnC on my 660 ti, but it caused my whole system to crash!)

legend
16th February 2015, 12:51
Using this software couple of days. It's really quite satisfactory. Still have some question.

1. If I give target file size But the output filesize did not get properly. for example If I input target size 700mb after encode output size I get 745 or 746Mb. So How Do I get actual output file size like 700MB or 800MB.

2. How do I create sample file from my encoding setting before full size encoding.

Selur
16th February 2015, 18:21
regarding 1.: details -> no clue how to answer, only general tip: "use 2pass encoding" if the encoder supports it + don't use vp8 or vp9 if you want to hit a file size
regarding 2.: you can enable the cut support if you only want to encode a part of your source (Config->Internals->Cut Support))

HeadFi
20th February 2015, 20:21
Hi. I'm getting an error while trying to open hybrid saying :"Disabled avisynthsupport,since the version file is not present.You need to update the avisynthExtenions addOn"

Anyone knows what it might be?

Selur
21st February 2015, 09:01
That happens if the version file inside the avisynthPlugins folder isn't present.
Did you install Hybrid with the installer ?
Did you modify any options inside the installer ? (normally the defaults are the best)

Pat357
21st February 2015, 16:52
current Geforce GTX 660ti is working fine and will probably be enough for me for the next few month I doubt that NVEncC H.265 support will come anytime soon.
(tried to test NVEnC on my 660 ti, but it caused my whole system to crash!)

To use NVencc exe, you need to have the NVidia drivers 347.09 or later installed. It will hang with any older drivers.
Try to use "NVencc --help" and "NVencc --check-hw" and "NVEncC --check-features".
It will do only h264 encoding by ASIC on your Keppler, because your card doesn't have a hardware H265 encoder. The newer GM220 based cards can also do H265 encoding

Just fwiw, it works fine on my GTX 680 (347.25 drivers), which has the same hardware encoder as your 650ti : around 100fps (!) for 1080p encoding with only about 10% CPU load !

"NVencc --check-features" gives me :

Environment Info
OS : Windows 7 (x64)
CPU: Intel Core i7 970 @ 3.20GHz (6C/12T)
GPU: GeForce GTX 680 (8 EU) @ 1084 MHz (347.25)
RAM: Total 24567 MB / Used 7728 MB

: H.264/AVC
Max Bframes 4
RC Modes 63
Field Encoding 1
MonoChrome 0
FMO 0
Quater-Pel MV 1
B Direct Mode 1
CABAC 1
Adaptive Transform 1
Max Temporal Layers 0
Hierarchial P Frames 0
Hierarchial B Frames 0
Max Level 51
Min Level 1
4:4:4 0
Max Width 4096
Max Height 4096
Dynamic Resolution Change 1
Dynamic Bitrate Change 1
Forced constant QP 0
Dynamic RC Mode Change 0
Subframe Readback 0
Constrained Encoding 0
Intra Refresh 1
Custom VBV Bufsize 1
Dynamic Slice Mode 1
Ref Pic Invalidiation 1
PreProcess 0
Async Encoding 1
Max MBs 65536
MAX MB per sec 983040
Lossless 0

Ajvar
23rd February 2015, 15:13
Just a tiny bug report. My Desktop Folder location is changed by default but when I install Hybrid it creates a folder called Desktop in Profiles/My profile/ and creates a shortcut there.

Selur
23rd February 2015, 15:17
Seems to be a problem with NSIS (Nullsoft Scriptable Install System) so the best way to avoid the problem is to not tell the installer to create a shortcut. :)

Ajvar
24th February 2015, 02:04
Seems to be a problem with NSIS (Nullsoft Scriptable Install System) so the best way to avoid the problem is to not tell the installer to create a shortcut. :)

OK, I won't. Just Hybrid is the only one which does this (I recall one or 2 programs which did same in the past) and wanted to notify. For me it is not a big problem.

Selur
24th February 2015, 07:17
Problem is I'm no NSIS-Master and I have no clue why it does this,... (script looks fine: http://pastebin.com/7UxbcRMx)
Only way to fix this atm. seems to be to not create a shortcut.

kide13
28th February 2015, 06:20
Hello, sorry for my bad english.

Thanks you Selur ! the dream come true ! all the stuff i needed :)

I don't want to offend you but to be honest, it's probably the worst design i ever seen :confused:
For better readability i suggest to use some human standards (size, color, font type, icons, align), at least you tried with some icons but they are so ugly :/ i like only the Paypal button :p
Readability (http://en.wikipedia.org/wiki/Readability) and Ergonomics (http://en.wikipedia.org/wiki/Human_factors_and_ergonomics) are scientific disciplines, it's not easy and require a lot of time. So i can't blame you.

But nevermind, Hybrid is the tools paradise !
Now i'll easily convert all my tv shows and movies to x265 60fps ! :thanks:

Selur
28th February 2015, 11:32
I don't want to offend you but to be honest, it's probably the worst design i ever seen
Read this (http://forum.selur.de/topic33-hidden-hybrid-options.html), especially the styling part of 'Command Line Interface (CLI)' and 'misc.ini options' around font size.
-> You can adjust a lot through styling&co, but personally I like the way it is and so I won't change it.
+ When I look at latest Mac OS X, Windows 8 and Linux Unity I'm really no friend of what nowadays is considered a 'good' design.

kide13
28th February 2015, 19:08
-> You can adjust a lot through styling&co, but personally I like the way it is and so I won't change it.

ok cool, but i think i can't reorganize categories ?
example, imagine this is tabs:
Set - Jobs - Log - Config
░└ File - Video - Audio - Subtitle - Chapter
░░░░░░░░░└Codec - Picture - Filtering

Blue group is how a nfo is organised. I think it's more user friendly.
it's just an example but i would reorganise a lot of elements in Hybrid if it is possible. I can use any programming languages if needed.
:thanks: Selur

Selur
28th February 2015, 19:15
No, you can't reorganize categories and like I wrote before I like it the way it is. :)
-> doubt that I will change Hybrid any time soon
+ I prefer Tab-widgets instead of menus, which I why I only use them inside the Config-tab. :)
So if you really don't like the layout, I can only recommend to use another GUI. :)

kide13
28th February 2015, 20:08
I don't like the layout but i don't know any other gui with all the functionalities i need, Hybrid is the best gui i ever seen ! :) that's why i try to help.
I prefer Tab-widgets instead of menus too, this is a good idea, the main problem is the organisation, not your fault, but there is so much options ! very hard to organize this :cool:
Nevermind i'll use css only for now.
:thanks: Selur

Kamenizer
28th February 2015, 21:29
ok cool, but i think i can't reorganize categories ?
example, imagine this is tabs:
Set - Jobs - Log - Config
░└ File - Video - Audio - Subtitle - Chapter
░░░░░░░░░└Codec - Picture - Filtering

Blue group is how a nfo is organised. I think it's more user friendly.
it's just an example but i would reorganise a lot of elements in Hybrid if it is possible. I can use any programming languages if needed.
:thanks: Selur

Seriuously! So hard is for you using this program! Try Free Media Converter. It has a pretty interface and nothing more, but is exactly what you are looking for. :rolleyes:

kide13
28th February 2015, 22:24
Kamenizer i don't speak about beauty, you can't use the word "pretty" if you understand what i'm trying to say.
I'm talking about scientific disciplines.
http://en.wikipedia.org/wiki/Readability
http://en.wikipedia.org/wiki/Human_factors_and_ergonomics

Ajvar
3rd March 2015, 01:52
What I would really like in design/usability of Hybrid is an ability to text-edit the Current output file!
Because for now you can either Generate it or manually click on button to the right and write full name. While in my dreams I can check and then uncheck box "Generate" for auto filling up full video name and then just simply add text like 1, 2, x264, x265 etc when I want to encode one video couples times with different settings.
Because for now I have to use something like 0001, 0002, asdjf1 for any 2nd encode or browse for first encoded file in small explorer window, click it and then add text at the end.

P.S. Could you tell me again how to trim in Hybrid?:) I remember that you disabled multiple trimcuts and left just 1 but I can't find where it is.

Selur
3rd March 2015, 06:27
I remember that you disabled multiple trimcuts and left just 1 but I can't find where it is.
There never was an option which allowed multiple cuts, there only is and was the normal 'Cut Support'.
Cutting is still 'experimental', since it:
a. can't cope with vfr
b. doesn't cut subtitles
c. probably has some other downfalls.
To enable the 'Cut Support' as it is go to: Config->Internals->Cut Support (and remember to read the tool-tips).

About encoding one video multiple times:
- Don't really like the idea of either making the input or output line edit editable.
- I could probably add an option to add a timestamp to the current output as an additional 'Output filename Generation option', or something similar. (or add an option which adds the current 'video handling',....)
- Also you can already add texts like 1, 2, x264, x265 when 'Generate' is enabled, by changing the suffix in the 'Config->Output->Filename Generation->Output Filename Generation' options.

Gravitator
4th March 2015, 12:09
Expand the list of purses? The most convenient purses for the people of Kazakhstan and Russia:

https://money.yandex.ru/
https://qiwi.com/

Selur
4th March 2015, 19:20
qiwi doesn't seem to have an English website, but I'll look into yandex.ru
-> created an account and added a donation link on the main site of my homepage.

Gravitator
5th March 2015, 12:34
qiwi doesn't seem to have an English website

In the lower right corner. Once the site is not all elements are translated. It seems they have not yet gained access to Germany (the phone number).

Selur
5th March 2015, 20:30
for me the language button is at the left lower corner, but you are right one can't register with a german phone number.

Ajvar
13th March 2015, 11:39
Dear Selur, or anyone else. There is one strange behavior I can't seem to solve. I encoded source mov file using Hybrid into both x265 and x264 and both resulted files looked with different color range. I take source file and set Levels in ffdshow to 16-235 and see exactly what show encoded files.

Furthermore I went to Filtering, Postprocessing, checked autolevels>Full range and got crashed encoding error after sstarting job. What am I doing wrong? Do you need source file and encoded? Both encodings were with a preset settings and I almost didn't change anything else.
Also when I look at Avisynth preview it looks like on the encoded files. Is that artificial flag in the mov file? I just want it to be with less color lossy option, no matter what it is.

I found a BUG.
Lets say you go to Filtering>Avisynth>Line>Resize checkbox. Then you select Lancoz resize with default 4 tap. It is working fine. However if you change tap number to anything f.i. 3 then you will have error with Avisynth Preview because of Avisynth code: LanczosResize(taps=31280,720), where I asume coma (,) is missing between 3 and resolution.
Also if you select gauss Resize and change sharpness from default 30 then you will get the same error.
EDIT: Ha! I also found that if I add Toon filtering in Avisynth it will bring the exact color range as shows original. So I just added this as custom and that worked.
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\aWarpSharp.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\Toon-v1.1.dll")
# line darkening
Toon(Strength=0.00)
As you can see it practically does no filtering due to 0.00 strength but fo some reason it works. I also encoded that file in another program and it also gave resulted file with same color range but without custom scripts.

Selur
13th March 2015, 17:44
Furthermore I went to Filtering, Postprocessing, checked autolevels>Full range and got crashed encoding error after sstarting job. What am I doing wrong?
need a debug output (see support page for how to create one)

EDIT: Ha! I also found that if I add Toon filtering in Avisynth it will bring the exact color range as shows original. So I just added this as custom and that worked.
Can't really follow you, since a few avisynth lines basically say nothing on their own.
-> Settings + debug output + a sample to reproduce the problem are needed

Ajvar
14th March 2015, 09:47
need a debug output (see support page for how to create one)

Sure. Lets do it one by one.
First bug I think I found about modifying default resize options like sharpness for gaussian filter and taps number for Lanczos and other.
Here is a video. http://youtu.be/u6-v45zrlys
Attached log file of such happening with gaussian filter.

Selur
14th March 2015, 14:09
Will look at the video later attaching stuff here in the forum is a bad choice since I can only look at the content once a moderator has approved of the attachment, and by then I probably forgot about it. :)
-> see the problem will fix for next release.

Selur
15th March 2015, 10:00
if I add Toon filtering in Avisynth it will bring the exact color range as shows original.
That's strange since atm. Hybrid should always output tv-scale content yuv content is used.

Ajvar
16th March 2015, 13:08
That's strange since atm. Hybrid should always output tv-scale content yuv content is used.

Well as promised here are logfile and video sample files.
Original video: http://www.ex.ua/load/155742574
Encoded sample with juicy colors as original (Toon 0.000 aplied) http://www.ex.ua/load/155743319?fs_id=153
Encoded sample with duller colors than original http://www.ex.ua/load/155744220?fs_id=153
LOG FILE http://www.ex.ua/load/155742590?fs_id=153
I noticed that with full PC range video is bigger size with same CRF settings.
I also found that on some computers both video files look the same but that should be due to their decoder settings for sure.
Ideally I would prefer to keep full PC range even if it will be narrowed to TV while playing on some computers.

For comparison of captured frames please go here http://screenshotcomparison.com/comparison/116511
=================================================================================================
And about AutoLevels Bug.
Here is a debug log: http://www.ex.ua/load/156110209?fs_id=153

Selur
16th March 2015, 17:27
Thanks will look into it later today. :)

Selur
16th March 2015, 19:20
This will probably take a bit to fix, but I'm on it.

Ajvar
16th March 2015, 21:06
This will probably take a bit to fix, but I'm on it.
Cool, so bug exists. But are you on autolevels crash or encoded color range?:)
P.S. Don't forget to fix typos in x264 CRF explanation:
tying = trying
quanity = quality
and perhaps "who know the want" = "who want"

Selur
16th March 2015, 21:12
They are related. :)

Selur
22nd March 2015, 20:30
Hybrid rev 2015.03.22.1:

*added*

nvenc: support for NVEncC from rigaya (http://rigaya34589.blog135.fc2.com/)
audio: option to extract audio from DVD through DGIndex (this is only meant as a last resort since DGIndex doesn't understand DVD file structures)
output: option to use ffmpeg instead of MP4Box for muxing

*changed*

x265: added support for '--max-tu-size <32|16|8|4>'
x265: added support for '--min-cu-size <16|32|64>'
x265: removed '--threads X', and added basic support for '--pools XXXX'
x265: adjust presets to latest changes
cosmetics: audio speed stretch detection allows times as alternative to decimals now
cosmetics: moved shortcut overview to Config->Views
avisynth: autoadjust not using setmtmode 2 for more stability

*fixed*

cosmetics: separate log window (SHIFT+F11) wasn't updated
avisynth: fixed batch encoding and 'embed first' subtitle script creation problem
avisynth: fixed resizer options
jobs: fixed job loading bug
input: DVD aid mixup when language is empty.


Windows users should deinstall Hybrid and delete old jobs before installing the new version.

-> downloads: http://www.selur.de/downloads

Cu Selur

Patman
28th March 2015, 22:27
hi selur,

i've a problem with your latest version of hybrid. When i want to start hybrid a second time, it stucks at loading of nvencc app. First start after install is without any problem. Some specifications of my system: Intel Core i7-4790k, ATI R290. I don't need nvencc app. Please check this and fix it if it is possible.

Selur
28th March 2015, 22:52
Fixed it locally. Problem is that NVEncC freezes on system without NVIDIA cards. :(
workaround until I release a new version: delete NVEncC from your Hybrid folder.

lo1t3yu
29th March 2015, 08:46
What app uses (ffmpeg or mencoder) when selected 'Yadif - custom' deinterlacing preset? Ffmpeg and mencoder has own different yadif's filter.

Selur
29th March 2015, 08:50
Both mencoder and ffmpeg use the same yadif algorithm, using custom or not in Hybrid only allows to set some more of the available settings.
So whether mencoder or ffmpeg is used doesn't depend on the yadif settings, but on the source, the Hybrid settings and how Hybrid decides to act on those settings.

Ajvar
29th March 2015, 18:15
Good day! While trying x265 encode I noticed that whenever I choose any preset I see in a command line key --min-cu-size 16. Recently I got some bucket of troubles with a file and noticed that MediaInfo says this file is 1920x1088 instead of 1920x1080 as original. I checked x265 site (http://x265.readthedocs.org/en/latest/presets.html) and it says that only UltraFast preset uses min-cu-size 16 while all other use value 8.
Hybrid version is 2015.3.16.1 (which you gave for testing fixes).

Selur
29th March 2015, 18:32
minCuSize -> Yup, that's a bug.
Regarding the resolution, disabling "Config->Internals->Prefer Original->Resolution" might help

Ajvar
29th March 2015, 18:48
Regarding the resolution, disabling "Config->Internals->Prefer Original->Resolution" might help

Confirmed that if I manually set min-cu-size to 8x8 blocks then resolution (and everything else) goes back to normal.

Selur
6th April 2015, 19:26
Hybrid rev 2015.04.06.1:
*changed*

crop/resize: cosmetics change, crop width/height warning combobox was disabled
tools: check for nvidia cards before checking for tools and thus avoiding freezes due to NVEncC
x265: updated to latest presets
x265: enable pools&threads configuration
misc: allow setting of '-ao' and disabling '-fps=...' for preview
input: prefering LibAvSource over FFmpegSource when using avisynth for avi input
crop/resize: cosmetics change, crop width/height warning combobox was disabled

*fixed*

NVEncC: during vbr mode, --cbr was used

-> downloads: http://www.selur.de/downloads

Cu Selur

stax76
6th April 2015, 19:40
Nikos told me about the NVEncC freeze and reported it to rigaya who apparently already fixed it, do you have the latest NVEncC?

Selur
6th April 2015, 19:44
yes, latest release contains the latest NVEncC version and it also checks for NVIDIA cards before checking for NVEncC to avoid similar problems in the future.

stax76
6th April 2015, 20:41
How does the check work?

Selur
6th April 2015, 20:51
For the NVIDIA cards?
It's a pretty simple (and old, wrote it a few years ago) check for the registry key "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Video" which collects all 'Device Description' entries and compares these descriptions against a list of cuda capable cards which I update from time to time.
(I once wrote a check by looking and trying to load specific dlls, but that turned out to be too much of a hassle with changing drivers.)

Ajvar
19th April 2015, 15:13
Dear Selur, I am not a designer but draw this button's pic out of your 2 for Play/Pause Job action. Because anytime I paused I always click Play button to resume instead of Pause button.
http://i.imgur.com/skSeEO1.png http://i.imgur.com/IJq822J.png

Selur
19th April 2015, 17:48
I'm no designer either, but I'll think about modifying the button image. (didn't know anybody was using the resume and pause functionality at all :))

How about this:
http://i57.tinypic.com/qp15j5.png

Ajvar
19th April 2015, 19:29
Better:) I liked mine more because it kinda slashed away some part from triangle and 2 lines http://i.imgur.com/IJq822J.png, but thanks!:)
I use this feature because I'm not a pro in this and encode only personal stuff on personal computer and HEVC is looong even on quad i7.

Ajvar
24th April 2015, 19:24
As I am a generator of ideas, here is another one.
When you hold a cursor you may see a help text but there are different places for holding a cursor: Actual text (name of feature) and value place (numbers).
Is it possible to make it so anytime you click Right Mouse Button somewhere then a help-text wil appear if you clicked at the right place? Instead of holding arrow.

Selur
24th April 2015, 19:29
In theory: yes
In praxis: will have to test a few thinks, because I would need to overwrite the right-click event of every elements,...
-> if it can't be done in a generic way it would be way to much effort, but I got an idea, which might work. ;)

Selur
24th April 2015, 19:46
btw. if you are struggling with reading the toolTips, I would encourage you to:
1. enable: Config->View->Design->Show tooltips
and
2. disable: Config->View->Design->Show tooltips
this way the tooltips will only be shown in the sidebar, where they don't disappear (unless you trigger another tooltip)

Ajvar
24th April 2015, 22:38
btw. if you are struggling with reading the toolTips, I would encourage you to:
1. enable: Config->View->Design->Show tooltips
and

I believe you forgot to add "sidebar" at #1 :)
Now I want to read tooltips very rarely but back in the days... sidebar is really useful, true.
You don't have to do all these stuff, I just noticed that right button does nothing in the GUI and that would be logic to show info on the right click, nothing else.

Selur
25th April 2015, 08:11
"pressing right mouse button -> tooltip" will be supported with the next release. (wasn't hard to implement since I already had implemented a global event filter to be able to disable tooltips. ;))

stax76
25th April 2015, 08:52
good feature

Selur
1st May 2015, 22:16
Hybrid rev 2015.05.01.1:

*added*

vp8/9: support for high bit-depth encoding (vp9+complex profile only)
vp8/9: support for 4:2:2 and 4:4:4 encoding
audio: normalize audio to XdB via sox

*fixed*

qsvencc: some small bugs regarding feature detection
nvencc: quantizer couldn't be set
nvencc: b-frames weren't enabled for h.265
audio: dts-hd -> stereo wav
audio: aften ac3 encoding
audio: fdkaac, use cbr only encoding.
avisynth: 'Decomb.dll' wasn't loaded for 'Decomb (Avisynth)'
avisynth: ffmpegsoure2 wasn't used
output: avi(fraps) -> avi(fraps) remux problem

*changed*

x265: added support for '--qg-size <int>'
x265: added support for '--qpstep <int>'
jobs: added 'postpone' as one of the popup selection choices
jobs: make columns rearrangeable
avisynth: added 'cropping' to the custom section placing
autocrop: set min width mult to 75% instead of 88%
analyse: don't run interlaced analysis on files with < 500 frames, to limit false positives

-> downloads: http://www.selur.de/downloads

Cu Selur

stax76
1st May 2015, 22:36
I asked rigaya about b-frames in nv h265 a few days ago, apparently it's not supported:

Codec: H.265/HEVC
Max Bframes 0
RC Modes 63
Field Encoding 0
MonoChrome 0
Quater-Pel MV 1
B Direct Mode 0
Max Temporal Layers 0
Hierarchial P Frames 0
Hierarchial B Frames 0
Max Level 62
Min Level 1
4:4:4 0
Max Width 4096
Max Height 4096
Dynamic Resolution Change 1
Dynamic Bitrate Change 1
Forced constant QP 1
Dynamic RC Mode Change 0
Subframe Readback 0
Constrained Encoding 1
Intra Refresh 1
Custom VBV Bufsize 1
Dynamic Slice Mode 1
Ref Pic Invalidiation 1
PreProcess 0
Async Encoding 0
Max MBs 65536
MAX MB per sec 983040
Lossless 0

Selur
2nd May 2015, 05:58
got no card which support H.265 encoding, but when --check-features shows that it is supported Hybrid will allow to set it. :)

Music Fan
2nd May 2015, 08:51
The Windows Installer is not found on your website :confused:

Selur
2nd May 2015, 13:11
fixed, accidentally an a space was inside the download link

Music Fan
2nd May 2015, 14:00
Thanks !

Music Fan
3rd May 2015, 17:14
Hi Selur,
the drag & drop does not work to open a mkv, is it normal ?

And I'd like to test lossless x264 encoding, how to do it with Hybrid ? I believe one has to put --keyint 1 and -qp 0 in the command line but I'm not sure.

Ajvar
4th May 2015, 14:03
Hi Selur,

And I'd like to test lossless x264 encoding, how to do it with Hybrid ? I believe one has to put --keyint 1 and -qp 0 in the command line but I'm not sure.

http://c2n.me/3h9HnA1.jpg

Dear Selur, if you go to x264 Profile, you will see 2 options "None".

Selur
4th May 2015, 14:14
@Ajvar: 2x'none' is fixed in 2015.05.01.1
@Music Fan:
the drag & drop does not work to open a mkv, is it normal ?
Works fine here. Can you create a debug output level 9? What OS are you using?

Music Fan
4th May 2015, 21:44
I have Win 7 64b, but it seems to work now :confused:

Thanks Ajvar, I believed I didn't have this setting but I realized I had first to chose "unrestricted", otherwise "constant quantizer" does not appear in the list, and "lossless" does not either.
Why can we still change the number of b-frames in lossless, I believed it only contained I-frames ?
And I'm also astonished x264 lossless is in 4:4:4, while Lagarith can be in 4:2:0 and it's lossless too :confused:


By the way, rev 2015.05.01.1 still shows 2015.04.25.1.

digitall.h
7th May 2015, 00:36
Hi Selur,
I upgraded my PC and reinstalled the operative system, now based on Debian Jessie 64bit.
I downloaded Hybrid Linux64bit Qt 4.8 v 2015.05.01.1 and installed most dependencies, then put path to tools in Hybrid and it showed correct versions.
PlayOnLinux is also installed and so is wine, that shows in tools information under Hybrid. But all dependencies installed are Linux dependencies and not Windows, so not wine used.

But

I loaded a Blu-Ray, and managed to extract subtitles, add audio tracks, crop video and preview cropping, adjust x264 settings, add matroska flags... Created a job, so long so good. But when I start the job it crashes.
In Hybrid log it shows that generated calls always include /usr/bin/wine... it tries to run dependencies as if they where windows and not Linux.
I don't have a simple Debug to send, just the one with various trial/error tests trying to solve the error. If it is needed I will generate one simpler.

By now I just wanted your help to know if I missed some switch in Config tab asking to use wine or windows dependencies under Linux, or if this is the expected Hybrid behaviour when wine is detected in the system.


Created a Debug (level 7...) and sent

Selur
10th May 2015, 21:08
Hybrid rev 2015.05.10.1:

*fixed*

general: wine problem, on non-Windows systems
input: a few bugs related to folder monitoring

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
10th May 2015, 23:41
Hi Selur,
can you answer this ?

Why can we still change the number of b-frames in lossless, I believed it only contained I-frames ?
And I'm also astonished x264 lossless is in 4:4:4, while Lagarith can be in 4:2:0 and it's lossless too :confused:

Selur
11th May 2015, 05:11
Why can we still change the number of b-frames in lossless, I believed it only contained I-frames ?
No clue where that believe does come from. But lossless doesn't always mean that there are only I/key-frames.

And I'm also astonished x264 lossless is in 4:4:4, while Lagarith can be in 4:2:0 and it's lossless too
a. 4:4:4 is a larger color space than 4:2:0, so you can save 4:2:0 lossless inside it (assuming you use the proper color matrix).
As a side note: saving 4:4:4 content with 4:2:0 on the other hand is not lossless.
b. Lowest level which supports lossless in H.264 is High 4:4:4 Predictive Profile, which does support 4:2:0/4:2:2/4:4:4 color coding, so no reason to stick with 4:4:4
-> x264 lossless doesn't have to be 4:4:4

digitall.h
11th May 2015, 08:30
In a fast test, the new Hybrid rev 2015.05.10.1 version solved for me the problem of Hybrid using wine under Linux.
I will make a whole encoding test soon to confirm.

A curious thing: the qt 4.8 executable shrunk from 22 MB to 8 MB
:)


EDIT: now completed a full encode from BluRay to x264, everything went perfect, as expected
As a side comment: are there any switches that make x264 take advantage of multicore/multithreading?, I think threads is probably set to auto (in final encode it shows 12 threads).
What would be faster while keeping quality in the final encode?.

Selur
12th May 2015, 20:48
A curious thing: the qt 4.8 executable shrunk from 22 MB to 8 MB
that's because I:
a. stripped the binary
b. ran upx over it :)

As a side comment: are there any switches that make x264 take advantage of multicore/multithreading?
Normally x264 uses multiple cores quite well unless in example the decoding is stalling.
-> What settings are you using?

digitall.h
15th May 2015, 00:34
My settings:
Decoding is done with a locally compiled ffmpeg version to include libbluray
:rolleyes:
Encoding with x264, crf mode, very slow preset, tune film
:cool:

Selur
15th May 2015, 05:07
Is your cpu maxed out during encoding?
If not, try if using a higher lookahead thread count ('x264->Rate Control->Rate Control Settings->Lookahead threads') helps.
If it is, try if lowering the -rc-lookahed ('x264->Rate Control->Rate Control Settings->Lookahead threads' from 60 to 40) helps.
You could also:
- use a lower sub pixel motion estimation precision ('x264->Motion Estimation->Motion Estimation Settings->Sub-pixel precision')
- use a faster preset (using 'very slow' and complaining that the speed is not so fast seems a bit 'schizophrenic'. ;))
- use a higher decoder thread count (Config->Internals->FFmpeg/MEncoder threads); this could have a positive or a negative impact on the speed ;)

Cu Selur

digitall.h
17th May 2015, 22:50
Thank you Selur for your suggestions, and sorry me for coming back so late.
:rolleyes:

I will try to adjust the -rc-lookahead setting, CPU goes up to almost 100%.
How will it affect the quality of the encode?.

I'm sorry, I did not explain it well.
I'm not complaining about speed, I know I'm using very CPU intensive settings. But I like the quality of the output and the final size.
I was just asking if I can optimize encoding so I tune x264 to take maximum performance of my (new, beast) system.
:thanks:

Selur
18th May 2015, 05:45
How will it affect the quality of the encode?
quality at the same output size might suffer a bit, but it should be minimal

Music Fan
18th May 2015, 11:06
No clue where that believe does come from. But lossless doesn't always mean that there are only I/key-frames.
Usually, lossless codecs use only keyframes, and even some lossy codecs (DV for instance) use only keyframes.
Thus I don't understand how video can be lossless with B and P frames.
In this case, what's the difference with lossy h264 ?

a. 4:4:4 is a larger color space than 4:2:0, so you can save 4:2:0 lossless inside it.
Of course, but I don't need 4:4:4, logically it needs more bitrate.

b. Lowest level which supports lossless in H.264 is High 4:4:4 Predictive Profile, which does support 4:2:0/4:2:2/4:4:4 color coding, so no reason to stick with 4:4:4
-> x264 lossless doesn't have to be 4:4:4
But it is :o Or I don't understand your explanation because I don't see where to select 4:2:0.
My source is 4:2:0 and when I select "none" and "unrestricted" in settings, the output is 4:4:4 (for MediaInfo, but it's maybe wrong).
And for MediaInfo, it's also 8 bits, while I believed 4:4:4 was 12 bits, 4:2:2 10 bits and 4:2:0 8 bits.:confused:

Ajvar
18th May 2015, 15:19
Usually, lossless codecs use only keyframes. Thus I don't understand how video can be lossless with B and P frames.
In this case, what's the difference with lossy h264 ?

The difference is that it is LOSSLESS!
If next frame has just 10 color pixel exchanged then it takes way less memory to hold the info about changed 10 pixels instead of info about ALL pixels.

You were told by Selur that lossles may be with P or even B frames. If you want to argue about how or why - GOOGLE IT.

den78
18th May 2015, 15:48
When using built-in avisynth denoisers on xvid sources, like VagueDenoiser for instance, i noticed frame dropping in some scenes.
How can i fix this?

Music Fan
18th May 2015, 15:49
@ Ajvar : Could you please let Selur decide himself what we discuss about in HIS topic about HIS program ? :rolleyes:

Selur
18th May 2015, 19:34
My source is 4:2:0 and when I select "none" and "unrestricted" in settings, the output is 4:4:4 (for MediaInfo, but it's maybe wrong).
And for MediaInfo, it's also 8 bits, while I believed 4:4:4 was 12 bits, 4:2:2 10 bits and 4:2:0 8 bits.
a. you are confusing calculation precision (this is 8bit) with bits needed to represent the color sampling.
4:4:4 = 8 + 8 +8 = 24bit
4:2:2 = 8 + 8/2 + 8/2 = 16bit
4:2:0 = 8 + 8/2 + 0 = 12bit
b. if you select Main 4:4:4 Hybrid assumes you want 4:4:4 color sampling, but you can change the output color sampling under "x264->Misc->Main->Restrictions->Output color space" (4:2:0 would be i420)

Usually, lossless codecs use only keyframes. Thus I don't understand how video can be lossless with B and P frames.
a. 'Usually' is not always.
b. B- and P-Frames do not have to be lossy. The way B- and P-Frames are defined doesn't require them to be lossy.
-> you might want to freshen up your understanding of the basics behind the different frame types. :)
(most lossy encoders use higher compression on P- and B-Frames, but they can be lossless)

When using built-in avisynth denoisers on xvid sources, like VagueDenoiser for instance, i noticed frame dropping in some scenes.
How can i fix this?
Can you provide additional information? see: http://www.selur.de/support
Funny thing is I got another user who has exactly the opposite problem, for him some avi(Xvid) sources, get duplicate frames, where there should be any whenever the Xvid file is muxed by Avi-Mux Gui.
(worked around that in a test build by enforcing LWLibavVideoSource with fpsden and fpsnum, but I need more infos to know if this problem is really related to yours,..)

Ajvar
18th May 2015, 20:31
@ Ajvar : Could you please let Selur decide himself what we discuss about in HIS topic about HIS program ? :rolleyes:

I was talking to you, not in your topic and not about your program. So where is sense of your post?:rolleyes:
Anyway, don't answer this, it was rhetorical. No need to be even more offtopic.

Music Fan
18th May 2015, 20:45
Thanks Selur, you rule, I'm gonna read it carefully.

@ Ajvar : The sense of my post is perfectly clear, but you probably don't want to understand.
By the way, if you revive the discussion, it means you expect an anwser. Otherwise, stop it.

den78
19th May 2015, 18:12
Ok, I think i fixed the problem. I re-muxed the source avi with mkvmerge, ckecked the encoded file & it's ok.
Still not certain though, cause before that i reinstalled the app, so i guess i gotta do more testing.

Selur
19th May 2015, 18:13
Do that, if you run into a problem providing a debug output would be nice, so I get some basic infos how to reproduce the issue.

Selur
28th June 2015, 18:00
Hybrid rev 2015.06.28.1:

*added*

filter: 'noise' filter, for adding noise to video

*fixed*

tools: adjust to MP4Box revisions 0.5.2 starting with 0 again
audio: pcm reencoding
input: handling of dvd aspect ratio for 352x... content
jobs: sound playback

*changed*

audio: support for 24bit flac audio encoding (when flac binary is used; not ffmpeg or flaccl)
qsvencc: support for '--mv-scaling'
x265: adjusted to changes to 'grain'-preset
x265: added support for '--limit-refs X'
x265: added support for '--aq-mode 3'
x265: removed 12bit and 16bit support and added '--output-depth 8|10' instead
avisynth: better handling of high bit depth input


-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
30th June 2015, 22:47
Great!, good news.

Downloading, and I think in brief time testing.
:D

Selur
1st July 2015, 20:35
Hybrid rev 2015.07.01.1:

*fixed*
mac os x yosmite version didn't come with mediainf

*changed*
switched to combi x265 builds for all supported OS)


-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
3rd July 2015, 18:52
Hi selur,
I will send you soon a debug.
Converting bluray to mkv with x264.
With Linux qt4.8 Hybrid rev 2015.06.28.1 version, when I crop and resize (to 1280x...), it crops and resizes with ffmpeg correctly, but then size sent to x264 is 1920x... instead of 1280x...

Selur
7th July 2015, 17:33
Hybrid rev 2015.07.07.1:

*fixed*

avisynth: histogram now honors matrix selection
audio: aacencoding using non-free ffmpeg with fdk-aac build
audio: ac3 to pcm using ffmpeg causing warning

*changed*

tools: updated avsViewer and Avisynth plugins (rechecked that DGDecNV and DGDecIM are nor included with Hybrid)
tools: x265 combi rebuild

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: @digitakk.h: didn't get a debug output so didn't investigate the problem you described

digitall.h
8th July 2015, 20:53
Thank you for a new improved version!

You're right, I ended up not sending a debug. But it is not urgent to debug this.
Anyway, from the description I think the problem is easily understandable.
Hybrid does OK all cropping and resize calculations. But the command it generates then just changes the height and keeps the original 1920 width.

When I have the time I'll generate a debug.
:)

Selur
8th July 2015, 20:58
[quote]Anyway, from the description I think the problem is easily understandable.[/quiote]
understandable != reproducible -> will look at it once I have a debut output

Selur
11th July 2015, 18:40
Hybrid rev 2015.07.11.1:

*fixed*

resize: height/width adjustment in encoder call

*changed*

x265: --keyint infinite -> --keyint -1, don't use --keyint 0
x265: limit rc-lookahead to max 250 instead of just max keyint
qt: switched to qt5.5 for Windows builds

-> downloads: http://www.selur.de/downloads

Cu Selur

Music Fan
10th August 2015, 13:59
Hi Selur,
with a 720p source, I see that "resize" is checked (in crop/resize tab) and I can't uncheck it, is it a bug ?
The target resolution is 720p too thus I wonder why "resize" is checked.
How to be sure that no unuseful resize will be done ?

Selur
10th August 2015, 18:44
Hybrid will not crop when crop and resize resolution are identical.
Resize is normally enabled and grayed out when:
a. blu-ray compatibility is enforced
b. the output par differs from the input par

Music Fan
10th August 2015, 22:44
But I didn't crop, my source is in 720p and I don't need crop/resize.

Resize is normally enabled and grayed out when:
a. blu-ray compatibility is enforced
b. the output par differs from the input par
You mean both together or at least one of the 2 cases ? Because I'm only concerned by point 1 : I checked "hardware" and chose "Blu-ray/AVCHD" but there is no PAR, the source is an avs script (and of course the PAR for 720p is 1:1). And the detected PAR is 1.

And why is there "--sar 1412:1000" in the x264 command line ?

And I see --fps 25000/1000 while it's 23.976 fps and it's correctly detected in the main window.:confused:
I tested with an extract and the resulting mkv is well in 23.976 fps, thus I really don't understand why there is 25 fps in the script, it does not seem to make effect (hopefully).

Selur
11th August 2015, 05:21
You should know by know that I would need a debug output to give detailed information about what is happening.
Assuming the input is 1280x720 and it's detected as such with a PAR of 1:1 and Blu-ray compatibility is enabled, Hybrid should stick with a PAR 1:1, but from what I read it seems like Hybrid is doing something else. :)
Normally 25fps should only be used for 720x... not for ...x720 content.
-> like I wrote, I need details

Music Fan
11th August 2015, 10:33
Just open an avs script including a 1280*720p video in 23.976 fps (or create this script with a different video and use resize and assumefps) and look at the command line in x264, you should get the same result than me.
I use the last Hybrid version.

Here is the log after opening the avs and choosing the x264 profile ;
http://pastebin.ca/3098805

And x264's command line still showing 25 fps ;
x264 --pass 1 --slow-firstpass --bitrate 4000 --profile high --level 4.0 --bluray-compat --ref 4 --keyint 48 --b-pyramid strict --direct auto --lookahead-threads 0 --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --mvrange 511 --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --qpfile GENERATED_QP_FILE --non-deterministic --stats "PATH TO THE .stats FILE" --input-csp i420 --fps 25000/1000 --input-res 1280x720 --output OUTPUTFILE -

x264 --pass 2 --bitrate 4000 --profile high --level 4.0 --bluray-compat --ref 4 --keyint 48 --b-pyramid strict --direct auto --lookahead-threads 0 --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --mvrange 511 --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --qpfile GENERATED_QP_FILE --non-deterministic --colorprim undef --transfer undef --colormatrix bt470bg --stats "PATH TO THE .stats FILE" --input-csp i420 --fps 25000/1000 --input-res 1280x720 --output OUTPUTFILE -

There is not "--sar 1412:1000" anymore.:confused:

Normally 25fps should only be used for 720x... not for ...x720 content.
1280*720 in 25 fps is ok on most players in AVCHD and Blu-ray structures. Anyway, my file is in 23.976 fps and also works on my player.

Selur
11th August 2015, 16:33
AavsInfo properly reports:
Color: Yv12, Resolution: 1280x720, Frame rate: 24000/1001 fps, Length: 138668 frames, PRO
but it seems like that info is lost somewhere,...
-> will try to reproduce and look into it

Selur
11th August 2015, 17:21
Opened the following script:
LoadCPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll")
# loading source: F:\TestClips&Co\test.avi
FFVideoSource("F:\TESTCL~1\test.avi",cachefile="h:\Temp\367553385avi_0197468a3716844ade54f3f30f60eeda_491.ffindex",fpsnum=25000,fpsden=1000)
GaussResize(1280,720)
AssumeFPS(23.976)
return last
-> Hybrid reports it properly as 1280x720@23.976

x264 calls look like this:
x264 --pass 1 --bitrate 1500 --profile high10 --level 5.1 --direct auto --cplxblur 20.00 --qcomp 0.50 --no-mbtree --pbratio 1.30 --weightp 1 --aq-mode 0 --qpfile GENERATED_QP_FILE --non-deterministic --stats "h:\Temp\test_new.stats" --input-csp i420 --fps 24000/1001 --input-res 1280x720 --output NUL -

x264 --pass 2 --bitrate 1500 --profile high10 --level 5.1 --direct auto --cplxblur 20.00 --qcomp 0.50 --no-mbtree --pbratio 1.30 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 720000 --vbv-bufsize 720000 --qpfile GENERATED_QP_FILE --non-deterministic --colormatrix bt709 --stats "h:\Temp\test_new.stats" --input-csp i420 --fps 24000/1001 --input-res 1280x720 --output "h:\Temp\test_new.264" -
selected "x264->Restriction Settings->Hardware->Blu-ray" and the settings changed to:
x264 --pass 1 --bitrate 1500 --profile main --level 4.1 --bluray-compat --keyint 48 --b-pyramid strict --direct auto --cplxblur 20.00 --qcomp 0.50 --no-mbtree --pbratio 1.30 --mvrange 511 --weightp 1 --aq-mode 0 --qpfile GENERATED_QP_FILE --non-deterministic --stats "h:\Temp\test_new.stats" --input-csp i420 --fps 24000/1001 --input-res 1280x720 --output NUL -

x264 --pass 2 --bitrate 1500 --profile main --level 4.1 --bluray-compat --keyint 48 --b-pyramid strict --direct auto --cplxblur 20.00 --qcomp 0.50 --no-mbtree --pbratio 1.30 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --mvrange 511 --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --qpfile GENERATED_QP_FILE --non-deterministic --colormatrix bt709 --stats "h:\Temp\test_new.stats" --input-csp i420 --fps 24000/1001 --input-res 1280x720 --output "h:\Temp\test_new.264" -
-> can't reproduce the issue here :(

Inside the "Crop/Resize->Main" Tab for me:

'Picture Crop' is disabled
"Pixel Aspect Ratio (PAR) -> Convert output to PAR" is enabled (grayed out) and set to 'Square Pixel (1:1)'
'Resize' is enabled(&grayed out),
'Resize->Auto adjust' is enabled (&grayed out) and set to 'height' and mod '16',
'Resize->Target resolution' is set to 1280x720 (the later grayed out).

Do you have any option enabled which would change the frame rate? (i.e. something under "Filtering->Speed Settings", "Filtering->(De-)Interlace/Telecine", "Filtering->Avisynth->Custom" or "Filtering->Avisynth->Frame") ?

Cu Selur

Ps.: Or did you enable something in the 'Crop/Resize->Misc'-Tab ?

Music Fan
11th August 2015, 17:43
Yes, "adjust keep resize for source" was checked, I unchecked it.
Now I see --fps 24000/1001 but the output PAR is again on 1412 x 1000 (grayed out) :confused:
But that's maybe not a problem because "convert output to PAR" is enabled (grayed out) and set to 'Square Pixel (1:1)'.

'Resize' is enabled(&grayed out),
'Resize->Auto adjust' is enabled (&grayed out) and set to 'height' and mod '16',
'Resize->Target resolution' is set to 1280x720 (the later grayed out).
Same for me.

So, how to know if a resize is done or not ? Can it happen if the output resolution is the same than the input resolution ?

Selur
11th August 2015, 17:51
So, how to know if a resize is done or not
resize is only done if crop size != resize size

but the output PAR is again on 1412 x 1000 (grayed out)
+
"convert output to PAR" is enabled (grayed out) and set to 'Square Pixel (1:1)'.
-> confused

Not knowing if something else is enabled which should not be enabled for your target, I would recommend to reset to the defaults of Hybrid.

Music Fan
11th August 2015, 22:38
I can't do more than post the debug output, thus you should find where does this problem come from.

What will I loose if I reset everything ?
Anyway, I chose x264 Hybrid default but PAR is still on 1412 x 1000.:confused: And there is a resize : 912 * 720 which is a nonsense.

And I never change any setting, except for bitrate and stuff like that.

edit : if I change the setting beside "convert the output PAR" (which is set to 'Square Pixel (1:1)'), then come back to 'Square Pixel (1:1)', the output PAR change from 1412 x 1000 to 1 x 1.

resize is only done if crop size != resize size
I guess it means different.

Something else : in filtering tab, the input and ouput frame counts are different : 138668 and 138653, why ?

Selur
26th August 2015, 16:10
Hybrid rev 2015.08.26.1:

*fixed*

audio: extracting pcm_bluray audio with ffmpeg, buy making sure a conversion to the right pcm format is used
audio: ffmpeg->qaac, channel dropping due to wrong input format specification
audio: limit fhgaacenc vbr to 1-5 since 6 doesn't seem to work
general: limit output precision (e.g. 1.4 did end up as 1.3999999999999 with QT 5.5 sometimes otherwise)
input: mkv-asp-workaround adjustment
input: NVEncC 'hevc', removed level&profile setting
tools: windows build contained mplayer&mencoder build which were missing some libraries (e.g. libdvdread)
x264/x265: minimize command line


*added*

crop: added 'use FFmpeg'-option to the autocrop options
avisynth: control over which matrix is used during RGB->YUV conversions
internal: handling of avisynth through ffmpeg, to handle non Yv12 color spaces


*changed*

general: changed to MSVC 2015 as compiler for the Windows builds and compiling under Windows 10


Note: Windows users should deinstall any old Hybrid version before installing this build

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: 'in filtering tab, the input and ouput frame counts are different : 138668 and 138653, why ? ' -> rounding

Music Fan
26th August 2015, 16:38
Ps.: 'in filtering tab, the input and ouput frame counts are different : 138668 and 138653, why ? ' -> rounding
Why is it rounded ? Do you mean there isn't any change and no frame is actually discarded ?

Selur
26th August 2015, 17:06
Hybrid calculates the frame number from playback length and frame rate, then deinterlacing&co gets applied, which might also change the frame count.
Frame count isn't THAT important to Hybrid it just needs a relatively close number to calculate bitrate&co a difference in frame count which is less than one second of content doesn't really do much in regard of predictions&co.
(as a side note: there's isn't really much of a choice in this regard since mplayer/ffmpeg/mediainfo do not show the frame count of a source that often)

Cu Selur

locotus
26th August 2015, 18:07
Last version crashed on Windows Vista complaiming about:

the procedure entry point GetNumaNodeProcessorMaskex-could
not be located in the dynamic link library kernel32.DLL.gettools and x265.

Next: Gettool Versions get a empty output for X265.The cause
meybe that x265 can't be found. Please redo. with debug...
(can't redo program do not open, just crash).

Next a windows message: X265 has stopped working .

Indeed this has been some kind of continuos problem at least
in my Vista system. Last working version was from july 2015.07.1.1.

Thanks in advance.

Selur
26th August 2015, 18:10
Try if it works if you use an x265 version from: http://forum.videohelp.com/threads/357754-%5BHEVC%5D-x265-EXE-mingw-builds?p=2406588&viewfull=1#post2406588
(Problem seems to be that: a. x265 uses NUMA b. NUMA is only available from Win7 upwards c. it seems like https://github.com/jb-alvarado/media-autobuild_suite only uses the according patches to disable NUMA support if it is build on Windows XP,.. -> made a feature requires to media-autobuild_suite (https://github.com/jb-alvarado/media-autobuild_suite/issues/139))

x265.cc
26th August 2015, 18:55
Hybrid rev 2015.08.26.1:

any chance to get qaac tvbr (--tvbr) mode?

anyway, keep up the good work.

Selur
26th August 2015, 19:02
any chance to get qaac tvbr (--tvbr) mode?
Already there,... "Quality factor" with 'ALAC' disabled and you got '--tvbr'.

x265.cc
27th August 2015, 13:01
Already there,... "Quality factor" with 'ALAC' disabled and you got '--tvbr'.

Oh.. thanks for that :p

Sadly video encoding crashs (Windows 8.1 x64)

Starting Main@13:45:55.661:
"C:\Hybrid\x265.exe" --preset veryslow --pmode --pme --input - --input-res 708x480 --fps 25 --profile main10 --no-high-tier --no-open-gop --min-keyint 1 --crf 20.000 --ipratio 1.00 --pbratio 1.00 --qpfile "C:\Temp\DVD_13_42_28_0510_04.qp" --psy-rd 1.000 --psy-rdoq 10.000 --aq-mode 2 --aq-strength 0.500 --deblock=-3:-3 --colormatrix bt709 --output "C:\Temp\DVD_13_42_28_0510_05.265"
x265 [info]: HEVC encoder version 1.7+442-a28a86339399
x265 [info]: build info [Windows][GCC 5.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 10 profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(8 rows)+pmode+pme
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 : 1 / 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 / 0
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 0.5 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rect amp rd=6 psy-rd=1.00 rdoq=2 psy-rdoq=10.00 signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock(tC=-3:B=-3) sao
-> 13_42_28_0510_05_video crashed:helper send out an error: QProcess::Crashed

Oh and i think "Adaptive quantization" "dark opt." should be "--aq-mode 3", not "--aq-mode 2".

Greetings :)

Selur
27th August 2015, 13:07
about the quant mode -> will look at it once I get a build environment running under Windows 10 on my main machine
about the crash: no clue without a debut output, the only thing I see from the normal log is that the decoder (= helper) crashed

x265.cc
27th August 2015, 13:40
about the crash: no clue without a debut output, the only thing I see from the normal log is that the decoder (= helper) crashed

Didn't find the debug output option.

Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open D:\VIDEO_TS for reading
libdvdread: Device D:\VIDEO_TS inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file D:\VIDEO_TS.

Using my own mencoder now. :thanks:

Selur
27th August 2015, 13:43
Didn't find the debug output option.
for the future, see: http://www.selur.de/support
(as a side note: if you are trying to feed Hybrid a encrypted DVD, there are bound to be problems since for example, MediaInfo won't report interlacing&co informations about such content)

One side effect of a debug output is: I know the OS and Hybrid version that is used and can once I fix a bug, send the user a fixed version. ;)

Music Fan
7th September 2015, 11:14
Hi,
there is a problem with version 2015.07.11.1 : I encoded a video in 23.976 fps through an avs script and the mkv produced by Hybrid is in 23.976 fps too but is supposed to have an "original framerate" of 25 fps (I see it in MediaInfo).:confused:
TSmuxer also consider this video as 25 fps.
The original video (mkv) is in 23.976 fps (and does not have an "original framerate" of 25 fps), and my script does not change the framerate, I even added AssumeFPS(24000, 1001) to be sure that the framerate could not be misinterpreted.

Why does Hybrid add this wrong information in the video stream ?
That's strange because Hybrid detects the correct framerate (23.976 fps) in the main window and also in the filtering tab (container and output framerate are 23.976 fps).:confused:

When I demux the re-encoded mkv with MKVextract, the detected framerate of the elementary stream is 25 fps :o
If I remux it in MKV, I specify 24000/1001 but the resulting mkv has the same problem than the one produced by Hybrid.
Is there a way to remove this wrong framerate without re-encoding ? That's a big file and I don't want to re-encode it.

edit : TSmuxer can change the framerate and the resulting ts does not have anymore an original framerate of 25 fps, but I hope I won't have to do it every time I encode in 23.976 fps.

How to avoid this problem ?

Selur
12th September 2015, 18:06
btw. does anyone use Hybrid on Windows 10 64bit?
For me avisynth preview doesn't work on my dev system, but I'm not sure whether this has something to do with my dev system or whether there is a problem with avsViewer.
-> So if someone is using Hybrid on Windows 10 64bit please report back whether the avisynth preview works for you or not.

Cu Selur

Havokdan
12th September 2015, 18:10
btw. does anyone use Hybrid on Windows 10 64bit?
For me avisynth preview doesn't work on my dev system, but I'm not sure whether this has something to do with my dev system or whether there is a problem with avsViewer.
-> So if someone is using Hybrid on Windows 10 64bit please report back whether the avisynth preview works for you or not.

Cu Selur

I will try.
Well, I've never used it before, but it looks like it works normal for me.

Selur
12th September 2015, 18:12
Thanks :)

Well, I've never used it before, but it looks like it works normal for me.
Okay, then it's not a general problem, but something that is related to my dev machine. :)

Selur
18th September 2015, 16:06
Hybrid rev 2015.09.18.1:

*fixed*

audio: ffmpeg audio extraction
input: audio detection detecting some streams double
x264: preset&tune order
x265: preset&tune order
x265: adding DYLD_LIBRARY_PATH (Mac only)
misc: force english speaker (Windows only)
cosmetics: tab indication inside Xvid and Audio tab
general: frame rate messup
avisynth: AVSMeter benchmark call

*added*

avisynth: knlmeanscl
prores: interlaced encoding support

*changed*

cosmetics: rearranged audio tab
audio: limit faac bit rate to 76kBit/s per channel

-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
3rd October 2015, 21:30
Gret Selur!
:thanks:

I'm two weeks late, but I'm still the first
:D

Selur
21st October 2015, 18:09
Hybrid rev 2015.10.21.1:

*fixed*

general: Windows XP compatibility
decode: ffmpeg avisynth call
avisynth: KNLMeans, addGrain and autolevel call
input: mkv index mixup on some sources
input: make sure output frame count is reset on loading source
audio: ffmpeg missing '-stric -2' in aac reencoding call
utvideo: encoding color space handling
x264: 2pass mbtree + faster preset bug

*added*

x265: support to signal VUI master display and light level

*changed*

jobs: check that outputWidth&outputHeight are > 48
cuda: added gtx 950 to supported cuda cards
audio: some cosmetic changes inside the audio tab

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: Mac version is now for Mac OS 10.11, not sure if I also make one for a previous version.

locotus
22nd October 2015, 02:04
Opening crash in Windows Vista seems to be solved.
Just installed without problems.

Thanks.

alter4
25th October 2015, 00:29
Looks like mkvmerge cant properly mix x265 with profile 4.1 main main. It endless writing file, the resulting mkv is currently 10gb for 50mb camera video input.
Could anybode confirm? Win 7 64 bit, latest hybrid.

Selur
25th October 2015, 10:16
There is a bug (missing feature) in mkvmerge which causes to choke on some H.265 files reported it to Moritz (mkvtoolnix author) a while back, iirc he knew about the problem, but didn't know how to fix it at that time.
-> your best hope is to provide Moritz with a sample an a guide how to reproduce the problem.

cybersharky
25th October 2015, 11:35
First time installing Hybrid on Windows 8.1 x64

GUI doesn't load so can't get to enable debug options

https://www.dropbox.com/s/g8z716npkgj7rkw/Screenshot%202015-10-25%2012.31.18.png?dl=0

Selur
25th October 2015, 11:42
Seeing from my email notification that you wanted to link to an image (which I can't see), my guess is that it's related to the ffmpeg version, see: http://forum.selur.de/topic982-v102120151-crashes-after-install.html

cybersharky
25th October 2015, 12:34
edited posted

Selur
25th October 2015, 12:37
-> like I suspected, problem related to the ffmpeg build, probably some missing dependency. Works here -> need someone to call ffmpeg in a Windows command prompt to see what ffmpeg is complaining about, so I can look into it.

cybersharky
25th October 2015, 12:51
Faulting application name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x0039ed00
Faulting module name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x0039ed00
Exception code: 0xc0000005
Fault offset: 0x00000000013f5a02
Faulting process id: 0x24a0
Faulting application start time: 0x01d10f1b0ae78d21
Faulting application path: C:\Program Files\Hybrid\ffmpeg.exe
Faulting module path: C:\Program Files\Hybrid\ffmpeg.exe
Report Id: 48b08e85-7b0e-11e5-8336-1c6f65d777b9
Faulting package full name:
Faulting package-relative application ID:

https://www.dropbox.com/s/4h3glqe6d4f6ftz/Screenshot%202015-10-25%2013.50.35.png?dl=0

Xebika
25th October 2015, 12:57
Is there a chance for a portable version of Hybrid??

Selur
25th October 2015, 13:02
@cybersharky: hmm, that doesn't seems like there is something wrong with the binary. Strange thing is, I use the same binary here. Will have to do some more testing.
@Xebika: No, but any Hybrid Windows install can be converted into a portable version. (see: http://forum.selur.de/topic33-hidden-hybrid-options.html -> make Hybrid portable (Windows only))

cybersharky
25th October 2015, 13:04
@cybersharky: hmm, that doesn't seems like there is something wrong with the binary. Strange thing is, I use the same binary here. Will have to do some more testing.


It works using the latest 64 bit build from:
http://ffmpeg.zeranoe.com/builds/

Selur
25th October 2015, 13:11
I know (was also mentioned inside the post I linked to), but that doesn't really help. Since it works for me with the version from the installer also.
Tried the binary I compiled, the installer I uploaded and the installer on my homepage to make sure there was no problem with the transfer or packaging.
Even tested the installer and the startup in a Windows XP VM, no problem there either. :(
Also tried Windows 10 32bit and 64bit again, no problem there either -> no clue why this is happening, my guess is that it might be related to nvenc and qsv support being enabled for the 64bit builds.
-> does the ffmpeg_32.exe work properly for you?

cybersharky
25th October 2015, 13:57
-> does the ffmpeg_32.exe work properly for you?

Yes it does

Selur
25th October 2015, 14:03
Okay, will compile new 64bit versions and post a link in ~1hr, would be nice if you could check then if those builds work for you. :)

cybersharky
25th October 2015, 14:16
Okay, will compile new 64bit versions and post a link in ~1hr, would be nice if you could check then if those builds work for you. :)
Sure, no problem

Ran dependency walker on it: https://www.dropbox.com/s/b3fvmqtlcpeoiyw/ffmpeg.rar?dl=0

Selur
25th October 2015, 15:01
Please try whether https://drive.google.com/open?id=0B_WxUS1XGCPAcjhwUVplRFB6Zkk works or not. :)

Cu Selur

cybersharky
25th October 2015, 15:16
Please try whether https://drive.google.com/open?id=0B_WxUS1XGCPAcjhwUVplRFB6Zkk works or not. :)

Cu Selur

It works.

But, I tested the one packaged with the installer and it works now too. So there's an issue somewhere else during first run after installation?

Selur
25th October 2015, 15:20
Hmmm,.... no clue, but that might be why I can't reproduce it on any of my machines. :(
Did you start Hybrid from within the installer? Or like I normally do, close the installer and then open it using the shortcut on the desktop?

cybersharky
25th October 2015, 15:27
Just did a uninstall/reinstall, now getting:
https://www.dropbox.com/s/i6eqo76w12thimt/Screenshot%202015-10-25%2016.22.08.png?dl=0

As well as ffmpeg error on first run.

[Second run]
Used your new build of ffmpeg same error :(

Selur
25th October 2015, 15:39
Okay, didn't know that AVSMeter nowadays requires that dll, you can copy it from the avisynthplugins folder.

cybersharky
25th October 2015, 15:46
3rd run, I clicked debug, got:
Exception thrown at 0x00007FF6B1292D92 in ffmpeg.exe: 0xC0000005: Access violation reading location 0x0000000041A86FC0.

Selur
25th October 2015, 15:48
No, clue, doesn't say anything to me. :(

cybersharky
25th October 2015, 15:51
No, clue, doesn't say anything to me. :(

Have you looked at the dependency walker files I uploaded?

Selur
25th October 2015, 15:58
Yes, but didn't really help either. (at least I didn't see anything)

cybersharky
25th October 2015, 17:15
ran process monitor before starting hybrid, filtered results:
https://www.dropbox.com/s/ygru5a67rq39doi/Logfile.rar?dl=0

Selur
25th October 2015, 17:24
no clue how to look at that pnl file, if I open it with Process Monitor, nothing is shown,..
Main bugger is that I can't reproduce the problem here. :(

cybersharky
25th October 2015, 17:36
run WinDbg:

CommandLine: "C:\Program Files\Hybrid\ffmpeg.exe"

************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred SRV*K:\Symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*K:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00007ff6`7ba30000 00007ff6`7e43a000 ffmpeg_g.exe
ModLoad: 00007ffe`91b20000 00007ffe`91ccc000 ntdll.dll
ModLoad: 00007ffe`8fa60000 00007ffe`8fb9e000 C:\WINDOWS\system32\KERNEL32.DLL
ModLoad: 00007ffe`8edf0000 00007ffe`8ef05000 C:\WINDOWS\system32\KERNELBASE.dll
ModLoad: 00007ffe`8d810000 00007ffe`8d89e000 C:\WINDOWS\system32\apphelp.dll
SHIMVIEW: ShimInfo(Complete)
ModLoad: 00007ffe`6abe0000 00007ffe`6b061000 C:\WINDOWS\AppPatch\AppPatch64\AcLayers.DLL
ModLoad: 00007ffe`91a00000 00007ffe`91aaa000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 00007ffe`8f730000 00007ffe`8f8a7000 C:\WINDOWS\system32\USER32.dll
ModLoad: 00007ffe`8fef0000 00007ffe`8ff44000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 00007ffe`8ca40000 00007ffe`8ca43000 C:\WINDOWS\SYSTEM32\sfc.dll
ModLoad: 00007ffe`8a740000 00007ffe`8a7c2000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
ModLoad: 00007ffe`8fda0000 00007ffe`8feef000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 00007ffe`917e0000 00007ffe`919f1000 C:\WINDOWS\SYSTEM32\combase.dll
ModLoad: 00007ffe`8f5d0000 00007ffe`8f711000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 00007ffe`854c0000 00007ffe`854d2000 C:\WINDOWS\SYSTEM32\sfc_os.DLL
FTH: (10564): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
ModLoad: 00007ffe`84d50000 00007ffe`84d61000 C:\WINDOWS\SYSTEM32\SortWindows61.dll
ModLoad: 00007ffe`8fd00000 00007ffe`8fd36000 C:\WINDOWS\system32\IMM32.DLL
ModLoad: 00007ffe`8fba0000 00007ffe`8fcf2000 C:\WINDOWS\system32\MSCTF.dll
ModLoad: 00007ffe`8ff50000 00007ffe`8fffa000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 00007ffe`84bc0000 00007ffe`84bd7000 C:\WINDOWS\SYSTEM32\AVICAP32.dll
ModLoad: 00007ffe`8ef10000 00007ffe`8f0ef000 C:\WINDOWS\system32\CRYPT32.dll
ModLoad: 00007ffe`8f8b0000 00007ffe`8fa44000 C:\WINDOWS\system32\ole32.dll
ModLoad: 00007ffe`91710000 00007ffe`917d1000 C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 00007ffe`6fcf0000 00007ffe`6fe1b000 C:\WINDOWS\SYSTEM32\OPENGL32.dll
ModLoad: 00007ffe`8f1c0000 00007ffe`8f1c7000 C:\WINDOWS\system32\PSAPI.DLL
ModLoad: 00007ffe`90120000 00007ffe`9164b000 C:\WINDOWS\system32\SHELL32.dll
ModLoad: 00007ffe`8aa70000 00007ffe`8aa92000 C:\WINDOWS\SYSTEM32\WINMM.dll
ModLoad: 00007ffe`8f1e0000 00007ffe`8f23a000 C:\WINDOWS\system32\WS2_32.dll
ModLoad: 00007ffe`90000000 00007ffe`90059000 C:\WINDOWS\SYSTEM32\sechost.dll
ModLoad: 00007ffe`8ab40000 00007ffe`8ab4a000 C:\WINDOWS\SYSTEM32\VERSION.dll
ModLoad: 00007ffe`838e0000 00007ffe`83909000 C:\WINDOWS\SYSTEM32\MSVFW32.dll
ModLoad: 00007ffe`8ed20000 00007ffe`8ed31000 C:\WINDOWS\system32\MSASN1.dll
ModLoad: 00007ffe`828c0000 00007ffe`828ee000 C:\WINDOWS\SYSTEM32\GLU32.dll
ModLoad: 00007ffe`7bc00000 00007ffe`7bcf8000 C:\WINDOWS\SYSTEM32\DDRAW.dll
ModLoad: 00007ffe`8aa30000 00007ffe`8aa5a000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
ModLoad: 00007ffe`8f720000 00007ffe`8f729000 C:\WINDOWS\system32\NSI.dll
ModLoad: 00007ffe`8a7d0000 00007ffe`8a874000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_34ae2abd958aedeb\COMCTL32.dll
ModLoad: 00007ffe`8ca00000 00007ffe`8ca09000 C:\WINDOWS\SYSTEM32\DCIMAN32.dll
ModLoad: 00007ffe`8f0f0000 00007ffe`8f13f000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
ModLoad: 00007ffe`8da70000 00007ffe`8da98000 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
(2944.2f2c): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ffe`91be1970 cc int 3
0:000> g
ModLoad: 00007ffe`8cf50000 00007ffe`8cfb3000 C:\Program Files (x86)\Emsisoft Internet Security\a2hooks64.dll
ModLoad: 00007ffe`8d1c0000 00007ffe`8d272000 C:\WINDOWS\SYSTEM32\SHCORE.dll
ModLoad: 00007ffe`8ec70000 00007ffe`8ec85000 C:\WINDOWS\SYSTEM32\profapi.dll
(2944.2f2c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ffmpeg_g.exe -
ffmpeg_g!ZN6CCodec14DeleteInstanceEPS_+0x25f552:
00007ff6`7ce25a02 0fb60b movzx ecx,byte ptr [rbx] ds:ffffffff`d6836e00=??

cybersharky
25th October 2015, 17:38
no clue how to look at that pnl file, if I open it with Process Monitor, nothing is shown,..
Main bugger is that I can't reproduce the problem here. :(

Try reset filters, here's the filters I used:
https://www.dropbox.com/s/u1fv5bw45t0140j/Screenshot%202015-10-25%2018.35.37.png?dl=0

alter4
25th October 2015, 21:21
There is a bug (missing feature) in mkvmerge...

Thank you Selur.

I have one question and faced one more issue.
Q. Is mplayer preview doesn't work with avisyth denoiser by design for mov files?
sample mov (https://dl.dropboxusercontent.com/u/7307234/DSCF2169.MOV)
Hybrid config config.zip (https://dl.dropboxusercontent.com/u/7307234/hybrid.zip)
https://dl.dropboxusercontent.com/u/7307234/mpplayer.jpg

I. Clean of ffindex files doesn't work properly. My case hybrid doesn't delete file 2242185473mov_72d7b15367ff44c3462c9a39f1153e70_5249.ffindex
Sample is the same as above.
Config is the same as above.
Hybrid debug log https://dl.dropboxusercontent.com/u/7307234/HybridDebugOutput.txt

Thank you.

den78
26th October 2015, 23:36
Hi, Selur. I'm having A/V sync issues with this (http://www38.zippyshare.com/v/OGJopGL8/file.html) source, only when i use QTGMC to deinterlace it. Can you help me, please?

Selur
27th October 2015, 06:28
Q. Is mplayer preview doesn't work with avisyth denoiser by design for mov files?
No, but Avisynth is disabled inside the normal preview by default. (Config->Internals->Avisynth->No Avisynth during Preview)
It normally is recommend to use the Avisynth Preview to preview the effect of avisynth filters.

My case hybrid doesn't delete file 2242185473mov_72d7b15367ff44c3462c9a39f1153e70_5249.ffindex
Index file should be deleted once Hybrid closes.

Hi, Selur. I'm having A/V sync issues with this source, only when i use QTGMC to deinterlace it. Can you help me, please?
seems to work fine here, see: http://www.embedupload.com/?d=5DCBOVGTZG
Loaded the source used the default QTGMC settings, set audio handling to passthrough. (might be a problem of FFVideoSource and or LibavSource; using DGDecNV here)

cybersharky
27th October 2015, 12:58
I did some more testing, I deleted ffmpeg.exe made a copy of ffmpeg_32.exe renamed to ffmpeg.exe, launched hybrid and it worked.

den78
27th October 2015, 13:53
seems to work fine here, see: http://www.embedupload.com/?d=5DCBOVGTZG
Loaded the source used the default QTGMC settings, set audio handling to passthrough. (might be a problem of FFVideoSource and or LibavSource; using DGDecNV here)
Thanks, but LWLibavVideoSource seems to be forced. How can i change that? Avisynth custom option?
Using the latest Hybrid version btw.

Selur
27th October 2015, 17:30
lwlibavvideosource is probably forced since the intput is interlaced and inside a ts container.
-> no way around that atm. (forced that a while back since ffvideosource has more problems with interlaced content then lwlibavvideosource )

Selur
27th October 2015, 19:52
Had another look at the file and the timecodes of that file are all over the place.
So what I did was :
1. remux the file with Hybrid to mkv (with Config->Automation->On Load->Always extract timecodes form mp4/mk/flv files !disabled! - which is the default), this will drop the current timecodes and generate new ones
2. reencoded that file
and even with libav as filter the output is sync :)

alter4
27th October 2015, 21:15
No, but Avisynth is disabled inside the normal preview by default. (Config->Internals->Avisynth->No Avisynth during Preview)
It normally is recommend to use the Avisynth Preview to preview the effect of avisynth filters.

Index file should be deleted once Hybrid closes.


1) Enable Avisynth during Preview doesn't help for my case(but works for other files other then MOVs from my camera), filter preview doesn't work.

Step to reproduce:
a Apply my config I attached in
http://forum.doom9.org/showpost.php?p=1744350&postcount=2576 but uncheck "No Avisynth during Preview"
b Open sample file
c Open filter preview, see it doesn't work
d See after enable "Avisynth during Preview" even preview on Main page doesn't work

2) Again in my case hybrid doesn't delete ffindex file after closing.

Step to reproduce:
a Apply my config I attached in
http://forum.doom9.org/showpost.php?p=1744350&postcount=2576
b Open sample file
c Add job to queue
d run queue
e close hybrid
f see ffindex file is not deleted

Thanks

den78
27th October 2015, 23:41
Had another look at the file and the timecodes of that file are all over the place.
So what I did was :
1. remux the file with Hybrid to mkv (with Config->Automation->On Load->Always extract timecodes form mp4/mk/flv files !disabled! - which is the default), this will drop the current timecodes and generate new ones
2. reencoded that file
and even with libav as filter the output is sync :)
So basically, what you're saying is that i should just enable that option? Did that and it's still out of sync.
Even when remuxed through mkvtoolnix the encoded file gets out of sync, with or without that option.

Selur
28th October 2015, 06:04
@den78: No you should not enable the option or remux with mkvtoolnix.
You should remux with Hybrid, when you use mkvtoolnix the timecodes will be kept as they are.
-> remux with Hybrid, then reencode the resulting file.

@alter4: if you want to share your config, please save it as a global profile, this way it won't destroy my own settings and I won't have to read all the xml files.
Encoded to x264 2pass and 1pass crf and the ffindex file was properly deleted after the job was processed. (file will not be deleted if the job gets aborted or crashes)

den78
28th October 2015, 16:18
@den78: No you should not enable the option or remux with mkvtoolnix.
You should remux with Hybrid, when you use mkvtoolnix the timecodes will be kept as they are.
-> remux with Hybrid, then reencode the resulting file.
And how do i do that without encoding it first? Sorry, but not seeing that option.:confused:

Edit: Ok, i think i got it. Passtrough, right? But i get "Output frame count returned zero!" & Hybrid crashes.

Edit 2: made it with the other sample from the same source & the output is still out of sync.

Selur
28th October 2015, 17:57
By setting audio&video handling to passthrough :)

But i get "Output frame count returned zero!"
Doh, that's a bug I fixed, locally a while ago, will send you a link to a dev version.

Cu Selur

DJ-1
28th October 2015, 18:02
Hi, I got the latest installer today and when starting Hybrid i get msg saying "get tool versions got an empty output for ffmpeg the cause amy be that file could not be found,..... pls redo this with debug enabled and tell author"

I cant run hybrid , therefore cant set debug option....i also did a complete uninstal/ reinstal of hybrid, same.

Win 8.1 Pro N 64 bit

cheers.

DJ-1
28th October 2015, 18:09
update: just tried the most most recent Test version (that I have) (that was working fine yesterday) and that now give same error msg.

so its ever since running the latest installer

DJ-1
28th October 2015, 18:21
....ok, so was just looking at the the tools etc nt the programs file DIR and if double clicked they run (ffmpeg_32 , flac etc etc ) but if i try n run ffmpeg.exe i get a generic windows msg says "ffmpeg.exe has stopped working...a problem a has caused the program to stop working correctly, windows will now close it and notify if theres a solution"

maybe a bad ffmpeg.exe file i have?
thanks.

Selur
28th October 2015, 18:34
yuo, problem is with the 64bit ffmpeg.exe

DJ-1
28th October 2015, 18:35
yeah...

Selur
28th October 2015, 18:37
Problem is I'm not sure which extension is causing the problems, since for me the binary runs fine on all my systems. :(

DJ-1
28th October 2015, 18:38
do you have the ffmpeg.exe file you can send me?, ill try it..
cheers.

DJ-1
28th October 2015, 18:54
ok, found the file from here:http://sourceforge.net/projects/mplayer-win32/?source=typ_redirect

copied the 1 file from zip, al fine now.
i can only assume a bad file in the installer?, i did try n re-download the installer but was the same.
anyhow, all good now.

cheers.

Selur
28th October 2015, 18:54
The ffmpeg.exe which comes with Hybrid works fine for me.
For users with the problem the ffmpeg binaries from zeranoe work fine.

DJ-1
28th October 2015, 19:05
ok cool, only went where i did as i see in the `Sources.txt`in Hybrid DIR, so thought it was the preffered version, yep Zernoe one works also.

is there a prefference to use with hybrid ?, (i just got the latest static v of zeranoe).

thanks.

Selur
28th October 2015, 19:08
none, 64bit version should be fine as ffmpeg.exe on 64bit OS

DJ-1
28th October 2015, 19:08
Cheers.

Sent from my LG-H815 using Tapatalk

den78
28th October 2015, 19:19
By setting audio&video handling to passthrough :)


Doh, that's a bug I fixed, locally a while ago, will send you a link to a dev version.

Cu Selur
Dev fixed the error but not the sync problem. I'm really confused here, your encode looked perfect. Maybe if you can send me your Hybrid settings so i can see what i'm missing.
& just to say it again, it only happens with qtgmc, without it it's in perfect sync.

Selur
28th October 2015, 19:21
without it it's in perfect sync.
Have you tried another Avisynth based deinterlacer?

My settings are the default settings,..

den78
28th October 2015, 19:23
Have you tried another Avisynth based deinterlacer?

My settings are the default settings,..
Yes, i have tried yadif & had no problem. BUT i want QTGMC. :(

Edit: sorry, it was not avisynth based. It seems that avisynth based deinterlacer is the problem, just checked it.

Selur
28th October 2015, 19:26
"Yadif" = done through ffmpeg or mencoder
OR
"Yadif (Avisynth)" = applied through avisynth
-> make sure you try "Yadif (Avisynth)" otherwise we don't know whether this is a decoder or a deinterlacer problem.

Also, have you remuxed the file (with the timecode extraction disabled)? Did the new file then still play sync ? Did you then reencode that file?

Cu Selur

den78
28th October 2015, 19:37
Did all that & the result is still not good. Btw, with yadif avisynth i get this & it's out of sync too.
http://i.imgur.com/Q7bsuOW.png?1

& btw, remuxed file in mkv plays like the original ts, so no problem there.

Selur
28th October 2015, 19:59
Here's how I produce a sync file, step-by-step from your sample:

Reset Hybrid defaults ('Config->Defaults->Reset->All' + 'Reset selected'), to make sure no unwanted setting is interfering
After the restart, I loaded your test.ts file
Set 'Main->Handling->Video handling' to 'passthrough'
Set 'Main->Handling->Audio handling' to 'passthrough all'
Set the output file (Main->Output file) to h:\remux.mkv
pressed 'Main->Add to queue'
pressed 'Jobs->Job Queue->Start'
cleared the Job Queue after the processing was done.
Loaded the 'h:\remux.mkv'
Set 'Main->Handling->Video handling' to 'x264'
disabled 'Filtering->Avisynth->Misc->Misc->Support DGDecNV' ; this option is only available if DGDecNV (with it's dependencies) are present in avisynthPlugins-folder, since I assume that is not the case for you I disabled the option
checked the Avisynth script to make sure which decoder was used (Filtering->Avisynth->Show current Avisynth script'

SetMemoryMax(768)
SetMTMode(5,16) # change MT mode
LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\AddGrainC.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\dfttest.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\DirectShowSource.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\EEDI2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\eedi3.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\FFT3DFilter.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\mvtools2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\SSE2Tools.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\TDeint.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\RepairSSE2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll")
LoadCPlugin("G:\Hybrid\avisynthPlugins\yadif.dll")
LoadDll("G:\Hybrid\avisynthPlugins\fftw3.dll")
LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll")
Import("G:\Hybrid\avisynthPlugins\QTGMC-3.33.avsi")
# loading source: H:\remux.mkv
LWLibavVideoSource("H:\remux.mkv",cache=false,repeat=true)
# deinterlacing
SetMTMode(2) # change MT mode
AssumeTFF()
QTGMC(Preset="Fast", ediThreads=4)
SelectEven()
return last

Set the output file (Main->Output file) to h:\reencode.mkv
pressed 'Main->Add to queue'
pressed 'Jobs->Job Queue->Start'
uploaded the file after the encode was done

-> http://www.embedupload.com/?d=9ADNNSUXGY

with yadif avisynth i get this
That normally only happens if there is some color space, mix up, will try to reproduce that.

Cu Selur

alter4
28th October 2015, 20:10
@alter4: if you want to share your config, please save it as a global profile, this way it won't destroy my own settings and I won't have to read all the xml files.
Encoded to x264 2pass and 1pass crf and the ffindex file was properly deleted after the job was processed. (file will not be deleted if the job gets aborted or crashes)

I encode to x265 (settings are in global profile (https://dl.dropboxusercontent.com/u/7307234/globalx265.xml)). You also can reproduce the issue with filter preview on this config and the same sample file (https://dl.dropboxusercontent.com/u/7307234/DSCF2169.MOV)

Thanks

den78
28th October 2015, 20:12
Now your output file looks like mine, it's not in sync. :)
& as you can see there is a frame drop in the first second of the video. So i think there lies the problem.

Selur
28th October 2015, 20:16
Now your output file looks like mine, it's not in sync.
Then libav can't handle the file. :)
-> only workaround for that is to use DGDevNV. :/

den78
28th October 2015, 20:20
Seems so. :( Thanks for your kind help. :)

Selur
28th October 2015, 20:51
You might also want to report the problem in the LibAvSource-thread (http://forum.doom9.org/showthread.php?t=167435), assuming replacing the LSMASHSource.dll inside the avisynthPlugins-folder with the latest one, doesn't help.

Cu Selur

Groucho2004
29th October 2015, 11:52
Okay, didn't know that AVSMeter nowadays requires that dll, you can copy it from the avisynthplugins folder.
What? This has nothing to do with AVSMeter but missing dependencies for one or more plugins in the auto-load directory. Avisynth will throw errors about missing dependencies once you initialize IScriptEnvironment.

tola5
29th October 2015, 15:43
HI I have encoding some files my blu-ray from makemkv then with hybrid but one of the movies I get crash what can it be ? alle the other file work
exitCode -1073741787

encoding are video x265
audio passthrogh all
crf 22
preset ultrafast

Selur
29th October 2015, 17:37
@tola5: read http://www.selur.de/support, the infos you present are far from useful

What? This has nothing to do with AVSMeter but missing dependencies for one or more plugins in the auto-load directory. Avisynth will throw errors about missing dependencies once you initialize IScriptEnvironment.
Since Hybrid does not install avisynth into the system, there's probably not much I can do about that (I could change some environment variables, but that wouldn't hinder avisynth from looking for some avisynth folder installed by another application,...)

tola5
29th October 2015, 17:54
@tola5: read http://www.selur.de/support, the infos you present are far from useful


Since Hybrid does not install avisynth into the system, there's probably not much I can do about that (I could change some environment variables, but that wouldn't hinder avisynth from looking for some avisynth folder installed by another application,...)

ok try run it one more the to get a debug I just think when the code was given it was all it nede

Selur
29th October 2015, 18:17
Nope, no clue which program generated that exit code (probably x265) and no clue how to interpret that code. :)

Groucho2004
29th October 2015, 19:13
Since Hybrid does not install avisynth into the system, there's probably not much I can do about that (I could change some environment variables, but that wouldn't hinder avisynth from looking for some avisynth folder installed by another application,...)
I just pointed out that your assumption about AVSMeter needing that DLL was wrong. My knowledge of Hybrid is basically zero so I don't know what it installs/doesn't install.

Groucho2004
29th October 2015, 19:16
no clue how to interpret that code. :)

-1073741787 = 0xC0000025: STATUS_NONCONTINUABLE_EXCEPTION

tola5
29th October 2015, 20:39
Nope, no clue which program generated that exit code (probably x265) and no clue how to interpret that code. :)
hope that help

Selur
29th October 2015, 20:44
will look at the once it is approved by a moderator, and I'm aware of that approvement

jouchan
30th October 2015, 05:08
hi selur, how to change audio to 2.0 channels?
i have download video, with 8.0 channels, and encoding using hybrid with these setting
- check reencode
- Qaac
- aac, high efficency
- DRC: film standard
- Downmix: to stereo

and the result is still 8 channel,
please help me, thank you

Selur
30th October 2015, 06:15
Normally the 'to stereo' downmix should work, assuming you didn't mess up (by not adding your settings to the audio queue), this should be a bug which I can only fix with a debug output of the analysis of the source and of the job creation (job processing is not necessary).

Cu Selur

jouchan
31st October 2015, 00:57
Normally the 'to stereo' downmix should work, assuming you didn't mess up (by not adding your settings to the audio queue), this should be a bug which I can only fix with a debug output of the analysis of the source and of the job creation (job processing is not necessary).

Cu Selur

thanks, working now

next question:
how to get only stereo 2channel audio with FDK?

my setting:
-FDK
-AAC
-High Efficency v2, downmix: toStereo
-Bitrate: 64Kbit/s

and the result is:
Channel(s) : 2 channels / 1 channel / 1 channel
Channel positions : Front: L R / Front: C / Front: C
Sampling rate : 48.0 KHz / 48.0 KHz / 24.0 KHz

trying change downmix: Don't change and get same result
is this stereo or mono? :confused:

Selur
31st October 2015, 08:09
It's stereo, assuming you use a HE-AACv2 (SBR+PS) capable decoder.

Complain to the MediaInfo confusing output:
'2 channels / 1 channel / 1 channel' probably wants to say that:
if you use:
- a decoder with HE-AACv2 (SBR+PS) capable decoder and you'll get Stereo at 48 KHz.
- a decode which only supports HE-AAC (SBR), but not HE-AACv2 (PS), you'll get Mono at 48 KHz.
- a decode which only supports LC-AAC, but neither SBR nor PS, you'll get Mono at 24 KHz.
note that this behavior is normal for HE-AACv2 (see: https://en.wikipedia.org/wiki/Parametric_Stereo)
-> no bug, seems more like you didn't know what you were doing :)

alter4
31st October 2015, 17:39
Hi Selur,
sorry, have you been able to reproduce my issues on your side mentioned in http://forum.doom9.org/showthread.php?p=1744702#post1744702 (http://forum.doom9.org/showthread.php?p=1744702#post1744702) ?
I don't expect any quick fixes, just want to make sure I provided all necessary info.

Selur
31st October 2015, 17:48
Still not sure what ffindex file didn't get deleted for you,..
If I encode to x264 or x265 the ffindex file get's deleted properly during the job processing.
If I open your file and look at it inside the avisynth filtering view (otherwise there shouldn't be a ffindex file, sinde avisynth is disabled during, normal mplayer based, preview) a ffindex file gets created that gets deleted when I close Hybrid.
-> no clue what to do

alter4
31st October 2015, 17:54
Does filter mplayer preview work properly for you with the config and file?

UPD. you mentioned >>sinde avisynth is disabled during, normal mplayer based, preview)
What do you mean? I have enabled avisynth during preview, I save global config from my current setting and they are http://i65.fastpic.ru/big/2015/1031/c1/92a358722f98dab909f87e9ebf25bfc1.jpg

Selur
31st October 2015, 18:31
Yes, you did, but I did not. :)
An no, normal preview doesn't work, but the ffindex gets for me deleted when I close Hybrid independent of that.
(not sure when I will have the time to look into why the preview isn't working)

jouchan
1st November 2015, 01:39
It's stereo, assuming you use a HE-AACv2 (SBR+PS) capable decoder.

Complain to the MediaInfo confusing output:
'2 channels / 1 channel / 1 channel' probably wants to say that:
if you use:
- a decoder with HE-AACv2 (SBR+PS) capable decoder and you'll get Stereo at 48 KHz.
- a decode which only supports HE-AAC (SBR), but not HE-AACv2 (PS), you'll get Mono at 48 KHz.
- a decode which only supports LC-AAC, but neither SBR nor PS, you'll get Mono at 24 KHz.
note that this behavior is normal for HE-AACv2 (see: https://en.wikipedia.org/wiki/Parametric_Stereo)
-> no bug, seems more like you didn't know what you were doing :)

lol.. you right... check pm please :D

cybersharky
3rd November 2015, 11:04
Can't encode using nvenc: https://www.dropbox.com/s/ehawytxkqz8q589/HybridDebugOutput.txt?dl=0

Selur
3rd November 2015, 18:11
Avisynth script seems to be fine:
SetMemoryMax(768)
SetMTMode(6,16) # change MT mode
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\DGDecodeNV.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\TIVTC.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\KNLMeansCL.dll")
# loading source: C:\Users\Gary\Documents\DVDrips\SG1.S7.D6_E21-22\VIDEO_TS
DGSource(dgi="C:\Users\Gary\AppData\Local\Temp\172652247512_01_02_6410.dgi",fieldop=2)
RequestLinear(rlim=50,clim=50)
SetMTMode(2) # change MT mode
# cropping
Crop(2,0,-2,0)
# denoising
SetMTMode(5) # change MT mode
KNLMeansCL(d=1,h=1.200,device_type="DEFAULT")
return last
I assume you checked the avisynth preview.
What happens if you call:
"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -sws 10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs" | "C:\PROGRA~1\Hybrid\ffmpeg.exe" -threads 8 -an -sn -r 25 -pix_fmt yuv420p -s 716x576 -f rawvideo -i - -r 25 -pix_fmt yuv420p -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 25.0000 --codec h264 --sar 64:45 --vbr 750 --max-bitrate 3500 --gop-len 250 --bframes 3 --ref 5 --mv-precision Q-pel --cavlc --deblock --videoformat undef --colorprim undef --transfer undef --colormatrix bt709 --output "C:\Users\Gary\AppData\Local\Temp\dvd_12_01_02_6410_03.264"
inside a Windows command prompt?

cybersharky
3rd November 2015, 18:48
ffmpeg crashes, install build and the one you built the other day.

Selur
3rd November 2015, 18:59
please, try if it works if you use one from zeranoe

cybersharky
3rd November 2015, 20:21
I get this error (I checked the avs file does still exist):
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Gary>"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -really-quie
t -of rawvideo -o - -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -sw
s 10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\enc
odingTempAvisynthSkript_12_01_02_6410.avs" | "C:\PROGRA~1\Hybrid\ffmpeg.exe" -th
reads 8 -an -sn -r 25 -pix_fmt yuv420p -s 716x576 -f rawvideo -i - -r 25 -pix_fm
t yuv420p -f yuv4mpegpipe - | "C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 2
5.0000 --codec h264 --sar 64:45 --vbr 750 --max-bitrate 3500 --gop-len 250 --bfr
ames 3 --ref 5 --mv-precision Q-pel --cavlc --deblock --videoformat undef --colo
rprim undef --transfer undef --colormatrix bt709 --output "C:\Users\Gary\AppData
\Local\Temp\dvd_12_01_02_6410_03.264"
ffmpeg version N-76250-g7c8fcbb Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 55. 4.100 / 55. 4.100
libavcodec 57. 9.100 / 57. 9.100
libavformat 57. 10.102 / 57. 10.102
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 13.100 / 6. 13.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, rawvideo, from 'pipe:':
Duration: N/A, bitrate: 123724 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 716x576, 123724 k
b/s, 25 tbr, 25 tbn, 25 tbc
Output #0, yuv4mpegpipe, to 'pipe:':
Metadata:
encoder : Lavf57.10.102
Stream #0:0: Video: wrapped_avframe, yuv420p, 716x576, q=2-31, 200 kb/s, 25
fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.9.100 wrapped_avframe
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> wrapped_avframe (native))
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ove
rhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
Failed to open input file.

C:\Users\Gary>

Selur
3rd November 2015, 21:33
Does it work if you disable the post processing in the filter options (this should cause Hybrid to use ffmpeg instead of mencoder vor avisynth)

cybersharky
4th November 2015, 18:49
Does it work if you disable the post processing in the filter options (this should cause Hybrid to use ffmpeg instead of mencoder vor avisynth)

Worked with no post processing

"C:\PROGRA~1\Hybrid\NVEncC.exe" --y4m -i - --fps 25.0000 --codec h264 --sar 64:45 --vbr 750 --max-bitrate 3500 --gop-len 250 --bframes 3 --ref 5
--mv-precision Q-pel --cavlc --deblock --videoformat undef --colorprim undef --transfer undef --colormatrix bt709
--output "C:\Users\Gary\AppData\Local\Temp\sg1.s7.e2122_19_38_36_5410_01.264"
NVEnc 1.10 (x64), using NVENC API v5.0
OS Version Windows 8.1 (x64)
CPU Intel Core i7-2600 @ 3.40GHz (4C/8T)
GPU GeForce GTX 960 (8 EU) @ 1253 MHz (358.50)
Input Buffers CUDA, 16 frames
Input Info y4m (yv12) -> nv12 [AVX], 720x576, 25/1 fps
Output Info H.264/AVC high
720x576p 64:45 25.000fps (25/1fps)
Rate Control VBR
Bitrate 750 kbps (Max: 3500 kbps)
Initial QP I:20 P:23 B:25
VBV buffer size auto
GOP length 250 frames
B frames 3 frames
Ref frames 5 frames
MV Quality Q-pel
CABAC/deblock cavlc / on


encoded 123030 frames, 465.44 fps, 751.52 kbps, 440.88 MB
encode time 0:04:24 / CPU Usage: 4.06%

frame type IDR 493
frame type I 493, avgQP 24.40, total size 8.94 MB
frame type P 31004, avgQP 27.06, total size 143.98 MB
frame type B 91533, avgQP 29.62, total size 287.96 MB

finished after 00:04:29.187
https://www.dropbox.com/s/wxqxuhqmek0ucqc/HybridDebugOutput2.txt?dl=0

Selur
4th November 2015, 18:53
-> seems like something is wrong with the mencoder version, normally it would be no problem mixing Avisynth and mencoders filtering. :/

What happens if you call:
C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -sws 10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"

Cu Selur

cybersharky
4th November 2015, 19:02
An error:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Gary>cd \

C:\>cd "Program Files"

C:\Program Files>cd Hybrid

C:\Program Files\Hybrid>"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -o
f rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -sws
10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encod
ingTempAvisynthSkript_12_01_02_6410.avs"
MEncoder SVN-r37548-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.10.101 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>

Selur
4th November 2015, 19:06
okay, seems like the avisynth support wasn't build into mencoder,.. (wtf? -> looking into it)

Selur
4th November 2015, 19:15
Please try if it helps to extract: https://drive.google.com/open?id=0B_WxUS1XGCPAWUIyOTdoRFBQbUk into you Hybrid folder.

cybersharky
4th November 2015, 19:48
Please try if it helps to extract: https://drive.google.com/open?id=0B_WxUS1XGCPAWUIyOTdoRFBQbUk into you Hybrid folder.
Same error :(
C:\Program Files\Hybrid>"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -o
f rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -sws
10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encod
ingTempAvisynthSkript_12_01_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>

Selur
4th November 2015, 19:52
Play, what about:
C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -ovc raw -vf scale,format=i420 -sws 10 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"
(strange thing is that I used that mencoder version just to encode an avs script into an x264 mp4 file, so it's not the general avisynth support)

cybersharky
5th November 2015, 07:32
What's the correct syntax for windows?

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.


C:\>cd "Program Files"\hybrid

C:\Program Files\Hybrid>C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of
rawvideo -o NUL -ovc raw -vf scale,format=i420 -sws 10 -forcedsubsonly -nosub -
nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01
_02_6410.avs"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\Hybrid>"mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -
ovc raw -vf scale,format=i420 -sws 10 -forcedsubsonly -nosub -nosound -mc 0 "C:\
Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>

Selur
5th November 2015, 19:11
using:
mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\Temp\encodingTempAvisynthSkript_19_08_47_7010.avs"
works fine for me here,...
Does:
C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"
work? (removed the sws part)

cybersharky
6th November 2015, 18:28
My last attempt, no idea what's up with mencoder:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Gary>C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo
-o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly
-nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkri
pt_12_01_02_6410.avs"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\Hybrid>C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of
rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -force
dsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAv
isynthSkript_12_01_02_6410.avs"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\Hybrid>"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -o
f rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forc
edsubsonly -nosub -nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempA
visynthSkript_12_01_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -o
vc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -n
osound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_
02_6410.avs"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\Hybrid>"mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -
ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -
nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01
_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>mencoder.exe -lavdopts threads=8 -of rawvideo -o NUL -ov
c raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -no
sound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_0
2_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>"mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -
ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -
nosound -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01
_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>mencoder -lavdopts threads=8 -of rawvideo -o NUL -ovc ra
w -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -nosoun
d -mc 0 "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_64
10.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
libavformat version 57.13.100 (internal)
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>

Selur
6th November 2015, 19:14
Does it help to enforce the demuxer?
C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -demuxer avs "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"

Other possibilities:
a. another avisynth installation (especially a non Avisynth MT one) is interfering
b. the avisynth preview doesn't work also due to a problem with the avisynth script on your system.

den78
13th November 2015, 23:02
Hi, Selur.
My source is 720x576i. I'm resizing it to 1024x576 & 768x576 (Square pixel 1:1, resize: lanczos).
And the output file always has a patched display resolution. For example: 768x576 is 838x576. So in order to fix it i must remux the file with mkvtoolnix to correct the AR.

This didn't happen with the earlier versions.:confused:

Selur
14th November 2015, 00:40
Without a debug output that sounds more like a 'user not properly using Hybrid' than a bug.

den78
14th November 2015, 02:12
Debug sent. :)

Selur
14th November 2015, 06:53
Okay PAR of the input is: "Pixel aspect ratio : 1.455" which Hybrid identified as '16:11' according to the debug output you set resize to 1024x576 but didn't change the PAR, thus Hybrid sticks to the PAR of the input.

So, what you probably did was:

Enable "Crop/Resize->Main->Resize"
Disabled "Crop/Resize->Main->Picture Resize->Auto adjust"
Set "Crop/Resize->Main->Picture Resize->Target resolution" to 1024x576

which distorted the image by resizing without taking the PAR into account.

What you probably wanted was:

Load source
Enable "Crop/Resize->Main->Pixel Aspect Ratio (PAR)->OutputPAR->Convert output PAR to" and select "Square (1:1)"
Keep "Crop/Resize->Main->Picture Resize->Auto adjust" enabled
Set the first parameter (the width) of "Crop/Resize->Main->Picture Resize->Target resolution" to 1024


-> Doesn't seem like a bug in Hybrid.

Cu Selur

cybersharky
14th November 2015, 14:44
Does it help to enforce the demuxer?
C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -demuxer avs "C:\Users\Gary\AppData\Local\Temp\encodingTempAvisynthSkript_12_01_02_6410.avs"

Other possibilities:
a. another avisynth installation (especially a non Avisynth MT one) is interfering
b. the avisynth preview doesn't work also due to a problem with the avisynth script on your system.

Sorry, been busy. I deleted all the avisynth dll's in windows system folders, tried again.

It works a little longer before failing:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Gary>cd \

C:\>cd "Program Files"

C:\Program Files>cd Hybrid

C:\Program Files\Hybrid>C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -of
rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -force
dsubsonly -nosub -nosound -mc 0 -demuxer avs "C:\Users\Gary\AppData\Local\Temp\e
ncodingTempAvisynthSkript_12_01_02_6410.avs"
The filename, directory name, or volume label syntax is incorrect.

C:\Program Files\Hybrid>"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -o
f rawvideo -o NUL -ovc raw -vf scale,format=i420,pp=al=f,scale,format=i420 -forc
edsubsonly -nosub -nosound -mc 0 -demuxer avs "C:\Users\Gary\AppData\Local\Temp\
encodingTempAvisynthSkript_12_01_02_6410.avs"
MEncoder SVN-r37551-5.2.0 (C) 2000-2015 MPlayer Team
success: format: 0 data: 0x0 - 0x25a
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...

C:\Program Files\Hybrid>

Selur
15th November 2015, 22:25
Hybrid rev 2015.11.15.1:

*fixed*

avisynth: HDR AGC range fix (shift U/V min value)
avisynth: .ffindex didn't get always deleted properly
avisynth: bifrost call
audio: qaac 64bit portable support, not removing aac encoding, while ffmpeg is present
video: x264 level compliance tests more often
video: x265 '--cu-lossless' applied to often
video: x265 hrd signaling
preview: fixed preview with avisynth and mov
input: force Avisynth for OpenDML and 2GB+ Stream size (due to an outstanding but in mencoder)
audio: flac channel mapping and encoding problems
video: Xvid encoding on Linux with avs2yuv

*added*

video: NVEncC '--vbr2' support
video: x264 '--[no-]intra-refresh' support
video: x265 '--[no-]limit-modes' support
video: x265 '--lookahead-slices' support
avisynth: 'Force greyscale'-option added to 'Stab'

*changed*

cosmetics: Audio Tab got changed a bit
input: ignore subtitles inside .avi files
jobs: ignore chapter selection and cut, when multiInput is present
audio: allow 'extract with DGIndex' not only for DVD input
cosmetics: x265, changed the way light level information is entered
general: changed to QT 5.5.1 for Windows builds
video: always signal sar when using x264
video: file naming during 2pass encoding
audio: better dts-hd handling on reencode

-> downloads: http://www.selur.de/downloads

Cu Selur

alter4
16th November 2015, 20:31
Solid update, thank you Selur.

Selur
17th November 2015, 21:37
Hybrid rev 2015.11.17.1:

*fixed*

audio: variable mix-up which caused audio encoding not to work always as it should

-> downloads: http://www.selur.de/downloads

Cu Selur

Vesdaris
26th November 2015, 16:13
I've got a few questions regarding Hybrid

1) Is there any way to import x264 megui profiles?

2)How do I make a sample encode,say, 1 min?



Thank you

Selur
26th November 2015, 18:37
Is there any way to import x264 megui profiles?
Not, directly dropped the support for that quite a while ago since the profiles were a real mess back then.
You can however copy the command line for MeGui and import it under x264->Misc->Import/Additions->Command line->Import.
How do I make a sample encode,say, 1 min?
You could try the experimental cut support under Config->Internals->Cut Support (make sure to read the tooltips)

Vesdaris
26th November 2015, 19:29
I see. thanx.

Could you help me out with something, please?

It seems I'm having a problem with one file.. I captured a streaming video (52+min, 28GB) using lagarith codec and I tried encoding it to x264 however, the file I got is just 40 sec in length and there is no picture there.Just all kinds of colors keep flashing.

Before that I had encoded a small sample I captured using the same tool I use to capture my screen and the same codec)x264) and hybrid encoded it just fine.

I don't understand what happened with the last file..It plays fine when I open it in video players.

Here is hybrid log and the original file mediainfo

http://pastebin.com/fCjrTWLr


PPS Hmmm..it's very strange..now it seems to be working OK...Maybe it's because I set Decoding to "Prefer ffmpeg"..I dunno..

Selur
26th November 2015, 21:16
Hybrids Log doesn't help much (normally a debug output is the best way to go, see the support page on how to create one), my guess is that the problem was due to a problem/bug with mencoder and OpenDML avi files unless one explicitly uses demuxer lavf (see: https://trac.mplayerhq.hu/ticket/2255), problem should be fixed in the next release and for the mean time using "Prefer FFmpeg..." or "Always use Avisynth ..." should fix the problem.

Vesdaris
27th November 2015, 00:20
Thanx for your help, Selur. Much appreciated.

And it looks like I'll need it once more (I'm really sorry for bothering you again and again ;(

First, I'm having out of sync issues with the same file, even with audio set to passthrough.(that is if hybrid doesn't crash in the process) but if Im not mistaken if it happens there is no indnexing done at all, I think, because -->>

Second, I'm getting constantly QProcess::Crashed after ffmpeg gets done indexing the source file.

Here is my log (http://rghost.net/8VYFDhBdc)(debug mode enabled) in the end I got "QProcess::Crashed"

Cheers

PS Why does hybrid always extract audio to wav? Even if it is set to passthrough(always extract to wav option is disabled)

Selur
27th November 2015, 06:17
Crash happens because the decoder crashed (QProcess::Crashed it just the Qt way for handling).
Looking at the avisynth script:
LoadCPlugin("K:\games\Hybrid\avisynthPlugins\ffms2.dll")
# loading source: K:\aaaaaaaaaaaaaaaaa\bandicam 2015-11-26 19-51-54-884.avi
FFVideoSource("K:\AAAAAA~1\BANDIC~1.AVI",cachefile="K:\00000000000\01_57_36_5910.ffindex",fpsnum=24000,fpsden=1001)
return last
The problem seems to be FFVideoSource having trouble with the source file, try if enabling "Filtering->Avisynth->Misc->LibavVideoSource instead fo FFmpegSource" helps with this source.

About the sync issue, you can test if using LibavVideoSource also helps if not try if enabling "Config->Automation->On Load->Always extract timecodes ..." with this source.

Why does hybrid always extract audio to wav? Even if it is set to passthrough(always extract to wav option is disabled)
Since the audio is PCM, saving it inside a wav header is kind of the normal way to do, don't the anything wrong there.

Vesdaris
27th November 2015, 12:35
Selur

LibavVideoSource instead fo FFmpegSource" helps with this source.

It seems to have helped with indexing (I guess, coz hybrid never indicated it was indexing, I only saw mencoder doing something for a while in the task manager, low CPU usage and only after that actual encoding started)

The audio is still out of sync though even with "Always extract timecodes " enabled.(I didn't see hybrid extracting them either unlike when it does it via ffmpeg) I manually fixed audio delay later

Is Megui's FFMS indexing the same as FFMpeg that crashed in hybrid? I managed to index and encode just fine this source file in megui

FFMS thread count is set to 1 in Megui and the tooltip says that anything but 1 may lead to crashes. I tried setting it to 1 in hybrid but it doesn't let you do it. (min=2).

PS It looks like Filtering->Misc->Misc->Disable distributor()" has helped in regard to crashes.I had also extract timecodes enabled.. however.. the resulting file was encoded at.. 1000000 fps LOL

After timecodes extractions got done I got this:


Current frame rate: 23.976 differs from average time code frame rate: 999.763 this is ignored since 'Check average fps of mkv/mp4 files' is disabled.
but if ti was disabled how come I got 1mil frames..hmm

it can be fixed easily manually but it is really strange.


PPS Anyways, I have now
- prefer ffmpeg
- disable distributor
- ffmpeg threads=2
- prefer ffmpegsource (avisynth)

enabled, no timecodes, and I just need manually fix a bit audio delay, after that everything seems to be ok

Selur
28th November 2015, 13:46
Is Megui's FFMS indexing the same as FFMpeg that crashed in hybrid? I managed to index and encode just fine this source file in megui
The indexing it done by ffmpegsource and yes this should be the same in Hybrid and Megui

Vesdaris
30th November 2015, 11:31
Could you,please, give some advice on AAC encoding settings (films\tv series)? I want to make audio louder and maybe some other "nice" stuff . I'm not downmixing\resampling, it's 2 channel PCM

What's your recommendations on gain\normalize\drc?

Thank you.

Selur
30th November 2015, 17:54
Since films/tv series are normally already properly mastered I would only set Gain to auto

Vesdaris
2nd December 2015, 01:33
Since films/tv series are normally already properly mastered I would only set Gain to auto

Unfortunately auto mode didn't make it considerably louder. What if I need manually change gain? What should I choose there for 2 channel stereo?

Thanx

Selur
2nd December 2015, 06:00
a. you might want to read: http://forum.selur.de/topic239-info-understanding-the-audio-gain-methods.html
b. you can always set a manual gain and set a manual gain (but this might lead to clipping)
c. if you are aware of the difference between normalizing to a specific dB-Level to applying a gain and that is what you want, you can instead of using 'gain' also use 'Normalize to (dB)'.

Cu Selur

den78
3rd December 2015, 08:34
@Selur
It seems that normalizing doesn't work in the new version.

I'm using these settings
http://i.imgur.com/R2s294b.png

& with those same settings, same FDK encoder version, the audio is considerably louder in v2015.5.10.1

Please check it.

Btw, i fixed my resolution patching issue. Had to reselect the "square pixels". In the previous versions that was not the default option & that's why it worked.

Selur
3rd December 2015, 17:31
In the previous versions that was not the default option & that's why it worked.
Haven't touched that code part for more than 6 month,.. and haven't changed the defaults for more than a year. ;)

I'm using these settings
those settings should do nothing,... :)

den78
3rd December 2015, 19:47
those settings should do nothing,... :)
But the difference is obvious.
You can see it for yourself in mpc-hc (default audio settings)

Haven't touched that code part for more than 6 month,.. and haven't changed the defaults for more than a year. ;)
In the new version (fresh install), when you switch video handling, it defaults to square pixels & the custom option disappears.

Selur
3rd December 2015, 21:37
In the new version (fresh install), when you switch video handling, it defaults to square pixels & the custom option disappears.
that's a bug -> will fix (seems like there is a bug in loading some of the dropdown values properly :/)

Vesdaris
5th December 2015, 01:21
For some reason when I check file info via mediainfo (latest version) there is no information on video and audio bitrates(mkv container). Do I need to enable\disable something specific i HYbrid options?

Selur
5th December 2015, 07:51
Hybrid does nothing to remove any SEI infos x264, x265 or other encoders might have saved inside the stream.
You can see the command lines Hybrid uses inside the Jobs-tab if you disable 'Jobs->Job Queue->Minimize command lines'.
My guess is that something during whatever you do with Hybrid drops those infos assuming they were present to start with.
(I didn't write any code to do that intentionally. :))

Cu Selur

Vesdaris
5th December 2015, 08:30
Ahh OK ;))

Selur, I'm having a problem trying to encode audio to AC3. HYbrid simply doesn't do it at all. Here is my log (http://rghost.net/8bJZy8qnr)

PS And aften is greyed out in audio window although it is present in hybrid folder

Selur
5th December 2015, 08:37
I see the problem, will fix. (output extension isn't set properly)

Vesdaris
5th December 2015, 08:39
Cool ;) Any workaround for this?

Thanx

Selur
5th December 2015, 08:56
nope (other then using aften for ac3 enocding) :)

Vesdaris
5th December 2015, 10:21
nope (other then using aften for ac3 enocding) :)


You mean directly using a command line or via hybrid GUI(It's not available for some reason) ?

Anyways, I did it via megui :D

Selur
5th December 2015, 10:25
You mean via hybrid GUI? It's not available for some reason.
There should be a GroupBox 'Use aften, for encoding and signaling' when you select ac3 as audio format.
btw. I send you a link to fixed version a while ago,...

Vesdaris
5th December 2015, 11:28
I send you a link to fixed version a while ago,...

Oh, I didn't notice lol. Thanx a lot.

here should be a GroupBox 'Use aften, for encoding and signaling' when you select ac3 as audio format.

Yeah, there is a box but I can't enable it.(I haven't tried the test version yet coz the old one is encoding stuff.)

Selur
5th December 2015, 11:58
Yeah, there is a box but I can't enable it
Okay, that is new. Got no problem enabling it.

Vesdaris
5th December 2015, 13:55
Here how it looks
http://i.imgur.com/xPk3U0U.jpg

Once I'm done encoding I'll check the test build just in case. I'm running hybrid as admin otherwise it complains about not being able to open\create something , I dont remember) when I launch it.(win 10 64)

Selur
5th December 2015, 14:02
'm running hybrid as admin otherwise it complains about not being able to open\create something , I dont remember)
you should never have to run Hybrid as admin (the installer needs admin rights, but that's it)!
(also send you another pm)

Vesdaris
5th December 2015, 14:15
you should never have to run Hybrid as admin (the installer needs admin rights, but that's it)!
(also send you another pm)

I'll PM you screenshots and hybrid log later.

trugulum78
14th December 2015, 19:19
Hi! First of all thanks for your great work and soryy for my bad english.
I want to know how can I fix the"Disabled avisynth support,since the version file is not present" in linux version. I have checked the file in wine and is correct but can't find it in linux folders.
Thanks in advance.

Selur
14th December 2015, 19:25
Did you use the repository and install avisynth (hybrid-avisynth-extension) through it?

trugulum78
14th December 2015, 19:36
I'm in arch,is there a easy way to do it?
Thanks for your quick answer.

PD: I think I got it with the misc.ini file,but now I have an error in wine,it says "An application has made an attemp to load vcomp.dll incorrectly"

Selur
14th December 2015, 19:43
I assume you did create a custom misc.ini to tell Hybrid that it should look for avisynth and there to find the avisynthPlugins folder?
for example:
[General]
avisynthOnLinux=true
avisynthExtensionPath="/home/alex/.wine/drive_c/windows/system32/avisynthPlugins
And your avisynthPlugins folder contains the avisynthPlugins folder of the "Avisynth extension"-download and you also made sure Hybrid knows where to find avs2yuv, avsViewer, avsInfo ?

trugulum78
14th December 2015, 19:51
Exactly but mine point to /home/trugulum/.wine/drive_c/windows/syswow64/avisynthPlugins

Selur
14th December 2015, 19:58
An application has made an attemp to load vcomp.dll incorrectly
That sounds like a problem with the wine setup, got no clue what's causing it.

trugulum78
14th December 2015, 20:06
Ok, i'm going to make a test in a VM instalation.
Thanks for your time.

trugulum78
15th December 2015, 17:58
Well I have all working now,but when I open an avs file hybrid says me"Didn't find a 'Frame rate' info node! -> stream will be ignored".I used to work with x264 in cli and don't know if this is a noob question.
Have I to load specific module for that?
Thanks in advance and sorry for the massive questions.
PD: I install all with the djcj ppa (Thanks to him too)

Selur
15th December 2015, 18:18
The message normally appears if Hybrid can't find any frame rate infos with mediaInfo, avsInfo, ffmpeg, mplayer or tsMuxeR.
-> would need a debug output to give better pointers (see: http://www.selur.de/support)

trugulum78
19th December 2015, 21:07
The message normally appears if Hybrid can't find any frame rate infos with mediaInfo, avsInfo, ffmpeg, mplayer or tsMuxeR.
-> would need a debug output to give better pointers (see: http://www.selur.de/support)

Sorry for the late answer.
I made some test today and in cli with wine + avs2yuv + x264 all is working fine,but with hybrid is not working. Maybe the .exe paths?
Here is the log.
Again,thanks for your attention.

Selur
19th December 2015, 21:09
best upload the debug output somewhere else otherwise it might take a few days for a. a moderator to approve the attachment and b. me noticing that it was approved ;)

trugulum78
19th December 2015, 21:22
I uploaded it to MEGA:
https://mega.nz/#!pFIXjJ6T!46VBDx4FbbtGIJCLIh5F9-tblU71xVkJHUuWa216UUY

Selur
19th December 2015, 21:27
Problem is that:
wine "/home/trugulum/.hybrid/avsInfo.exe" "/home/trugulum/Videos/input.avs"
can't analyse the script you used as input (btw. why create an avisynth script outside of Hybrid and not let Hybrid do it for you?)

trugulum78
19th December 2015, 21:41
When I create it inside hybrid and add to jobs, I can start it,it stays waiting.
If I call my avs with avsinfo in cli it says me:
[trugulum@despacho ~]$ wine "/home/trugulum/.hybrid/avsInfo.exe" "/home/trugulum/Videos/input.avs"
err:module:import_dll Library Qt5Core.dll (which is needed by L"Z:\\home\\trugulum\\.hybrid\\avsInfo.exe") not found
err:module:import_dll Library MSVCP140.dll (which is needed by L"Z:\\home\\trugulum\\.hybrid\\avsInfo.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\trugulum\\.hybrid\\avsInfo.exe" failed, status c0000135

The script is the created by hybrid and copied from "show current script"

Selur
19th December 2015, 21:46
The avisynthExtension, package should include all the dependencies for avsInfo and avsViewer,.... (next release will probably have less dependencies, since I won't compile it with MSVC 2015)

alter4
19th December 2015, 23:34
Actually what is the purpose of Avisynth Extension? Avysynth works for me without any extensions only using usual windows installer.

Selur
20th December 2015, 07:53
extension comes with:

avsInfo, which can be used to analyse avisynth scripts
avsViewer, which can be used to preview avisynth scripts
avs2yuv, which can be used to pipe avisynth scripts to other applications as raw yuv content
AVSMeter, which can be used to benchmark scripts
all the avisynth plugins, which I'm allowed to deploy with Hybrid and which are supported through Hybrid
the avisynth.dll of Avisynth 2.6 MT

If you are using a Windows version, all these already come with the Hybrid installer, but if you are on Linux or Mac they don't since setting up wine&co for all the different distributions and mac versions is way to much trouble.
(for Debian based systems djcj created a repository, which comes with all the dependencies an has it's own installation routine, but for Mac and all other Linux distribution, getting Avisynth working isn't that easy)

Cu Selur

alter4
20th December 2015, 14:01
Thank you. Gotcha.

Selur
23rd December 2015, 19:55
Hybrid rev 2015.12.23.1:

*fixed*

general: Windows XP support, hopefully this version works better on XP
input: better handling of MakeMkv DVDs
audio: better alac support
audio: problem witht 'DEFAULT:' inside delaycut call
audio: wav -> ac3
subs: sup->idx/sub handling
cosmetics: audio profiles weren't show sometimes
input: better handling of MakeMkv DVDs

*changed*

cosmetics: Audio Tab got changed a bit
cosmetics: new Icon thanks to acely.cn
cosmetics: showing and hiding of cut
cosmetics: show avisynth script, even if the script isn't needed
x265: adjusted to new presets

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: Marry Christmas and a Happy New Year to you all!

alter4
23rd December 2015, 22:08
Marry Christmas and a Happy New Year to you, Cu Selur!
Thank you for the release.

trugulum78
23rd December 2015, 22:53
Thanks for the new version and happy new year.

Havokdan
24th December 2015, 01:25
Bsod in my Windows 10 x64, kernel security check, doesnt open.

Selur
24th December 2015, 08:09
@Havokdan: That's strange I develop under Windows 10 x64. Wouldn't know how Hybrid could trigger a blue screen other that some driver is broken due to an upgrade to Windows 10.

@all: Does anyone else have this problem on Win10 ?

Havokdan
24th December 2015, 10:14
I installed the latest version, when I click to launch the application, the window of the splash screen starts to load and gives the BSOD.

Selur
24th December 2015, 10:22
If you upgraded from an older Hybrid version, try if it helps to fully deinstall the older version before installing the current version.
Tried to reproduce this on my main system and a VM, couldn't reproduce the issue.
Normally a program shouldn't cause a blue screen, blue screens are normally either caused by hardware or driver issues.

https://neosmart.net/wiki/kernel-security-check-error/ might also be helpful, especially checking the "Check error log with Event Viewer".

Havokdan
24th December 2015, 12:55
It was a clean installation.

Selur
24th December 2015, 14:23
Clean install, may be NVEncC or QSVEncC is causing this,..
a. try if it helps to install the latest drivers for your CPU&GPU
b. try if it helps to remove QSVEncC and NVEncC from the Hybrid folder

Havokdan
24th December 2015, 15:34
option "a", always use lastest drivers, i`ll try "b"

Havokdan
24th December 2015, 18:41
Problem solved, was a problem with drivers, just don't know which, I updated with an application called driver booster and worked.

Selur
25th December 2015, 10:21
Happy that solved the problem for you.

alter4
25th December 2015, 22:28
Much water has flowed under the bridge since my last encoding, I am returned from hospital, I am alive:) and again started to reencode my phone and camera video. I couldn't help facing issue :-)
When I press avisynth preview something something strange happens but preview works.

https://dl.dropboxusercontent.com/u/7307234/bv1.jpg
https://dl.dropboxusercontent.com/u/7307234/bv2.jpg

Selur
25th December 2015, 22:34
Argh,... std::cout an std::cerr got mixed up inside the avsViewer build, will release a fixed version on sunday (visiting parents&co atm.)

alter4
25th December 2015, 22:45
Thanks, Have a nice weekend!

Selur
25th December 2015, 22:49
try this (http://www.selur.de/sites/default/files/hybrid_downloads/test/avsViewer.7z), replacing the old avsViewer build, with that version should fix the problem.

alter4
26th December 2015, 12:35
Quick fix rocks, thanks! BTW I understand what was issue
>>std::cout an std::cerr got mixed
but this thing got unexpected continuation)) It reminded me 2005 year when I was noob and used "alert()" to debug javascript, I floated on the waves of memory for a few night hours remembering that glorious time.

alter4
7th January 2016, 13:14
Played with avisynth denoise fillers to evaluate them and noticed:
1. Deathray filter doesn't work, gives avisynth error even for default settings.
2. Selecting Deen(new) leaves setting pane from previous filter.
3. NLMeansCL2 says it knows DEVICE "default", error for other dropdown values.
4. SetMTMode(5,16) formed for "MT-threads" 0 which is default option in "avisynth misc" give me freezes with fft3dfilter. I have to manually set "MT-threads" to 8 (own core i7 cpu).

Selur
7th January 2016, 19:58
No clue whats the issue with Deathray, even a simple:
LoadCPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\Deathray.dll")
# loading source: F:\TestClips&Co\test.avi
FFVideoSource("F:\TESTCL~1\test.avi",cachefile="H:\Temp\avi_0197468a3716844ade54f3f30f60eeda_491.ffindex",fpsnum=25)
# denoising
Deathray()
doesn't work anymore,... seems like something with the OpenCL support changed, some further checking showed that Virtual Dub reports:
Avisynth read error: Deathray: Copy Y to Device status=7 and OpenCL status = -36
-> will look into it over the weekend and if I can't find a solution remove DeathRay

Regarding Deen(new) -> can reproduce will fix :)
Regarding NLClMeans -> looks like a OpenCL issue, will remove the Device option
Regarding the SetMTMode setting, I know some filters have problems with CoreCount*2 threads, will probably reduce it to CoreCount threads, since I'm to lazy to try which filters have problems with it and which don't

Cu Selur

alter4
7th January 2016, 20:03
Thanks. Let's make best product even better! :)
P.S.

Noticed SetMTMode is present in formed script twice for FFT3DFilter. Don't know what it might affect. Is it as designed?

SetMemoryMax(768)
SetMTMode(5,8) # change MT mode
LoadPlugin("D:\Program Files\Hybrid\avisynthPlugins\LoadDll.dll")
LoadPlugin("D:\Program Files\Hybrid\avisynthPlugins\FFT3DFilter.dll")
LoadDll("D:\Program Files\Hybrid\avisynthPlugins\fftw3.dll")
LoadDll("D:\Program Files\Hybrid\avisynthPlugins\libfftw3f-3.dll")
LoadCPlugin("D:\Program Files\Hybrid\avisynthPlugins\ffms2.dll")
# loading source: D:\PHOTO_RAW\Video\DSCF2169.MOV
FFVideoSource("D:\PHOTO_~1\Video\DSCF2169.MOV",cachefile="F:\temp\mov_72d7b15367ff44c3462c9a39f1153e70_491.ffindex")
# denoising
SetMTMode(2) # change MT mode
FFT3DFilter(interlaced=false)
distributor()
return last

Selur
7th January 2016, 20:22
Noticed SetMTMode is present in formed script twice for FFT3DFilter. Don't know what it might affect. Is it as designed?
Yes, that is as intended, btw. it might also help to disable the distributor
1st SetMTMode always has two parameters MT-Mode and Thread count,
all following SetMTMode calls will only change the MT-Mode (Thread count can't be changed after the first call, see: http://avisynth.nl/index.php/MT)
(I sometimes have scripts where the mode gets changed a lot more, 5-6 times ;))

alter4
7th January 2016, 20:44
Disable distributor helps, but speed is lower than with simple SetMTMode(5,8).
Also noticed "warn if config changed" option doesn't watch (at least) for changing x265 profiles and and avysynth misc tab.

Selur
7th January 2016, 20:46
Also noticed "warn if config changed" option doesn't watch (at least) for changing x265 profiles and and avysynth misc tab.
will look into it over the weekend

alter4
7th January 2016, 20:49
Actually what distributor() does? Quick search doesn't help me to understand. Is it something like join point for threads?

Selur
7th January 2016, 20:54
Some applications need distributor() to fully use the MT modes, others might slow down since the thread count might be multiplied by itself so instead of 8, 8*8 threads would be used. :)

Selur
7th January 2016, 21:33
Also noticed "warn if config changed" option doesn't watch (at least) for changing x265 profiles and and avysynth misc tab.
Read the tool-tip:
Warn if Config changed:
When enabled Hybrid will compare the current Config-settings with the Config-settings in the defaults and warn if they differ.
-> this option only warns if the Config-settings changed, settings inside any other tab will not produce a warning. ;)

alter4
8th January 2016, 18:54
Read the tool-tip:

-> this option only warns if the Config-settings changed, settings inside any other tab will not produce a warning. ;)
The issue has been closed "as designed" :D. BTW you might accept enhancement request for the future.

Selur
9th January 2016, 11:39
@alter4: regarding Deathray(), might be a OpenCL problem with the drivers you use, see: https://forum.doom9.org/showthread.php?p=1752535#post1752535

Cu Selur

x265
9th January 2016, 13:37
This is a really good software. Thank you selur for creating this app.

DJ-1
16th January 2016, 17:43
@selur
sorry if u did recieve PMs, nothing was showing in my sent box, so was unsure...



Hi, I think i may have bad dvd source so didnt wanna post in thread before checking..

my goal is to have untouched video (just split) + source audio + any manually added chapters (.ogg chapters) in an .MP4 container.

I have tv-show DVDs and commonly theyre all joined together.
so, i have the demuxed dvd & used cuttermaran to chop into into seperate clips etc. (I know u recomended projectx, but i cant get on with it at all, much prefer cuttermaran for my needs).

both of the .mpg from cuttermaran play perfectly ok.

so i go to hybrid to remux in to a .mp4 + add the chapters.ogg
video=passthrough
audio=passthrough

.....with one source the job finishes ok, but result is video=double length & audio playback speed is normal.

and the other source from a different dvd entirely is fine playback speed audio/video is ok...

the only way i found to get the problematic one to playback ok is to passthrough audio and x264 crf the video...then its ok.

i upload both debugs (if that`ll tell anything bout source) and the short 30sec output clips.

i appreciate it mabe a source prob and not hybrid one, thats y i pm`d an didnt post in forum... but confusing thing is the .mpg cuts are fine.


slow video playback .mp4= https://www.dropbox.com/s/c6015f3tchl0bar/BAD%20VTS_02_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.mp4?dl=0
debug= https://www.dropbox.com/s/qkjift0c4ok9iuw/BAD%20VTS_02_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.txt?dl=0

for comparison

successfull.mp4= https://www.dropbox.com/s/nf38lcfjdf1zipp/GOOD%20VTS_01_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.mp4?dl=0
debug= https://www.dropbox.com/s/2snyo7gbf3h8892/GOOD%20VTS_01_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.txt?dl=0

is there a prob with the mpeg2 ?

many thanks.

Selur
16th January 2016, 18:34
just got home, got a bunch of PMs.
Before I look more into it, update the mkvtoolnix files inside Hybrid and try if that already fixes the problem.

o i go to hybrid to remux in to a .mp4 + add the chapters.ogg
video=passthrough
audio=passthrough

might be a problem with MP4Box&Mpeg-2,... never tried to multiplex mpeg2 inside an mp4 container. :)

Muxing call looks fine:
MP4Box -par 1=16:15 -add "K:\ENCODES\Hybrid\Temp\15_28_49_7610_05.m2v"#video:fps=25 -add "K:\ENCODES\Hybrid\Temp\iId_1_aid_128_DELAY_20ms_15_28_49_7610_02.ac3"#audio:lang=:delay=20 -chap "K:\ENCODES\Hybrid\Temp\15_28_49_7610__06.chp" -itags tool="COMPANY NAME" -tmp "K:\ENCODES\Hybrid\Temp" -new "K:\ENCODES\Hybrid\15_28_49_7610__07.mp4"
Video extraction call looks fine:
"C:\PROGRA~1\Hybrid\mplayer_64.exe" -nosound -dumpvideo -dumpfile "K:\ENCODES\Hybrid\Temp\15_28_49_7610_05.m2v" "K:\SOURCE\Cuttermaran\BAD VTS_02_1 - 0xE0 - Video - MPEG-2 - 720x576 (PAL) - 4~3_cut.mpg"
Audio extraction call looks fine too:
"C:\PROGRA~1\Hybrid\mplayer_64.exe" -v -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 128 -dumpaudio -dumpfile "K:\ENCODES\Hybrid\Temp\iId_1_aid_128_DELAY_20ms_15_28_49_7610_01.ac3" "K:\SOURCE\Cuttermaran\BAD VTS_02_1 - 0xE0 - Video - MPEG-2 - 720x576 (PAL) - 4~3_cut.mpg"


-> try if it changes anything if you disable Audio->Misc->Handling->Auto fix for mp4 or enable Config->Output->Container Settings->Mp4 Settings->FFmpeg instead of MP4Box

DJ-1
16th January 2016, 19:41
just got home, got a bunch of PMs.
Before I look more into it, update the mkvtoolnix files inside Hybrid and try if that already fixes the problem.


might be a problem with MP4Box&Mpeg-2,... never tried to multiplex mpeg2 inside an mp4 container. :)

Muxing call looks fine:
MP4Box -par 1=16:15 -add "K:\ENCODES\Hybrid\Temp\15_28_49_7610_05.m2v"#video:fps=25 -add "K:\ENCODES\Hybrid\Temp\iId_1_aid_128_DELAY_20ms_15_28_49_7610_02.ac3"#audio:lang=:delay=20 -chap "K:\ENCODES\Hybrid\Temp\15_28_49_7610__06.chp" -itags tool="COMPANY NAME" -tmp "K:\ENCODES\Hybrid\Temp" -new "K:\ENCODES\Hybrid\15_28_49_7610__07.mp4"
Video extraction call looks fine:
"C:\PROGRA~1\Hybrid\mplayer_64.exe" -nosound -dumpvideo -dumpfile "K:\ENCODES\Hybrid\Temp\15_28_49_7610_05.m2v" "K:\SOURCE\Cuttermaran\BAD VTS_02_1 - 0xE0 - Video - MPEG-2 - 720x576 (PAL) - 4~3_cut.mpg"
Audio extraction call looks fine too:
"C:\PROGRA~1\Hybrid\mplayer_64.exe" -v -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 128 -dumpaudio -dumpfile "K:\ENCODES\Hybrid\Temp\iId_1_aid_128_DELAY_20ms_15_28_49_7610_01.ac3" "K:\SOURCE\Cuttermaran\BAD VTS_02_1 - 0xE0 - Video - MPEG-2 - 720x576 (PAL) - 4~3_cut.mpg"


-> try if it changes anything if you disable Audio->Misc->Handling->Auto fix for mp4 or enable Config->Output->Container Settings->Mp4 Settings->FFmpeg instead of MP4Box

OK, sorry about the PMs, even now my profile shows me never sending you anything today[emoji33]

Apparently mpeg2 is fine in. Mp4 https://en.m.wikipedia.org/wiki/Comparison_of_video_container_formats
(I did see it somewhere else also, cant remember where now).

I'll have a look for some toolkix stuff(assume from the toolkix site?)

I did also try to mux via yamb & MP4BOX GUI & both fail ( yamb complains about the audio stream)... But hybrid does actually Finnish the job..

Would it help if I also send the cut .mpg file?

Cheers.

Sent from my LG-H815 using Tapatalk

Selur
16th January 2016, 19:44
mkvtoolnix would only help if the output was mkv. :)
Try muxing with ffmpeg.
Sample would help, if you can reproduce the issue with that sample.

DJ-1
16th January 2016, 19:58
Yeah the .mpg samples IS the input file I used with hybrid, when I get back home I'll post link.... And will try n get a chance to try ffmpeg

Sent from my LG-H815 using Tapatalk

DJ-1
16th January 2016, 22:48
2 source .mpg files used were
the problematic 1 https://www.dropbox.com/s/0avsna1adtg7krw/BAD%20VTS_02_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.mpg?dl=0

the 1 that was ok https://www.dropbox.com/s/lxr1kqeon1ssk07/GOOD%20VTS_01_1%20-%200xE0%20-%20Video%20-%20MPEG-2%20-%20720x576%20%28PAL%29%20-%204~3_cut.mpg?dl=0

DJ-1
16th January 2016, 23:02
ok, so the option `disable Audio->Misc->Handling->Auto fix for mp4` made no difference

then with no chapters added yet
vid=passthu
audio=passthru
Audio->Misc->Handling->Auto fix for mp4 `enabled` (default) + `use ffmpeg instead of mp4box` Enabled... audio and video playback fine.

preffer ffmpeg= https://www.dropbox.com/s/bq556y71ym07fnu/preffer%20ffmpeg%20enabled.mp4?dl=0
dbug= https://www.dropbox.com/s/jhwrlsnvajezssm/preffer%20ffmpeg%20enabled.txt?dl=0

however, when i add chapters to the job using ffmpeg hybrid finnishes the job ok, but i get no output file at all.

i assume ffmpeg doesnt like muxing the chapters..

DJ-1
18th January 2016, 08:47
however, when i add chapters to the job using ffmpeg hybrid finnishes the job ok, but i get no output file at all.

i assume ffmpeg doesnt like muxing the chapters..

... Also, would it help if I post this debug of getting no output file?

Thanks.

Selur
18th January 2016, 19:10
Also, would it help if I post this debug of getting no output file?
Yes, but iirc ffmpeg doesn't support adding chapters to mp4, but Hybrid should still create an output file.

Strange thing is I had no problem remuxing both your mp4 files (I renamed them to 'can't remux to mp4.mpg' and 'can remux to mp4.mpg') without a problem using the normal settings (just set Audio&Video to passthrough)

DJ-1
18th January 2016, 22:02
ok, here ya go

audio vid passthru
ffmpeg instead of mp4box in out put contaner setting enabled

https://www.dropbox.com/s/6ak32izyx62mt7m/no%20output%20file%20with%20chapters%20added%20debug.txt?dl=0

ta

DJ-1
18th January 2016, 22:32
ok, the other windows setup i have is my server...
completely clean os... whs 2011

original .mpg to mp4 (freshesh hybrid instal all defaults, exept PATH settings)

passthru audio vid
same original result = video doubles in duration and audio is ok
debug https://www.dropbox.com/s/nvhwof9o79hauh5/WHS%202011%20default.txt?dl=0

with preffer ffmpg to mp4box setting enabled
same = no output file, hybrid does finnish job though
debug https://www.dropbox.com/s/uaz9hs3rtz9g02g/WHS%202011%20ffmpeg%20instead%20of%20mp4box%20enabled.txt?dl=0

DJ-1
18th January 2016, 22:36
Yes, but iirc ffmpeg doesn't support adding chapters to mp4, but Hybrid should still create an output file.

Strange thing is I had no problem remuxing both your mp4 files (I renamed them to 'can't remux to mp4.mpg' and 'can remux to mp4.mpg') without a problem using the normal settings (just set Audio&Video to passthrough)

hmmm ok, that explain y if ffmpg doesnt do chapter .mp4 muxing, although i didnt know until u said,

so, when you remux my cant.mpg to cant .mp4 with defaults you get normal audio / video duration? approx 32secs ?

thanks.

Selur
19th January 2016, 06:48
so, when you remux my cant.mpg to cant .mp4 with defaults you get normal audio / video duration? approx 32secs ?
Not unless I set Muxing->Overwrite Frame rate to 50fps (instead of 25). -> you can do that as a workaround (no clue why it is needed for this source and not the other)

Muxing call for ffmpeg seems fine, but from the looks of it I guess the problem might be with the chapters,...
"C:\PROGRA~1\Hybrid\ffmpeg.exe" -y -itsoffset -00:00:00.020 -i "F:\ServerFolders\Videos\21_22_58_1210_05.m2v" -i "F:\ServerFolders\Videos\21_22_58_1210__06.chp" -map_chapters 1 -i "F:\ServerFolders\Videos\iId_3_aid_128_DELAY_20ms_21_22_58_1210_02.ac3" -vcodec copy -acodec copy -aspect 133375:100000 -metadata handler_name="COMPANY NAME" -r 25 "F:\ServerFolders\Videos\hybrid\cant remux_new.mp4"
-> will investigate some more

DJ-1
19th January 2016, 07:56
Ok... Was why I tried from a different setup also to make sure my results were consistent.
Will try the other setting later..
Cheers.

Sent from my LG-H815 using Tapatalk

DJ-1
19th January 2016, 23:07
if theyre of any help here are the ogg chapter files
https://www.dropbox.com/s/7byec16rjaw4lu5/cant%20remux.txt?dl=0
https://www.dropbox.com/s/t2j4l612wbr3eyd/can%20remux.txt?dl=0


forgive me for being either blind, dumb, or just tired but i dont see a Muxing Tab anywhere, only thing i see is filtering>speed change stuff
:thanks:

cheers.

Selur
20th January 2016, 06:25
Muxing tab is only available if video handling is set to passthrough,...

DJ-1
20th January 2016, 08:33
Yeah its what I was doing, had a quick look this morning before I left
All defaults
https://www.dropbox.com/s/9m2uxen3s88a6ag/20160120_061203.jpg?dl=0




Sent from my LG G4 via tapatalk

Selur
21st January 2016, 06:14
Ah, thats a bug I fixed while ago. (the muxing tab not showing)

DJ-1
22nd January 2016, 20:43
Ah, thats a bug I fixed while ago. (the muxing tab not showing)

ok, got the test version. muxing tab now showing.

just to confirm the only setting used is muxing>framerate=50fps & faultless playback, will use this as and when needed if i come across any more like that.
output https://www.dropbox.com/s/uyxedvi5j5qpu55/cant%20remux%20workaround.mp4?dl=0
debug https://www.dropbox.com/s/byj7zc4xc44kne1/cant%20remux%20workaround.txt?dl=0


thanks.

Selur
22nd January 2016, 20:44
If you stumble more often over this, try if you see some common thing those mpeg files have. Haven't seen anything that seems to be the cause of the problem. :/

DJ-1
22nd January 2016, 20:47
ok, out of curiosity i may try with an .mkv output and see what happens....

cheers.

Andy o
31st January 2016, 04:07
Hi, I'm trying out Hybrid, and I have a few questions regarding audio handling.

1. Is there a way to extract the DTS core from a DTS-HD source (blu-ray) without reencoding, and mux it to the output (I'm guessing no but asking just in case)?

2. I'm not sure if I'm doing something wrong on this. AAC encoding is taking a VERY long time. Source is the aforementioned 5.1 DTS-HD movie (about 1h40m worth). This is the relevant bit:
Starting Main@18:33:51.784:
"C:\PROGRA~1\Hybrid\ffmpeg.exe" -y -threads 8 -sample_fmt s32 -f sox -i - -c:a aac -strict -2 -b:a 1280k -ac 6 -ar 48000 "C:\Users\Andy\AppData\Local\Temp\iId_8_aid_4352_lang_eng_DELAY_-43ms_18_21_14_2710_02.aac"

As you can see the audio encoding from dts-aac started at 18:33. It is now 19:03 and it's only at 42%. It seems amazingly slow for audio encoding. I am on a desktop Core i7-4770 8GB 2133 RAM with a GTX 960.

3. Is the encoding being done from the lossless DTS-HD source, or from the DTS core meaning lossy-lossy transcoding?

Thanks for any guidance on this.

Selur
31st January 2016, 07:26
regarding 1.: enable "Audio->Misc->Handling->Automatic DTS-HD to DTS" before adding the audio jobs to the queue
regarding 2.: The call looks fine, but it's just the encoding call, without the decoding and filtering. Would need a debug output to say more.
regarding 3.: Probably the DTS-HD stream, but I would need to see a debug output of the processing or at least:
a. the audio extraction call
and
b. the audio decoding call which is used to feed the audio filtering call
to know for sure.
To be clear, I agree that it seems rather long.
(also ffmpeg is probably the worst and slowest aac encoder supported by Hybrid; read *hidden* Hybrid options,... (http://forum.selur.de/topic33-hidden-hybrid-options.html)->Additional aac encoders )
Also, why would you select such a high bitrate 1280k? Seems like a waste; 213 k per Channel, normally a total bitrate of ~320kbit/s for the whole aac stream should be fine.

Cu Selur

locotus
4th February 2016, 17:59
Hi Selur, just installed last version, 2015.12.23.1, and seems
that there is a regression in windows vista support.

Selur
4th February 2016, 18:01
will look into it,...

Selur
4th February 2016, 18:37
From the looks of it seems like I missed to include msvcp100.dll, other than that it seems to work fine, or are you having any other problems?

locotus
4th February 2016, 20:30
From the looks of it seems like I missed to include msvcp100.dll, other than that it seems to work fine, or are you having any other problems?

Oh, yes. Is crashing before opening. Giving this message
X265 message:

The procedure entry point GetNumaNodeProcessoMaskEx could not be located in dynamic link library KERNELL32.dll

Then windows report x265.exe stopped working.

And finally Hybrid didn't get to start.

locotus
4th February 2016, 20:34
Sorry, miss this one that was behing the other error window:

GetTool version got an emppty output for X265.
The cause maybe that X265 could not be found.
Please redo with debug output....

Selur
4th February 2016, 20:34
Ah, I added a x265 version with numa support. -> try whether the x265 version from my GoogleDrive (https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing) resolves that.

locotus
4th February 2016, 21:02
Thanks Selur, that file solve the issue.

DJ-1
6th February 2016, 16:40
Hi, on some sources i get a video 1st pass crash...

video - x264 (default profile, also does it with crf set )
audio - passthrough all
All other Hybrid setting are default...

1st i used the installer version Hybrid v2015.12.23.1

source (if helpfull.(its a cut of the source as source was 1GB)) - https://www.dropbox.com/s/5e4trzriehasch3/2-4_cut.mpg?dl=0

Debug - https://www.dropbox.com/s/0yhejvo5ipgdyi8/Hybrid%20v2015.12.23.1.txt?dl=0



I also tried the test version you sent a while back, Hybrid v2016.01.17.1

debug - https://www.dropbox.com/s/26df52l0cmehn7d/Hybrid%202016.01.17.1.txt?dl=0

..both debugs show crashed:ERROR: K:\ENCODES\Hybrid\Temp\2-4_cut_15_15_51_8010_07.stats was not created! at start of the 1st pass x264

...also, if i rey x264 crf mode its a different crash.
debug - https://www.dropbox.com/s/uzflb1f25rc8njo/HybridDebugOutput%20%20crf.txt?dl=0
crashed:ERROR: K:\ENCODES\Hybrid\Temp\15_45_12_9610_07.264 is too small! (byteSize: 0byte)


Thanks.

Selur
6th February 2016, 16:55
Encoding call looks fine:
"C:\PROGRA~1\Hybrid\mencoder.exe" -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_15_15_51_8010.avs" | "C:\PROGRA~1\Hybrid\x264.exe" --preset superfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --qcomp 0.5 --aq-mode 0 --sar 16:15 --non-deterministic --range tv --stats "K:\ENCODES\Hybrid\Temp\2-4_cut_15_15_51_8010_07.stats" --input-csp i420 --fps 25 --input-res 720x576 --output NUL -
Avisynth script looks fine too:
SetMemoryMax(768)
SetMTMode(2,8) # change MT mode
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\LoadDll.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\DGDecode.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\AddGrainC.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\dfttest.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\DirectShowSource.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\EEDI2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\eedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\FFT3DFilter.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\mt_masktools-26.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\SSE2Tools.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\TDeint.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\RepairSSE2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll")
LoadCPlugin("C:\Program Files\Hybrid\avisynthPlugins\yadif.dll")
LoadDll("C:\Program Files\Hybrid\avisynthPlugins\fftw3.dll")
LoadDll("C:\Program Files\Hybrid\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\avisynthPlugins\QTGMC-3.33.avsi")
# loading source: K:\SOURCE\Cuttermaran\2-4_cut.mpg
MPEG2Source(d2v="K:\ENCODES\Hybrid\Temp\15_15_51_8010.d2v")
# deinterlacing
AssumeTFF()
QTGMC(Preset="Fast", ediThreads=4)
SelectEven()
# filtering
return last

Does the avisynth preview work fine? Try if it helps to lower the number of ediThreads.

DJ-1
6th February 2016, 17:16
hi, yeah although on defaults i for that `filtering/deinterlace` defaults on Auto..

new test version= both encode fine...
x264 2pass debug - https://www.dropbox.com/s/w5ci9acwof66q9b/2016.02.06.1%20test%20v.HybridDebugOutput%20x264%202pass.txt?dl=0

x264 crf - https://www.dropbox.com/s/dpixdwkmweipn3v/2016.02.06.1%20test%20v.HybridDebugOutput%20x264%20crf.txt?dl=0

on startup it says about disabled avisynth support due to version differences..

Selur
6th February 2016, 17:18
on startup it says about disabled avisynth support due to version differences..
That means avisynth and thus QTGMC isn't used.
Did you copy the content of the avisynthPlugins folder into your avisynthPlugins folder?

DJ-1
6th February 2016, 17:40
no, didnt do anything with that avisynthplugins folder, its auto created upon install of hybrid, i just hit `reset defaults` when instal hybrid

just tried the older v2015.12.23.1 from the win installer,
it shows avisynth avs preview error "unable to load "....Hybrid/avisynthPlugins/eedi3.dll, module not found.

but eedi3.dll is in there..

Selur
6th February 2016, 18:03
Try:
1. deinstall Hybrid completely
2. install Hybrid
3. extract the test version I send you.
other than that, no clue, may be some missing runtime dll

DJ-1
6th February 2016, 19:11
Ok...completely uninstalled...re_installed from latest installer. Copied the test version you sent today (deleted the other 1 by mistake).

When launching the test version, Hybrid say avisynth extension detected is older than version expected...
Therefore i get no avisynth stuff listed in filtering/deint.., so i dont get that preview button.

(other option, "filter preview" woeks thoughh)

Sent from my LG-H815 using Tapatalk

Selur
6th February 2016, 19:15
Something is off, the Testversion I send you included:
a. a new Hybrid.exe
b. some updates for the avisynthPlugins-folder (one of them an updated version.txt)
-> did you by chance not extract the updates for the avisynthPlugins-folder ?

DJ-1
6th February 2016, 19:17
One msg was titled 'wrong os'(it had linux stuff in it, so ignored as i thought it was a mistake msg)... The other msg has only the hybrid binary. I only took the one with the binary.

I'll look at the other msg later and get the other stuff from it

Sent from my LG-H815 using Tapatalk

Selur
6th February 2016, 19:24
Now you mixed things up,.. the first one not titled 'wrong os' was a link to a linux version, and the second (titled 'wrong os' <- as note that I messed up with the first pm) one points to the current windows dev version. (just checked)

DJ-1
6th February 2016, 19:29
Lol...ok crossed wires, the windows test version i had earlier only had binary, nothing else if i remember right...will check..

Doh!..sorry extracted it on desktop when i got it, must have missed the extra folder[emoji20]

Sent from my LG-H815 using Tapatalk

DJ-1
6th February 2016, 21:27
ok, so i copied those few bit into avisynthPlugins folder in hybrid install DIR, i get the same thing of not being able to find eedi3 module...

thanks.

edit: theres a few bits that popup, about preview script valid, colourspace etc..

debug - https://www.dropbox.com/s/o64puj629jiap14/HybridDebugOutput%20avs%20errors.txt?dl=0

Selur
7th February 2016, 15:25
Looking at http://avisynth.nl/index.php/Eedi3 eedi3 needs the VS 2013 runtime, but normally the avisynthPlugins folder should contain the required files.
-> try if it helps to install the runtime, may be there is still some file missing.

DJ-1
8th February 2016, 21:42
hmmm, just installed both 32bit & 64bit versions of the 2013 Runtime, with exact same results

DJ-1
10th February 2016, 22:39
Hi, ok so i got it working now. It was M S Visual C...2012 Update 4 (i had 2012, but not the update 4 ).

just to confirm, same process and source etc.
Latest test version.
success:D
debug - https://www.dropbox.com/s/78y4sij4t42pit8/Success%20HybridDebugOutput.txt?dl=0


in also a debug of me just an avisynth-preview with QTGMC, it works, no eedi3 issues, but does throw up other preview errors..

https://www.dropbox.com/s/w8xovmzcj6uj4zq/preview%20error%20HybridDebugOutput.txt?dl=0

dont know how important they are?

thanks.

Selur
11th February 2016, 05:32
That's my mistake, those are not really errors, I accidentally send some output to std error instead of std output, you can exchange avsViewer with the verison from http://forum.selur.de/post11001.html#p11001 to fix that.

DJ-1
12th February 2016, 19:37
thanks.

DJ-1
13th February 2016, 11:01
Hi, Im looking at using QTGMC at running a test clip to compare results....
I need to resize too, but from what i can tell one of the best ones is either nnedi2 or nnedi3 (primaraly for deinterlacing, but can also do v good resizing upto power of 2).
Can hybrid use those methods to resize?, not listed under the 'crop-resize' tab.

Thansks.


Sent from my LG-H815 using Tapatalk

Selur
13th February 2016, 11:05
Special settings regarding Avisynth resizers are listed under: Filtering->Avisynth->Line->Resizer (last option is NNEDI3Resize)

DJ-1
13th February 2016, 11:14
Ok, and i assume i need to have 'allways use avisynth'?..these would automatically override any default listed options under the regular 'crop_resize' tab then?

Cheers.

Sent from my LG-H815 using Tapatalk

Selur
13th February 2016, 11:16
Yes, if "always use avisynth" is enabled and you enable the Resizer-option, it will always overwrite the resizer selection inside the Crop/Resize-tab.

Music Fan
13th February 2016, 12:10
Hi selur,
I have a question from someone who asked me how to join 2 chaptered mp4 files and keep chapters (and eventually change the container to get MKV, which is more common). Yamb and FFmpeg don't seem to be able to do this (or we didn't find how) thus I suggested him to try with Hybrid. But before to install it, he would like to know if Hybrid can do it. And as I don't have any chaptered mp4, I can't test myself.
The only thing he can do is to collect the chapters timecodes with FFmpeg and this command ;
ffmpeg -i input_video -f ffmetadata metadata.txt
And it looks like this ;
[CHAPTER]
TIMEBASE=1/2997
START=0
END=1022098
title=Beginning
[CHAPTER]
TIMEBASE=1/2997
START=1022098
END=1922698
title=Chapter 1
[CHAPTER]
TIMEBASE=1/2997
START=1922698
END=2861697
title=Chapter 2
[CHAPTER]
TIMEBASE=1/2997
START=2861697
END=3800696
title=Chapter 3
[CHAPTER]
TIMEBASE=1/2997
START=3800696
END=4833195
title=Chapter 4

Is there a way to convert it in MKV chapters format (or joining the 2 videos leaving it in mp4) without re-encoding with Hybrid ?
Thanks ;)

Selur
13th February 2016, 12:21
Hybrid can remux mp4 to mkv without any problems (and keep the chapters).
Hybrid can't merge two files.
But it's probably easier to use mkvmerge gui directly, iirc. mkvmerges append supports to append input mp4s and keep and append their chapters. (long time since I did something like that, but as far as I remember it should work)

Looking at the chapter format, I think Hybrid doesn't support the timebase parameter in the chapter format. (but if you have an mp4 file with chapters Hybrid can import that and convert it to mkv)

Selur
13th February 2016, 12:57
Hybrid rev 2016.02.13.1:

*fixed*

qsvenc: problem reading the features from latest qsvenv properly (Windows only)
timecode: don't set UTF-8 BOM in time code files, for compatibility
handling: frame rate adjustments not always kept during batch processing

*changed*

decode: prefer ffmpeg when output is forced to cfr
cuda: added support for some additional cards

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: Dropped, Linux Qt 4.8 support since even my old Ubuntu 12.04 support Qt5 nowadays. If someone needs Qt4 build contact me the forum.

DJ-1
13th February 2016, 13:31
Hybrid rev 2016.02.13.1:

*fixed*

qsvenc: problem reading the features from latest qsvenv properly (Windows only)
timecode: don't set UTF-8 BOM in time code files, for compatibility
handling: frame rate adjustments not always kept during batch processing

*changed*

decode: prefer ffmpeg when output is forced to cfr
cuda: added support for some additional cards

-> downloads: http://www.selur.de/downloads

Cu Selur

Ps.: Dropped, Linux Qt 4.8 support since even my old Ubuntu 12.04 support Qt5 nowadays. If someone needs Qt4 build contact me the forum.

`not found` when trying to get the latest Windows installer..

Selur
13th February 2016, 13:35
fixed, the typo in the url :)

DJ-1
13th February 2016, 13:56
fixed, the typo in the url :)

thanks,
just installed, resetting defaults aswell and i get msg with avisynth prewiew Avisynth preview error: Script error: MDegrain1 does not have a named argument "lsb"

i did try the other avsveiwer you linked me to a few days ago but with the same result.

https://www.dropbox.com/s/ps323wcu4xjkp8x/HybridDebugOutput.txt?dl=0


:thanks:

edit: QTGMC selected when previewing, other avisynth previews seem ok.

Selur
13th February 2016, 14:00
Argh, forgot to update the MVTools version, try if using the mvtools version from http://forum.doom9.org/showpost.php?p=1386559&postcount=3 helps.

DJ-1
13th February 2016, 14:22
Argh, forgot to update the MVTools version, try if using the mvtools version from http://forum.doom9.org/showpost.php?p=1386559&postcount=3 helps.

yeah i got > MVTools 2.6.0.5 < from that post, copied both the mvtools2 & avstp.dll files into avisynthPlugins DIR and is working ok now..

https://www.dropbox.com/s/ps323wcu4xjkp8x/HybridDebugOutput.txt?dl=0

I do still have the `alternate` avsViewer in place (originally thought may have been that) but i assume you updated that with the installer anyhow..

:thanks:

Selur
13th February 2016, 14:25
Yes, the installer should contain the newer avsViewer (I also re-uploaded the installer to make sure it now also contains the 2.6.0.5 mvtools version)

DJ-1
13th February 2016, 14:28
:thanks:

Music Fan
13th February 2016, 20:23
Hybrid can remux mp4 to mkv without any problems (and keep the chapters).
Hybrid can't merge two files.
But it's probably easier to use mkvmerge gui directly, iirc. mkvmerges append supports to append input mp4s and keep and append their chapters. (long time since I did something like that, but as far as I remember it should work)
Thanks, I transmit the message.

Looking at the chapter format, I think Hybrid doesn't support the timebase parameter in the chapter format. (but if you have an mp4 file with chapters Hybrid can import that and convert it to mkv)
Do you mean that the mp4 chapters won't be kept because of the timebase parameter or they will be kept but without this parameter ?

Selur
13th February 2016, 20:42
Not totally sure what will happen since I don't have the importing code inside my head (long time that I wrote it). :)
-> best test what will happen if you load such a chapter file into Hybrid

Jamaika
14th February 2016, 13:11
Hi Selur
How you can use the vpxenc? Command not working.

Selur
14th February 2016, 13:24
Nope, seems to be broken, reported it to: https://bugs.chromium.org/p/webm/issues/detail?id=1149

Music Fan
14th February 2016, 14:59
Thanks Jamaika but I don't understand everything in your post, could you explain a little bit more each command and the utility of this process compared to the use of MKVmerge, as suggest by Selur ?

Selur
14th February 2016, 16:45
@Jamaika: uploaded a vpxenc version to my GoogleDrive (https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing) which fixes the issue by not including vp10 to the build.

Jamaika
14th February 2016, 17:08
Thanks
Thanks Jamaika but I don't understand everything in your post, could you explain a little bit more each command and the utility of this process compared to the use of MKVmerge, as suggest by Selur ?
File 'ffmetadata' isn't tolerated by mkvmerge. You want to join two mp4 container. Chapters reportedly connect automatically.
MP4box.exe -new -info -dref* -fps __.___** v0.5.2+1228
-add "video_1.h265:group=1" -add "audio_1.aac:group=1"*** -add "subtitle_1.srt:group=1"**** -add "chapter_ogg_1.txt:group=1"****
-catx "video_2.h265:group=2 +audio_2.aac:group=2 +subtitle_2.srt:group=2 +chapter_ogg_2.txt:group=2" -catx "video_3.h265:group=3 +audio_3.aac:group=3 +subtitle_3.srt:group=3 +chapter_ogg_3.txt:group=3" "joinedfile.mp4"

MKVmerge.exe --default-duration 0:__.___p --cues 0:iframes v8.8.0
( video_1.h265 video_2.h265 video_3.h265 )* --aac-is-sbr 0:1 ( audio_1.aac audio_2.aac audio_3.aac )*
( subtitle_1.srt subtitle_2.srt subtitle_3.srt )*** --chapters ( chapter_ogg_1.txt chapter_ogg_2.txt chapter_ogg_3.txt )*** --track-order 0:0,1:0,2:0 -o joinedfile.mkv
* don't copy metadata with all 'add'
** framerate mode is always variable :mad:
*** don't join conteiner ac3
**** bad join subtitles, chapters group and convert to ttxt

* don't merge '+' track video and audio. Your video stalls.
** don't join conteiner ac3
*** bad join subtitles, chapters
PS: Join only containers mp4 & mkv !!!
I don't know how joing files using ffmpeg.

Music Fan
14th February 2016, 17:47
Thanks but I still don't really understand your message, and your 2 messages contain different informations, it's quite confusing.
But I guess your last code allows to join mp4 keeping and appending their chapters.

alter4
14th February 2016, 22:17
uploaded a vpxenc version to my GoogleDrive (https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing) which fixes the issue by not including vp10 to the build.

IMHO it's good idea to place such links somewhere in the download page near the hybrid download link to allow guys who potentially could face the same issue immediately get cure.

Selur
15th February 2016, 05:49
I uploaded a fixed installer without a version update. ;)

Jamaika
15th February 2016, 07:56
Hi Selur
Do you know what is the function 'lag-in-frame'? When used 'end-used=q, cq-level=47, target-bitrate=0' doesn't matter which has a value. When used bitrate=10000kbps image is fatal to the 'lag-in-frame=1'.

DJ-1
15th February 2016, 13:44
Hi, I've got some old UK (BBC) PAL TV Dvds. The source i have is from a show shot on video, with analogue ghosting around outlines (people heads and edges in general). I know its not field blended ir anything like that, just not a great source...

Its being QTGMC, and avisynth resized (nnedi3).
Is there a good way to combat the ghosting effect...if at all?

Thanks.

Sent from my LG-H815 using Tapatalk

Selur
15th February 2016, 17:58
@DJ-1:
if the source was NTSC, sRestore is probably worth a try, other than that avisynth got some deghosting (http://avisynth.nl/index.php/External_filters#Ghost_Removal) filters, but I have non-experience with them and if you want to use them you would need to add them in the custom section.

@Jamaika:
When used 'end-used=q, cq-level=47, target-bitrate=0' doesn't matter which has a value.
Here's what I wrote in the tool-tip:
Max frams to lag:
The parameter defines an upper limit on the number of frames into the future that the encoder can look.

If set, this value allows the encoder to consume a number of input frames before producing output frames. This allows the encoder to base decisions for the current frame on future frames. This does increase the latency of the encoding pipeline, so it is not appropriate in all situations (ex: realtime encoding).
Note that this is a maximum value -- the encoder may produce frames sooner than the given limit. Set this value to 0 to disable this feature.
in x264&x265 this is the frame lookahead.


When used 'end-used=q, cq-level=47, target-bitrate=0' doesn't matter which has a value.
Yes target-bitrate doesn't matter when constant quantizer is used,... no surprise there.

DJ-1
15th February 2016, 18:46
@DJ-1:
if the source was NTSC, sRestore is probably worth a try, other than that avisynth got some deghosting (http://avisynth.nl/index.php/External_filters#Ghost_Removal) filters, but I have non-experience with them and if you want to use them you would need to add them in the custom section.
Awesome...
PAL source, Ghostbuster seems to be the one, was also rebuilt looking at the last post in http://forum.doom9.org/showthread.php?t=35339

Would that by default work with hybrid...
I have no idea 'what' im putting in the custom code part though

Cheers.

Sent from my LG-H815 using Tapatalk

Selur
15th February 2016, 19:01
Would that by default work with hybrid...
No since Hybrid doesn't support the filter by default, so there is no button to enable it. :)

I have no idea 'what im putting in the custom code part though
You would:
0. copy the filter dll into the Hybrid avisynthPlugins folder
1. enable "Filtering->Avisynth->Custom->Add custom content before" and select the part where the call should appear inside the script (you probably want it before resizing)
2. add

LoadPlugin("PATH TO \Hybrid\avisynthPlugins\Ghostbuster.dll")
ConvertToYUY2() # to convert to YUY2, since the filter only supports YUY2
Ghostbuster(0, 10) # no clue what are good values here, you probably should read the readme of Ghostbuster
ConvertToYV12() # to convert back to Yv12
with the parameters of your choice for offset and strength into the box and check the avisynth preview

Cu Selur

DJ-1
15th February 2016, 23:04
Cheers.
Got various result from preview window, but not removing the issue.

Maybe `ghosting` wasnt the right term for what it is, unsure now..
what would you call it?

all down the outline of his arm
https://www.dropbox.com/s/9kjxqiipsf7sk7g/1.png?dl=0

down the right edge of his jeans, and on the old guys shirt edge
https://www.dropbox.com/s/ep11edda0dsm0z3/2.png?dl=0

:thanks:

Selur
16th February 2016, 06:04
what I seem most prominent:
a. chroma displacement
b. ringing

DJ-1
16th February 2016, 09:24
Ok cool, so looking at http://avisynth.nl/index.php/External_filters#Chroma correction
ChromashiftSp seems best bet?

Cheers.

Sent from my LG-H815 using Tapatalk

den78
22nd February 2016, 20:38
Hi, Selur.

In new version i get this error message when i select YadifMod.

http://i.imgur.com/Yv504F6.png

It's no big deal btw, deinterlacer works after clearing the message.

alter4
27th February 2016, 20:15
Can confirm the above and faced another issue.
I use https://db.tt/IPZrdexi configuration and put to input MOV camera with 30fps video and 48000Hz pcm audio.

Generated job looks this way:
ffmpeg -y -threads 8 -i "U:\photo\копи попи\DCIM\100_FUJI\DSCF0004.MOV" -map 0:1 -vn -sn -acodec pcm_s16le -map_metadata -1 -metadata handler_name="Hybrid 2016.02.13.1"

"F:\temp\iId_1_aid_0_lang_en_DELAY_-44ms_20_47_19_2810_01.wav"
delaycut -fixcrc fix -startcut 44 -o "F:\temp\iId_1_aid_0_lang_en_20_47_19_2810_02.wav" -i "F:\temp\iId_1_aid_0_lang_en_DELAY_-44ms_20_47_19_2810_01.wav"
cleanUp "F:\temp\iId_1_aid_0_lang_en_DELAY_-44ms_20_47_19_2810_01.wav"
cleanUp "F:\temp\iId_1_aid_0_lang_en_DELAY_-44ms_20_47_19_2810_01_log.txt"
ffmpeg -y -threads 8 -loglevel fatal -i "F:\temp\iId_1_aid_0_lang_en_20_47_19_2810_02.wav" -ac 2 -ar 48000 -acodec pcm_s16le -f wav - | qaac --threading --tvbr 75 --raw

- -o "F:\temp\iId_1_aid_0_lang_en_20_47_19_2810_05.aac"


The issue is in resulting mp4 file. Audio has muxed into mp4 container as 44100 and its length is more than video as result + distorted voice.. IMHO to fix the issue hybrid should generate last line in code block as

ffmpeg -y -threads 8 -loglevel fatal -i "F:\temp\iId_1_aid_0_lang_en_20_47_19_2810_02.wav" -ac 2 -ar 48000 -acodec pcm_s16le -f wav - | qaac --threading --tvbr 75 --raw-rate 48000 --raw - -o "F:\temp\iId_1_aid_0_lang_en_20_47_19_2810_05.aac"

Selur
27th February 2016, 21:31
calls look fine as far as I can see them (the muxing call is missing) would need a sample to reproduce that (btw. your global settings don't really help.
IMHO to fix the issue hybrid should generate last line in code block as
it wouldn't (no clue where the new lines in the jobs you post come from,..)

alter4
27th February 2016, 22:20
(the muxing call is missing)
I just omitted the rest. Sent you PM.

Selur
9th March 2016, 19:54
Hybrid rev 2016.03.09.1:

*fixed*

audio: mkv audio extraction with more than 10 streams
audio: qaac call, removed 'raw' parameter
avisynth: f3kdb - range parameter wasn't set properly
avisynth: qtgmc - progressive content wasn't handled properly
avisynth: don't use MPEG2source for mpls files
decode: ffmpeg - post processing
x264: small bug when resetting x264 medium profile
x264: allow negative chroma offsets
x265: 2pass controls grayed out
x265: version detection -> 12bit support was disabled
x265: restrict number of references to 8 by default (http://x265.readthedocs.org/en/latest/cli.html?highlight=references#cmdoption--ref)
qsvenc: feature detection
batch: frame rate adjustments not always properly kept

*added*

general: basic support for multi-angle blu-ray content (selection of angle should now be possible, DGDecNV users need to update their DGDecNV version to 2051+)
x264: 'reset to profile' option for tune

*changed*

audio: added additionally HE-AAC v2 stereo enforcement checks
analysis: mediainfo output is temporary saved to file for language compatibility
avisynth: switched back to old avisynth MT dll for compatibility and stability
avisynth: switched yadifmod with yadifmod2
gui: another ugly workaround for arch linux kde compatibility
gui: audio when a audio queue entry is clicked on the side bar will show a summary of the main settings

-> downloads: http://www.selur.de/downloads

Cu Selur

alter4
12th March 2016, 12:33
Absolutely clean install. Video preview (I tried camera mov and cellphone mp4) opened for preview button on main tab always freezes at first frame after opening.
Sample - https://dl.dropboxusercontent.com/u/7307234/VID_20151102_220011.mp4
Log - https://dl.dropboxusercontent.com/u/7307234/HybridDebugOutput.txt

Thanks

Selur
12th March 2016, 16:10
on a business trip atm. with REALLY shitty internet connection, will look at it mid next week when I'm back

alter4
12th March 2016, 16:30
Got it. Thanks, no urgency here. Have a safe trip!

Selur
16th March 2016, 12:37
@alter4: tried to reproduce the issue, but it works fine here.
Do you get any errors when calling:
"D:\Program Files\Hybrid\mplayer_64.exe" "F:\temp\nexus4\DCIM\Camera\VIA3AA~1.MP4" -forcedsubsonly -nosub -noautosub -mc 0 -nocache -aid 0 -ao win32 -vo direct3d -lavdopts threads=8
Loaded the video inside Hybrid and pressed the Preview-button in the main tab and playback started right away.
Also try if it helps to use the mplayer/mencoder binaries from:
http://mplayerwin.sourceforge.net/downloads.html
32bit executables need to be named: mplayer.exe and mencoder.exe
64bit executables need to be named: mplayer_64.exe and mencoder_64.exe

alter4
16th March 2016, 21:14
After endless doing something in background, preview opened and it works with binaries from http://mplayerwin.sourceforge.net/downloads.html
Some evil in old binaries. Who knows...
Thanks.

Selur
16th March 2016, 21:17
first call to mplayer always takes long since it normally comes with fontconfig which first needs to scan the fonts on the system. ;)

alter4
16th March 2016, 21:23
One more question. If I want to use cutting edge x265 binaries because of https://bitbucket.org/multicoreware/x265/issues/172/bitrate-control-zones-are-ignored-in-any
It it possible to replace x265 in hybrid folder with multilib version from http://msystem.waw.pl/x265/ ?

Selur
16th March 2016, 21:27
a. If you want it cutting edge better compile it yourself.
b. you can exchange the x265 binary as long as it's with a single multilib binary.

digitall.h
19th March 2016, 00:01
Hybrid rev 2016.03.09.1:

*fixed*

audio: mkv audio extraction with more than 10 streams
audio: qaac call, removed 'raw' parameter
avisynth: f3kdb - range parameter wasn't set properly
avisynth: qtgmc - progressive content wasn't handled properly
avisynth: don't use MPEG2source for mpls files
decode: ffmpeg - post processing
x264: small bug when resetting x264 medium profile
x264: allow negative chroma offsets
x265: 2pass controls grayed out
x265: version detection -> 12bit support was disabled
x265: restrict number of references to 8 by default (http://x265.readthedocs.org/en/latest/cli.html?highlight=references#cmdoption--ref)
qsvenc: feature detection
batch: frame rate adjustments not always properly kept

*added*

general: basic support for multi-angle blu-ray content (selection of angle should now be possible, DGDecNV users need to update their DGDecNV version to 2051+)
x264: 'reset to profile' option for tune

*changed*

audio: added additionally HE-AAC v2 stereo enforcement checks
analysis: mediainfo output is temporary saved to file for language compatibility
avisynth: switched back to old avisynth MT dll for compatibility and stability
avisynth: switched yadifmod with yadifmod2
gui: another ugly workaround for arch linux kde compatibility
gui: audio when a audio queue entry is clicked on the side bar will show a summary of the main settings

-> downloads: http://www.selur.de/downloads

Cu Selur

Hi Selur,
:)
Did you drop QT 4.8 builds?.
I cannot run 5.2.1 build in my system...
:rolleyes:

Selur
19th March 2016, 07:43
Yes, I dropped Qt4.8 in 'rev 2013.01.02.1' . (two month ago and since nobody complained I spend the last week removing compatibility code and rewriting stuff)
What system are you running?

alter4
19th March 2016, 12:03
Reproduced on absolutely clean install (removed new mplayer binaries and clean reinstalled hybrid to verify issue) (see logs for 2016.03.19)
Got crash with x265 encoding with any of my camera movs
samples sent via PM because it's private.

Selur
19th March 2016, 12:07
-> replace the mencoder/mplayer versions with older once (https://trac.mplayerhq.hu/ticket/2293); anything before r37826 should be fine.
From the looks of it mencoder is freeing some memory it shouldn't free at that point in time when piping to an external encoder.

alter4
19th March 2016, 12:32
Will try. Thank you.
What's wrong with this world? :-) Mplayer should be newer, mencoder should be older.

Selur
19th March 2016, 12:35
It's the same code base,... :)

digitall.h
19th March 2016, 14:57
Yes, I dropped Qt4.8 in 'rev 2013.01.02.1' . (two month ago and since nobody complained I spend the last week removing compatibility code and rewriting stuff)
What system are you running?
Thank you for answering Selur.
The last QT4.8 version I downloaded from your site was Hybrid_151223_64bit_binary_qt48

I run a Debian 8 based system: SolydXK 8 solydk. KDE version 4.14.2

It's true, I've been very busy lately.
Otherwise I would have complaint!
;)

alter4
19th March 2016, 17:07
Mencoder from revision https://sourceforge.net/projects/mplayerwin/files/MPlayer-MEncoder/r37817/
works for me

It's the same code base,... :)
That is exactly the thing that makes me funny

Selur
19th March 2016, 17:10
Yes, ...
r37825 and before work
r37826 and later crash

digitall.h
20th March 2016, 18:12
Yes, I dropped Qt4.8 in 'rev 2013.01.02.1' . (two month ago and since nobody complained I spend the last week removing compatibility code and rewriting stuff)
What system are you running?

Sorry me for bumping...
any chance for a new QT48 version?.

I can hardly imagine what I'm requesting, if you already uninstalled QT4...
:(

Selur
20th March 2016, 18:33
Not sure if the current code will still compile without problems under qt 4.8, but I'll look into it,..

digitall.h
20th March 2016, 21:30
Thank you Selur

digitall.h
2nd April 2016, 00:09
Hi Selur,
I found a parameter switch in the command generated by Hybrid to send to x264 that may be normal but I find it strange.
First I'm using Hybrid 64bit QT4.8 2015.12.23.1 version. It may be important because I noticed that with this version I cannot set a negative chroma_qp_offset, but I see that it has been corrected recently.
When I try to make an encode from Bluray, I select crf encoding mode, I then select preset veryslow, tune film and when I run the job I see that the parameter chroma_qp_offset=-3 was sent to x264. Of course this parameter is not shown in the window when I'm selecting x264 switchs.
Is this normal given the combination of parameters I selected previously?

Selur
2nd April 2016, 06:47
Hybrid only modifies:
a. stats file name (during 2pass encoding)
b. qp file (to adjust to chapters)
c. bitrate (during 2pass assuming you want to hit a specific bit rate)
It doesn't modify the chroma offset.
There might be a difference between the chroma_qp_offset you use and the one some tools report,.. (iirc. the output of h264_parse and the value one sets in x264 differs)

digitall.h
2nd April 2016, 09:45
You're right.

The command Hybrid generates does not have any chroma_qp_offset adjustment. So it should stay default, chroma_qp_offset=0.
But MediaInfo reports chroma_qp_offset=-3

So, do you believe that it may be related to an error in MediaInfo when 'reading' chroma_qp_offset in x264 stream?

Selur
2nd April 2016, 09:56
Can't reproduce this here, using MediaInfo Command line, MediaInfoLib - v0.7.83, when I encode something with Hybrid it reports:
Video
Count : 334
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 4
Format settings, ReFrames : 4 frames
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec profile : High@L4.1
Codec settings : CABAC / 4 Ref Frames
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 4
Bit rate : 1500000
Bit rate : 1 500 Kbps
Width : 640
Width : 640 pixels
Height : 480
Height : 480 pixels
Sampled_Width : 640
Sampled_Height : 480
Pixel aspect ratio : 1.000
Display aspect ratio : 1.333
Display aspect ratio : 4:3
Frame rate : 25.000
Frame rate : 25.000 fps
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.195
Writing library : x264 - core 148 r2665 a01e339
Writing library : x264 core 148 r2665 a01e339
Encoded_Library_Name : x264
Encoded_Library_Version : core 148 r2665 a01e339
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x111 / me=hex / subme=5 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=12 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=1500 / ratetol=1.0 / qcomp=0.50 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
Color range : Limited
colour_description_present : Yes
Matrix coefficients : BT.601
tested chroma offsets between -3 and 3 and all are reported correctly,....

digitall.h
2nd April 2016, 17:17
I'm almost sure this is not related to Hybrid.
When I run in terminal:
./x264-r2665-a01e339 --preset veryslow --tune film --crf 20 --profile high --level 4.1 --ref 4 --chroma-qp-offset 0 --output-csp i420 --fps 24000/1001 --input-res 1920x1080 --output "/home/tests/cqo20.264" -

I get in MediaInfo (MediaInfoLib - v0.7.70):
Video
Count : 277
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, ReFrames : 4
Format settings, ReFrames : 4 frames
Internet media type : video/H264
Codec : AVC
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec/Url : http://developers.videolan.org/x264.html
Codec profile : High@L4.1
Codec settings : CABAC / 4 Ref Frames
Codec settings, CABAC : Yes
Codec_Settings_RefFrames : 4
Width : 1920
Width : 1 920 pixels
Height : 1080
Height : 1 080 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 23.976
Frame rate : 23.976 fps
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Writing library : x264 - core 148 r2665 a01e339
Writing library : x264 core 148 r2665 a01e339
Writing library/Name : x264
Writing library/Version : core 148 r2665 a01e339
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00


So it seems not related to Hybrid.

I'm not sure is something wrong whether in MediaInfo reading chroma_qp_offset or in x264 or in this particular combination of parameters in x264 that forces chroma_qp_offset=-3?
:confused:


I also realized that even I select under "x264/VUI" Matrix, Tranfer, Primes and Range to automagically select them according to source, it does not recognize some sources as bt709 and does not send x264 the colormatrix=bt709 command.
But for this last issue you will probably need some additional information

Selur
2nd April 2016, 17:45
I can reproduce this when I use your command line and, it seems to be related to crf encoding. (2pass, cq and abr are fine)
-> best ask the MediaInfo author and the x264 folks about this and I agree this is not Hybrids fault. :)

digitall.h
2nd April 2016, 17:51
(...)and I agree this is not Hybrids fault. :)
Good to know!
:D

Selur
2nd April 2016, 19:15
Okay it isn't crf related it comes from psy-rd as soon as it is enabled, the chroma-qp-offset is calculated in an to me unknown way. :)
-> http://forum.doom9.org/showpost.php?p=1283216&postcount=7

digitall.h
2nd April 2016, 21:43
You're right!
:thanks:
Thank you for pointing me to this post.
It would have taken me ages, if I had ever managed to find it.
So it's most probably related to psy-rd, that is adjusted to 1.0:0.15 after selecting veryslow preset.

So I run a new x264 encode, but this time selecting chroma-qp-offset 3.
And the resulting file shows in MediaInfo a chroma-qp-offset 0
Meaning that this particular combination of parameters subtracts 3 to chroma-qp-offset: as it was default (0) the resulting chroma-qp-offset=-3

Great discover!

Selur
2nd April 2016, 22:32
-> Will indicate the 'chroma-qp-modifier' in the next release version.

digitall.h
4th April 2016, 23:04
Hi Selur,
I'm not 100% sure but I have the feeling that when you encode with x264 and select to generate a qp file based on chapters, Hybrid previously generated a qp file, but now it does not. I'm not sure if it is working properly.
I will come back hopefully with more certainties...
:D

Selur
5th April 2016, 04:36
Hmm,... you are right, will look into it. Seems like the 'Create qt file for chapters' doesn't work any more.
-> will be fixed in the next release, happened to due to some changes I made for better ArchLinux/KDE compatibility,...

alter4
8th April 2016, 16:39
Hi Selur! The issue for mencoder/mplayer looks fixed. I am waiting for the new release soon)) I want to be lucky guy upcoming release. :rolleyes:

Selur
8th April 2016, 16:41
On that note: New release is planned for tomorrow, assuming no new bug with the dev version will be reported today.

alter4
8th April 2016, 16:56
Stupid question. Where I can get this version if I'd like to be beta tester?

Selur
8th April 2016, 17:00
I send links to those that report a bug so they can check if it is fixed, other than that there is no public way to get a dev version.

alter4
8th April 2016, 17:04
Thanks. Sad but true. I should find and report bug right now to get a chance to get dev version! :D

hello_hello
8th April 2016, 20:48
Selur,
I downloaded Hybrid from your site today and I noticed you stated there's no Linux package directly from you because it's too much hassle, which is understandable, but given Windows 10 has forced me to become interested in Linux I came across AppImage while wandering around the internet looking for Linux software today, and as it was fresh in my mind when I visited your site, I thought I'd mention it in case you're interested. Maybe you know about it already, but I hadn't heard of it and it seems like it might be a good idea.

http://appimage.org/
https://plus.google.com/+LinusTorvalds/posts/WyrATKUnmrS

digitall.h
9th April 2016, 00:55
Selur,
(...)I came across AppImage while wandering around the internet looking for Linux software today,(...)

Yes, a way to try to avoid all the dependencies and library versions problem in Linux...
I wonder about performance: x264 encoding, and I guess also x265, is a huge computer resource consumer. I suppose performance will be penalized...

Selur
9th April 2016, 16:06
Hybrid rev 2016.04.09.1:

*fixed*

tools: mencoder had a bug crashing near the end of encoding (Windows)
x265: y4m <> raw video mixup
avisynth: Yadif deinterlacing
analyse: DVD input aspect ratio
tools: NamedPipe handling
audio: qaac handling

*added*

filter: added ffmpeg 'framerate' filter
decoder: prefer ffmpeg as decoder for avisynth

*changed*

audio: enforcing downmixing in some additional cases
frame: removed some ivtc methods

-> downloads: http://www.selur.de/downloads

Cu Selur
-----------------

I suppose performance will be penalized...
Not really unless you need to use Wine to use Avisynth,...
Normally there shouldn't be any performance penalty for encoding.

Selur
10th April 2016, 13:54
rev 2016.04.10.1:
*fixed*

model: a few missing avisynth related variables
x265: fixed '--allow-non-conformance'

-> downloads: http://www.selur.de/downloads

Cu Selur

digitall.h
18th April 2016, 19:06
Hi selur,
I finally decided to install QT5 alongside QT4
:eek:
So long the system didn't complain.

So now testing latest Hybrid Linux64bit Qt 5.2.1 2016.04.10.1
When creating a MKV from a bluray if I manually load an audio track Hybrid complains
(...) grabbing audio data and delay infos with MediaInfo for /home/encoding/00800.track_4352_en.ac3
couldn't find: /mediaInfoLog.txt (...)

It goes on and puts track under jobs.
But I didn't realize this before.

Am I doing anything wrong?

Selur
18th April 2016, 19:11
Probably not, two other users reported this, but no one provided me this enough information to reproduce this here.
This happens because some how the temp folder isn't set.

digitall.h
19th April 2016, 16:12
But I do have a TEMP path set. And I would swear it's OK,..

Another small hiccups...
:)
I always ask Hybrid to keep intermediate files, in case there happens any error.
With this version audio track delay is checked with DelayCut and then created some intermediate files that are muxed at the end.
Hybrid now generates intermediate audio files with wrong extension, they are formerly DTS and AC3 and they are all named *.wav.
The audio file is correct, and then is correctly muxed in MKV.
Just the file extension is wrong for intermediate audio files.
:D

Selur
19th April 2016, 16:48
to vague of a description to reproduce this without a debug output :)

digitall.h
19th April 2016, 17:07
I may provide a DebugOutput with next encode.
But, in my humble opinion, I believe that you already have the main information.

Hybrid Linux64bit Qt 5.2.1 version 2016.04.10.1
Source: bluray
Destination: MKV (video x264)
Audio files: DTS and AC3 format, manually selected
Options: Keep intermediate files; Use delaycut to fix delays
Error: Intermediate generated audio files with wrong extension, all renamed to iId_1_aid_0_18_55_55_1510_0X.wav

Tell me if I can provide further information that makes me explain better the error.
Whenever possible I'll send you a Debug.

It's just a minor, almost cosmetic error. The program keeps all its functionality.

Selur
19th April 2016, 18:33
please create a debug output, tried to reproduce it but here the intermediate files got the right extension,.. :(

digitall.h
20th April 2016, 00:28
I've just sent you a debug
:thanks:

DJ-1
22nd April 2016, 09:10
Hi..ive been using qtgmc hybrid and thw encodes come out nice without error..at the moment my pc maxes at 20_25%...looking on task mananger there isnt any bottleneck..mencoder is the main thing consuming any resources.

I tried briefly looking at the mt modes. And memory settings etc but only ever 20% used.

Ill send the global profile and the avisynth script used...

I did read that putting Distributor() at the end of the script (which isnt there at moment) should help but dont really know enough about it..

Thanks.

Sent from my LG-H815 using Tapatalk

Selur
22nd April 2016, 16:35
Does the same thing happen when ffmpeg is used as decoder? (normally with the current version ffmpeg should be the default decoder for avisynth)

DJ-1
23rd April 2016, 12:38
Hi, yeah i werent on the latest version of Hybrid (as things were working nicely), updated today, noticed that i get a crash -> 11_20_46_5610_04_video crashed:ERROR: K:\ENCODES\Hybrid\Temp\11_20_46_5610_04.264 is too small! (byteSize: 0byte) debug:https://www.dropbox.com/s/bstswbn1ku3yqpr/new.txt?dl=0

if i simply dont de-interlace, its fine, think ive had sometghing on here like that before...

also, i notice that in this version that i "Bob" selected under QTGMC settings, this doubles fps, but "seperate fields()" doesnt get added to the avisynth script. where it was fine before...


latest Hybid with bob selected:
SetMemoryMax(768)
SetMTMode(2,8) # change MT mode
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\LoadDll.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\DGDecode.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\AddGrainC.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\dfttest.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\DirectShowSource.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\EEDI2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\eedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\FFT3DFilter.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\mt_masktools-26.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\mvtools2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\SSE2Tools.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\TDeint.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\nnedi3.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\RepairSSE2.dll")
LoadPlugin("C:\Program Files\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll")
LoadCPlugin("C:\Program Files\Hybrid\avisynthPlugins\yadif.dll")
LoadDll("C:\Program Files\Hybrid\avisynthPlugins\fftw3.dll")
LoadDll("C:\Program Files\Hybrid\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\avisynthPlugins\QTGMC-3.33.avsi")
# loading source: K:\SOURCE\Cuttermaran\Bottom Live\Bottom Live_cut.mpg
MPEG2Source(d2v="K:\ENCODES\Hybrid\Temp\mpg_6eeb7203c164fb5ea48eac4fa2b7f832_292.d2v")
# deinterlacing
AssumeTFF()
QTGMC(Preset="Slower", InputType=0, TR2=1, Sharpness=0.2, SourceMatch=3, Lossless=2, EZKeepGrain=1.00, NoisePreset="Fast", ediThreads=4)
# cropping
Crop(8,0,-10,0)
# scaling
nnedi3_rpow2(rfactor=2,cshift="spline64resize",fwidth=720,fheight=576,threads=1)
return last

thanks.

Selur
23rd April 2016, 12:48
SeparateFields() should only be used when interlaced content is filtered by filters which do not support interlaced content,...
since you use nnedi3, there's a new version out -> https://forum.doom9.org/showthread.php?t=170083 , may be that helps

DJ-1
23rd April 2016, 13:01
same crash (job was recreated fresh) https://www.dropbox.com/s/gp6zz70a1v45jp4/sameDebugOutput.txt?dl=0

DJ-1
27th April 2016, 22:18
Hi, sorry only just had a chance to look at this again..
further tests show me encoding is fine until nnedi3 is used under `avisynth/line/resize`
same with the test version..

so i had look at the alternate nnedi3 thread (https://forum.doom9.org/showthread.php?t=170083) you linked and got the x64 set and found the Release_Intel_W7_Core2_SSE4.2 version of nnedi3.dll and put in the ///program files/Hybrid/avisynthplugins folder.

also in the readme it mentions needing 2015 runtimes+ the update2
...also the Intel Parallel Studio 2016 redistribuables

so all of that is installed...

reset all the tool cache within Hybrid, set the job up fresh with no unusual settings, except filtering=QTGMC(slower)... +nnedi3 resize, same error. on both installer and test version.
2016.04.27 - 21:01:17_Windows 8-64bit_2016.04.10.1 - level 4: -> 21_00_43_3510_04_video crashed:ERROR: K:\ENCODES\Hybrid\Temp\21_00_43_3510_04.264 is too small! (byteSize: 0byte)

debug:test https://www.dropbox.com/s/4eb6i5izou5j5ar/Hybridlatest%20testversion.txt?dl=0
debug:installer https://www.dropbox.com/s/lyfrjy0fpkzc7d2/Hybrid%20current%20installer%20version.txt?dl=0

thanks.

Selur
28th April 2016, 04:43
okay, I see the problem:
"C:\PROGRA~1\Hybrid\ffmpeg_32.exe" -y -loglevel fatal -threads 8 -i "K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_20_55_51_2310.avs" -t 00:00:20.000 -an -sn -r 1/1 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --crf 17.00 --profile high --level 4.1 --direct auto --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --non-deterministic --range tv --colormatrix bt709 --input-csp i420 --fps 1/1 --input-res 720x576 --output "K:\ENCODES\Hybrid\Temp\20_55_51_2310_04.264" -
the '-r 1/1' is wrong, seems like I broke something there in my recent changes of the dev version -> will send you a link to a fixed version

DJ-1
29th April 2016, 15:03
Hi, yeah got the test version, uninstalled hybrid / re-installed fresh resetting defaults, same job and crash
2016.04.29 - 13:59:38_Windows 8-64bit_2016.04.23.1 - level 4: -> 13_59_32_8710_04_video crashed:ERROR: K:\ENCODES\Hybrid\Temp\13_59_32_8710_04.264 is too small! (byteSize: 0byte)

debug:https://www.dropbox.com/s/hm0qgr6zjxlg4md/HybridDebugOutput.txt?dl=0


thanks.

Selur
29th April 2016, 16:43
That's strange,.. the 1/1 is still there, can't reproduce this here, will recompile Hybrid and send you a fresh build.

DJ-1
29th April 2016, 19:45
hmmm, same.
debug lvl 4: https://www.dropbox.com/s/9v9gp15gg8f20j5/lvl%204%20HybridDebugOutput.txt?dl=0

debug lvl 9: https://www.dropbox.com/s/iou7r0rmaeqe4q4/lvl%209%20HybridDebugOutput.txt?dl=0

thanks.

Selur
29th April 2016, 19:51
Not the same, frame rate is propertly set this time:
"C:\PROGRA~1\Hybrid\ffmpeg_32.exe" -y -loglevel fatal -threads 8 -i "K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs" -an -sn -r 25 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --crf 17.00 --profile high --level 4.1 --direct auto --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --non-deterministic --range tv --colormatrix bt709 --input-csp i420 --fps 25 --input-res 720x576 --output "K:\ENCODES\Hybrid\Temp\18_41_44_8310_04.264" -
-> does the avisynth preview work properly?
If it does do you get any errors when calling the above all inside a command line window?

DJ-1
29th April 2016, 20:06
hi, the `avisynth preview` seems ok, lets me scoll throuhg frames no errors, when usually plays the output, hybrid doesnt throw errors though.

`filtering/preview` displays a single frame, whee it would normally show playback, and if i check the `filter view` box next to preview i `avisynth preview` is fine and `preview` shows nothing (no errors)..

if i call what you said to i get...
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Darren>"C:\PROGRA~1\Hybrid\ffmpeg_32.exe" -y -loglevel fatal -threads 8
-i "K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs" -an -s
n -r 25 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --crf
17.00 --profile high --level 4.1 --direct auto --qcomp 0.5 --no-mbtree --partiti
ons i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0
--vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --non-deterministic --range
tv --colormatrix bt709 --input-csp i420 --fps 25 --input-res 720x576 --output
"K:\ENCODES\Hybrid\Temp\18_41_44_8310_04.264" -
raw [info]: 720x576p 16:15 @ 25/1 fps (cfr)
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1


C:\Users\Darren>

:thanks:

Selur
29th April 2016, 20:09
how about:
"C:\PROGRA~1\Hybrid\ffmpeg_32.exe" -y -threads 8 -i "K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs" -an -sn -r 25 -pix_fmt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --crf 17.00 --profile high --level 4.1 --direct auto --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --non-deterministic --range tv --colormatrix bt709 --input-csp i420 --fps 25 --input-res 720x576 --output "K:\ENCODES\Hybrid\Temp\18_41_44_8310_04.264" -

DJ-1
29th April 2016, 20:12
hi, yeah i get an error and some red text with that one..
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Darren>"C:\PROGRA~1\Hybrid\ffmpeg_32.exe" -y -threads 8 -i "K:\ENCODES\
Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs" -an -sn -r 25 -pix_f
mt yuv420p -f rawvideo - | "C:\PROGRA~1\Hybrid\x264.exe" --crf 17.00 --profile
high --level 4.1 --direct auto --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8
x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 6
2500 --vbv-bufsize 78125 --sar 16:15 --non-deterministic --range tv --colormatri
x bt709 --input-csp i420 --fps 25 --input-res 720x576 --output "K:\ENCODES\Hybr
id\Temp\18_41_44_8310_04.264" -
raw [info]: 720x576p 16:15 @ 25/1 fps (cfr)
x264 [info]:ffmpeg version N-79276-g679ae5b-gb0c026a+1 Copyright (c) 2000-2016
the FFmpeg developersusing SAR=16/15

built with gcc 5.3.0 (Rev5, Built by MSYS2 project)
configuration: --disable-w32threads --enable-fontconfig --enable-gcrypt --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libfreetype --enable-lib
fribidi --enable-libkvazaar --enable-libmp3lame --enable-libopus --enable-libsox
r --enable-libspeex --enable-libtwolame --enable-libvorbis --enable-libvpx --ena
ble-libwebp --enable-libx264 --enable-libxvid --enable-libzimg --enable-libzvbi
--enable-avisynth --enable-gpl --disable-debug
libavutil 55. 20.100 / 55. 20.100
libavcodec 57. 34.100 / 57. 34.100x264 [inf
o libavformat 57. 32.100 / 57. 32.100]:
using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 41.100 / 6. 41.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
x264 [info]: profile High, level 4.1
[avisynth @ 03337f60] nnedi3_rpow2: for YV12, YV411, YUY2 and YV16 input width
must be mod 4 (698)!
(K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs, line 34)
K:\ENCODES\Hybrid\Temp\encodingTempAvisynthSkript_18_41_44_8310.avs: Unknown err
or occurred


C:\Users\Darren>


cheers.

Selur
29th April 2016, 20:16
nnedi3_rpow2: for YV12, YV411, YUY2 and YV16 input width
must be mod 4 (698)!
Ah, didn't know that. :)
-> seems like you need to use other cropping values. ;)

DJ-1
29th April 2016, 20:24
nnedi3_rpow2: for YV12, YV411, YUY2 and YV16 input width
must be mod 4 (698)!
Ah, didn't know that. :)
-> seems like you need to use other cropping values. ;)

ok cheers, just disabled copping, worked fine.

question, i thought mod values etc where for the output, although probably nnedi3 doesnt like the 698 (autocrop) as a source..

how do i know when is/isnot a good value, could it be that a prompt is displayed that shows user they need to alter cropping?

thanks..
Appreciated

Selur
29th April 2016, 20:30
Prompt is a BAD idea since it would come up each time the avisynth script is updated.
What you can do is:
a. tell auto crop that you want mod4 resolutions: Crop/Resize->Misc->Advanced Auto Crop Options->Threshold/mod/count
b. tell Hybrid to highlight width&height red if they are not mod 4: "Crop/Resize->Misc->Color crop width/height red, if they are not modulo 4"

Cu Selur

Magik Mark
30th April 2016, 10:49
Hi!

Is the frame interpolate feature similar to SVP?

Selur
30th April 2016, 10:55
Avisynth->Frame->FPS adjust->Interframe uses SVP, see http://forum.doom9.org/showthread.php?t=160226

Magik Mark
30th April 2016, 11:32
Thanks for this one.

Which version of x265 are you using? It seems some parameters are different. Like Hybrid psyrd = 0.5. Newer x265 it's already 2

Selur
30th April 2016, 11:40
Hybrid's defaults are not the defaults of x265, if you want the x265 defaults, apply the medium preset.

Magik Mark
30th April 2016, 11:43
I did apply 2 pass 10bit x265 medium preset. The psyrd =0.5. The new default of x265 is now 2


Sent from my iPhone using Tapatalk

Selur
30th April 2016, 11:46
when I apply medium preset, psyrd&co are all changed,.. you did press the 'Apply' button right?
The tool-tip of the preset option also shows all the settings Hybrid assumes for each preset (for the presets != medium, only the settings that differ from the medium preset are shown).
Preset:
Presets are ment to reduce the work needed to generate sane, efficient commandlines that do what you want.

Through a preset you select a trade off between compression efficiency and encoding speed.
Available prests are: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo.

You need to press 'Apply' for a preset option to take effect.

Here's a list of what each of the presets do:

ultrafast:
--ctu 32 --min-cu-size 16 --bframes 3 --b-adapt 0 --rc-lookahead 5 --no-scenecut --ref 1 --limit-refs 0 --me dia --subme 0 --early-skip --fast-intra --no-sao --no-signhide --no-weightp --aq-mode 0 --rd 2 --no-deblock
superfast:
--ctu 32 --bframes 3 --b-adapt 0 --rc-lookahead 10 --ref 1 --limit-refs 0 --subme 1 --early-skip --fast-intra --no-sao --no-weightp --aq-mode 0 --rd 2
veryfast:
--b-adapt 0 --rc-lookahead 15 --ref 2 --subme 1 --early-skip --fast-intra --rd 2
faster:
--b-adapt 0 --rc-lookahead 15 --ref 2 --subme 2 --fast-intra --early-skip --rd 2
fast:
--b-adapt 0 --rc-lookahead 15 --fast-intra --rd 2
medium:
--ctu 64 --min-cu-size 8 --bframes 4 --b-adapt 2 --rc-lookahead 20 --lookahead-slices 8 --scenecut 40 --ref 3 --limit-refs 0 --me hex --merange 57 --subme 2 --no-rect --no-amp --no-limit-modes --max-merge 2 --no-early-skip --no-fast-intra --no-b-intra --sao --frames 0 --signhide --weightp --no-weightb --aq-mode 1 --cutree --rd 3 --no-rdoq-level --tu-intra-depth 1 --tu-inter-depth 1 --frame-threads 0 --wpp --log-level 2 --hash 0 --cpuid 0 --input-depth 8 --output-depth 8 --input-csp i420 --deblock=0:0 --open-gop --min-keyint 0 --keyint 250 --bframe-bias 0 --b-pyramid --no-constrained-intra --strong-intra-smoothing --no-tskip --no-tskip-fast --no-sao-non-deblock --cbqpoffs 0 --crqpoffs 0 --rdpenalty 0 --bitrate 0 --aq-strength 1.00 --no-ssim --no-psnr --vbv-maxrate 0 --vbv-bufsize 0 --vbv-init 0.9 --input-csp 1 --no-rd-refine --overscan undef --videoformat undef --range undef --colorprim undef --transfer undef --colormatrix undef --chromaloc 0 --no-repeat-headers --psy-rd 2.00 --no-lossless --crf-min 0 --crf-max 0 --crf 28.00 --nr-intra 0 --nr-inter 0 --no-cu-lossless --no-hrd --no-aud --ipratio 1.4 --pbratio 1.3 --no-slow-firstpass --no-interlace --no-pmode --no-pme --qcomp 0.6 --no-strict-cbr --info --no-temporal-layers --max-tu-size 32 --qpstep 4 --temporal-mvp --psy-rdoq 1 --intra-refresh --limit-refs 3
fast:
--b-adapt 0 --rc-lookahead 15 --ref 2 --subme 2 --fast-intra --early-skip --rd 2
slow:
--rc-lookahead 25 --lookahead-slices 4 --ref 4 --me star --subme 3 --rect --limit-modes --max-merge 3 --rd 4 --rdoq-level 2
slower:
--bframes 8 --rc-lookahead 30 --lookahead-slices 4 --ref 4 --limit-refs 2 --me star --subme 3 --rect --amp --limit-modes --max-merge 3 --b-intra --weightb --rd 6 --rdoq-level 2 --tu-intra-depth 2 --tu-inter-depth 2
veryslow:
--bframes 8 --rc-lookahead 40 --ref 5 --limit-refs 1 --me star --subme 4 --rect --amp --limit-modes --max-merge 4 --b-intra --weightb --rd 6 --rdoq-level 2 --tu-intra-depth 3 --tu-inter-depth 3
placebo:
--bframes 8 --rc-lookahead 60 --ref 5 --limit-refs 1 --me star --merange 92 --subme 5 --rect --amp --max-merge 5 --b-intra --weightb --rd 6 --rdoq-level 2 --tu-intra-depth 4 --tu-inter-depth 4

Magik Mark
30th April 2016, 12:04
Ok. How do I restore everything back to default?


Sent from my iPhone using Tapatalk

Selur
30th April 2016, 12:16
Apply "x265->Main->Configuration->x265 Hybrid Default"

Magik Mark
30th April 2016, 23:25
I saved my configuration with preset medium and tune grain. Restarted hybrid. How come preset and tune reverts to none? I also saved a configuration in audio with bitrate 256kbps. After restart it reverts to blank. Are these bugs?


Sent from my iPhone using Tapatalk

Magik Mark
1st May 2016, 00:50
I did my first encode. How come the subtitle wasn't included? It was embedded inside the video


Sent from my iPhone using Tapatalk

Selur
1st May 2016, 07:25
Hybrid doesn't remember preset and tune selections for x265&x264 since they they both get applied and do not represent totally fixed values.
-> no bug, that is intentional
Regarding the subtitles, need for info to answer that question. :)

Magik Mark
1st May 2016, 07:27
Is there a setting that I have to activate so that the embedded subtitle in the input file will also be encoded in the output file?


Sent from my iPhone using Tapatalk

Magik Mark
1st May 2016, 07:29
X265 has been updated to build 1.9 +150. How often hybrid is updated?


Sent from my iPhone using Tapatalk

Magik Mark
1st May 2016, 07:31
Is it also possible to have preset in denoising algorithm? Such as light,medium & strong?


Sent from my iPhone using Tapatalk

Selur
1st May 2016, 07:32
If you have hard coded (= embedded into the video) subtitles, Hybrid won't remove them.
If you have subtitles as attachment inside the container (soft subbed) you can tell Hybrid to keep them for the output by:
a. enabling Main->Handling->Subtitle->All subtitles and pressing 'Main->Handling->Subtitle->Extract&Add subtitles' (after loading your source)
or if you want Hybrid to do this automatically you can tell it by enabling
b. Config->Audiomation->Passthrough streams->Subtitle (before loading a source)

X265 has been updated to build 1.9 +150. How often hybrid is updated?
roughly once a month or whenever I see a change (or fix a bug) that seems to be important enough to release a new version earlier
(unless the command lines change you can always exchange the tools Hybrid uses manually)

Is it also possible to have preset in denoising algorithm? Such as light,medium & strong?
there are tons of different denoisers in Hybrid and you can save presets&co through different methods, read: [Info] About profiles and saving settings,.... (http://forum.selur.de/topic263-info-about-profiles-and-saving-settings.html)

Magik Mark
1st May 2016, 07:33
If you have hard coded (= embedded into the video) subtitles, Hybrid won't remove them.
If you have subtitles as attachment inside the container (soft subbed) you can tell Hybrid to keep them for the output by:
a. enabling Main->Handling->Subtitle->All subtitles and pressing 'Main->Handling->Subtitle->Extract&Add subtitles' (after loading your source)
or if you want Hybrid to do this automatically you can tell it by enabling
b. Config->Audiomation->Passthrough streams->Subtitle (before loading a source)



Thank you for this!

Magik Mark
2nd May 2016, 10:13
Hi! How do I use --no cutree options. It seems cutree is causing "ghosting" in some frames. I cat find it in the rate tab in x265


Sent from my iPhone using Tapatalk

Magik Mark
2nd May 2016, 13:25
When using knlmeans and interpolate frame I get video error at the bottom of the log screen. Then encoding stops. Without interpolate frame everything seems ok. By the way x265 has been updated to build 150


Sent from my iPhone using Tapatalk

Selur
2nd May 2016, 16:54
Hi! How do I use --no cutree options. It seems cutree is causing "ghosting" in some frames. I cat find it in the rate tab in x265
disable "x265->Quantization->General Quantization->Coding unit tree for adaptive quantization"

When using knlmeans and interpolate frame I get video error at the bottom of the log screen. Then encoding stops. Without interpolate frame everything seems ok.
What did you enable? Did you mix ffmpegs interpolation with Avisynths knlmeans?
-> need more details
By the way x265 has been updated to build 150
I know last change was 4 days ago (https://bitbucket.org/multicoreware/x265/commits/all)

Magik Mark
3rd May 2016, 01:53
Yes I did mixed both avisynth & ffmpeg. Maybe dats d error? I think ffmpeg has issues with 10bit as well

I'm still getting the same error now even if it's only knlmeans running

What more info do you need?


Sent from my iPhone using Tapatalk

Selur
3rd May 2016, 04:54
There also was a problem with MinGW builds an x265 it might help to switchout the x265 executable with one that was build with Visual Studio.

Magik Mark
3rd May 2016, 05:39
When can we expect d update so we could run some test? Can u also update x265 to build 150? Thanks. Knlmeans has been updated as well to 0.7.6


Sent from my iPhone using Tapatalk

Selur
3rd May 2016, 05:42
You can replace the dll and the binary your self, no need for me to release a new version because of that.

Magik Mark
3rd May 2016, 14:06
Does hybrid use 64bit x265 & 64bit knlmeans?


Sent from my iPhone using Tapatalk

Selur
3rd May 2016, 16:41
64bit x265: yes
64bit knlmeans: no, since Hybrid uses 32bit Avisynth

Magik Mark
3rd May 2016, 19:39
Thank you for this.

I saved an audio configuration using fdk-aac HE. When I drag a video for encoding it reverts back to fake-aac "low complexity". Why is this happening?


Sent from my iPhone using Tapatalk

Selur
3rd May 2016, 19:46
No clue, if you save the profile and send me a link to it I can try to reproduce it here,.. (first guess would be that it is somehow related to the channel count)

Magik Mark
5th May 2016, 01:15
No clue, if you save the profile and send me a link to it I can try to reproduce it here,.. (first guess would be that it is somehow related to the channel count)



Reviewed the log file, it seems it's still doing HE. I just don't understand why it's displaying low complexity in the audio tab

Is there a way to make 5.1 ->2.0 audio?

Magik Mark
5th May 2016, 01:18
I think I found out what's causing the video error in encoding that resulted to abort. According to the author of knlmeans, using gtx 900 series gpu may cause this. We need to install a customized opencl made by him - which I did. So far so good for now


Sent from my iPhone using Tapatalk

Magik Mark
5th May 2016, 06:39
I guess I spoke to soon. Immediately after installation I get successful encodes. Once I restarted my PC I get error in the middle of encoding. Uninstalled then reinstalled, successful encodes. Then after reboot, error again in the middle of encodes

http://s32.postimg.org/qr6xv3n51/Capture.png (http://postimage.org/)
image hosting 20mb (http://postimage.org/)

Selur
5th May 2016, 07:14
Is there a way to make 5.1 ->2.0 audio?
Yes, under "Audio->Filtering->Downmix".

Regarding the crash with knlmeans, sadly that's something I can't influence. (last time I used knlmeans it worked fine on my gtx980ti)
May be something you do aside from encoding is influencing it,...

Magik Mark
5th May 2016, 07:41
I was just doing the same thing in staxrip. Except for the frame interpolation. However, I was successfully encoded one. Can't do it again without uninstalling then reinstalling


Sent from my iPhone using Tapatalk

Selur
5th May 2016, 08:06
Can't say anything about StaxRip, but may be Stax is useing other tool versions, so switching out something might help,..

Vesdaris
8th May 2016, 09:14
For some reason downsampling doesn't work for me. I still get 6 channels although I set "Downmix toStereo" (aac or ac3)

Selur
8th May 2016, 09:17
afaik: yes
-> Did add the audio queue entry after changing the downmix setting?

Vesdaris
8th May 2016, 09:42
-> Did add the audio queue entry after changing the downmix setting?

Yup.

This is from the jobs log


Starting Main@11:36:15.139:
"K:\games\Hybrid\ffmpeg.exe" -y -threads 8 -i "O:\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\02.avi" -map 0:1 -vn -sn -acodec pcm_s16le -map_metadata -1 -metadata handler_name="Hybrid 2016.04.10.1" "O:\AAAAAA~1\NEWFOL~1\iId_2_aid_1_DELAY_-43ms_11_36_14_5410_01.wav"
process finished with exitcode: 0 and exitStatue: 0
finished after 00:04:46.196
Created O:\AAAAAA~1\NEWFOL~1\iId_2_aid_1_DELAY_-43ms_11_36_14_5410_01.wav (1320.21 MB)
Connecting helper 'finished' to 'helper2Finished'

Starting Main@11:41:01.346:
"K:\games\Hybrid\ffmpeg.exe" -y -threads 8 -f sox -i - -strict -2 -ab 192000 -ac 6 -ar 48000 "O:\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\New folder\iId_2_aid_1_DELAY_-43ms_11_36_14_5410_02.aac"

Selur
8th May 2016, 10:07
normal log, doesn't show much useful information, the only log that is helpful to me is the debug output log. (don't care about normal log or reports)
Tested a 5.1 wav to stereo aac downmix here and had no problem.
-> can't help without details (you might want to read the 'needed infos'-link which is at the start of the Log in Hybrid)

Cu Selur

Vesdaris
8th May 2016, 10:33
Here you go:
http://pastebin.com/q5tzYWu0

The latest Hybrid version used.

Magik Mark
14th May 2016, 03:20
FYI, Latest build of x265 runs 50% slower in hybrid. I think some switches need to be updated. I think it has addressed a significant issue in "rc grain". No problem when running in staxrip.


Sent from my iPhone using Tapatalk

Selur
16th May 2016, 08:59
Selur -> offline since Thursday, thanks to the Telekom; will hopefully get online the next few days,...

Khanattila
18th May 2016, 17:40
I think I found out what's causing the video error in encoding that resulted to abort. According to the author of knlmeans, using gtx 900 series gpu may cause this. We need to install a customized opencl made by him - which I did. So far so good for now


Sent from my iPhone using Tapatalk
Nope. It's a bug of nVidia driver.

Magik Mark
19th May 2016, 03:01
Nope. It's a bug of nVidia driver.

Thank you for clarifying this.

I was wondering how come staxrip is able to overcome this error. This error may also show up during encoding in the latter. However, it is able to recover very fast and prevents disruption or abortion of the process. This lead me to believe that staxrip may be using other tools in the background that actually prevents this.

I also like hybrid because of its comprehensive filters. I think this what makes it tick

Magik Mark
19th May 2016, 03:03
May I ask whats the difference between "scale ouput frame rate" and "interpolate frame rate"? Both indicated that they add or subtract frames and both doesn't seem to change the duration of the video

Selur
22nd May 2016, 13:44
Hybrid rev 2016.05.22.1:

*fixed*

avisynth: problem with QTGMC and bobbing
muxing: mkv track statistic
x265: encoding when using cut option
x265: high-tier support
filter: ffmpeg pp filters
audio: sox filtering
audio: sox, do not drc & normalize at the same time
avisynth: nedi resize -> don't use if width isn't mod4
mkv: video stretch detection

*changed*

x265: adjusted to new presets
general: cpu core count detection
audio: defautl channel count to 6
avisynth: don't add deinterlacer when FRIM is used, since it always deinterlaces (they don't change the duration since the frame rate is changed accordingly)

-> downloads: http://www.selur.de/downloads

--------------
@Magik Mark: first one adds duplicates, second one adds interpolated frames


Cu Selur

Magik Mark
22nd May 2016, 13:55
Which version of x265 are you now using? Is there a way to customize the parameters in the frame interpolation filter? Something similar found in SVP?


Sent from my iPhone using Tapatalk

Selur
22nd May 2016, 13:59
@MagikMark:
x265 -> no clue, build it a few hours ago
interpolation filter -> Hybrid only supports the fps and scene parameters, see: https://www.ffmpeg.org/ffmpeg-all.html#framerate

Music Fan
22nd May 2016, 14:13
interpolation filter -> Hybrid only supports the fps and scene parameters, see: https://www.ffmpeg.org/ffmpeg-all.html#framerate
I didn't know this, is it better than Interframe ?

Selur
22nd May 2016, 14:16
No clue, never used it aside from testing if it works. :)

Magik Mark
22nd May 2016, 14:20
Is there a way for you to integrate SVP? I have a copy of the code. You can have it manipulated


Sent from my iPhone using Tapatalk

Selur
22nd May 2016, 14:22
SVP is already used by the Avisynth filter Interframe,...
#------------------------------------------------------------------------------#
# #
# InterFrame 2.8.2 by SubJunk #
# #
# A frame interpolation script that makes accurate estimations #
# about the content of non-existent frames #
# Its main use is to give videos higher framerates like newer TVs do #
#------------------------------------------------------------------------------#


# For instructions and further information see the included InterFrame.html
# For news go to spirton.com


function InterFrame(clip Input, string "Preset", string "Tuning", int "NewNum", int "NewDen", bool "GPU", string "InputType", int "OverrideAlgo", int "OverrideArea", int "Cores", bool "FrameDouble") {
# Defaults
Preset = default(Preset , "Medium")
NewNum = default(NewNum , 0 )
NewDen = default(NewDen , 0 )
Tuning = default(Tuning , "Film" )
GPU = default(GPU , false )
InputType = default(InputType , "2D" )
OverrideAlgo = default(OverrideAlgo, 0 )
OverrideArea = default(OverrideArea, 0 )
FrameDouble = default(FrameDouble , false )

# Convert integers to strings
NewNum = String(NewNum)
NewDen = String(NewDen)
OverrideAlgo = String(OverrideAlgo)
OverrideArea = String(OverrideArea)

# Validate inputs
Assert(Preset == "Medium" || Preset == "Fast" || Preset == "Faster" || Preset == "Fastest", "'"+Preset+"' is not a valid preset. Please check the documentation for a list of the valid presets.")
Assert(Tuning == "Film" || Tuning == "Smooth" || Tuning == "Animation" || Tuning == "Weak", "'"+Tuning+"' is not a valid tuning. Please check the documentation for a list of the valid tunings.")
Assert(InputType == "2D" || InputType == "SBS" || InputType == "OU" || InputType == "HSBS" || InputType == "HOU", "'"+InputType+"' is not a valid InputType. Please check the documentation for a list of the valid InputTypes.")
Assert(Defined(Cores), "You must enter a value for Cores. Please check the documentation for details.")

# Get either 1 or 2 clips depending on InputType
InputType == "SBS" ? Eval("""
FirstEye = InterFrameProcess(Input.crop(0 , 0, -Input.Width/2, 0), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
SecondEye = InterFrameProcess(Input.crop(Input.Width/2, 0, 0 , 0), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
StackHorizontal(FirstEye, SecondEye)
""") : InputType == "OU" ? Eval("""
FirstEye = InterFrameProcess(Input.crop(0, 0 , 0, -Input.Height/2), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
SecondEye = InterFrameProcess(Input.crop(0, Input.Height/2, 0, 0 ), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
StackVertical(FirstEye, SecondEye)
""") : InputType == "HSBS" ? Eval("""
FirstEye = InterFrameProcess(Input.crop(0 , 0, -Input.Width/2, 0).Spline36Resize(Input.Width, Input.Height), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
SecondEye = InterFrameProcess(Input.crop(Input.Width/2, 0, 0 , 0).Spline36Resize(Input.Width, Input.Height), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
StackHorizontal(FirstEye.Spline36Resize(Input.Width/2, Input.Height), SecondEye.Spline36Resize(Input.Width/2, Input.Height))
""") : InputType == "HOU" ? Eval("""
FirstEye = InterFrameProcess(Input.crop(0, 0 , 0, -Input.Height/2).Spline36Resize(Input.Width, Input.Height), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
SecondEye = InterFrameProcess(Input.crop(0, Input.Height/2, 0, 0 ).Spline36Resize(Input.Width, Input.Height), Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
StackVertical(FirstEye.Spline36Resize(Input.Width, Input.Height/2), SecondEye.Spline36Resize(Input.Width, Input.Height/2))
""") : Eval("""
InterFrameProcess(Input, Preset=Preset, Tuning=Tuning, NewNum=NewNum, NewDen=NewDen, GPU=GPU, InputType=InputType, OverrideAlgo=OverrideAlgo, OverrideArea=OverrideArea, Cores=Cores, FrameDouble=FrameDouble)
""")
}

function InterFrameProcess(clip Input, string "Preset", string "Tuning", string "NewNum", string "NewDen", bool "GPU", string "InputType", string "OverrideAlgo", string "OverrideArea", int "Cores", bool "FrameDouble") {
# Create SuperString
Preset == "Fastest" ? Eval("""
SuperString = "{pel:2,"
""") : Preset == "Fast" || Preset == "Faster" ? Eval("""
SuperString = "{pel:1,"
""") : Eval("""
SuperString = "{"
""")

GPU == true ? Eval("""
SuperString = SuperString + "scale:{up:0,down:4},gpu:1,rc:false}"
""") : Eval("""
SuperString = SuperString + "scale:{up:2,down:4},gpu:0,rc:false}"
""")

# Create VectorsString
Tuning == "Animation" || Preset == "Fastest" ? Eval("""
VectorsString = "{block:{w:32,"
""") : Tuning == "Fast" || Preset == "Faster" || GPU == false ? Eval("""
VectorsString = "{block:{w:16,"
""") : Eval("""
VectorsString = "{block:{w:8,"
""")

Tuning == "Animation" || Tuning == "Fastest" ? Eval("""
VectorsString = VectorsString + "overlap:0"
""") : Preset == "Faster" && GPU == true ? Eval("""
VectorsString = VectorsString + "overlap:1"
""") : Eval("""
VectorsString = VectorsString + "overlap:2"
""")

Tuning == "Animation" ? Eval("""
VectorsString = VectorsString + "},main:{search:{coarse:{type:2,"
""") : Preset == "Faster" ? Eval("""
VectorsString = VectorsString + "},main:{search:{coarse:{"
""") : Eval("""
VectorsString = VectorsString + "},main:{search:{distance:0,coarse:{"
""")

Tuning == "Animation" ? Eval("""
VectorsString = VectorsString + "distance:-6,satd:false},distance:0,"
""") : Tuning == "Weak" ? Eval("""
VectorsString = VectorsString + "distance:-1,trymany:true,"
""") : Eval("""
VectorsString = VectorsString + "distance:-10,"
""")

Tuning == "Animation" || Preset == "Faster" || Preset == "Fastest" ? Eval("""
VectorsString = VectorsString + "bad:{sad:2000}}}}}"
""") : Tuning == "Weak" ? Eval("""
VectorsString = VectorsString + "bad:{sad:2000}}}},refine:[{thsad:250,search:{distance:-1,satd:true}}]}"
""") : Eval("""
VectorsString = VectorsString + "bad:{sad:2000}}}},refine:[{thsad:250}]}"
""")

# Create SmoothString
NewNum != "0" ? Eval("""
SmoothString = "{rate:{num:"+NewNum+",den:"+NewDen+",abs:true},"
""") : Input.Framerate == 15 || Input.Framerate == 25 || Input.Framerate == 30 || FrameDouble == true ? Eval("""
SmoothString = "{rate:{num:2,den:1,abs:false},"
""") : Eval("""
SmoothString = "{rate:{num:60000,den:1001,abs:true},"
""")

OverrideAlgo != "0" ? Eval("""
SmoothString = SmoothString + "algo:"+OverrideAlgo+",mask:{cover:80,"
""") : Tuning == "Animation" ? Eval("""
SmoothString = SmoothString + "algo:2,mask:{"
""") : Tuning == "Smooth" ? Eval("""
SmoothString = SmoothString + "algo:23,mask:{"
""") : Eval("""
SmoothString = SmoothString + "algo:13,mask:{cover:80,"
""")

OverrideArea != "0" ? Eval("""
SmoothString = SmoothString + "area:"+OverrideArea
""") : Tuning == "Smooth" ? Eval("""
SmoothString = SmoothString + "area:150"
""") : Eval("""
SmoothString = SmoothString + "area:0"
""")

Tuning == "Weak" ? Eval("""
SmoothString = SmoothString + ",area_sharp:1.2},scene:{blend:true, mode:0, limits: {blocks: 50}}}"
""") : Eval("""
SmoothString = SmoothString + ",area_sharp:1.2},scene:{blend:true, mode:0}}"
""")

# Make interpolation vector clip
Super = SVSuper(Input, SuperString)
Vectors = SVAnalyse(Super, VectorsString)

# Put it together
smooth_video = SVSmoothFps(Input, Super, Vectors, SmoothString, url="www.svp-team.com", mt=Cores)
smooth_video
}

Don't see any need for additional support, do you?

Magik Mark
22nd May 2016, 14:30
Yup. We'll be glad if we could integrate this [emoji18]


Sent from my iPhone using Tapatalk

Selur
22nd May 2016, 14:36
Care to elaborate? Atm. I think SVP support through Interframe is good enough, so if you want/need SVP and don't want to use the Custom-Avisynth option but you want a direct SVP integration I would like some additional details,...

Magik Mark
24th May 2016, 02:56
May I ask your ave fps for x265 2pass 10bit "fast first pass"? In my case it used to be 30fps for first pass then 24fps for the second pass. Now I'm only getting 10fps for first pass alone. Is there a setting or switch that we missed?


Sent from my iPhone using Tapatalk

Selur
24th May 2016, 06:45
Since x265 defaults changed to using slow first pass, as soon as you apply a preset, Hybrid will switch to slow first pass, before fast first pass was used.
see: https://bitbucket.org/multicoreware/x265/commits/1b2b9128cffe63f3e19d130e9f15db3445b70abe
-> so unless you make sure you set fast first pass after applying a preset I'm not surprised encoding during 1st pass is slower. ;)

Magik Mark
24th May 2016, 07:50
I did ticked fast first pass


Sent from my iPhone using Tapatalk

Selur
24th May 2016, 08:04
I did ticked fast first pass
Hopefully, after applying any preset. ;)

Then I got no real idea and my guess is that:
a. you either used different settings (especially filtering can cause a slow down)
b. your source differs (e.g. requires deinterlacing now, higher resolution)
c. something changed in x265
only thing I added to support the newest x265 build was to add support for http://x265.readthedocs.io/en/latest/cli.html?highlight=recursion#cmdoption--recursion-skip which additionally changed the presets.
-> What do the job command lines for the encoding calls look like inside the Job-Tab? (disable 'Minimize job command line' to see them)

Cu Selur

digitall.h
24th May 2016, 17:15
Hybrid rev 2016.05.22.1:

*fixed*

avisynth: problem with QTGMC and bobbing
muxing: mkv track statistic
x265: encoding when using cut option
x265: high-tier support
filter: ffmpeg pp filters
audio: sox filtering
audio: sox, do not drc & normalize at the same time
avisynth: nedi resize -> don't use if width isn't mod4
mkv: video stretch detection

*changed*

x265: adjusted to new presets
general: cpu core count detection
audio: defautl channel count to 6
avisynth: don't add deinterlacer when FRIM is used, since it always deinterlaces (they don't change the duration since the frame rate is changed accordingly)

-> downloads: http://www.selur.de/downloads

--------------
@Magik Mark: first one adds duplicates, second one adds interpolated frames


Cu Selur

Thank you Selur.
:thanks:
You don't mention it, so let me ask: did you include the correction of the problem of the previous version that did not generate a qp file?. You pointed me to a test version that corrected that problem.

I downloaded "Hybrid Linux64bit: Qt 5.2.1 (~8MB)**" version, that after unzipping it grew to some 27.4 MB... not 8 MB anymore...
:)

Selur
24th May 2016, 17:20
a. yes, the fix should be included (normally all fixes I make should be included, but I sometimes forget to mention some :))
b. "after unzipping" the size should indicate the download size not the extracted size, but you are right download size is ~11MB

digitall.h
24th May 2016, 21:20
Perfect!

Crystal clear...

Motenai Yoda
26th May 2016, 00:18
It's ok that it include an fdkaac binary?
anyway when I try to launch it crash
Eccezione non gestita in 0x000000005AE8EBB8
(Qt5Core.dll) in Hybrid.exe: 0xC00000FD: Stack overflow
(parametri: 0x0000000000000001, 0x000000E2F28F3000).
*continue*
Eccezione generata in corrispondenza di 0x000000005AE8EBB8 (Qt5Core.dll) in Hybrid.exe:
0xC0000005: violazione di accesso durante la scrittura
del percorso 0x000000E2F28F0000.

Se esiste un gestore per questa eccezione, il programma
puň continuare.
*continue*
Eccezione non gestita in 0x000000005AE8EBB8
(Qt5Core.dll) in Hybrid.exe: 0xC0000005:
violazione di accesso durante la scrittura del percorso 0x000000E2F28F0000.

Selur
26th May 2016, 06:19
afaik including a fdkbinary should be okay and not violate and license.
Regarding the Qt error: What OS are you on? Is it updated?

Motenai Yoda
26th May 2016, 10:38
It's W10 pro x64, updated. Can be caused by vs2015 ce?

Selur
26th May 2016, 10:52
Can be caused by vs2015 ce?
Don't think so. (At least it doesn't interfere here with Hybrid and Qt.)
Since Hybrid should come with all the required dependencies, there should be no problem (assuming no content of the Hybrid folder was modified manually).
Running Win10 64bit here on multiple machines without a problem.

Magik Mark
27th May 2016, 15:09
May I ask your ave fps for x265 2pass 10bit "fast first pass"? In my case it used to be 30fps for first pass then 24fps for the second pass. Now I'm only getting 10fps for first pass alone. Is there a setting or switch that we missed?


Sent from my iPhone using Tapatalk



Found the culprit. It's the interframe causing this. Tried using SVP script. No problem. We by the way shared the script in staxrip. Is it possible to look on to this. Maybe there's something wrong in the interframe script or its just purely outdated. If nothing can be done, is it possible to integrate the SVP script instead?

Thanks a lot for your hard work!


Sent from my iPhone using Tapatalk

Selur
27th May 2016, 21:28
Look at what? Sorry, but it can't really follow. Don't really know what to look for. Would need a debug output and some details,...
(sure if you use Interframe you encoding will get a lot slower,... no surprise there)

Hexen
30th May 2016, 20:10
Hello. I've spend about 2 hours editing options new profile for x265.
Unfortunately "configuration apply" and "configuration delete" buttons are close to each other and I've pressed by mistake "configuration delete". Does Hybrid store backups of such configuration files? It would be nice to have a conformation dialog
when deleting configuration :-).

Easy
4th June 2016, 01:02
I like this tool, its very easy to handle. But could you add Waifu2x and ResampleHQ for resize? Or even better, to allow to edit the avs script just before starting?
And someone knows a 10bit 4:4:4 color/gamma/level corrector, and flash3k or gradfun for anime?
HDR and AutoAdjust dont work, let's say after encode in 10bit 4:4:4 almost all the plugins dont work

Selur
4th June 2016, 05:48
@Easy:
ResampleHQ & Waifu2x -> will look into it.
Most Avisynth filters are meant to work in 8bit YUV color space, if you need to handle 10bit RGB you might want to try Vapoursynth, it might be better suited for the task.
Hybrid should still be able to use the plugins, but will convert to a YUV colorspace and during that process probably loose some details.

Out of curiosity: Where does your source come from that you have 10bit 4:4:4 ? (rather uncommon)

@Hexen:
No Hybrid, does not keep any backups. Will look into adding a prompt to make sure the user wants to delete a config.

Easy
4th June 2016, 10:50
Very nice, thank you for the effort :)
I will give Vapoursynth a closer look, it could help me anyway. Any future plans to integrate it as well into Hybrid?
Or maybe some standby plugins for higher bit depths?
To get to your question: No, unfortunately I only have an old 640x480 dvd source from InuYasha, with mid artifacts, mid rainbow, big bandig problem and its way to bright.
But i could't change the colors correctly, because it creates to many high visible block artifacts in the shadow, particularly the transition from black to any color.

Now I encode to x265 with crf 22, upscaling with nedi3 and blackman to 720p (and: HDR-AGC which helps gradfun, edgeCleaner and warpsharp).
I'm very happy about the results, 95% of the blocks and banding are gone, only small rainbows are left and a light blur.
Now I could encode a second time, now with color correcting, derainbow and sharper. (or use waifu2x in the first place, which have multiple filters)
But the most plugins, as you said, are not working on on 10bit and corrupts the colors in the output (everthing green)

So I need to do this manual with avs scripts in FFmpeg command line
Or I wait until high bit gets standard and crazy new filters are developed (Anime as vector graphics^^)

Selur
7th June 2016, 05:10
Any future plans to integrate it as well into Hybrid?
Yes, there are plans to integrate Vapoursynth into Hybrid, but the main problem is time. :)
Or maybe some standby plugins for higher bit depths?
Standby plugins?

So I need to do this manual with avs scripts in FFmpeg command line
you could still feed the avisynth script to Hybrid.

Easy
9th June 2016, 12:10
Standby plugins?
Ich meine damit, wenn man ein 8bit video hat benutzt hybrid alle standart plugins und avs scripts, und bei einem 10 oder 12 bit video könnten neue plugins geladen werden die die inkompatiblen ersetzen.
Bzw erstmal deaktivieren was nicht kompatible ist.

Selur
9th June 2016, 16:52
What filters are not 10bit compatible for you? A bunch of plugins have adopted a vertically stacked format known as Stack16, where the high bits (MSB) are stored in the upper half of a video, and the lower bits (LSB) in the lower half of the video.
-> don't myself have the time to check each plugin, but I you can provide a list of the plugins&scripts Hybrid uses that are not 16bit compatible I can disable them when high bit depth in- and output is used.

alter4
11th June 2016, 11:28
Hi There! According to http://avisynth.org.ru/fft3dfilter/fft3dfilter.html default bw and bh values are 48. As result impossible from UI set value to 64 because Hybrid assumes it's default and doesn't form any plugin parameters.

Selur
11th June 2016, 11:44
fixed locally (copied the list of available values from fft3dgpu)

alter4
11th June 2016, 11:50
Thanks, will verify in next version, but no rush, I use custom tab to form what i need.

P.S. Read the doc more carefully and found.

...
bw - block width (integer, default = 48 since v.1.2)
bh - block height (integer, default = 48 since v.1.2)
....
Version 1.2 - July 12, 2005 - changed default block sizes bw=bh=48 and overlap sizes ow=bw/3, oh=bh/3 to finally prevent grid artifactes in sharpen mode (but speed is decreased).
.....
Version 1.9.2 - 11 september 2006 - changed default bw=bh=32; added mode bt=5

In FFT3DFilter.cpp the line looks like

Version 1.9.2 - September 6, 2006 - added new mode bt=5


you can trust no one in this world. Only source code will give answer and 48 is there.

AVSValue __cdecl Create_FFT3DFilter(AVSValue args, void* user_data, IScriptEnvironment* env)
{
// Calls the constructor with the arguments provided.
float sigma1 = (float) args[1].AsFloat(2.0);

return new FFT3DFilter(args[0].AsClip(), // the 0th parameter is the source clip
sigma1, // sigma
(float) args[2].AsFloat(1.0), // beta
args[3].AsInt(0), // plane
args[4].AsInt(48), // bw -new default in v.1.2
args[5].AsInt(48), // bh -new default in v.1.2

Selur
12th June 2016, 16:12
@Easy: looked into ResampleHQ and Waifu2x. ResampleHQ will be added, Waifu2x probably not.
Waifu2xs Avisynth version (http://waifu2x-avisynth.sunnyone.org/) is way too slow to be usable, sadly there doesn't seem to be an Avisynth version which uses the GPU, there is one for Vapoursynth (http://forum.doom9.org/showthread.php?t=172390), but Vapoursynth isn't supported inside Hybrid atm.
(planned, but far away since I due simply lack the time)

MarkT
13th June 2016, 04:35
@Selur: I am using latest version 2016.05.22.1 and am trying to convert bluray titles from E: to MKV, but have hit a snag. I check "Generate" and the software will make filenames like C:\Temp\E:_Title_1.mkv which will result in failure. Somehow I can't get rid of that source drive letter. I can manually select a filename and that will work. Any help appreciated, und danke aus Bayern :)

Detected the following non-CUDA compatible cards:

Finished initialization, finished after 1.864s

grabbing usable mpls files with ffmpeg for: E:\BDMV\PLAYLIST
Looking for usable mpls files with ffmpeg,...
-> found 10 usable mpls files
Analyzing 10 Blu-ray .mpls files for .mpls-selector... (this may take a while)
Analysing 10 input files,...
grabbing mplayer title<>length mapping,...
finished grabbing mplayer title<>length mapping,...
Analyzing mpls files with tsMuxeR
analyzing: 00007
analyzing: 00051
analyzing: 00052
analyzing: 00053
analyzing: 00054
analyzing: 00055
analyzing: 00056
analyzing: 00057
analyzing: 00058
analyzing: 00059
Handling infos about the .mpls files!
-> filtered playlist count: 10
analyzing: 00007.mpls
-> E:\BDMV\PLAYLIST\00007.mpls items: 00018
grabbing video id(s) for current mpls,..
-> video ids found: 4113
checking a/v ids in ffmpeg,...: E:\BDMV\STREAM\00018.m2ts
analyzing 00018.m2ts
grabbing audio ids for: E:\BDMV\PLAYLIST\00007.mpls
analyzing video stream: 4113
analyzing video stream: 0
Container stream length mismatch!
length indicated by stream: 00:00:00.125
length indicated by container: 340.298
-> adjusting stream to container length
old frame count: 3
-> new frame count: 8159
starting auto routines for source number: 1
-> finished auto routines for source number: 1
Input is completely analysed,...
Finished subtitle extraction for 0
Creating job for current source
-> Creating jobs for source 1,...
-> Generating calls for: C:\Temp\E:_Title_1.mkv
createJobs for C:\Temp\E:_Title_1.mkv
creating attachment extraction subjobs
creating video subjobs
creating muxing subjobs
optimizing the subJobs
-> finished creating subjobs for current source
added new job with id 05_18_38_3810

Selur
13th June 2016, 04:41
Did you by any chance enable: Config->Output->Filename Generateion->Output Filename Generation->Add parent folder name as prefix ?
If you did disabling that should help. (will add a check for the next version to make sure not 'DRIVENAME:' will be used there.

MarkT
13th June 2016, 14:49
"Config->Output->Filename Generateion->Output Filename Generation->Add parent folder name as prefix" was off, I only use "Add Titleinfo ('Title_X')" and in Raw Outputname Generation everything is checked.

Looking forward to new version, thanks!

I think I have the rest figured out. My aim is a makemkv replacement that can create MKV from my blurays for Kodi. No transcoding, just pack all video, all audio, all subtitles and chapter information into a MKV that's it.

Selur
13th June 2016, 16:31
Hybrid can't circumvent any copy protected, but that aside it should work. (will send you a link to my latest dev build a bit later)

Magik Mark
5th July 2016, 01:44
Is MCTemporalDenoise part of the collection of filters?

Selur
5th July 2016, 04:25
No, it always seemed to be too much of a pain to support due to the sheer amount of parameters:
MCTemporalDenoise( clip i, int "radius", int "sigma", bool "twopass", bool "useTTmpSm", int "limit", int "limit2", bool "fixFFT3D", bool "chroma", bool "GPU", bool "MT", int "idx", bool "interlaced", int "sharp", bool "adapt", int "strength", int "SHmode", int "SHmethod", int "Slimit", int "Sovershoot", bool "Tlimit", int "Tovershoot", bool "protect", int "cutoff", int "threshold", int "maxdiff", bool "AA", bool "useEEDI2", float "reduc", int "maxd", int "AAthr", int "method", bool "deblock", bool "useQED", int "quant1", int "quant2", bool "edgeclean", int "ECrad", int "ECthr", string "ECmode", bool "stabilize", int "maxr", int "TTstr", bool "flat", float "GFthr", int "AGstr", int "bias", int "bwbh", int "owoh", int "blksize", int "overlap", bool "truemotion", bool "safe", bool "MVglobal", int "bt", int "ncpu", int "precision", int "mode", int "thSAD", int "thSAD2", int "thSCD1", int "thSCD2", int "pel", int "pelsearch", int "search", int "searchparam", int "MVsharp", int "DCT", clip "p", string "settings", bool "show", int "screenW", int "screenH" )
and the amount of dependencies to different dlls and script)
But you can still use it through the Custom-option, if you know what you are doing. Be warned, from what I read it should be the last filter used when MT mode is enabled, it seems to be a bit unstable from what I read.

Music Fan
13th July 2016, 10:45
Hi Selur,
I encoded an avs file (yv12 output) in x264 with Hybrid and MediaInfo tells the resulting mkv is in BT709, I believed it would be BT601, is it normal ? The resolution is little, 320x240.
I may not have selected the good profile, I don't know what to choose.

edit : I found, this was because of the profile I had selected, now I use bt470 (= 601).

Music Fan
14th July 2016, 09:31
Hi,
Hybrid can't open avs file containing accent (é), it works with e instead. But it is still a 2015 version.

Selur
14th July 2016, 17:04
@MusicFan: fixed locally

Jamaika
17th July 2016, 15:20
I have a problem with the codec VP9.
When you choose the option VBR and applies dropframe 100 for framerate 30000/1001 film correctly plays. Reportedly dropframe is used to all fps divided by 1001.
When you choose the option CBR and used dropframe 100 for framerate 30000/1001 in the film deleted every second frame. Strange.:confused: Film has fps=15000/1001

Selur
18th July 2016, 17:02
Do the command lines look right? Not sure if this is a bug in Hybrid or a bug in vpxenc/libvpx or the used decoder.

Jamaika
18th July 2016, 17:15
It's not urgent. Simply so it has.
It's bug in vpxenc/libvpx.

It's OK
vpxenc.exe -v --threads=4 --i420 --profile=0 --best --codec=vp9 --fps=30000/1001 --cpu-used=0 --passes=1 --pass=1 --drop-frame=100 --disable-kf --target-bitrate=6000 --end-usage=vbr --output="imagevp9_boost200.webm" -
It has fps=15000/1001
vpxenc.exe -v --threads=4 --i420 --profile=0 --best --codec=vp9 --fps=30000/1001 --cpu-used=0 --passes=1 --pass=1 --drop-frame=100 --disable-kf --target-bitrate=6000 --end-usage=cbr --gf-cbr-boost=200 --output="imagevp9_boost200.webm" -
It's OK
vpxenc.exe -v --threads=4 --i420 --profile=0 --best --codec=vp9 --fps=25000/1000 --cpu-used=0 --passes=1 --pass=1 --drop-frame=0 --disable-kf --target-bitrate=6000 --end-usage=cbr --gf-cbr-boost=200 --output="imagevp9_boost200.webm" -

Selur
18th July 2016, 17:32
It's bug in vpxenc/libvpx.
-> best report it over at their bug tracker (https://bugs.chromium.org/p/webm/issues/list)

Magik Mark
30th July 2016, 03:46
Is there a way for me to tell which filter comes first. second and last? Can I adjust this?

Selur
30th July 2016, 07:37
No, the filter order can't be changed.

Magik Mark
30th July 2016, 10:59
Is there a way to change the MT mode for each filter?

Selur
30th July 2016, 11:03
Yes, in example by manually editing the "mtMode..." entries of the FilteringModelDefaults.xml (changes require Hybrid to restart to take effect)
If you think you found better defaults for those values, let me know.

Magik Mark
30th July 2016, 14:01
I will, thanks. By the way encoding in x265 is a lot faster now compared to the previous build. It's Similar to staxrip now


Sent from my iPhone using Tapatalk

Selur
30th July 2016, 14:15
Didn't change anything -> x265 version changed probably something. :)

Magik Mark
30th July 2016, 22:47
I'm wondering where you are getting the opencl.dll? I need both x32 & x64 to try it out with madvr and staxrip thanks


Sent from my iPhone using Tapatalk

Selur
31st July 2016, 09:00
OpenCL.dll should normally come with your graphic card drivers. The one inside the avisynth plugins folder, came with KNLMeansCL (https://github.com/Khanattila/KNLMeansCL/releases/tag/v0.7.6)

Magik Mark
31st July 2016, 13:58
I have this avisynth+ plus script that is similar to interframe but a lot faster. It also uses SVP flow. Is there a way for me to use this in hybrid? I don't know how to convert it


Sent from my iPhone using Tapatalk

Selur
31st July 2016, 14:17
Problem is that the script changes the frame count and frame rate and unless Hybrid is aware of those changes Hybrid would assume wrong numbers and thus show wrong progress, calculate wrong length, size,....
So assuming the script would already run with avisynth (since avisynth+ and avisynth are quite similar that is not that far off), only way to use it would without much trouble would be to write another script which uses your script and feed that as input to Hybrid.
Other than that I can't say more about an unkown script which 'is similar to interframe but a lot faster'.

Magik Mark
31st July 2016, 20:59
Do you have the time to take a look at it? Its just short and simple. Maybe that's why it is a lot faster

Selur
1st August 2016, 04:29
Post it an I can look at it once I'm back from work.

Magik Mark
1st August 2016, 07:13
Here you go:


global threads = 27

SetFilterMTMode("DEFAULT_MT_MODE", 2)
SetFilterMTMode("SVSuper", 1)
SetFilterMTMode("SVAnalyse", 1)
SetFilterMTMode("SVSmoothFps", 1)
SetFilterMTMode("ffdShow_source", 3)

ConvertToYV12()

global crop_string = ""
global resize_string = ""
global super_params = "{pel:1, scale:{up:0}, gpu:1, full:false}"
global analyse_params = "{main:{search:{coarse:{distance:-8}, distance:0}}}"
global smoothfps_params = "{gpuid:0, rate:{num:5, den:4}, algo:23, mask:{area:50, cover:80}, scene:{blend:true, mode:0}}"

function interpolate(clip src)
{
input = crop_string=="" ? src : eval("src."+crop_string)
input = resize_string=="" ? input : eval("input."+resize_string)
super = SVSuper(input, super_params)
vectors = SVAnalyse(super, analyse_params, src=input)
smooth = SVSmoothFps(input, super, vectors, smoothfps_params, mt = threads, src = src)
return smooth
}

input = last

eval("""interpolate(input)""")

Prefetch(threads)

Selur
1st August 2016, 18:08
It's basically the same as interfame, just using different parameters. -> have you tried simply using a faster preset than the default 'Medium' ?

Magik Mark
1st August 2016, 22:46
I tried all the preset and its really slow. Is there a way to use this script instead of interframe? This is 3x faster

Groucho2004
1st August 2016, 23:10
I tried all the preset and its really slow. Is there a way to use this script instead of interframe? This is 3x faster
Run the script through avsmeter and post the results. I'm especially curious about the amount of threads that you're running with a prefetch value of 27. :eek:

Magik Mark
1st August 2016, 23:42
Changed the threads to 4. So far ok

Running fd3k -> knlmeans -> interframe = 25fps

Interframe(GPU = true, preset = faster, tuning = smooth, NewNum = 30000, NewDen = 1001, overridealgo = 23, Cores = 4)

Selur
2nd August 2016, 04:21
I could add an option to specify the 'Cores' value of Interfame. Still 27 seems a rather high value.

Magik Mark
2nd August 2016, 09:53
I'm using hybrid in a 60" display. Is there a way to make the window and fonts bigger?

Selur
2nd August 2016, 17:38
Sure, *hidden* Hybrid options,... (http://forum.selur.de/topic33-hidden-hybrid-options.html)->misc.ini options->change GUI fontsize / change GUI toolTipFontSize should help.

Magik Mark
2nd August 2016, 22:08
Thanks that work!

Is there a way to create a user defined preset for the filters? For example, in KNLMeans I would like to create a preset light, medium and strong

Magik Mark
3rd August 2016, 01:00
How do I make a shortcut on the desktop such that the preferred style always load?

-style plastique -stylesheet=black-blue_plastique.qss

Selur
3rd August 2016, 04:17
How do I make a shortcut on the desktop such that the preferred style always load?
Like mentioned under*hidden* Hybrid options,... (http://forum.selur.de/topic33-hidden-hybrid-options.html)->'Command Line Interface (CLI)', make sure to use full paths and not relative ones.
-style plastique -stylesheet "d:\Hybrid\styles\black-blue_plastique.qss"
Other than that, you add the additional parameters to the target of the shortcut. (not Hybrid specific)

Is there a way to create a user defined preset for the filters? For example, in KNLMeans I would like to create a preset light, medium and strong
No. You can save avisynth presets (which contain all avisynth settings) in the dev version, but there is no option to create custom presets for each filter.

Cu Selur

Magik Mark
3rd August 2016, 11:47
If I have the required files for qaac, do I still need to install quicktime or itunes? Where do I place the said files?

Magik Mark
3rd August 2016, 11:55
I have 3 jobs in the queue. Exited hybrid. Reopen Hybrid. How do I then edit the settings for a particular job? Let's say job 2. Changes needs to be made on some parameters or to review the chosen parameters for a particular job

Magik Mark
3rd August 2016, 13:31
Possible audio profile bug?

1. I have 2 audio profile, 256kbps aac fdk he and 320kbps aac fdk he
2. My default is saved to 256kbps
3. Encoding with the default has no problem
4. If I apply my second profile which is 320kbs (I clicked the apply profile button). It changes the required fields to 320kbps aac fdk he
5. However, when the encoding starts, it still uses the default 256kbps
6. Work around for the meantime is to change the default to 320kbps and save it
7. Load the video and start encoding

Selur
3rd August 2016, 19:08
... you can edit your posts ...
If I have the required files for qaac, do I still need to install quicktime or itunes? Where do I place the said files?
Aside from the 'Apple Application Support' Hybrid already comes with all other files,... also read http://forum.doom9.org/showthread.php?p=1646783#post1646783 and following

I have 3 jobs in the queue. Exited hybrid. Reopen Hybrid. How do I then edit the settings for a particular job? Let's say job 2. Changes needs to be made on some parameters or to review the chosen parameters for a particular job Editing existing job isn't possible in Hybrid and will probably not come in the foreseeable future.

4. If I apply my second profile which is 320kbs (I clicked the apply profile button). It changes the required fields to 320kbps aac fdk he
5. However, when the encoding starts, it still uses the default 256kbps
the question is how the audio queue entries look like,.... (far to few infos to even consider to look into this)

Magik Mark
4th August 2016, 00:55
the question is how the audio queue entries look like,.... (far to few infos to even consider to look into this)


There is only one audio. What more info do I need to provide?

Update: No matter which audio profile I choose. It keeps on using fdk when encoding starts. Any ideas?

Update: Reset to video input helps

Why doesn't it follow what's on the audio field parameter?

Selur
4th August 2016, 04:12
Create debug output level 9 which should include the loading of your source, the adjustment of the settings and the audio job creation.
Also a small step by step what you did would help to speed-up the process of reading the debug output.
My guess atm. revolves around some combination of assumed audio channel count and actual audio channel count.
+ a copy of the profile you apply would also help.

Magik Mark
4th August 2016, 23:58
Create debug output level 9 which should include the loading of your source, the adjustment of the settings and the audio job creation.
Also a small step by step what you did would help to speed-up the process of reading the debug output.
My guess atm. revolves around some combination of assumed audio channel count and actual audio channel count.
+ a copy of the profile you apply would also help.

Thank you! I was able to figure it out. I still need to get accustomed with the UI. There are steps that need to be executed first

Among the aac encoders, which do you prefer and why?

Selur
5th August 2016, 05:22
Personally I mainly use qaac, no special reason. Since I mainly use LC aac with relative high bit rates it doesn't really matter which encoder I use.
qaac > fhgaac > fdkaac > neroaacenc > faac > ffmpeg aac is probably the general order in regard of quality, but since all those encoders are rather mature afaik it shouldn't really matter.
Thank you! I was able to figure it out.
Wrong audio handling?

Magik Mark
5th August 2016, 23:37
Wrong audio handling?

When encoding the audio I need to follow certain steps in order for the parameters to stick:

Option 1

1. Main -> Audio Handling -> Custom
2. Audio -> Enter the parameters -> "+"

Option 2
1. Main -> Audio Handling -> Auto add (fist / all)
2. Audio -> Enter the parameters -> Reset to Video Input

In other GUIs encoder that I have used like, staxrip. These steps are not necessary. Just the enter the parameters and it would stick during encoding

Magik Mark
5th August 2016, 23:43
Selur,

Is it possible to have the dependencies updated too? I know they are a lot that needs to be check from time to time
Is it also possible to have 2 updates a month? It seems changes are made in the dependencies like, x265 almost daily. It's easy to just replace them but it's quite confusing for average users to change the parameters in hybrid. Program may react differently. Defaults may be altered as well