Log in

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


Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78

Selur
26th February 2010, 20:52
Hybrid is a Windows Qt based frontend for a bunch of other tools (http://www.selur.de/licence) which can nearly open every input to x264/x265/.. + ac3/ogg/mp3/aac/flac inside a avi/mp4/m2ts/mkv/webm container, a BluRay or an AVCHD structure.

Here's a general feature list: Extensive ability to configure x264s setting (with dependency checks)
ability to use x265
tagging support for mkv/mp4
chapter support for mkv/mp4/BluRay
subtitle suppot for mkv/mp4/BluRay
audio/video Profile-support
an integrated bitrate calculator
accepts vc-1 and avc raw input
a DTS Extension bitrate calculation for dts-hd audio inside a .m2ts file
manual&automatic creation&passthrough of chapters
ability to encode single tile/chapters
a job-control
aac/mp3/ac3/ogg audio encoding with neroAacEnc/mencoder/ffmpeg
filtering through mencoder (+ some resize automation)
acceptable Input: avs and everything that mplayer/ffmpeg can decode
possible output x264 + ac3/ogg/mp3/aac x264 + ac3/ogg/mp3/aac inside a mp4/m2ts/mkv container, a BluRay or a AVCHD
audio&video passthrough, which allows it to use Hybrid as a muxing tool
stuff I forgot to mention ;)
Sourcecode:
Atm. there's no specific plan when and if I release the source code. (If/When I stop developing Hybrid I will probably release the code under lgpl.)


Licence:
Hybrid is free for personal usage.
(Licence restrictions of the tools used are inside the windows package)
-> see licence (http://www.selur.de/licence)

For Downloads etc. visit: http://www.selur.de

Cu Selur

Selur
27th February 2010, 23:23
Hybrid ver. 100227

*fixed*
- Hybrid crash if x264 version didn't support a feature
- close/shutdown on queue finished
- nal-hrd cbr/vbr-info for bluray output

*added*
- show indexing status when x264 indexes the input
- x264s '--refresh-intra' option

-> updated links in 1st post

Langelo
28th February 2010, 03:26
Hi Selur,
nice application. All we hope you keep goin' on.
Thank you

Riki
28th February 2010, 03:55
Thanks for the hard work on this, amazing app!

I have a bug where Hybrid crashes when I drag multiple files to the input. It looks as if this happens because I choose "custom add all" in the audio option. Im also on windows 7 64bit. Could you verify this?

Selur
28th February 2010, 11:10
@Riki: I can reproduce it. :) -> fixed it, will send you a fixed version for testing

Hybrid ver. 100227_2

*fixed*
- crash on MultiFileInput and audio handling 'custom add all'
- Linux: dvd analysis

Changelog auf Deutsch:

*gefixed*
- Crash bei MultiFileInput und Audio handling->'custom add all'
- Linux: DVD Analyse

-> updated links in 1st post

Brazil2
28th February 2010, 18:21
After some quick tests I've done on Windows XP only (I'll try on Debian Lenny later):

I'm getting this error message at the program launch:
Error
mediumValue value "BD/DVD 5/9" is not present in current list


Video is always reported like this:
Video information:
Format: AC-3
Bitrate: 640


For x264 I couldn't find the option for --no-dct-decimate so I had to use the command line addition box. Not a big deal but a switch, a box, would be usefull.


Downmixing an AC-3 5.1 audio source to AAC stereo using Nero didn't work. The result is a (working) AAC 5.1 as if the stereo downmix request has been ignored.


After muxing to MP4 MediaInfo reports this information:
Format profile : JVT
However I've not used the JVT matrix neither any other custom matrix.

Selur
28th February 2010, 18:24
will take a look at it a bit later, working on a linux bug atm.

mediumValue value "BD/DVD 5/9" is not present in current list
if you got this on the first start: Reset the Defaults

Video is always reported like this:
What is the input?

Imortant infor needed to fix&repoduce bugs:
1. What Hybrid version did you use?(Windows/Linux 32/64bit + versions number)
2. What did happen? If an error message came up what did it exactly say?
3. What did you do to get to the bug? (best thing is a detailed step-by-step guide so that I can reproduce the problem)
4. If possible a small sample file would be great. (upload it somewhere and send me a link via pm)
All these infos might be needed to reproduce the problem and reproduction is needed to find a fix.
If you find a bug, I'll try to fix it and send you a hopefully fixed version for testing via pm.

Brazil2
28th February 2010, 18:40
What is the input?
I've actually tried with two different source files, one is a BD backup with a VC1 video stream and AC-3 5.1 audio muxed in MKV and the other one is the original M2TS from the BD with H264 video and AC-3 5.1 audio.
Here is a split of the VC1 in MKV:
http://www.megaupload.com/?d=BNLUTD5G


1. What Hybrid version did you use?(Windows/Linux 32/64bit + versions number)
Hybrid Win32 package 100226 with the lastest up to date EXE from Hybrid_100227_2.zip running on Windows XP 32 bits.

Selur
28th February 2010, 18:42
Thanks will have a look at it. :)
-> can repoduce both problems will fix it and send you a fixed version for testing. :)

CpT
28th February 2010, 19:43
I'm having the same issue regarding the audio showing up in the video section.

Selur
28th February 2010, 19:50
compiling a new release :)

Selur
28th February 2010, 20:02
Hybrid ver. 100227_3

*fixed*
- a bunch of Linux related handling bugs
- audio/video analyse mixup
- defaults being saved unsorted

(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
Reset Defaults in Misc-Tab on first start

-> updated links in 1st post

CpT
28th February 2010, 20:12
It reads it correctly now Thanks.

It still throws an error when trying to run a f4v file though it. If I rename it to mp4 its fine.

Selur
28th February 2010, 20:15
What error? Got a sample? (Hybrid only uses mp4box for .mp4 content. :))

CpT
28th February 2010, 20:21
Here's a small sample:
http://vizmu.com/flash/sample.f4v


Edit:
Whats the deal with no subme 10? Even with trellis 2 I can't access it.

Selur
28th February 2010, 20:48
Whats the deal with no subme 10? Even with trellis 2 I can't access it.
void X264InternalLogicService::adjustSubMe(X264Model *model)
{
bool cabac = model->stringValue("entropyCoding") == QObject::tr("CABAC");
bool trellis = model->stringValue("trellisQuantization") == QObject::tr("always");
bool adaptiveQuant = model->stringValue("adaptiveQuantization") != QObject::tr("disabled");
bool qcomp = model->doubleValue("curveCompression") != 1;
QStringList values;
values << QObject::tr("0: fullpel motion estimation only");
values << QObject::tr("1: sad + 1pass quarterpixel");
values << QObject::tr("2: satd + 2pass quarterpixel");
values << QObject::tr("3: halfpixel + 2pass quarterpixel");
values << QObject::tr("4: always quarterpixel");
values << QObject::tr("5: quarterpixel + bidirectional motion estimation");
values << QObject::tr("6: rate distortion optimization on I-/P-frames");
values << QObject::tr("7: rate distortion optimization on all Frames");
values << QObject::tr("8: rate refinement on I-/P-frames");
values << QObject::tr("9: rate refinement on all frames");
if (cabac && trellis && adaptiveQuant && qcomp) {
values << QObject::tr("10: trellis based rate refinement on all frames");
}
this->doSet(model, "subPixelPrecision", "elements", values);
}-> qcomp need to be != 1, trellis, adaptiveQuantization and cabac need to be enabled (you probably didn't enable adaptive quantization)

What OS do you use? (I might have to make a list to not have to ask everybody every time. :)
Think I fixed the f4v problem. :)

Brazil2
28th February 2010, 20:52
Hybrid ver. 100227_3
- Now the video codec is correct but still not the bitrate which is always 640.


- When trying to downmix an AC-3 5.1 audio source to AAC stereo using Nero it now hangs and nothing happens. Job is stuck to 0% and even if you Stop / Reset / Remove all jobs than won't stop SoX and NeroAacEnc from running and the only solution is to exit Hybrid.

CpT
28th February 2010, 20:58
is qcomp at 1 a typo or something lol? That's pretty high I thought.

I put it at qcomp to 1.0 and subme 10 is now available, odd, when did that change happen to x264?

I run win7 32 bit.

Selur
28th February 2010, 21:00
I put it at qcomp to 1.0 and subme 10 is now available,
.. qcomp shoudl be != 1 for it to be enabled,..

Now the video codec is correct but still not the bitrate which is always 640.
doh, overlooked that,.. :/

Selur
28th February 2010, 21:12
updated: http://www.selur.info/hybrid/Hybrid_100227_3.zip will wait for feedback before updating the rest. :)

MuLTiTaSK
28th February 2010, 21:14
For x264 I couldn't find the option for --no-dct-decimate so I had to use the command line addition box. Not a big deal but a switch, a box, would be usefull.

http://img225.imageshack.us/img225/4366/ss20100228150425.png

thanks for the front-end Selur it's shaping out real nice keep it up;)

CpT
28th February 2010, 21:21
Yup, f4v's work fine now :thanks:

Selur
28th February 2010, 21:22
looking at the subMe 10 problem now. :)

Selur
28th February 2010, 21:32
updated http://www.selur.info/hybrid/Hybrid_100227_3.zip subMe 10 should now work too (didn't update subMe on trellis change ;))

Does anyone know all of the container extensions mp4box can handle (atm. it's restricted to 3gp, mp4 and f4v inside Hybrid)

MuLTiTaSK
28th February 2010, 22:08
@Selur

MP4Box -h import (bit.ly/cQdOZJ)

Selur
28th February 2010, 22:11
Don't see any container thats 'mp4 compatible' as I ment it. ;)
I'm looking for which container can be re-/demuxed by mp4box and from which it can extract stuff. :)

Riki
28th February 2010, 22:43
Thanks Selur, I can confirm the multiple input bug if fixed!! :)

Selur
28th February 2010, 22:50
Just made a silent update to all the Hybrid_100227_3-builds, will now take a shower, grab a bite, watch daily show and then go to sleep, so I'll be back in around 9 hrs. :)

Cu Selur

MuLTiTaSK
28th February 2010, 22:52
@Selur

:thanks:

Alex_080
1st March 2010, 14:31
Hi Selur
Audio Synchronization Problem

Sample File : http://www.mediafire.com/?4d4ntwxymn2
Encoded File : http://www.sendspace.com/file/vkr7qc
Log Messages : http://www.sendspace.com/file/v5r5t8

I Use :
Hybrid - 100227_3
Video--------x264
Audio ---------Custom add all
Bitrate------------380
AVC----------High/5.1
Threads---------6
Present--------------slower
Tune-------------------Animation

Reencode audio stream

aac auto Nero AAC

Downmix --------don't change

I also face Problem in encoding 6 channel audio file to 2 channel please help.

Selur
1st March 2010, 14:47
will look at it :)

Selur
1st March 2010, 15:14
tried to extract and remux the file via:
mkvextract tracks "Input.mkv" 2:"test_eng.ac3"
mkvextract tracks "Input.mkv" 3:"test_jpn.ac3"
mkvextract tracks "Input.mkv" 1:"test.264"
mkvmerge --ui-language en -o "test.mkv" -d 0 --no-track-tags --default-duration 0:30000/1001fps --aspect-ratio-factor 0:1.185 --fourcc 0:MP4V --no-chapters --forced-track 0:no --no-audio --no-subtitles "test.264" --no-track-tags --no-chapters --forced-track 0:no -a 0 --no-video --no-subtitles "test_eng.ac3" --no-track-tags --no-chapters --forced-track 0:no -a 0 --no-video --no-subtitles "test_jpn.ac3" --no-global-tags
-> no clue what's with the file but even after a simple remux it's asynch.

Atak_Snajpera
1st March 2010, 20:06
Two solutions
1) remux source mkv and force 24000/1001 frame rate
2) add convertfps=true to DirectShowSource

Selur
1st March 2010, 20:12
Problem is: how to detect that it is 24000/1001 automatically?
(ffmpeg detects '23.98 tbr', but mediaInfo and mplayer both detect 29.976 fps :( and mkvinfo also shows 29.976)

Hybrid ver. 100228

*fixed*
- a bunch of audio related problems on linux (e.g. ffmpeg->sox->neroAacEnc)
- audio copy (used on audio passthrough or when using raw audio input)
- job indexing on multi audio

-> updated links in 1st post

Cu Selur

Ps.: no clue atm how to better detect fps than mediainfo,... -> got an idea :) may be extracting the time codes will help (just have to figure out how to get them with mkvextract and then integrate them into Hybrid)
('mkvextract.exe timecodes_v2 wrongFramerate.mkv 1:timecodes.txt' seems to work ;))

MuLTiTaSK
2nd March 2010, 15:09
@Selur

i keep getting this error upon startup?
Log Messages
subPixelPrecision value "10: trellis based rate refinement on all frames" is not present in current list

any chance for eac3to (http://en.wikibooks.org/wiki/Eac3to/How_to_Use) support?

buzzqw
2nd March 2010, 15:21
eac3to hasn't a linux build available ...

BHH

MuLTiTaSK
2nd March 2010, 17:41
@buzzqw

HOWTO: running eac3to under wine with Arcsoft TotalMedia Theater for DTS-HD decoding (bit.ly/ahN12L)

Selur
2nd March 2010, 18:23
no wine for me :)

i keep getting this error upon startup?
I know where the problem is, will fix it later. (when I'm back home ;))

MuLTiTaSK
2nd March 2010, 20:30
@Selur

eac3to would allow the user to open complete (bit.ly/5s8dkW) BluRay's directly in Hybrid not just files (*.m2ts)
title choice for multiple titled discs like you allow with DVD's
extract original chapters from source
eac3to audio functions it's what seperate it's from most demuxers hands down essential tool for BluRay conversions;)

Hybrid x264 interface is awesome control of so many switches in a GUI is sweet great coding you doing keep it up :thanks:

Selur
2nd March 2010, 23:07
working on timecode extraction atm to be able to get the right averageFps and keep them on passthrough.
strange thing is
mkvextract timecodes_v2 "D:\sx264\testclips\wrongFramerate.mkv" 1:"timeCode_22_55_22_058.txt" creates a timecode file
mkvextract timecodes_v2 "D:\sx264\testclips\wrongFramerate.mkv" 1:timeCode_22_55_22_058.txt creates a timecode file
mkvextract timecodes_v2 "D:\sx264\testclips\wrongFramerate.mkv" 1:"D:\Encoding Temp\timeCode_22_55_22_058.txt" doesn't create a timecode file :(
->going to ask mosu for help,..
seems to be my system was at fault, works now :)
-> send Alex a link to a fixed version for testing

Selur
3rd March 2010, 14:47
Hybrid ver. 100303

*added*
- 'Check average fps of mkv files' under Misc->Handling:
this will grab the time codes of incomming mkv files an adjust the frame rate according to the average frame rate calculated from the time codes.

*fixed*
- Linux mkfifo handling by removing it

*changed*
- removed all mkfifo dependencies

(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
Reset Defaults in Misc-Tab on first start

-> updated links in 1st post

Riki
3rd March 2010, 15:51
Im trying to encode to Baseline and its not working. Is there anything special that I need to do in order to do this?

I change the Profile to Base and the Level to 3.1 but it still outputs High/3.1

Selur
3rd March 2010, 15:53
probably a small typo, brb

Riki
3rd March 2010, 16:06
Thanks! I liked in sx264 when it would deactivate features when switching to baseline.

Selur
3rd March 2010, 16:06
-> redownload latest build, should be fixed now (removed it for some testing and forgot to reinsert it ;))
Thanks! I liked in sx264 when it would deactivate features when switching to baseline.
I'll recheck on that, don't know atm why this is not happening. ;)

Riki
3rd March 2010, 17:22
Thanks, because currently the encode crashes for me because I probably have non-baseline features defined. I tried disabling CABAC and B-Frames but its still crashing.

Selur
3rd March 2010, 18:18
did a silent update on the download links ;)

Riki
3rd March 2010, 18:19
Thanks Selur, fixed!!

Alex_080
4th March 2010, 01:54
Thanks Selur ur new Hybrid version works perfectly with dual audio files and it work nicely:)

MuLTiTaSK
4th March 2010, 07:04
anybody using JoshyD AviSynth x64 Build's (bit.ly/dtXHXH) with Hybrid?

http://img43.imageshack.us/img43/8035/ss20100304005234.png