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


Pages : [1] 2 3 4

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

Selur
4th March 2010, 17:18
No sure if 64bit Avisynth would cause a problem for avsInfo and mplayer/mencoder,.. so if you try please report. :)

Cu Selur

Ps.: btw. where are current megui profiles located at? (haven't updated the megui profile import function for ages ;))

MuLTiTaSK
4th March 2010, 17:37
@Selur

http://megui.org/auto/x264_presets_v33.zip

Selur
4th March 2010, 17:37
Thanks :)
(ugly,.. seems like all 'new' thinks just show up in the custom command line,..)

MuLTiTaSK
4th March 2010, 18:23
@Selur

i'am trying to find 64bit windows builds of the tools used by Hybrid to maybe help in creating a full 64bit package of Hybrid anybody that could help please chime in;)

http://sourceforge.net/projects/mediainfo/files/binary/mediainfo/0.7.28/MediaInfo_CLI_0.7.28_Windows_x64.zip/download
http://natsuki.mplayerhq.hu/~reimar/mplayer.exe
http://natsuki.mplayerhq.hu/~reimar/mencoder.exe
http://ffmpeg.arrozcru.org/autobuilds/ffmpeg/mingw-w64/
http://komisar.gin.by/old/1471/x264.1471.generic.x86_64.exe
http://komisar.gin.by/old/1471/x264.1471kGIT.generic.x86_64.exe
http://komisar.gin.by/old/1471/x264.1471kMod.generic.x86_64.exe
gpac-cvs-20090805.generic.7z (http://komisar.gin.by/mingw/gpac-cvs-20090805.generic.7z)
gpac-cvs-20090805.core2.7z (http://komisar.gin.by/mingw/gpac-cvs-20090805.core2.7z)
gpac-cvs-20090805.k8.7z (http://komisar.gin.by/mingw/gpac-cvs-20090805.k8.7z)
http://www.selur.info/avsInfo.zip <- 64bit capable?
JoshyD AviSynth x64 Builds (bit.ly/dtXHXH)

Selur
4th March 2010, 18:36
"64bit capable?" No clue, needs to be tried out. :) (got no 64bit Avisynth running here :))
(Source code: http://stashbox.org/812403/avsInfoSource.zip)
----

MediaInfo: http://sourceforge.net/projects/mediainfo/files/binary/ (don't take the gui, but the command line version)
don't think there are 64bit versions of the other tools and it's mainly ffmpeg, mencoder, mplayer and x264 that would (potentially) promise a speed gain when going for 64bit :)

Cu Selur

Selur
4th March 2010, 19:45
Hybrid ver.100304

*fixed*
- interlaced detection
- typo: vob -> VOB (was a problem for Linux DVD analysis)

*changed*
- use absolute paths in analyzers

(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

Selur
4th March 2010, 22:38
Here's a 32bit Windows build with experimental MeGui-Profile-Import: - removed - (x264->Misc->Import)
Too groggy to test if this causes any problems so would be nice if someone could check if the profiles are imported correctly. :)

Cu Selur

MuLTiTaSK
6th March 2010, 06:19
@Selur

--mbtree gets disabled and --slices are added for most MeGUI profiles
http://img41.imageshack.us/img41/5061/ss20100306001502.png
http://img41.imageshack.us/img41/9068/ss20100306001623.png

Selur
6th March 2010, 08:54
since most of them have <NoMBTree>true</NoMBTree> and <SlicesNb>0</SlicesNb> this should be right :)

MuLTiTaSK
6th March 2010, 16:32
@Selur

Slices are only enabled in the Bluray profiles mbtree is enabled in most profiles
http://img532.imageshack.us/img532/8577/ss20100306102357.png
http://img532.imageshack.us/img532/444/ss20100306102316.png

Hybrid adds --slices 4 --no-mbtree to all imported profiles
http://img689.imageshack.us/img689/5750/ss20100306102950.png

Selur
6th March 2010, 16:50
thanks, found the problem, updated: - removed - and added MeGui Audio Import in the audio section

MuLTiTaSK
6th March 2010, 18:30
@Selur

mbtree is still getting disabled

getting this error importing audio profiles
http://img221.imageshack.us/img221/8108/ss20100306122508.png

Selur
6th March 2010, 18:40
-> tested it <NoMBTree>true</NoMBTree> enablea and <NoMBTree>false</NoMBTree> disables mbtree in MeGui wtf?
will change it and look into the audio thing.

Selur
6th March 2010, 19:25
updated: - removed - hope this fixes the problems ;) (damn psu of my backup (file-)server just died)

MuLTiTaSK
6th March 2010, 21:36
x264_dp_ Bluray - 2pass.xml

MeGUI
program --pass 2 --bitrate 8000 --stats ".stats" --thread-input --profile high --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --output "output" "input"

Hybrid
x264 --pass 2 --bitrate 700 --profile high --level 4.1 --ref 4 --keyint 51 --min-keyint 25 --scenecut 40 --bframes 4 --b-bias 0 --b-pyramid none --direct spatial --b-adapt 1 --cplxblur 20 --qcomp 0.6 --mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --merange 16 --mvrange -1 --subme 0 --8x8dct --trellis 1 --psy-rd 1.0:0.0 --no-fast-pskip --weightp 2 --no-dct-decimate --aq-mode 1 --aq-strength 1.0 --nr 0 --deadzone-inter 21 --deadzone-intra 11 --cqmfile ".qp" --vbv-maxrate 40000 --vbv-bufsize 30000 --threads auto --cabac --sar 1:1 --deblock 0:0 --visualize --stats "PATH TO THE .stats FILE" --fps 25 --output OUTPUTFILE - 48x48

http://megui.xvidvideo.ru/auto/x264_presets_v33.zip

Selur
6th March 2010, 21:49
Profile XML data is:
<X264Nalhrd>false</X264Nalhrd>
<X264Aud>false</X264Aud>
<SlicesNb>0</SlicesNb>
<KeyframeInterval>250</KeyframeInterval>
....
but command line shows:
--slices 4 --aud --nal-hrd vbr --keyint 24 .....
seems like megui nowadays mainly uses the CustomEncoderOptions-Tag:
<CustomEncoderOptions>--profile high --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000</CustomEncoderOptions>
ARGHHHH,.. seeing this I really think about removing MeGui x264 setting input support and add an import option where you enter your command line and Hybrid adjusts the settings accordingly, seems to be the better way to handle these strange config files,...
(I totally don't get why they don't use a xml-structure and don't use the nodes they have)

Cu Selur

MuLTiTaSK
6th March 2010, 22:21
@Selur

XMedia Recode & XviD4PSP encoding presets in simple .ini format -> Profiles.7z (bit.ly/aqWqJx)

Selur
6th March 2010, 22:27
Xmedia Recode seems to use .ini files and Xvid3PSP simply saves the command line as a whole, so at leas writing a Import-X264-CommandLine-To-Hybrid-Settings method seems to be a good idea. :)
I'll write one tomorrow,.. :)

MuLTiTaSK
6th March 2010, 22:57
@Selur

StaxRip has a import x264 switches from command-line (clipboard) function
http://img59.imageshack.us/img59/2614/ss20100306164604.png
http://img59.imageshack.us/img59/3026/ss20100306164614.png
just doesnt have support for as many x264 switches as Hybrid
http://img96.imageshack.us/img96/8981/ss20100306165307.png

thanks for the support;)

Selur
6th March 2010, 23:01
writing such a function isn't hard probably just a bit lengthy,...

3408
7th March 2010, 16:46
updated: http://www.selur.info/test/HybridMeGui.zip hope this fixes the problems ;) (damn psu of my backup (file-)server just died)

Thanks

Selur
7th March 2010, 18:13
Threw out the MeGui-x264Import-Option. (will may be add a new one once they get their profiles less 'magical')
Add an import line Option which really became a lot larger than I would have thought yesterday (ended up to be 1k+ lines ;)), so here's a test version: - removed -

Cu Selur

MuLTiTaSK
8th March 2010, 03:22
Set avcProfile to: High
Set avcLevel to: 4.1
Set encodingTyp to(2): constant rate factor (1-pass)
Set rateFactor to: 16
Set adaptiveBFrameDecision to: optimal
Set bFramePyramid to: normal
Set maxReferences to: 4
Set vbvMaxBuffer to: 40000
Set vbvMaxBitrate to: 40000
Set rcLookahead to: 100
Set adaptiveQuantization to: automatic
Set motionEstimationRange to: 64
Set fullPixelPrecision to: multi-hexagonal
Set bFrameMode to: automatic
Set subPixelPrecision to: 10: trellis based rate refinement on all frames
subPixelPrecision value "10: trellis based rate refinement on all frames" is not
present in current list
Set trellisQuantization to: always
Set psychovisualRateDistortion to: 0
Set psychovisualTrellis to: 0
Set fastDctCalculation to false.
Set fastP-skip to false.

http://img43.imageshack.us/img43/1015/ss20100307211943.png

Adub
8th March 2010, 04:36
I'd like to request a taskbar icon for Hybrid, as I thought that the window was just plain disappearing in my KDE environment when I minimized it. Instead, it went to my task bar and left an empty space instead of an icon. Freaked me out for a few minutes.

Selur
8th March 2010, 07:17
@multitask: think I know where the problem is, will fix it. (have to enable the dependencies of subme10 before setting it)
-> updated: -removed- should work now,..
@Adub: I'll read up on how to add an task icon in kde,...
Just checked,...
KDE:
http://img72.imageshack.us/img72/8677/systemtrayicon.png
Gnome:
http://img51.imageshack.us/img51/4392/systemtrayicongnome.png
for me there's a system tray icon present,... though I admit that depending on your color theme it might be difficult to spot ;) (will test on a friends system later today,..)

Adub
9th March 2010, 06:15
Wait, were those already in there, or did you just add them?

Selur
9th March 2010, 06:18
I started Hybrid and minimized it, didn't change any code.
What Qt Version are you running? (not totally sure if this works before 4.5, since I can't recollect to have tested it before, since I assumed it would work :))

Adub
9th March 2010, 06:24
Ah! I can actually see it now if I look REALLY close. I have a black-ish taskbar, which makes it nigh-impossible to see.

Selur
9th March 2010, 06:26
Ah, okay. Will modify the icon so that it is better visible on dark ground. (That is by far easier than trying to find a bug I can't reproduce. ;))
What linux build are you using: 32/64 bit? (so I can send you a test version)

Adub
9th March 2010, 06:28
64 bit, gentoo-based "Sabayon Linux".

Adub
9th March 2010, 06:40
Oh, and small bug report (100304).

I am unable to add an external audio source in the source tab. I press the "Audio" button, select my source mp4 file (which is pure aac audio, no video) and press Ok. The path does not change from the video input file. What I'm trying to do is a muxing job, with video in "passthrough" and audio in "custom add all". After trying to enqueue the file (to see if it was adding the file invisibly) I get an error about adding an empty audio track while "audio != ignore".

Selur
9th March 2010, 07:04
Damn, can't connect to my svn server atm, seems to be a problem with no-ip. :(
Will look into the audio problem once I can reconnect to my server. :)
-> fixed locally

Cu Selur

Ps.: wrote an XMedia Recode profile importer, but since I never used the program and I'm not totally sure if I interpreted all the settings right some feedback would be nice (if anyone uses it): http://www.selur.info/test/import.zip (Misc->Misc settings->Import)

Riki
9th March 2010, 15:57
Although Ive gotten used to it, I also wanted to say that the icon is almost impossible to see with a dark background. :)

Selur
9th March 2010, 16:02
My backgrounds normally are all bright so I never really noticed. :)
changed it a bit for the next release, it's still not popping into your eyes, but it should be noticeable. ;)
KDE:
http://img117.imageshack.us/img117/5613/kde.png
Gnome:
http://img412.imageshack.us/img412/9808/gnomek.png

Selur
9th March 2010, 16:53
Hybrid ver.100309

*added*
- x264 command line import (x264->misc)
- XMediaRecode profile importer (misc->misc settings->import), probably buggy since I had to guess a bunch of mappings (feedback is welcome ;))
- MeGui audio profile import (audio->misc->import)
(added and removed a MeGui video import option, since as far as I can tell their profiles are inconsistent)

*changed*
- rearrange audio tab
- prefer mencoder on ulaw audio input
- system tray icon to be a bit better visible with dark backgrounds
- show output framerate in filterTab (!not accounting for x264 pulldown parameter!)
- show subtitle extraction progress

*fixed*
- forgot to do anything when 'telecine' was enabled

(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

Adub
11th March 2010, 04:42
Okay, while attempting to create a smaller file to file a bug report with, I found another bug.

Description: When loading an audio only mp4, with audio set to passthrough all and file splitting set to 10 MB, mp4 box crashes.
Debug log:

2010.03.10 - 19:34:48_100309 - on_removeJobPushButton_clicked
2010.03.10 - 19:34:48_100309 - getSelectedParentIDs
2010.03.10 - 19:34:48_100309 - acceptableState CRASHED -> : true
2010.03.10 - 19:34:48_100309 - removeJobs called: 19_33_20_664
2010.03.10 - 19:34:48_100309 - removing: 19_33_20_664
2010.03.10 - 19:34:48_100309 - filtered count: 3
2010.03.10 - 19:34:48_100309 - remove: 19_33_20_664
2010.03.10 - 19:34:48_100309 - on_clearQueuePushButton_clicked
2010.03.10 - 19:34:48_100309 - removeJobs called:
2010.03.10 - 19:34:53_100309 - checkAndCreateJobs,...
2010.03.10 - 19:34:53_100309 - Checking audio for: /home/adub/audio+tests.mp4
2010.03.10 - 19:34:53_100309 - checking subtitle settings,...
2010.03.10 - 19:34:53_100309 - subtitles look okay.
2010.03.10 - 19:34:53_100309 - video settings look okay.
2010.03.10 - 19:34:53_100309 - generating VideoCalls...
2010.03.10 - 19:34:53_100309 - SourceCount: 1
2010.03.10 - 19:34:53_100309 - createJobs called...
2010.03.10 - 19:34:53_100309 - createJobs for: /home/adub/audio+tests.mp4
2010.03.10 - 19:34:53_100309 - no video calls detected
2010.03.10 - 19:34:53_100309 - called with empty tag list
2010.03.10 - 19:34:53_100309 - called with empty chapter queue
2010.03.10 - 19:34:53_100309 - createJob audio...
2010.03.10 - 19:34:53_100309 - createAudioJobs: /home/adub/dark audio.mp4;0;aac;2;passthrough;159;;;48000;;und;0;9133.38;aac;0;0;don't change
2010.03.10 - 19:34:53_100309 - jobCount: 1
2010.03.10 - 19:34:53_100309 - createAudio for job: 0
2010.03.10 - 19:34:53_100309 - createAudioJob, current: /home/adub/dark audio.mp4;0;aac;2;passthrough;159;;;48000;;und;0;9133.38;aac;0;0;don't change
2010.03.10 - 19:34:53_100309 - createAudioJob: /home/adub/dark audio.mp4
2010.03.10 - 19:34:53_100309 - createAudioJobForFile: /home/adub/dark audio.mp4
2010.03.10 - 19:34:53_100309 - extract4Nero: false
2010.03.10 - 19:34:53_100309 - generateAudioOutputName: Input: /home/adub/dark audio.mp4
-> isRaw: false
Output: audio+tests_und_aid_0__19_34_53_061_01.aac
-> isRaw: false
2010.03.10 - 19:34:53_100309 - generated output name: /tmp/audio+tests_und_aid_0__19_34_53_061_01.aac
2010.03.10 - 19:34:53_100309 - newAudioJob called: 19_34_53_061_01
2010.03.10 - 19:34:53_100309 - -> audioStreams to mux: /tmp/audio+tests_und_aid_0__19_34_53_061_01.aac
2010.03.10 - 19:34:53_100309 - createJob muxing...
2010.03.10 - 19:34:53_100309 - generateMuxingCall..
2010.03.10 - 19:34:53_100309 - generate mp4 mux call called,...
2010.03.10 - 19:34:53_100309 - audioStreamsToMux:
/tmp/audio+tests_und_aid_0__19_34_53_061_01.aac
2010.03.10 - 19:34:53_100309 - audioLangPassthrough: false
2010.03.10 - 19:34:53_100309 - output: /home/adub/audio+tests.mp4
2010.03.10 - 19:34:53_100309 - mp4 audio part ...
2010.03.10 - 19:34:53_100309 - parts: /tmp/audio+tests_und_aid_0__19_34_53_061_01.aac
2010.03.10 - 19:34:53_100309 - clear tagPart
2010.03.10 - 19:34:53_100309 - grabDelayFromFilename: /tmp/audio+tests_und_aid_0__19_34_53_061_01.aac
2010.03.10 - 19:34:53_100309 - ->DELAY 0
2010.03.10 - 19:34:53_100309 - createMuxerAndCleanUpJobs....
2010.03.10 - 19:34:53_100309 - newMuxingJob called
2010.03.10 - 19:34:53_100309 - newCleanUpJob called
2010.03.10 - 19:34:53_100309 - creating new TopLevelItem,..
2010.03.10 - 19:34:53_100309 - Added new sub-job with id: 19_34_53_061_01_audio
2010.03.10 - 19:34:53_100309 - Added new job with id: 19_34_53_061
2010.03.10 - 19:34:53_100309 - Added new sub-job with id: 19_34_53_061_02_muxing
2010.03.10 - 19:34:53_100309 - Added new sub-job with id: 19_34_53_061_03_cleanUp
2010.03.10 - 19:34:55_100309 - on_startJobPushButton_clicked
2010.03.10 - 19:34:55_100309 - getSelectedParentIDs
2010.03.10 - 19:34:55_100309 - getSelectedParentIDs
2010.03.10 - 19:34:55_100309 - startJobs,...
2010.03.10 - 19:34:55_100309 - acceptableState WAITING -> : true
2010.03.10 - 19:34:55_100309 - emit Start()
2010.03.10 - 19:34:55_100309 - starting job: 19_34_53_061
2010.03.10 - 19:34:55_100309 - 127.0.0.1 free count: 1
2010.03.10 - 19:34:55_100309 - 127.0.0.1 parallel count: 1
2010.03.10 - 19:34:55_100309 - Processing: 19_34_53_061_01_audio
2010.03.10 - 19:34:55_100309 - Processing 19_34_53_061_01_audio: MP4Box -raw 1 "/home/adub/dark audio.mp4" -out "/tmp/audio+tests_und_aid_0__19_34_53_061_01.aac"
2010.03.10 - 19:34:55_100309 - 19_34_53_061_01_audio: mp4Box started...
2010.03.10 - 19:34:55_100309 - Starting Main:
"/usr/bin/MP4Box" -raw 1 "/home/adub/dark audio.mp4" -out "/tmp/audio+tests_und_aid_0__19_34_53_061_01.aac"
2010.03.10 - 19:34:55_100309 - processFinished: 1
2010.03.10 - 19:34:55_100309 - Processing: 19_34_53_061_02_muxing
2010.03.10 - 19:34:55_100309 - Processing 19_34_53_061_02_muxing: MP4Box -add "/tmp/audio+tests_und_aid_0__19_34_53_061_01.aac"#audio -splits 10240 -new "/home/adub/audio+tests.mp4"
2010.03.10 - 19:34:55_100309 - 19_34_53_061_02_muxing: mp4Box started...
2010.03.10 - 19:34:55_100309 - Starting Main:
"/usr/bin/MP4Box" -add "/tmp/audio+tests_und_aid_0__19_34_53_061_01.aac"#audio -splits 10240 -new "/home/adub/audio+tests.mp4"
2010.03.10 - 19:34:55_100309 - processFinished: 1
2010.03.10 - 19:34:55_100309 - /home/adub/audio+tests.mp4 does not exist!
2010.03.10 - 19:34:55_100309 - 19_34_53_061_02_muxing: ERROR: /home/adub/audio+tests.mp4 was not created!
2010.03.10 - 19:34:55_100309 - finishedJob: 19_34_53_061
2010.03.10 - 19:34:55_100309 - Client 127.0.0.1 free job count: 1
2010.03.10 - 19:34:55_100309 - startJobs,...
2010.03.10 - 19:34:55_100309 - acceptableState CRASHED -> : false
2010.03.10 - 19:34:55_100309 - No parentjobs -> nothing to do


I'm uploading a the audio file as we speak. Unfortunately it's around 200 mb because I can't split it with Hybrid due to this bug.
edit: first audio sample, full audio file: http://mirror.adubvideo.net/dark audio.mp4

Error Message:
Analysing finished.
Added new job with id: 19_33_20_664
19_33_20_664_01_audio: mp4Box started...
19_33_20_664_02_muxing: mp4Box started...
/home/adub/audio+tests.mp4 does not exist!
19_33_20_664_02_muxing: ERROR: /home/adub/audio+tests.mp4 was not created!
Added new job with id: 19_34_53_061
19_34_53_061_01_audio: mp4Box started...
19_34_53_061_02_muxing: mp4Box started...
/home/adub/audio+tests.mp4 does not exist!
19_34_53_061_02_muxing: ERROR: /home/adub/audio+tests.mp4 was not created!

Hybrid version is 100309

edit2: While trying to mux these two files together using passthrough and custom add, another crash occurs. It looks like the crash is rooted in an mp4box problem.
audio : http://mirror.adubvideo.net/dark audio-001.mka
video : http://mirror.adubvideo.net/video-001.mkv

Selur
11th March 2010, 08:46
I'll look into it. :)
I now know where the problem is, just need to find a way to fix it.
Hybrid is using the false track id, I now 'just' need to find a reliable way to get an MPlayer ID <-> mp4box id mapping. Would be simple for single audio input (simply map first found audioID mediainfo reports to first audio id mplayer reports), problem is I don't know a way to do a more reliable mapping to handle multi-audio input. ;)
(atm Hybrid always used mplayer-AudioID + 1 als mp4box ID which worked for the mp4 files I got here. ;))

File has root IOD
Scene PL 0x01 - Graphics PL 0x01 - OD PL 0x01
Visual PL: No visual capability required (0xff)
Audio PL: AAC Profile @ Level 2 (0x29)

Track # 1 Info - TrackID 101 - TimeScale 48000 - Duration 02:32:13.376
Media Info: Language "Undetermined" - Type "soun:mp4a" - 428127 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000
Synchronized on stream 1

Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "Undetermined" - Type "odsm:mp4s" - 1 samples
MPEG-4 Config: ObjectDescriptor Stream - ObjectTypeIndication 0x01
Synchronized on stream 1

Track # 3 Info - TrackID 1 - TimeScale 600 - Duration 00:00:01.000
Track is present in Root OD
Media Info: Language "Undetermined" - Type "sdsm:mp4s" - 1 samples
MPEG-4 Config: SceneDescription Stream - ObjectTypeIndication 0x02
BIFS Scene description - Command stream
Self-synchronized

-> think I found a fix (at least for the mp4box problem), will send you a linux 64bit Version for testing

While trying to mux these two files together using passthrough and custom add, another crash occurs
think I found the problem for this too :) (.mka was in the 'raw audio extension'-identification list :))
-> send you a link to an updated version, will wait for your feedback before releasing it. :)

Selur
11th March 2010, 14:01
Since I got a call and I'll be off for the days here's a general update:
Hybrid ver.100310

*fixed*
- mkvmerge ui-language (checking now if en or "en_US" should be used)
- mka was handled as if it were raw audio

*changed*
- scanorder detection for dvds
- match mp4 ids of streams to mplayer ids of streams

(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

Adub
13th March 2010, 05:42
Great, thanks Selur. I'll test it ASAP.

Edit: Well, the mkv merge seems to work.

However, I'm still getting a problem when I try to merge an AAC MP4 and a video MP4 generated from a bluray into one output. Apart, the two files work just fine, but when I combine 'em, mplayer just plays the video and chokes on the audio.

The whole process completes just fine, but the end ouput does not play any audio. There is an audio track, but it is silent, or can't be decoded.

This is with Mplayer and VLC.

Selur
13th March 2010, 09:24
Would help if you could reproduce this with a small sample, write a small step-to-step guide how to reproduce it and send me both.
as a small reminder: Important info needed to fix&reproduce 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. Debug output would be helpful. (misc->misc settings->create debug file)
5. 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.

might be he-aac related if so, try it files the playback problem if you call:
MP4Box -sbr "your mp4 file" "aac-sbr-fix.mp4"
on the created file. :)

Also send you a testversion where:
a. Hybrid does he-aac signaling when reencoding to he-aac
b. got a new option in Audio->misc that let's you manually enabling he-aac signaling when using audio passthrough

Cu Selur

Selur
13th March 2010, 22:04
Hybrid ver.100313

*fixed*
- 2pass bitrate adjustment when input and output fps differ (e.g. for ivtc)

*added*
- 'he-aac' signaling for mp4/mkv output
will be done automatically one reencodes the audio to aac high efficency (v2) or neroAacEnc auto-mode and quality < 31, otherwise one has to enable it manually under Audio->Misc

(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

Selur
15th March 2010, 21:25
Hybrid ver.100315

*changed*
- mkvmerge ui languge using 'en' on windows and 'en_US' on linux systems

*fixed*
- 5.1->stereo downmix

*added*
- testing xvid support (still not sure how to set vbv restrictions and haven't written code for zone support yet)

(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

Adub
16th March 2010, 06:43
Just out of curiosity, is there a way to force Hybrid to not save the resolution in the command line when saving an X264 profile? For example, when I created the profile, I was using a video with 624x356 resolution. Now, when I use the profile on a 720 vid, it tries to set the resolution in the x264 commandline to an incorrect resolution (624, instead of 720).

I would much prefer that it just saved the encoding settings and not the resolution.

Selur
16th March 2010, 07:05
oh, that's a bug :) will fix it, the width/height/framerate weren't ment to be saved. :)
send you a pm.

Selur
17th March 2010, 19:00
Hybrid ver.100317

*fixed*
- forgot to remove quotes around filename when converting subtitles
- accidently added embedded subs also to container
- output resolution != expand resolution, when changing output par + changing resolution + changing expand size manually (took me quite some time to find this one :))

*changed*
- converting srt -> ttxt now without mp4box (basic atm. additional options are planned)
- Xvid: vbv can only be restricted through the profiles (see: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-xvid.html) adjusted Hybrid accordingly
- removed some source specific settings from x264&xvid profiles

(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

MuLTiTaSK
18th March 2010, 02:14
@Selur

i cant set more then 50 Lookahead (frames) with x264 in 100317?

eac3to in Hybrid?

keep up the great work:thanks:

Selur
18th March 2010, 05:38
Haven't changed this for quite some time:

syncLoolahead got a minimum of: threads+bramecount = cpuCoreCount*1.5 + bframes
(cpuCount will be detected if threads = 0, otherwise thread value will be used)

rc-lookahead is limited to:
max = Max(gopMaximum, qMax(vbvMaxBitrate, Bitrate)/vbvMaxBuffer*Framerate)

That's what I integrated after: http://forum.doom9.org/showthread.php?p=1321220

So depending on your other settings it might well be that hybrid wouldn't allow more than 50 frames lookahead.

Cu Selur

Selur
19th March 2010, 17:47
Hybrid ver.100319

*fixed*
- a bunch of bugs related to tagging
- automatic qp file generation for chapters
- some small cosmetic glitches

(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
29th March 2010, 20:13
I may have mentioned this before, but hybrid cuts off the last few seconds of the video sometimes and the only way I can fix it is to process the audio with another program and mux it to the mp4.

Is there anything I can try to prevent hybrid from cutting off the last few seconds of the audio?

Selur
29th March 2010, 20:23
I'm not aware of such a problem. Hybrid is not telling any program to cut anywhere. So first it might be interesting to locate the step where the audio gets 'cut'. :)

Cu Selur

Riki
29th March 2010, 20:25
Ill send you a PM with a test file :)

Selur
29th March 2010, 20:27
And a small (&short) step-by-step 'guide' to reproduce it would be nice. ;)

Riki
29th March 2010, 20:45
Ok nevermind, i think I remember the problem and solution from last time. Its a situation where when you downsample audio from 44,100 to 22,500 it cuts some of it off. If I leave it at 44,100 its fine. Ill make sure.

Selur
30th March 2010, 08:50
does anyone have a sample of:
1. a vfr mp4 file
2. the timecode file in mp4 format (belonging to 1.)
3. the timecode file in matroska v2 (belonging to 1.)
wanted to include the possibility to convert between 2. and 3. but got no sample and tc2mp4 doesn't help me.

I just don't understand the nhml format. :(

CpT
31st March 2010, 07:30
Lovin hybrid thus far man gj!

I do have a small request though. Is it possible to have the tags auto added every time? Even just the container tag would be very helpful ;)

-To answer your question I don't have a vfr mp4 file. sry.

Selur
31st March 2010, 07:35
I could add an option automatically add the container-tags, assuming they are present and a container, which supports them (no raw or m2ts output), is created. Got a bunch of (real live, offline) stuff to take care of before, but shouldn't be to hard to add. (give me a few days)

Cu Selur

CpT
31st March 2010, 15:55
Sounds good, I'm in no hurry m8, take your time :thanks:

Selur
1st April 2010, 15:21
Dropped the timecode v2 conversion for mp4 since I don't want to use tc2mp4 and I can't find enough (for me understandable) infos on how to do a matroska v2 -> nhml timecode conversion, so no timecode support for .mp4 for the time being. :)

Selur
6th April 2010, 06:39
Hybrid ver.100406

*changed*
- on interlaced material autodeinterlacer will only select ivtc if mediainfo detected it to be telecine / a 3:2 Pulldown
- audio language tags support for m2ts output
- activate and set vui color prime, transfer and color matrix to bt709 on hardware restriction blu-ray (this will only set the flags and won't do any color space transformations that might be recommend)
- adjusted presets
- some code cleanup (hope I didn't break anything)
- added timecode input/output option (side note: output option will only work properly with mkv output since I don't know how to convert matroska timecode v2 to nhml timecode files)

*fixed*
- some audio&subtitleTags problems
- stop crash on: no info found

*added*
- 'Add container tags on job creation' (will create a tag entry if name, genre, comments or cover isn't empty)

(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

zygo
13th April 2010, 10:41
gday selur

a quick bug for u.
in the misc tab when you go to change the paths to programs (x264 for example), the "all files" filter is set to "*.*" which, on linux, makes x264 invisible.
there is no way to enter the path manually or get rid of the "*.*" filter.

using hybrid 100406 via tightvncserver & fluxbox on an ubuntu linux 9.10 headless server

also, have noticed if i select an iso file (dvd rip) as the source it doesnt pickup the chapters, yet if i mount it first and select it as a dvd folder it does???

cheers :)

zygo

Selur
13th April 2010, 10:51
Will fix the program path thing for linux. (if you post what linux version you use 32/64bit I'll send you a fixed version for testing) :)

About the iso input: I never intended for Hybrid to support .iso files as input. :)
Loading an iso file shouldn't initiate all the dvd-input analyse methods and as such not get all the infos from the source. I'm surprised that this is the only problem you stumbled upon when feeding Hybrid with an .iso file. :)

zygo
13th April 2010, 13:29
im using 32bit linux

yeah, the iso worked the other day (apart from chapters) but since then ive "played" a bit with the system and now (i just checked to confirm) it only picks up the audio track :(
(i know it picked up the video track b4 because i was playing with par & cropping b4 i realised there was no chapters)

cheers

zygo

zygo
13th April 2010, 14:57
gday selur

test version now works for picking up linux binaries. 1 thing u might change tho is if you open up the selection window for a path/binary that has already been entered & then u "cancel" the window, the original path/binary is not retained (clears the entry)

cheers

zygo

Selur
13th April 2010, 15:01
Yup, that was intended since I needed it for testing and never changed the behavior, shouldn't be hard to change so will probably change it later today and release a new version tomorrow. :)

Riki
13th April 2010, 18:51
Is anyone having a problem with changing the framerate of a video? I just grabbed the latest and everything I encode goes to 30fps. Im trying to encode to 10fps.

Selur
13th April 2010, 19:25
Hmm,.. definitely a bug and I know where it is and I even how I created the bug it's a bit tricky to fix. Will fix it tomorrow. :)

Riki
13th April 2010, 19:27
Ahh great, I was hoping I wasnt going crazy haha. :)

Selur
13th April 2010, 19:29
Nope, broke it when I fixed a deinterlacing frame count calculation bug because I overlooked the connection to the force frame rate method. ;)

Selur
14th April 2010, 09:00
Hybrid ver.100414

*fixed*
- scale output frame rate
- use * instead of *.* as filter when selecting program paths under linux
- subtitles asynch when framerate changed due to deinterlace/ivtc
- Chapter EndTime not correctly shown after dvd input load
- dts audio detected as dts-hd

*changed*
- don't set empty program path
- set he-aac signaling if neroaac + auto + quality <= 0.3

*adjusted*
- '--key-min' minimum and default value to 0 (= auto) requires x264 15f5e7ef2d0bd8196b0345dc8fb568c225b22b12 and later

*updated*
- windows 32bit package

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

zygo
14th April 2010, 11:59
gday selur

is there a way to restart a job in the queue that has failed at the point it failed? eg. dvd source has converted audio... has converted video.... mp4box failed to mux (for reasons i havent discovered yet).

i would like to avoid running the 1st 2 stages again (many hours) and just restart at the failed muxing when i work out what went wrong.

also, is it possible to have hybrid restart, should it get killed for some reason, and it picks up the queue that existed when it got killed??

cheers :)

zygo

Selur
14th April 2010, 12:05
Nope, atm. hybrid does neither save the current queue nor can it restart an aborted queue.
About the muxing:
The files created up to the point where Hybrid aborted should be in the Temp-Folder Hybrid uses, so you should be able to just feed it with the infos and set audio&video to direct stream copy and just create a new muxing job.
Atm I would guess that one of the files ment to be muxed wasn't created properly and so the muxing stopped, but without additional infos (see first post) it's just a guess. :)

Tadream
15th April 2010, 16:26
Excellent piece of software.
I've converted a big m2ts to a smaller one to fit on DVD5. The picture was still great.
Too bad it just takes so long to encode but thats got nothing to do with your tool.
I have one question (maybe it's been already asked but I couldn't find it), is there a way to pause an encode?
I noticed a postpone button but it didn't do anything (probably because I only had one job in it?).

Selur
15th April 2010, 16:43
Yup, postpone is to postpone a complete job during in the job handling queue so that it will be skipped. :)
An there's no way to pause an encode, I could add a 'postpone' option for subjobs which would allow to process the subjobs of a specific job to a specific point. (it's bit tricky to add such an option, since I never intended it, if a bunch of people say this is a nice feature I could spend some time thinking about how to implement it :))

Pausing an encoding job during it's processing isn't possible since none of the tools used in the background support it and the only way to do this without the tools especially supporting this would probably include a bunch of heavy memory dumping and would definitely need admin privileges. Don't think this will ever be possible with Hybrid, since it would require something like Windows "hibernate"-mode for a part of the system.
If you just want to 'shutdown' your PC and restart it later, due to the noise the pc makes or something like that, sending windows into hibernate-mode should do the trick.

Cu Selur

Tadream
15th April 2010, 19:43
Thanks for the reply.
There's a pause button in Handbrake and I believe with h264enc you can pause with ctrl+z.
It's not essential though, I just thought of it this afternoon. I wanted to start an encode but I also remembered I wanted to watch a movie tonight (streaming from my laptop) so it would be convenient to pause the encode, watch the movie and then continue the encode.
I remember pause with Handbrake and then put my laptop in suspend, take it with me and later that day start the encode again. But your tool is imo much better then Handbrake.
(using Ubuntu Karmic 64bit and Hybrid 130410 64 bit)

Selur
15th April 2010, 19:47
I normally watch movies while encoding. ;)
Hmm,... linux ;) will look at h264enc how they pause the encoding and see if I can integrate it into Hybrid. (and if it's only possible on Linux or if it's also possible under windows)

zygo
16th April 2010, 02:46
selur
re. pausing so you can do something else while encoding.
not sure if its possible but couldnt you lower the process priority so eveything else would work normally & x264 etc. would just slow down if system is needed for something else? (sorry if this is a stupid question)

cheers

zygo

Selur
16th April 2010, 07:55
I assumed linux would lower the process priority by itself,... I'll do some testing. ;)
-> send you a PM

zygo
17th April 2010, 04:51
gday selur

it would seem that my previous muxing problem is a problem with the chapter file (see attached).
i can load up the video & audio files but when i try to load the chapter file hybrid says "malformed entry CHAPTER01" and will not load it.
without it, mp4box muxes no problems except there is no way to set the par if the video is "passthru" (video was not originally encoded 1:1 so i dont know if i have to set par/dar when muxing?)

cheers

zygo

Selur
17th April 2010, 09:25
don't attach stuff, since attached stuff needs approval of a moderator -> best upload it somewhere and send me a pm with a link

mp4box muxes no problems except there is no way to set the par if the video is "passthru" (video was not originally encoded 1:1 so i dont know if i have to set par/dar when muxing?)
I'll adress this once the 'malformed entry CHAPTER01' is fixed.

Cu Selur

Selur
23rd April 2010, 18:14
Does any one care about an option to really pause encoding? (could add an option to pause processing; if you close Hybrid pausing will be aborted and all data will be lost)

Cu Selur

Brazil2
23rd April 2010, 19:53
Does any one care about an option to really pause encoding? (could add an option to pause processing; if you close Hybrid pausing will be aborted and all data will be lost)
That would be VERY nice indeed!
Yes please, just do it! :D

Selur
24th April 2010, 11:06
Will release a version with pause/resume capability later today.
I even think, under Linux, it might be possible to pause, close Hybrid, open Hybrid and resume in a future version, but I'll have to do some googling about checkpoint software solutions on Linux and Windows.
-> nope definitely needs kernel support to work properly and judging from current development this is far from here :(, so there'll only be a 'pause' while Hybrid is running.

Selur
24th April 2010, 19:51
Hybrid ver.100424

*added*
- option to overwrite frame rate and pixel aspect ratio on passthrough (only applicable when remuxing)
- 'Pause/Resume'-processing option (will pause the whole current queue; pause for single jobs will come once I'm sure this works ;))
- 'open gop'-option (a x264 build with open-gop patch included is needed for this)

*updated*
- windows 32bit package

(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

Selur
25th April 2010, 13:36
*update*
switched x264 version in windows package to a version without the open-gop and x264_filtering-patch since the later requires the input resolution to be specified by "--input-res <intxint>" and doesn't support the 'old'-way (-o output input widthxheight) any more.

Selur
3rd May 2010, 14:42
Hybrid ver.100503

*fixed*
- crash on splitting

*updated*
- windows 32bit package

(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

Selur
5th May 2010, 15:49
Current mencoder used in hybrid needs: http://oss.netfarm.it/mplayer/misc/libfaac-1.28.7z to be able to use faac.

Selur
6th May 2010, 13:28
Hybrid ver.100506

*removed*
- ogg vorbis encoding support since neither mencoder nor ffmpeg can be used properly for encoding

*added*
- workaround for mp4box aborting when split size was greater than output size

*updated*
- windows 32bit package (added libfaac.dll otherwise aac encoding without neroaacenc didn't work)

(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

Changelog auf Deutsch:

*entfernt*
- ogg vorbis encoding support, da weder mencode noch ffmpeg ordentlich genutzt werden können zum Encoden

*hinzugefügt*
- Woraround da mp4box abbricht wenn man eine Teilungsgröße angab, die Ausgabe aber diese nie erreichte

*aktualisiert*
- windows 32bit package (libfaac.dll hinzugefügt, da das aac encoden ohne neroaacenc sonst nicht geht)

(um das Misc Register zu sehen muss man im Main-Register, 'Misc' aktivieren)
'Reset Defaults' beim ersten Start (im Misc-Register)

buzzqw
6th May 2010, 15:56
oggenc allow stdin input... what about allow using it ?

BHH

Selur
6th May 2010, 16:00
I could include ogg vorbis support via oggenc, but since I never got any feedback regarding anyone of using ogg vorbis I'm not sure if I want to add another tool. ;)
But if at least two people say they will use it (and report if it's broken) I sure can implement it. (should be quite similar to the code I use for neroaac, so probably a bit copy&paste, checking how to use oggenc and writing some listeners to show progress&co)

Cu Selur

Selur
7th May 2010, 13:15
Had a look at oggenc and even implemented support for it, problem is: There's no progress indication aside from the time elapsed since oggenc was started.
If it would show the number of seconds processed I could simple calculate the status in percent to show as progress indication. -> when oggenc adds a progress indicator I'll add support for it. :)

Cu Selur

J_Darnley
8th May 2010, 00:59
It does print the percent done, at least for wav input.

Selur
8th May 2010, 01:03
yeah, but since 5.1 wav are kind of huge (temporary files) and it accepts input via a pipe I would prefer to use it via pipe. (decode with ffmpeg/mencoder -> filter with sox -> encode with oggenc/neroaacenc) ;)

J_Darnley
8th May 2010, 01:45
It does read wav from a pipe. (I didn't say a file). I did a simple test: cat temp.wav | oggenc2 - -o temp.ogg -q4

Selur
8th May 2010, 08:39
ffmpeg -threads 4 -v -10 -y -i "test_en_aid_128__09_37_15_718_01.ac3" -f sox - | sox -p -t wav - remix -m 1v0.2646,3v0.1870,4v0.1870,5v0.2291,6v0.1323 2v0.2646,3v0.1870,4v0.1870,5v-0.1323,6v-0.2291 norm | oggenc -r -b 196 -C 6 -R 48000 --ignorelength --utf8 -o "test_en_aid_128__09_37_15_718_02.ogg" -
and
ffmpeg -v -10 -threads 4 -i "test_en_aid_128__09_38_42_868_01.ac3" -acodec pcm_s16le -ac 6 -ar 48000 -f wav - | oggenc -r -b 128 -C 6 -R 48000 --ignorelength --utf8 -o "test_en_aid_128__09_38_42_868_02.ogg" -
both don't show any progress besides time-elapsed here,...

J_Darnley
8th May 2010, 10:04
Well that's just wrong. You told oggenc to use raw input when it is wav so of course there is no progress. Are you really using oggenc version 1? You should be using oggenc2. You could also just use sox to encode.

Selur
8th May 2010, 10:08
I tested with:
a. oggenc that comes with vorbis-tools on current Ubuntu systems
b. oggenc2 provides by rarewares

Since I never used oggenc before, since I normally don't use ogg: if you know a way to tweak the command calls please speak up since 'Well that's just wrong.' doesn't really help. :)

J_Darnley
8th May 2010, 11:54
I must apologise. It seems that oggenc doesn't like the ffmpeg|sox|oggenc2 combination. It spits out errors and doesn't encode anything. So yes, if you are going to use oggenc then it looks like it will have to be raw input.

Selur
8th May 2010, 12:13
So no ogg support until I find a way to get some progress indication with oggenc or another way to create ogg vorbis content.
(made a feature request (https://trac.xiph.org/ticket/1696) over at xiph)

Cu Selur

Riki
11th May 2010, 18:03
Hi Selur. May I ask what to adjust in hybrid to get the most lossess conversion (and easiest to edit with a video editing program)? I did set CQ to Lossless but Im not sure if the colors were preserved and other stuff. Are there other settings I can adjust, or is there a profile I can look at?

The goal is lossless quality, yet fast playback/editing.

Selur
11th May 2010, 18:07
colors are always be yv12 (4:2:0), so if you input rgb you will lose some.
lossless + http://forum.doom9.org/showthread.php?p=1396455 is probably a good start

Riki
11th May 2010, 18:54
thanks, although on the hybrid encoding tests the quality did not look so good on certain frames (with thin colored lines, etc). I was hoping there were other setting involved, but I guess CRF is probably the best option for now.

Selur
11th May 2010, 18:58
could be a TV/PC scale or a Rec.601, Rec.709 problem but I don't know of any way to control these through ffmpeg/mencoder (or another tool besides avisynth) so I couldn't add options to modify these. (Googled a lot but didn't find anything about it on the net regarding mencoder/ffmpeg. :()

Cu Selur

Selur
13th May 2010, 15:28
Would anyone prefer aften for ac3 encoding over ffmpeg?
I'm thinking about adding support for an addition option to select aften as encoder, but I'm not sure if it would be useful to have some of aftens options, besides bitrate and quality available through the gui?

Cu Selur

buzzqw
13th May 2010, 15:47
aften!

and bitrate/channels as option is enough, aften has excellent default

BHH

Selur
13th May 2010, 22:02
Hybrid ver.100513

*added*
- aften and oggenc support (reading progress from ffmpeg)

*changed*
- framecounter became a separate application (see first post for Download)

*fixed*
- raw avc frame counter
- mplayer not called with absolute path when doing dvd analysis
- "should be there" checks
- audio language passthrough on audio stream passthrough
- bug when raw audio passthrough and passthrough audio language were enabled

*cosmetics*
- show avc/vc1 frame counter progress in title bar

*updated*
- windows 32bit package (added oggenc, aften and framecounter)

(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

Selur
15th May 2010, 18:12
Hybrid ver.100515

*fixed*
- padding with ffmpeg (making sure that one multiple of 2 are padded)
sidenode: current ffmpeg build cause problems when using crop&pad together

*changed*
- using 'aften -v 2' output for progress indication instead of ffmpegs output during ac3 encoding with aften
- don't add -ss when autorcop raw video input- show number of scanned frames during autocrop

*cosmetics*
- hiding other audio options when 'ogg' is selected
- show number of scanned frames during autocrop

*updated*
- windows 32bit package (larger than before since mplayer, ffmpeg and mencoder use TLS Callbacks and I don't know a binary packer that can handle these)

(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
16th May 2010, 18:40
I'm getting "Crop Crashed" using auto crop + Mplayer or ffmpeg for cropping.

Using the latest hybrid package on win7 32bit

Video changed to:
Format: AVC
Bit rate: 192
Frame rate: 23.976
Resolution: 1280x720
Interlacing: progressive
Aspect ratio: 1
Frame count: 1010

2010.05.16 - 13:38:00_100515 - selectVideoStream: 0
2010.05.16 - 13:38:00_100515 - setCurrentVideoInput: 0
2010.05.16 - 13:38:00_100515 - Crop crashed

Selur
16th May 2010, 18:50
Okay, I can reproduce this. Will send you a fixed version once I find the problem. :) (normal crop seems to work)

CpT
16th May 2010, 18:51
kk thanks, no hurries - its the weekend :cool:

Selur
16th May 2010, 21:16
Think I found the problem,.. :)

Selur
17th May 2010, 05:53
Hybrid ver.100517

*fixed*
- analysing of raw audio input
- hopefully all autocrop problems

*cosmetics*
- new Hybrid icon -> thanks to FAUST

*added*
- some additional sanity-checks

*adjusted*
- avsInfo output analysis

*updated*
- windows 32bit package
sidenote: includes now an avsInfo and an avsInfo64 binary, if you want to use avisynth 64bit change to the avsInfo64 one in the Misc->Tools menu

(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

netcasthd
17th May 2010, 15:52
DVD Input does not work. If you check the DVD Input box, go to a DVD folder, it will analyis the DVD video but stay grayed out. It does not give you back control.

Selur
17th May 2010, 15:54
Yup, it's a bug and I'm hunting it. :)

Selur
17th May 2010, 20:23
*updated*
- all the downloads in first post since old versions were broken
(switched aften, mediainfo and fixed some typos in Hybrid that caused the problems)
-> you should update to current version :)

ckmox
18th May 2010, 11:25
just a noob question is there an Framerate (FPS) option on Hybrid similar to Handbrake's Framerate (FPS) that can be set to "same as source"

im thinking of retaining the original Framerate of the source so that on sources like VFR the audio will not be out of sync

CpT
18th May 2010, 16:19
just a noob question is there an Framerate (FPS) option on Hybrid similar to Handbrake's Framerate (FPS) that can be set to "same as source"

In the filtering tab make sure "Scale output frame rate" isn't checked

Selur
18th May 2010, 16:50
and if you find a problem post it / pm me and I'll try to fix it :)
(haven't done much testing with vfr content, since I normally don't encounter it)

ckmox
19th May 2010, 04:18
In the filtering tab make sure "Scale output frame rate" isn't checked

ok thanks for that

and thanks for the awesome program selur this gui of yours is better than MeGUI because this is much more portable :)

Selur
19th May 2010, 07:31
Hybrid ver.100519

*fixed*
- crash with multi subtitles
- audio tagging of raw streams on passthrough

(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
Reset Defaults in Misc-Tab on first start
(not needed when updating from 100517)

-> updated links in 1st post

Selur
29th May 2010, 10:38
Hybrid ver.100529

*changed*
- using '-vf' scale,crop,pad instead of Crop/Pad Left/Right/Top/Botton and scale in ffmpeg
(-> Hybrid needs newer ffmpeg version)
- CropView FFmpeg renamed to Avisynth

*fixed*
- audio lang tagging of raw streams
- vbv buffer from 40000 to 3000 for BD
- subtitle order

*added*
- experimental (blind) cut support
- load/save joblist options

*updated*
- windows 32bit package

(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

Selur
29th May 2010, 17:37
Hybrid ver.100529_1

*100529_1*
*fixed*
- recalc bitrate for multiple audio streams

(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
'Reset Defaults' in Misc-Tab on first start
(not needed when updating from 100529)

-> updated links in 1st post

Selur
30th May 2010, 21:27
Hybrid ver.100530

*fixed*
- mp4 muxing of he-aac reencoded material
- missing " "- around mplayer path when analysing dvd
- bug when extracting audio with ffmpeg
- audio downmix unintended switching to toMono on multiple stereo input
- ac3 in .avi analyse

(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
'Reset Defaults' in Misc-Tab on first start
(not needed when updating from 100529 or later)

-> updated links in 1st post

Selur
31st May 2010, 15:04
For those interested, I made a Hybrid build with (experimental) Blu-ray/.mpls input support. When in Blu-ray mode, select the PLAYLIST folder, if not you can select .mpls from a blu-ray as input.
(got no blu-ray's myself but I tested with the x264 BD Demo and another BD Demo bigotti5 form the german doom9 forum authored for me and it seems to work ;))

Cu Selur

CpT
31st May 2010, 15:07
ooo sweet.
I have a ton of blu-ray's. When I get a min I'll test it.

Selur
1st June 2010, 16:58
did you find some time to test it?

CpT
1st June 2010, 17:01
did you find some time to test it?

I got busy with another project.

Downloading it now ;)

CpT
1st June 2010, 17:17
Hybrid crashed while doing the initial analysis.

Selur
1st June 2010, 17:19
give me a minute :) (seems like a bug I added with my last changes before compiling,..)

Selur
1st June 2010, 17:34
redownload, should work now (accidentally deleted a line of code on my winxp system)

CpT
1st June 2010, 17:42
redownload, should work now (accidentally deleted a line of code on my winxp system)

Analysis works now.
I'm setting up the rest and will test shortly. Thanks.

Selur
1st June 2010, 17:44
No need to thank me I'm happy that you are testing it at all. :)

ckmox
2nd June 2010, 02:22
i got an error


Analysing finished.
Added new job with id: 09_16_33_500
09_16_33_500_01_audio: mp4Box started...
09_16_33_500_02_audio: NeroAACEnc started...
09_16_33_500_03_cleanUp: "C:\DOCUME~1\ios\LOCALS~1\Temp\a_und_aid_0__09_16_33_500_01.aac"
09_16_33_500_04_video: x264 (1 pass) encoding started...
x264 [info]: using cpu capabilities: MMX2 SSE2Slow
x264 [info]: profile High, level 4.1
C:\DOCUME~1\ios\LOCALS~1\Temp\a_09_16_33_500_04.264 too small
09_16_33_500_04_video: Processing aborted,...ERROR: C:\DOCUME~1\ios\LOCALS~1\Temp\a_09_16_33_500_04.264 is too small!

Selur
2nd June 2010, 08:06
@ckmox: sadly, the error report you posted doesn't help me at all. No version info nothing about the configuration you used,...
from the first post of this thread:
Important info needed to fix&reproduce 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. Debug output would be helpful. (misc->misc settings->create debug file)
5. 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.
Problem is probably related to the decoding or encoding call used, but without at least knowing how these look like I can't really fix it. :)


One general thing:
I forgot to post the windows 32bit package update in the first post on th 29th of may. ;)
-> Hybrid32bitPackage_100529 (http://www.multiupload.com/0FVE65AP0D) this might already fix the problem.

Selur
5th June 2010, 16:37
Hybrid ver.100605

*fixed*
- autocrop not using absolute path during to mplayer
- 'cropToDar' - option
- 'noMuxAndSplit' - option
- setting chapter start time on sources without chapters
- mixup when minimizing x264 command line
- subtitle extraction from a dvd which has an unknown language
- audio preview not working for raw audio only input
- accidently changed quality when changing audio gain manually
- Hybrid not reacting when loading non-media input

*added*
- some additional resolution checks before job creation
- experimental 'Blu-ray input' (PLALIST folder) and .mpls input support (experimental since I can't test it properly due to lacking hardware&material)

*cosmetics*
- added some additional tooltips

*updated*
- windows package

(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
5th June 2010, 16:43
The download links are broken for the below files:

Hybrid - only:
Hybrid Win32: http://www.selur.info/hybrid/Hybrid_100605.zip
Hybrid Win64: http://www.selur.info/hybrid/Hybrid_100605_64bit.zip

Selur
5th June 2010, 16:44
doh,... forgot to update the files on my webspace :) -> should all be wokring in about 2min ;) (links should work now)

CpT
5th June 2010, 16:53
The link is working now,

Testing now ;)


Edit:
Working great thus far! :thanks:

Selur
5th June 2010, 17:32
fixed the missing ']' in the windows package link :)

CpT
5th June 2010, 17:51
The only thing I noticed "not a bug" is when encoding up multiple files at once the progress bar on the jobs tab jumps quickly between the 2 encoding job's progress.
Its no big deal and its rather funny to watch... Guess I'm a bit bored atm...

This may have also been the case with previous versions I just never noticed it before.

Here's a screenshot showing the location.
http://vizmu.com/images/multi.jpg (http://vizmu.com/)

Selur
5th June 2010, 17:54
yup, ment to fix that for quiet some time, but always forgot to put it on my todo list -> wrote it down now (probably will look at it tomorrow, since it's nice weather here and bbq is calling :))

SilverL
5th June 2010, 22:32
I dont get any audio streams/audio information. Been using the last few latest versions(currently 100605). I have all applications installed and up to date. Using Linux(Ubuntu) 64bit.

This is the log. Dont know if it will be helpful.

Log Messages
analysing: /home/lomarb/Videos/RvBEdit.mp4
grabbing audio ids ...
found audio ids:
analysing audio streams...
analysing audio streams with mplayer
grabbing video ids for: /home/lomarb/Videos/RvBEdit.mp4
video ids found:
analysing video streams...

Audio changed to:
Video delay: 0


Audio changed to:
Video delay: 0


Video changed to:
Format: AVC
Bit rate: 896
Frame rate: 29.97
Resolution: 640x360
Interlacing: progressive
Aspect ratio: 1
Frame count: 2818


Audio changed to:
Video delay: 0


Video changed to:
Frame count: 2898


Audio changed to:
Video delay: 0

Analysing finished.

Also tried with an Mkv and hybrid would freeze.

Selur
5th June 2010, 22:39
Most of the audio analysis is done through mplayer, so it's probably a problem with mplayer or mplayers output.
Please activate debug output (Config->Misc settings->General->Create debug file) before loading the source and send me the debug file.
Also make sure you reset the default settings before using the latest version. (Config->'Reset Defaults'button)

Cu Selur

Ps.: just did a test on my Ubuntu 64bit build system -> worked fine there,...

SilverL
7th June 2010, 05:27
It was in fact mplayer. I put in a new ppa that uses the latest version. Its working again now. Thanks.

Selur
7th June 2010, 07:54
Happy to help. :)

Selur
7th June 2010, 22:06
Hybrid ver.100607

*fixed*
- crash on close&autocrop
- parallel job: progress bar flickering

*changed*
- enable mplayer osb during preview

(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

flebber
14th June 2010, 07:56
I was trying to encode a multi episode dvd with your latest version of Hybrid today but it was crashing before it started. I have uploaded the log file as it would be too big to display properly on the forum.

http://www.mediafire.com/file/1dj1wimenwy/HybridDebugOutput.txt

Selur
14th June 2010, 08:30
On what OS are you using Hybrid? Fixed some bugs that might be related to your crash a few days ago and would send you my current development version. :)

flebber
14th June 2010, 08:58
On what OS are you using Hybrid? Fixed some bugs that might be related to your crash a few days ago and would send you my current development version. :)

Windows Xp Sp3, says its 100607. On startup i get this log.
Version 5.1.2600 Service Pack 3 Build 2600

Log Messages
avcLevel value "3.2" is not present in current list
bFramePyramid value "normal" is not present in current list

X264 settingsx264 --crf 21 --level 3.2 --ref 5 --b-bias 2 --qpmin 1 --partitions i4x4,p8x8,b8x8 --me umh --subme 8 --psy-rd 0.8:0.2 --no-fast-pskip --aq-mode 2 --vbv-maxrate 0 --vbv-bufsize 0 --pic-struct --deblock 0:-1 --fps 25 --output OUTPUTFILE - 48x48

Selur
14th June 2010, 23:24
Hybrid ver.100614

*changed*
- icon with a higher resolution

*added*
- option to 'set default' audio/subtitle track in mkv
- video speed up option (this will change the duration of the clip)

*fixed*
- sox down-/upMix calls
- scale framerate changed speed and didn't drop/add frames when used with mencoder as decoder
- crash related to "import chapters on source change"

(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

ckmox
15th June 2010, 00:35
just a question when i set "Tune" to "Animation" and click Apply button repeatedly is the frames and b-frames for example needed to be incremented? or its some sort of a bug? i have limited knowledge on x264 btw so im wondering about this

thanks

Selur
15th June 2010, 00:38
atm. x264 defines --tune animation like this:
- animation (psy tuning):
--bframes {+2} --deblock 1:1
--psy-rd 0.4:<unset> --aq-strength 0.6
--ref {Double if >1 else 1} source: x264 --fullhelp
-> you if you apply this multiple times b-frames and ref will increase :)

ckmox
15th June 2010, 01:40
@Selur

ah ok thanks so its really the behavior of x264

VincAlastor
15th June 2010, 06:06
selur, yesterday i have tested your well designed gui. everything works great. the m2ts output feature is very nice. i don't know how, but could you make it possible to load .avs files with dgmultisource filter, please? furthermore a video preview function for "user friendly" definition of x264 zones were be great too (like staxrip's zone features).
and if somebody could upload a hybrid 64bit hybrid tools folder i will be happy, than i can't find ffmpeg x64 (http://ffmpeg.arrozcru.org/autobuilds/) and the right x64 .exe/.dll files from other tools. so than thank you selur :)

Selur
15th June 2010, 07:43
Problem with a 64bit package for Windows is:
1. there's a bug in ffmpeg that hasn't been fixed (see: http://roundup.ffmpeg.org/issue1889) and prevents people form building 64bit ffmpeg builds
2. I have never seen a 64bit mencoder build for windows
and x64 versions for anything other than mencoder/mplayer, ffmpeg and x264 are really not that interesting since all the other tools don't really benefit speed wise from going 64bit

About extended Avisynth Support:
There are three reasons why I haven't added support for DGMultiSource and Avisynth script generation in general.
1. Hybrid is ment to run on Windows and Linux and there's no native stable running Avisynth version for Linux (and I don't like wine).
2. Last time I checked DGMultiSource wasn't free to use. (+ needs wine to run on linux + ffmpeg and mencoder can't be used as input)
3. I got no NVIDA graphiccard atm. (ordered one but it will at least take another week to arrive here :()

About the preview:
Problem there is I haven't found a way to properly use mplayer.exe for frame accurate positioning, especially going back a frame causes problems and the fact that mplayer changed the position output it gives through the command line when it seeks. I would probably have to write my own media player based on the libaries mplayer uses to get a better grip on this.
+ I haven't found a good crossplatform alternative for mplayer for the preview. :( (thought about a gstreamer based solution, but that also would require something like mplayer or ffmpeg in the background to be able to handle all the formats)


=> I'm happy you like Hybrid, but it seems like none of your wishes are probably fulfilled in the near future.
(but they are on my 'would be nice to have as a feature'-list, especially the preview thing since it would allow more comfortable cropping, cutting and setting chapter points)
Sorry.

Cu Selur

VincAlastor
15th June 2010, 18:18
thank you anyway. selur, do you know how i could integrate tsmuxer in staxrip? i know all of my wishes to hybrid are integrated in megui x64, but on my win 7 x64 system with .net framework 4 megui don't working right, the encodings are significant slower than with staxrip.

Selur
15th June 2010, 18:20
No clue about staxrip never looked at it's sources. Probably best ask stax76 (http://forum.doom9.org/member.php?u=13377) about adding support for it. :)

Selur
15th June 2010, 22:46
Hybrid ver.100615

*changed*
- use fractions for framerate for ffmpeg, mencoder, mkvmerge and x264 calls
- clear subtitle queue and subtitle input on source change
- take path of last subtitle input as start

*fixed*
- mkv audio&subtitle set default
- crash when 'Remove' was pressed on an empty subtitle queue
- job list save/load (by using another separator)
- autocrop call: missing " around mplayer path

(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

Selur
16th June 2010, 16:21
Hybrid ver.100616

*changed*
- added border to preview windows (to add a tooltip)

*fixed*
- collision of .mp4 file creation and mkv Default-Track feature

'Reset Defaults' in Config-Tab on first start

Selur
23rd June 2010, 14:49
Hybrid ver.100623

*added*
- VP8/webm support (using ivfenc atm. will switch to ffmpeg/mencoder once they both support it svn native and I tested it a bit)

*fixed*
- frame rate scaling with mencoder as decoder and outputframerate > deinterlaced framerate
- auto chapter import from dvd sources
- Xvid encoding
- Xvid encoder progress
- close mplayer when Preview windows was closed manually

*changed*
- moved 'global options' to the front in mkvmerge call
- removed unneeded sox calls
- removed '--no-global-tags' and '--no-track-tags' since mkvmerge only imports tracks without tags in it inside Hybrid

*updated*
- windows 32bit package

'Reset Defaults' in Config-Tab on first start

-> updated links in 1st post

Riki
23rd June 2010, 16:17
Very cool to see VP8 support :)

A small question is when you put *updated* - windows 32bit package, does that mean the 64bit version is old? I guess I should be grabbing the 32 instead :p

Selur
23rd June 2010, 16:23
When updating Hybrid (all versions) I sometimes update the 32bit package,...
from the first post:As downloads I will provide the most recent version on it's own (Hybrid -only) and a nearly complete (can't distribute neroaacenc) win32 package.
Since the win32 package normally probably will not include the newest Hybrid version it's adviced to download the newest package, extract it, download the newest 'Hybrid - only' version and extract it in the same folder as the package. (There's no distribution package with an installer for Windows or Linux, since I totally don't have the nerv or time to read up how-to a. create a package for each OS and b. how to maintain it.)
...

Hybrid Win64 package:
A 64bit package for windows would be possible since most of these tools are available as 64bit versions, but I'm not providing one (too much hassle). In general it's not a problem to just replace the 32bit version of one of the tools with it's 64bit conterpart. (I'm developing mainly on 64bit systems, so I replaced most of the 32bit tools)

-> Yes, all 64bit Hybrid versions are old since a new one was released. :)
-> updated links in 1st post

Cu Selur

Riki
23rd June 2010, 17:02
ahh, I think I understand. So you updated the package. I was thinking you only updated the 32bit .exe file and nothing else.

So I am correct that you also updated the 64bit exe?

Riki
23rd June 2010, 17:38
Yes, I see my mistake. Sorry for the dumb questions :p

THanks for updating the package, it saves me time searching for other updates :)

Selur
23rd June 2010, 22:48
"So I am correct that you also updated the 64bit exe? "
Yup :)

Selur
24th June 2010, 16:04
Hybrid ver.100624

*added*
- mkv: option to disable "header compression" (some hardware players need this to be disabled)
- Visual aided cropping via 'Crop view'
(enable 'Enable cropping' and 'Crop view', then press 'Preview' to use it; look at the tooltip of the preview to understand how to use it)

*fixed*
- mkv multiplexing

'Reset Defaults' in Config-Tab on first start

-> updated links in 1st post

Riki
24th June 2010, 17:44
This isnt a big deal but when I drop multiple avi files in the input hybrid will crash (using the latest 32bit package). Im also using "custom add all" for the audio. If I only do single avi files it works fine.

Selur
24th June 2010, 17:47
@Riki: update to the latest binary,... (as far as I remember I fixed that but didn't write it in the changelog :))

Riki
24th June 2010, 18:29
oh great, works perfect now :)

flebber
30th June 2010, 11:56
Selur when Hybrid detects multiple episodes on a dvd, would it be possible to have it "batch" all episodes into queue once settigs applied. Perhaps just incrementing the output in the muxed title or similar.

Selur
30th June 2010, 12:39
"Queue Titles" should do that if you press it,... :)
(just got my new graphic card :D a gtx 470)

flebber
30th June 2010, 14:46
"Queue Titles" should do that if you press it,... :)
(just got my new graphic card :D a gtx 470)

http://www.nvidia.com/object/product_geforce_gtx_470_us.html Looks good

Selur
3rd July 2010, 17:29
Hybrid ver.100703

*added*
- automatically prevent sleep mode on Windows systems (no clue how to do that on linux systems)
- option to start current queue at a specified time (Hybrid needs to be open for this to work)
- "--open-gop none/display/coded" - parameters

*fixed*
- job queue not processed linear
- cutting (piping mencoder decoder calls through ffmpeg for more accurate cutting)
- adjusting output frame rate and output frame count when enabling cut support
- aac audioid when muxing with mkvmerge
- mkvmerge progress indication
- stopping and then removing a job didn't free up a slot in the encoding client
- backup analysis based on ffmpeg
- .sfd support
- .bik input handling (converting bink dct audio to wav now and using mplayer for video analysis)

*changed*
- allow .sup (PGS) subtitle for mkv output

'Reset Defaults' in Config-Tab on first start

-> updated links in 1st post

ckmox
4th July 2010, 09:04
thanks for the updates

flebber
5th July 2010, 14:53
with your latest version when I press queue titles Hybrid is freezing. The error seems to relate to DXVA compatibility and mod 16. I have selected mod 16 in the crop and resize section of Hybrid. I have an output of 720 x 576.

I have uploaded the debug info for you http://www.mediafire.com/file/znjgvjvftnm/HybridDebugOutput.txt

http://farm5.static.flickr.com/4094/4764063282_53fae6764d.jpg

Edit as an aside you can see in top right corner that video is showing as scan type progressive, however Hybrid reported interalced material and automatically set yadif to on. Mediainfo agrees that it is interalced.

Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.288

Selur
5th July 2010, 14:55
I'll try to reproduce it. :)
->
- can't reproduce it with my current development version, check your PM :)
- about the interlacing: can't say anything about it since you enabled the debug output after loading the source, so I don't have the analysis data Hybrid collected.

flebber
6th July 2010, 16:20
A little confused. There were 4 full titles in the dvd input and a 5th title short extra.

Hybrid has detected all titles, I pressed queue titles and start but at the end of the encoding I have only ended up with 1 title and 3 title reports. I ended up with output file title 3_1-7. This was the log.

Log Messages
Analysing: C:\Rip\Source\Customize\DVD_VIDEO_S1_D3\VIDEO_TS
analysing dvd structure....
analysing: Title_01 of 5
analysing: Title_02 of 5
analysing: Title_03 of 5
analysing: Title_04 of 5
analysing: Title_05 of 5
Found no AudioIDs for title 05 of 5
Analysing finished.
Added new job with id: 12_23_10_343
Added new job with id: 12_23_12_343
Added new job with id: 12_23_13_921
12_23_10_343_01_audio: mplayer started...
12_23_10_343_02_create: creating C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_10_343_02.qp...
12_23_10_343_03_video: x264 (1 pass) encoding started...
x264 [info]: using SAR=711/500
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
x264 [info]: profile High, level 3.2
x264 [info]: frame I:873 Avg QP:19.85 size: 32202
x264 [info]: frame P:35208 Avg QP:23.01 size: 12206
x264 [info]: frame B:30841 Avg QP:25.24 size: 3690
x264 [info]: consecutive B-frames: 21.4% 45.8% 15.4% 9.8% 5.4% 0.7% 1.5%
x264 [info]: mb I I16..4: 14.1% 72.2% 13.7%
x264 [info]: mb P I16..4: 4.8% 10.3% 1.2% P16..4: 52.3% 16.9% 8.6% 0.0% 0.0% skip: 5.9%
x264 [info]: mb B I16..4: 0.1% 0.4% 0.1% B16..8: 35.3% 5.3% 1.0% direct: 9.1% skip:48.7% L0:33.5% L1:57.4% BI: 9.2%
x264 [info]: 8x8 transform intra:64.3% inter:79.8%
x264 [info]: direct mvs spatial:99.3% temporal:0.7%
x264 [info]: coded y,uvDC,uvAC intra: 61.3% 87.8% 59.3% inter: 25.8% 51.1% 11.2%
x264 [info]: i16 v,h,dc,p: 44% 14% 9% 33%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 6% 6% 8% 12% 16% 10% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 7% 4% 7% 12% 15% 11% 11% 9%
x264 [info]: i8c dc,h,v,p: 38% 19% 26% 17%
x264 [info]: Weighted P-Frames: Y:0.5%
x264 [info]: ref P L0: 63.3% 12.7% 15.0% 4.3% 3.4% 1.3% 0.0%
x264 [info]: ref B L0: 90.1% 8.0% 1.7% 0.2%
x264 [info]: ref B L1: 97.0% 3.0%
x264 [info]: kb/s:1708.42
12_23_10_343_04_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_10_343_02.qp"
12_23_10_343_05_muxing: mkvmerge started...
12_23_10_343_06_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_10_343_03.264"
12_23_10_343_07_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_en_aid_128__12_23_10_343_01.ac3"
12_23_12_343_01_audio: mplayer started...
12_23_12_343_02_create: creating C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_12_343_02.qp...
12_23_12_343_03_video: x264 (1 pass) encoding started...
x264 [info]: using SAR=711/500
x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
x264 [info]: profile High, level 3.2
x264 [info]: frame I:873 Avg QP:19.85 size: 32202
x264 [info]: frame P:35208 Avg QP:23.01 size: 12206
x264 [info]: frame B:30841 Avg QP:25.24 size: 3690
x264 [info]: consecutive B-frames: 21.4% 45.8% 15.4% 9.8% 5.4% 0.7% 1.5%
x264 [info]: mb I I16..4: 14.1% 72.2% 13.7%
x264 [info]: mb P I16..4: 4.8% 10.3% 1.2% P16..4: 52.3% 16.9% 8.6% 0.0% 0.0% skip: 5.9%
x264 [info]: mb B I16..4: 0.1% 0.4% 0.1% B16..8: 35.3% 5.3% 1.0% direct: 9.1% skip:48.7% L0:33.5% L1:57.4% BI: 9.2%
x264 [info]: 8x8 transform intra:64.3% inter:79.8%
x264 [info]: direct mvs spatial:99.3% temporal:0.7%
x264 [info]: coded y,uvDC,uvAC intra: 61.3% 87.8% 59.3% inter: 25.8% 51.1% 11.2%
x264 [info]: i16 v,h,dc,p: 44% 14% 9% 33%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 6% 6% 8% 12% 16% 10% 14% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 7% 4% 7% 12% 15% 11% 11% 9%
x264 [info]: i8c dc,h,v,p: 38% 19% 26% 17%
x264 [info]: Weighted P-Frames: Y:0.5%
x264 [info]: ref P L0: 63.3% 12.7% 15.0% 4.3% 3.4% 1.3% 0.0%
x264 [info]: ref B L0: 90.1% 8.0% 1.7% 0.2%
x264 [info]: ref B L1: 97.0% 3.0%
x264 [info]: kb/s:1708.42
12_23_12_343_04_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_12_343_02.qp"
12_23_12_343_05_muxing: mkvmerge started...
12_23_12_343_06_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_12_23_12_343_03.264"
12_23_12_343_07_cleanUp: "C:\DOCUME~1\Family\LOCALS~1\Temp\Title_3_1-7_en_aid_128__12_23_12_343_01.ac3"
12_23_13_921_01_audio: mencoder/mplayer started...
C:\DOCUME~1\Family\LOCALS~1\Temp\Title_5_1-7_en_aid_128__12_23_13_921_01.ac3 too small
12_23_13_921_01_audio: Processing aborted,...ERROR: C:\DOCUME~1\Family\LOCALS~1\Temp\Title_5_1-7_en_aid_128__12_23_13_921_01.ac3 is too small!

It actually appears in the log that title_3_1-7 was muxed twice
http://farm5.static.flickr.com/4118/4767609761_c686e116da_b.jpg

Selur
6th July 2010, 17:08
log doesn't help me at all :)
Only thing I can tell you is that Hybrid encoded Title 3 (chapter 1-7) Job: 12_23_12_343, started the audio encoding of job 12_23_13_921 but stopped because it had troubles with the audio C:\DOCUME~1\Family\LOCALS~1\Temp\Title_5_1-7_en_aid_128__12_23_13_921_01.ac3 too small.

-> can't tell you what went wrong (see 1st post that I need to reproduce a bug)

flebber
7th July 2010, 00:44
How can I help you reproduce it? Its a dvd input for a TV show which features 4 full episodes. Is there a test I can run? Because it loads and encodes okay just not getting the expected 4 files output.

Selur
7th July 2010, 02:13
from the first post of this thread:
Important info needed to fix&reproduce 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. Debug output would be helpful. (Config->misc settings->create debug file)
5. 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.
-> Starting Hybrid, activating Debug Ouput, do what you do to create the problem, send me the debug output and I have a bunch of infos to work with. ;)
(if it's just one DVD thats causing the problem it could also be a problem with the way the dvd was ripped <- this was the cause of the last problem related to DVD analysis)

flebber
7th July 2010, 03:10
Ah yes realise that in this case though slightly different

1) Used Hybrid version 100703 with DXVA fix.
2) No error messages
3) What I did to get the bug was to load a DVD Input folder with multiple episodes 4 episodes. Then applied x264 config, selected "Generate Output names" and selected "Queue Titles"
4) http://www.mediafire.com/file/uynojexyu13/HybridDebugOutput.txt
5. Will a sample file be useful? The file that did output was fine it is just that there was only 1 output not 4.

Selur
7th July 2010, 08:17
Won't need a sample file, but the debug file doesn't include the DVD analysis :( best specify the output before loading the source to be sure where to look for the debug file.
Does Hybrid detect the right length&co for the titles on the DVD?

flebber
7th July 2010, 11:08
Here is the HybridDebug with the path specified. http://www.mediafire.com/file/jwyoook14mm/HybridDebugOutput.txt

Edit : I realise that the encoding only started at file 3 because I had the option "On DVD Load - Select Longest File" selected. This meant that Hybrid started from file 3 not file 1 as I expected.

Selur
7th July 2010, 11:31
Yup, checked the code: When pressing 'Queue Title' only the titles starting at the current title are queued atm. -> will fix that and start from title 1. :)

Will send you a new version via PM. :)
(Will also probably tomorrow night release a new public version for everyone.)

Cu Selur

flebber
7th July 2010, 14:40
Something minor I noticed as well there is no option to select none as X264 tune option. As I am encoding TV I feel I should be using no x264 option as my understanding is that film is for "live action".

Selur
7th July 2010, 14:48
Here's how tune (and preset) options work in Hybrid:
You select a tune option and press "Apply"
- current configuration will then be changed according to the tune option
-> so you can apply multiple tune options ;)
For the x264 call (if not disabled) Hybrid minimizes the call by checking which preset/tune bests fits the current settings and then additionally hides the defaults. :)
=> if you didn't 'apply' a tune/preset none is 'active'

Since Hybrid doesn't remember the settings before applying the tune option, there's no way to 'un-apply' the option. :)

Cu Selur

flebber
7th July 2010, 14:59
Well the tune will work fine for me then :thanks:

The queue with the new version is actually starting from the middle.

http://farm5.static.flickr.com/4094/4770822817_4374b55f05.jpg

Selur
7th July 2010, 15:01
if no job (or subjob of a job) is selected the queue should start with the first job, if a specific job (or subjob of a job) is selected Hybrid will start with that job. :)

Cu Selur

flebber
8th July 2010, 00:16
Hi Selur

result for 100707 was 3 output files. 1_1-7, 2_1-7 and 3_1-7. There was no output for 4.

There were 2 reports for 3_1-7 with different suffixes.
Title_3_1-7_23_47_35_718_Reporthttp://www.mediafire.com/file/mnmczdyzwdr/Title_3_1-7_23_47_35_718_Report.txt
Title_3_1-7_23_47_33_875_Report http://www.mediafire.com/file/jymmmmdjrno/Title_3_1-7_23_47_33_875_Report.txt

HybridDebugOutput http://www.mediafire.com/file/tngziofh3tm/HybridDebugOutput.txt


It actually appears that encoding hasn't worked the video is "mangled".
.
http://farm5.static.flickr.com/4077/4772320499_3151b8b350.jpg

flebber
8th July 2010, 07:23
I have a seperate Music DVD with multiple songs, so will rip that now and test with Hybrid to see what result occurs :)

Selur
8th July 2010, 07:33
Totally strange it's like Hybrid is missing the resolution,.. (will do some additional testing later today and try to reproduce&fix this :))

flebber
8th July 2010, 08:22
I encoded two of the songs, this time the only thing different I have done is to press "add to queue" instead of "queue titles".

http://www.mediafire.com/file/onnjqg1guhy/HybridDebugOutput.txt

Edit: The encodes worked

Selur
8th July 2010, 08:25
Yeah I know there's something broken, just need some time to track it down. ;)

Selur
8th July 2010, 09:09
-> found a bug and I got a 'guess' what happend on your last encode.
You enabled crop (no source loaded and AutoCrop disabled)
-> Hybrid set crop values to 48:48:0:0
You enabled resize (to 720x...)
You loaded the source.
-> since crop was enabled, but AutoCrop not, Hybrid assumed you wanted to take the first 48x48 pixels of your source and resize it to something with 720x... (which ended up as: 720x...)
so what you see are the first 48x48 pixels of your source. :)
No bug in Hybrid there, but I found another small bug, when en-/disabling the gui.
Will send you a fixed version for testing. ;)

Cu Selur

Selur
8th July 2010, 18:30
Hybrid ver.100708

*added*
- 2pass audio normalization via sox
- toggle fullscreen option (in preview&co)
- option to set Chapterpoint in a preview window

*changed*
- resampling is now done with sox (instead of mencoder or ffmpeg)
- on 'Queue Titles' start queuing from 0 not from current title
- allowing autogain for raw audio input
- open-gop to newest syntax (using 'normal'&'bluray' instead of 'coded'&'normal')

*fixed*
- autocrop on "Queue Title"
- crash when importing a jobqueue with 'broken' jobs
- accidently always generated chapters when input got none and import chapters was enabled
- dvd input cutting

*updated*
- windows 32bit package

'Reset Defaults' in Config-Tab on first start

-> updated links in 1st post

Riki
8th July 2010, 22:39
I found a tiny bug. If you check "Adjust output path to source path" and then save the global profile, it will save the current output path in the global profile. It would be better if that was reset for each new source path.

Selur
9th July 2010, 01:46
it will be since you also save the "Adjust output path to source path" setting ;)

Riki
9th July 2010, 22:56
I love how fast Hybrid adds new features and support. However its very hard for me to re-create my global profiles everytime a new version comes out. Is there a way to upgrade older profiles? :)

Selur
9th July 2010, 23:02
Most of the time, it's probably enough to startup and instead of reset save the current profile, next release will complain about specific parts so one could manually look at these parts an adjust them.
Also save additional Audio&Video Profiles helps since the normally don't change much. ;)

Cu Selur

Riki
9th July 2010, 23:04
Thanks for the fast response! Thats a good idea about the audio&video profiles, I will try that. :)

killerhex
10th July 2010, 07:17
any chance for FLV input

Selur
10th July 2010, 09:12
What's the problem with flv input? (last flv I tried worked fine)
-> if you got a flv that causes a problem send me a sample

Selur
12th July 2010, 17:45
Hybrid ver.100712

*fixed*
- typo in aspect ratio conversion
- subtitle handling for MultiInput
- clearing subtitles on avInput change
- tsMuxer cut on extraction

*changed*
- tweaking AutoCrop

*added*
- More detailed reset/reload/save Default options (now possible for each model)
- x264: checking that "--nal-hrd cbr" will not be used with .mp4 output
- x264: support for "--tune stillimage"
- x264: support "--keyint infinite" (will be used on GOP maximum 0)
- x264: 8/9/10 bit output support (needs three separate x264 versions, see tool tip)
- support for media infos 'Original aspect ratio' flag

*updated*
- Windows 32bit package

Reset All Defaults in Config-Tab on first start

Riki
12th July 2010, 17:45
I just realized the Enable (un)sharpen isnt working anymore. I tried setting it to the highest setting and even checking "enable postprocessing". This is a very useful feature I hope can get fixed :)

http://img84.imageshack.us/img84/3707/unsharp.png

Selur
12th July 2010, 17:47
Will look at it once I'm finished posting the new release. :)
Some additional Info e.g. what the source is, what decoder is used might be helpful -> 1st guess: try if it helps if you disable Config->Misc settings->'Prefer FFmpeg as decoder'.

Cu Selur

Riki
12th July 2010, 17:52
Thanks. Im encoding an avi file (techsmith screencapture codec) to x264 crf 1-pass. Im not sure about the decoder?

Selur
12th July 2010, 17:54
"Im not sure about the decoder? " -> add the job to the job queue, change into the 'jobs' tab, disable the 'Minimize job command lines' and you should see the decoder call. ;)

Riki
12th July 2010, 17:58
Ahh I see, in that case it shows ffmpeg. :)

Selur
12th July 2010, 17:59
"try if it helps if you disable Config->Misc settings->'Prefer FFmpeg as decoder'."
-> forgot to enforce this automatically (will send you a fixed version if you tell me what build you need)

Cu Selur

Riki
12th July 2010, 18:01
ok cool. Im using the windows 32bit package for convenience.

When I change the settings I see mencoder is used instead of ffmpeg, so mencoder is required for the unsharpen?

Selur
12th July 2010, 18:04
yup, ffmpeg got nearly no filters (which aside from the missing dvd input support is one of the main things that really hurt ffmpeg and why a lot of people prefer mencoder). :(

Cu Selur

Riki
12th July 2010, 18:07
works perfect, thanks for the fast support Selur!! :D

Riki
12th July 2010, 19:35
There is unfortunately a problem with mencoder and changing the output framerate. I did a test with the same settings on both and when using mencoder as the decoder the entire video has compression problems with screen movement. So when something moves in the bottom of the video, the top gets blurry and compression artifacts. This only happens when changing the output framerate, if I leave the output framerate the same it doesnt happen.

I will send you a PM with 2 video examples to see the difference.

Selur
12th July 2010, 19:59
DebugLogs? (or better: how do the decoder calls look)
Can't fix/reproduce it without some additional infos,...
ffmpeg is probably simply dropping frames and mencoder tries some motion adaption,..

-> mencoder probably uses filmdint=io=from:to which should be better on normal material but seems like it causes problems with your material,...
will have to read a bit in the mencoder documentation for other ways to properly lower the framerate with mencoder :)

Riki
12th July 2010, 20:13
Yes it sounds like you figured out the problem already. However I just sent you a PM with the logs. I am forced to either use ffmpeg without sharpening or mencoder without frame reduction. Hard choice :)

Selur
13th July 2010, 09:18
Hybrid ver.100713

*fixed*
- prefering mencoder when using denoise, sharpen or postProcessing
- ffmpeg analyser (flv analyse working again)
- mplayer now forcing -demuxer mkv for mkv input during Audio/Video - IDgrabbing.

*added*
- option to en-/disable filmdint=io usage when dropping frames with mencoder, if disabled -ofps will just drop frames
(should be enabled for normal clips and disabled for screen captures)

Reset GlobalModel Defaults in Config-Tab on first start

Hybrid ver.100713_1

*fixed*
- windows only: only use mpeg12 when DVD input or MPEG input and not transportstream input
- absolute path adjustment (cause problem when path contained x264)

-> updated links in 1st post

Riki
13th July 2010, 15:45
I can confirm the mencoder with framereducing works great now :)

I found another bug and hopefully this one can be easily reproduced on your side. When I drop multiple avi files in the input and encode them, only the 1st video gets encoded correctly. The 2nd+ videos have the same video as the 1st video, but different audio.

So on multiple videos only the audio is getting encoded correctly, the video only takes the first one for all videos. I hope this makes since, it happens to me even on the latest version. The workaround is to only drop 1 file at a time and add to queue, then it will work perfectly.

Selur
13th July 2010, 15:53
Can reproduce it seems to only occur with mencoder as decoder,.. will send you a fixed version once I find the cause of the problem,..
shouldn't be hard to track. :)

Riki
13th July 2010, 22:55
Thanks, you fixed it and works perfectly now :)

Riki
13th July 2010, 23:22
Ideas for future versions of hybrid:

play custom sound at the end of each video encode
play custom sound at the end of all encodes

*Column in the Job Queue showing the final video output name (easy to know what is encoding)
Sortable rows in Job Queue - drag to change order or video encodes in queue

* = seems like it could be easy to add and very useful :)

Selur
14th July 2010, 15:50
- playing a custom sound: will have to look up how to play sounds at all :)
- adding an additional column with the output name is probably no problem
- rearranging the jobs will probably not come in th near future since I would have to redesign a bunch of things and managing (updating, checking states,..) the job queue and playback order would get more complicated. (so I'll keep it in mind but don't hold your breath for it)

Cu Selur

Riki
14th July 2010, 15:56
ahh cool, simply adding the output name as a column would be very useful...maybe another column for path? :)

Imagine being able to click the name or the path to change them, I know that would be very difficult but a neat feature. Im just giving ideas because I do a lot of video encoding with different software each day. I mainly use Adobe Media Encoder, Sorenson Squeeze, Virtual Dub, Hybrid, etc. Hybrid is the best of them all! ;)

Selur
14th July 2010, 16:08
I'll think about it. :)

Selur
16th July 2010, 14:54
Hybrid ver.100716

*fixed*
- x264 internal decode resize call part
- workaround for negative audio delay and mp4 muxing
- windows: use ffmpeg12 instead of mpeg12 for MPEG1/2 video when input is in a transportstream container
- ffmpeg file creation check
- x264: allowing decoding through x264 when just resizing and/or cropping
- multiInput problem

*added*
- option to play a wav sound at job/queue finished
- jobQueue can now be freely rearranged by drag&drop

*changed*
- disabled 'Prefer FFmpeg

*cosmetics*
- jobQueue got an additional column which shows the output

*updated*
- windows 32bit package (removed 9/10bit x264 binaries, updated 8bit x264 binary)

-> updated links in 1st post

Riki
16th July 2010, 16:53
Everything works perfectly. Thanks!!!

Selur
21st July 2010, 23:44
Hybrid ver.100721

*added*
- option to en-/disable mkv header compression for video/audio/subtitle streams separately
- option to en-/disable mkv header compression globally
- ffmpeg: slicify used to speed-up filters
- possibility to change the output name of a queued job (if the job state is WAITING)

*fixed*
- x264 replacement problems
- renaming output on raw output
- decoder choice (selected x264s internal decoder even if 'prefer ffmpeg was selected')
- ffmpeg resizer selection sws_flags (not always bicubic)

*cosmetics*
- added some additional infos to the report file

*updated*
- windows 32bit package

-> updated links in 1st post

ckmox
22nd July 2010, 02:49
thanks for new version

Selur
22nd July 2010, 07:02
@all: little sidenote about the windows package: I forgot to update the x264 version, but there's no problem with using the newest x264 version from .e.g x264.nl in Hybrid

Riki
22nd July 2010, 16:09
I love the new features, works great!

Riki
22nd July 2010, 16:12
Im having a problem that has been around for a long time. On many of my encodes the last second of audio is a very fast, loud and high pitched noise. I have tried encoding with the different nero options and even not using nero but its there everytime. The only workaround I have found is to mux separately encoded audio but that is very time consuming. Has anyone see this issue?

Selur
22nd July 2010, 16:15
No problem here. Got a small sample + settings to reproduce it?

Riki
22nd July 2010, 16:18
sure, Ill send one in a bit via PM. :)

Riki
23rd July 2010, 16:11
I have been encoding a lot and love all the new features. I encoded 350 long avi files overnight without any problems :)

Here are a few suggestions:

Sounds: The queue sound plays when the last video in the list is converted (instead of when the queue is finished). This causes the queue sound to be played every time the last video is finished. So if you are encoding 4 at the same time the last video may be done before the others, which causes the queue sound to play multiple times.

Suffix: Since I encode many videos at the same time I use the auto path and filename. However I need to encode the same source file again with different settings, sometimes added to the same queue. This will override the first encode. Is it possible to have a suffix option to the filename?

Selur
23rd July 2010, 16:43
Will fix the queue sound when I'm back home and send you a new test version.
(will think about the suffix and how to implement it properly)

Selur
31st July 2010, 15:13
Hybrid ver.100731

*fixed*
- progress indication when muxing mpeg-4 part 2 with mp4box
- passthrough muxing problems
- used int instead of double for some DoubleSpinBoxes :/ (copy&paste error ;))
- jopQueueFinished sound played to often with parallel count > 1

*added*
- option to set 'generate output' pre-/suffix
- frame counter for raw MPEG-4 part2

*changed*
- don't set p4x4 when hardware restriction is enabled and a preset is loaded that would a activate it

*updated*
- windows 32bit package

-> updated links in 1st post

DmacK
4th August 2010, 13:43
Hi i'm trying to run Hybrid on Linux x64 but every time i try to run the program shows up a error message that linux can't open the program, i downloaded the x64 binary for linux.

Selur
4th August 2010, 14:14
Distro? QT version? marked as excecutable?

Cu Selur

DmacK
4th August 2010, 15:55
Distro? QT version? marked as excecutable?

Cu Selur

Distro: Ubunto 10.4
marked as excecutable: yes
QT version: don't know what that is.

Selur
4th August 2010, 15:58
Hmm,.. the executable was created on a ubuntu 10.4,..
on the tour atm will check later and send you a pm :)

DmacK
4th August 2010, 16:22
Hmm,.. the executable was created on a ubuntu 10.4,..
on the tour atm will check later and send you a pm :)

I have tried again, and now does't show and does't do anything.

Selur
25th August 2010, 22:08
Hybrid ver.100825

*fixed*
- empty call when using hardware bluray restriction but not encoding to a blu-ray compatible container
- bug in avsInfo and frameCounter
- bug in MediaInfo Analyser

*updated*
- windows 32bit package

-> updated links in 1st post

Selur
31st August 2010, 07:59
I'll be mainly offline now for vacation and work for the next month (starting today). But here's some good news:
With the major help of netcasthd I'll release a NVIDA library based Windows h.264 command line encoder and a Hybrid version which is adjusted for it around the 15th and 16th of September. :)
(support for vc-1 will follow in October)

Cu in a month Selur

Ps.: I'll try to check email from time to time (so PMs should reach me), but don't expect me to react fast.

Riki
31st August 2010, 16:08
Have a great vacation!

Brazil2
1st September 2010, 19:10
Have a nice vacation and don't forget to check this post when you'll be back:
http://forum.doom9.org/showthread.php?p=1430733#post1430733

;)

Tadream
2nd September 2010, 16:09
Have a nice vacation.
I've just updated the Linux64bit version.
Still using it from time to time, works great.

Selur
15th September 2010, 23:39
back from DomRep and before I'm off to shanghai:
Hybrid ver.100915

*added*
- a CUDA based H.264 encoder to Hybrid <- special thanks for netcasthd
*updated*
- windows 32bit package (includes a 64bit folder which includes 64bit avsInfo, cuda and FrameCounter versions)

-> updated links in 1st post

flebber
16th September 2010, 08:22
what's the advantage of the Netcasthd CUDA based H.264 encoder ?

Selur
16th September 2010, 09:55
No real advantage, it's mainly 'just' another encoder frontend for the dlls from NVIDIA like e.i. the one that comes with mediacoder. But since I couldn't find any real docu about that one, we wrote one ourself so that we would have a documentation for it. :)
Here are the available options through the command line:
Usage: cuda --input "path to input file" --resolution WIDTHxHEIGHT --output "path to output file"
example: 'cuda --input test.yuv --resolution 640x352 --output test.264'

Required Settings:
-----------------------
--resolution <value>x<value> specify the resolution of the input file (needs to be at least mod2)
--output <value> specify the input file (the encoder doesn't care about the extension)

Global Settings:
-----------------------
--codec <value> selects the encoder values: vc-1, h.264 (h.264)
--input <value> specify the raw input file or - for pipe input (-)
--sar <value>x<value> set the pixel aspect ratio, e.g. 1x1, 16x11 (1x1)
--format <value> set input color format: UYVY, YUY2, YV12, NV12, IYUV (IYUV)
--control_mode <value> select the rate control method:
allowed for h.264: cbr, vbr, cq, vbr_rest (vbr_rest)
allowed for vc-1: cbr (cbr)
--bitrate <value> target bitrate kBit/s (1500) - only for cbr, vbr, vbr_rest
--bitrate_peak <value> maximal bitrate peak kBit/s (62000) - only for cbr, vbr, vbr_rest
--fps <value> set the ouput frame rate (25/1)
--fps <numerator/denominator>
--profile <value> select a profile for the output stream:
allowed for h.264: baseline, main, high (high)
allowed for vc-1: simple, main (main)
--level <value> select a profile for the output stream:
allowed for h.264: 10,11,12,13,20,21,22,30,31,32,40,41,42,50,51 (auto)
allowed for vc-1: low, medium, high, auto (auto)
--offload <value> specify gpu work offload, values: partial, full (partial)
--forceGPU <value> set if you want to force a specific gpu to be used: 0/1 (NA)
--measure <value> during encoding measure: FPS, PSNR, FPS_PSNR, NONE (FPS)
--showFrameStats <value> set how often frame stats should be posted during encoding: 0- (0 = disable)
(only when measure FPS/FPS_PSNR is used)


H.264 only settings:
------------------------
--frame_typ <value> set the outptu frame typ: frame, top, bottom (frame)
--pframe_dist <value> set the minimum distance between two p-frames (1)
--gop_max <value> set the maximum distance between two key frames (250)
--dynamicGOP <value> set whether or not gop structure should be choosen dynamically: true/false (true)
--pquant_min <value> set a min quantizer for p-frames (0) - only with vbr_rest
--bquant_min <value> set a min quantizer for b-frames (0) - only with vbr_rest
--iquant_min <value> set a min quantizer for i-frames (0) - only with vbr_rest
--deblock <value> dis-/enable deblocking: true/false (true)
--deinterlace <value> dis-/enable deinterlacing: true/false (false)
--preset <value> select a preset: psps, ipod, avchd, bluray, hdv1440
--cavlc <value> use CAVLC instead of CABAC entropy coding
--nal_typ <value> select nal-unit type: auto, 1-4 (auto)
--sps_pps <value> dis-/enable sps_pps flaf (true)
--slices <value> set slice count: auto, 1-4
which offers all the options I could find in the nvidia documentation to user.

I did some testing and yes x264 is a tiny bit faster and delivers better quality on my i7 875k. (both are around 600fps for DVD Material piped through mencoder)
The main reasons to add this encoder is just to have a free h.264/vc-1 encoder (where I know what the options do) that uses the nvidia libaries because I was pissed of that the one with mediacoder didn't have some documentation.
Not totally sure for which group of users this encoder really is an interesting choice next to x264, but I was curious how these encoders would perform quality&speed wise.


Cu Selur

Riki
24th September 2010, 20:10
Very interesting, I cant wait to play with that new option.

I downloaded the new package (win32 100915) and nothing will go into the job queue. I made sure everything was reset and added a video and hit add to queue, but nothing is ever in the queue.

Also, since an earlier version, when adding multiple files and using baseline profile - a popup box happens with each video. So if I add 100 videos and hit "add to queue" I have to hit ok for every popup box warning me that the video/audio may not be in sync.

Have a great trip!! :)

Selur
25th September 2010, 06:08
will be back at home on thursday and have a look at it (removing the warning shouldn't be a problem), the job queue thing is strange, might help if you activate debug output and send me a pm with the output :)

Riki
27th September 2010, 04:06
Ok, I am an idiot and I apologize again, haha. This is the 2nd time it got me..I forgot to check "Generate Output Name". Perhaps a popup to warn people, just in case?

Also, with the newest version I no longer seem to have the baseline warning popup. Sorry for the false alarms!!

franzrogar
4th October 2010, 20:58
First, a "huge" thankyou for this tool. I've been looking for exactly this long time ago. And, btw, great work :-)

I'm using last version and Linux 64bits (ArchLinux) and I've some things I'd like to comment, if you don't mind:

1 - There's a bug with "output filename" having the "hyphen" character in it. Job stops with a "file couldn't be found" because, in Linux, "hyphen" char is used to pipe output to stdout. In my case I was using something like "Movie - Extended version.mkv" and it failed to find "Movie" file (which, of course, didn't existed).

2 - Please, this' a request: if there's a job running or, even, if there's any job in queue, when clicking "exit" button, please, ask first if you want to exit program... Maybe someone clicked it by mistake >.<

3 - For Linux 64 bits, "tsmuxer" and "neroaacenc" are 32-bits only programs. I'd be great to note it somewhere... mainly because some people wants pure 64 bits environments.

4 - There's no linux builds for "avsInfo" and source code is... "tied" to Windows headers. Would it be possible to "port" it to Linux? If not, would it be run using "wine" or ignored by Hybrid?

5 - Would it be possible to add a switch or flag or something else so program don't pop-up "I miss this program" each time it starts? Mainly because if there's no way to add "avsInfo" (as noted before), it'd be painful to see the pop-up always...


And, finally, just to let you know how I'm grateful to you, here's something like a "test": recoding a movie at L3.1 with Avidemux took 23h 32min in my laptop. Using your frontend, recoding at L4.1 took... 5h 12min. Seriously, I don't know what on earth Avidemux does internally... but it's "fired" from my laptop.

Again, THANK YOU VERY MUCH!

Selur
4th October 2010, 22:42
regarding 1: should be fixed in the next release (tomorrow evening)
regarding 2: will think about it (since I'm normally not really found of the 'are you sure ...' popups ;))
regarding 3: will add a comment in the first post
regarding 4: will remove it from the dependencies for linux (and also check that wine is used when it's used on linux systems atm)
regarding 5: should be fixed with 4 since I think the 'missing tools'-popup should stay there

regarding a 'test': you could just encode a small part (using e.g. the crop options) for speed testing, not sure how to add it as a feature in a meaningful way

Cu Selur

Selur
5th October 2010, 07:21
regarding 4&5: just checked the code and normally avsInfo should only be checked and mentioned as missing on Windows systems,.. (my ubuntu system isn't complaining about a missing avsInfo)

franzrogar
5th October 2010, 11:05
True, it doesn't look for avsInfo. I don't know why I added it. Sorry for inconveniencies.... :o

Selur
5th October 2010, 11:07
No problem, and as a side note: on linux when avsInfo is called it will be used with a 'wine' in front of it. ;)

franzrogar
6th October 2010, 23:51
I've tested last build and found no problem so far :-D

Great work. Congrats! And thank you very much ;-)

Selur
11th October 2010, 21:06
Hybrid ver.101011

*cosmectics*
- output container dropdown now showing all possibilities without scrolling
- bug when switching between encoding and filtering in the audio encoding section

*fixed*
- with video passthrough + raw output video files ended up in the temp not the output folder
- prevent the use of internal decoder in x264 when cropTop/Bottom is not a multiple of 4 or cropLeft/Right is not a multiple of 2
- problem with preview directly closing
- accidental closing of Hybrid after minimizing
- ' - ' in output name caused problem with .stats file generation
- using wrong aid on some sources

*changed*
- Windows: calling SetPriority with 'SetPriority -p64 PID' instead of 'SetPriority PID'
- added '--no-interlaced' to x264 calls, wenn internal decoder is used and input is detected as progressive

*added*
- option to 'warn on close'

*updated*
- windows 32bit package (includes a 64bit folder which includes 64bit avsInfo, cuda, FrameCounter,MP4Box, x264 versions)

-> updated links in 1st post

Selur
26th November 2010, 16:22
Hybrid ver.101126

*fixed*
- changed x264 qpmin minimum value from 1 to 0
- MP4Box progress
- adjusted VP8 support to use vpxenc instead of old ivfenc
- mkv audio reencode problem
- mono audio detected as stereo
- cropView aspect Ratio calculation (cropSar = inputSar in cropView)
- problem when importing jobs with unicode characters

*cosmetics*
- some renaming in Audio handling dropdown
- rename 'Crop preview' -> 'Crop mode'

*added*
- option to search for forced subtitles in DVDs (these subtitles can be extracted, but preview won't work due to

a mplayer bug)
- Option to export chapters as mkv compatible chapter files in the chapter tab (allows on to use Hybrid for

simple chapter extraction)
- tooltip sidebar: 'Config->Misc settings->Show tooltip sidebar' enables a sidebar which shows the tooltip infos

even when 'show tooltips' is disabled

*changed*
- when inserting chapter points every X minutes the first chapter will be inserted at minute zero not at minute

X
- disabled drag&drop when DVD/Blu-ray input is active

*adjusted*
- dvd subtitle detection

*updated*
- windows 32bit package (includes a 64bit folder which includes 64bit avsInfo, cuda, FrameCounter,MP4Box, x264

versions)

-> updated links in 1st post

Cu Selur

Music Fan
30th November 2010, 12:18
Hi Selur,
I have some problems with Hybrid 20101126 (package for Windows 32 bit);
1)the settings I change disappear every time I close the program (MKV in place of mp4 as standard output container). Why isn't it kept in memory ?
2)when I set chapters every x minute in a 4m38s video (short extract for my 1st test), chapters are added on 0, 1, 2 and 3rd minute in place of 1, 2, 3 and 4th minute.
3)I can't edit the timing of these chapters (nothing happens when I try to change the start time)
4)when I click on edit, the chapter is erased !
5)I can't add chapter to those created
6)every time I click on input file or output file, it opens the Hybrid32bit folder. Opening the last folder opened would be more convenient.
7)my standalone Sony player can't play the MKV created by Hybrid (in passthrough mode) though it plays the MKV done by MKVMerge with the same mp4 videos !

Thanks for your work ;)

Selur
30th November 2010, 12:49
1.) because you didn't save the settings (Config->Save->All OR Config->Save->GlobalDataModel->Selected)
2.) will fix, should be 0,1,2,3,4
3.-5.) will look into it
6.) it opens the folder specified as default input/output folder (Config->Path settings)
7.) iirc Sony players don't like the header compression for mkv files (Config->Container settings->Mkv Settings->Disable mkv header compression) other than that no clue without a debug log

Cu Selur

Music Fan
30th November 2010, 15:21
1.) because you didn't save the settings (Config->Save->All OR Config->Save->GlobalDataModel->Selected)
6.) it opens the folder specified as default input/output folder (Config->Path settings)
7.) iirc Sony players don't like the header compression for mkv files (Config->Container settings->Mkv Settings->Disable mkv header compression) other than that no clue without a debug log

Cu Selur
Thanks for your reactivity ! It works now ;)

2.) will fix, should be 0,1,2,3,4
3.-5.) will look into it
Cool :)

Selur
30th November 2010, 16:22
@Music Fan: What sort of Hybrid version do you use? (win32/64, linux32/64) Think I got it fixed and want to send you a Testversion. ;)
@all: Think I messed up with the mencoder build that's in the win32 package, best replace it with a version from: http://sourceforge.net/projects/mplayer-win32/files/
(will update the package once, a new r32649 is posted there; got no time to get my own win32 mencoder build system properly running)

Music Fan
30th November 2010, 19:31
@Music Fan: What sort of Hybrid version do you use? (win32/64, linux32/64) Think I got it fixed and want to send you a Testversion. ;)

Hi Selur,
I have some problems with Hybrid 20101126 (package for Windows 32 bit)
;)

Thanks a lot !

Selur
30th November 2010, 19:35
Just updated the test download (link is still the same) 1min ago to my current developement build, since I added a small gimmick. (crop resolution is shown in 'Crop View' and 'Avisynth'-Style cropping)

Cu Selur

Music Fan
30th November 2010, 20:10
Ok, I got it (I guess you mean the link you sent me in pm).

Selur
1st December 2010, 10:48
Here some general description how chapter editing is intended to work in Hybrd:

I. Loading a source
------------------------
a. you load a source without chapters and have the 'If input got no chapters set one every X min' set to the interval you want
-> Hybrid will then add every X minutes a Chapterpoint, naming the chapter Points "Chapter 1", "Chapter 2",...
b. you load a source with chapters and 'Import chapters on input change' is activated
-> Hybrid will import the chapters from the source and name them "Chapter 1", "Chapter 2",...
c. you load a source and no activate non of the automatic chapter adding options, but add a bunch of chapters yourself (see below: Editing a chapter list -> to add an additional entry to the list)

=> this leaves you with a chapterlist with times and names.

2. Editing a chapter list
-------------------------
- to add an additional entry to the list: set a "Start time" (& if you like a "Chapter description"), press 'Add' Hybrid will insert the new entry in the current list according to it's "Start Time"
- to remove all chapter entries from the list: press 'Remove all' -> Hybrid will clear the entries in the chapter list
- to remove a chapter entry from the list: press 'Remove' -> Hybrid will remove the entry
- to edit a chapter entry from the list: press 'Edit' -> Hybrid will remove the entry and load the values from the entry to "Start time" and "Chapter description" so you can edit them and add the modified chapter entry by pressing 'Add'

=> now the chapter list should look like you want it to

Cu Selur

Music Fan
1st December 2010, 14:17
To edit we have to press remove, as to remove ? I guess you mean that we have to click on edit to ... edit. ;)

Music Fan
1st December 2010, 14:47
I have a problem to add neroAacEnc.exe in the tools : I get this message : "GlobalDataModel doSet->found no field: neroAacEnc".

Selur
1st December 2010, 19:16
I guess you mean that we have to click on edit to ... edit.
Yup

I have a problem to add neroAacEnc.exe in the tools : I get this message : "GlobalDataModel doSet->found no field: neroAacEnc".
will fix (small typo)
The error is: "GlobalDataModel doSet->found no field: neroAacenc", should be "neroAacEnc"


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

Hybrid rev.101201

*added*
- 'Auto passthrough subtitle on source change'
- 'Extract and Add' (subtitles) button: when pressed currently selected subtitles will be extracted and added to the subtitle queue for the current

video input

*fixed*
- freeze for no audio ids
- typo "neroAacenc"->"neroAacEnc"
- bug that set max chapter time to 0 :/

*changed*
- force mencoder as decoder for ProRes and VC-3 (i.e. DNxHD) input
- tweaked file analysis (if mplayer finds id but no audio info, tsMuxer&mediaInfo will look for them)
- small adjustments to better handle .mov content with mencoder

*adjusted*
- x264 blu-ray vui: bt470bg for <= 720x576, otherwise bt709
- x264 presets (rc-lookahead for fast presets)

*cosmetics*
- showing crop resolution in 'Crop View' and 'Avisynth Style'
- rearranged some options

-> updated links in 1st post

Music Fan
1st December 2010, 20:15
Thanks for the update ;)

chunkylover67
3rd December 2010, 21:02
I'm trying to encode videos to my PSP, but I can't seem to get the right settings so that it's compatible. Can someone tell me them please? It should mainly concern the x264 section of Hybrid.

Selur
3rd December 2010, 21:12
iirc psp restrictions were something like this:
1. bit rate needs to be <= 768 kBit/s
2. resolution needs to be <= 640×480 (for firmware 5.00 or later)
3. frame rate needs to be <= 30 fps
4. H.264 ProfileLevel needs to be <= Main@2.1
5. max referneces need to be <= 2
6. stereo LC AAC 2-channel audio (<=48kHz) with a datarate <= 128kBit/s
(since I got no psp myself not totally sure about this, but should it should be a good start)

found some additional infos: http://rob.opendot.cl/index.php/useful-stuff/psp-video-guide/

Cu Selur

chunkylover67
3rd December 2010, 22:02
Well I never encode using bitrate options. I always use constant quantizer or quality, usually some around 20-22. Plus, I've used programs where references frames were 3, and they always worked (Xvid4PSP, Ripbot264). I also tend to get into detail with the x264 options, e.g b-pyramids and motion estimation etc. I'd like some settings for those if possible?

Selur
3rd December 2010, 22:06
motion estimation has nothing to do with hardware compatibility,...
according to http://spreadsheets.google.com/pub?key=tYGTjNd0dG6P_A9z-YkFzFg&output=html
Main@Level 3 with 3 references should be fine too. :)
there are also some more Infos: http://forum.doom9.org/showthread.php?t=149711

chunkylover67
4th December 2010, 19:32
I've tried to use the settings given, however my PSP won't play the video. It says 'video cannot be played'. I've even created a test clip (10 secs long) and have been fondling with the settings for hours. Here's the ones I have now:

http://imgur.com/sLkpc.png

http://imgur.com/TYWcF.png

http://imgur.com/bzyBN.png

http://imgur.com/AmIyO.png

http://imgur.com/j84DD.png

Selur
4th December 2010, 19:38
b-frames with weighted references with be a problem, but my guess is that crf 21 produces too high datarates for the psp

chunkylover67
4th December 2010, 19:47
The CRF being 21 is no problem. I've encoded videos with it and my PSP played it fine. I unchecked the weighted references and changed my CRF to 22. My PSP still won't play it.

Selur
4th December 2010, 19:49
No, clue than. Got no psp so all I can do is refer you to the linked sides from above.

chunkylover67
4th December 2010, 19:50
Well thanks for the help anyways.

chunkylover67
4th December 2010, 20:39
I've solved the problem. Apparently, b-pyramid was set to 2 instead of none. I changed it back and now it works!

Selur
4th December 2010, 20:45
strange, btw. current Hybrid Version is 101201.

chunkylover67
4th December 2010, 20:49
Is it possible for Hybrid to remember the output path? It's a tad annoying having to set it each time. Just a suggestion.

Selur
4th December 2010, 20:56
Sure, you can set a Default Output path under Conf->Path settings and if you Save the Defaults (GlobalDataModel is enought, but you can also save All), Hybrid will 'remember' your choice. ;)

Cu Selur

-TiLT-
6th December 2010, 18:25
Currently I need to do a Xvid/MP3 encode and want to mux to avi later. As Hybrid does not provide avi as output container, I need to calculate the overhead myself. What should be extracted from the video bitrate for later avi muxing?

Edit: Alright, found out myself, its 24 bytes per frame, video and audio.

Selur
6th December 2010, 21:42
Alright, found out myself, its 24 bytes per frame, video and audio.
better look here: Overhead of AVI files (http://www.alexander-noe.com/video/amg/en_estimate_overhead.html#overhead_avi)

-TiLT-
7th December 2010, 00:47
Yes, much more precisely there. Thanks.
Pain in the ass to calculate. :)

Selur
7th December 2010, 20:19
The last days I send some time thinking about adding .avi output support and I nearly finished implementing it until the point where I needed to multiplex all the streams into a file.
Problem is neither mencoder nor ffmpeg allow to split a file while muxing by size.
I wrote some code that would, multiplex multiple audiostreams (with different delays) and a videostream into an .avi and even setting container tags using ffmpeg, but splitting the file in i.e. 700MB parts while muxing isn't possible afaik.
=> so no .avi output support unless I find a small crossplattform tool that allows multiplexing multiple audio streams, with a video stream into an avi, while adding container tags and splitting the output into specified chunks.

Cu Selur

flebber
9th December 2010, 11:47
Maybe I am missing the point here, its currently very hot and humid here in oz, but if you can output to mkv then why does it matter if ffmpeg or mencoder can split the file.

You already have a completed encoded mkv use AVI-Mux to re mux the final output to avi output at the end using avi-mux gui.

http://www.alexander-noe.com/video/amg/

flebber
9th December 2010, 11:51
See it is hot I forgot to ask are you going to implement DGindexNV.

Selur
9th December 2010, 14:03
Maybe I am missing the point here, its currently very hot and humid here in oz, but if you can output to mkv then why does it matter if ffmpeg or mencoder can split the file.

You already have a completed encoded mkv use AVI-Mux to re mux the final output to avi output at the end using avi-mux gui.
1. does avi-mux even run natively under linux? thought is was a windows only tool,...
2. I can output to mkv/mp4/m2ts/webm and now I want to add avi output support and need a way to multiplex to avi add tags and split the avi by size (like I do for mkv/mp4/m2ts/webm)

See it is hot I forgot to ask are you going to implement DGindexNV.
Not sure if I can follow you,.. since Hybrid doesn't create .avs scripts everything regarding DGIndexNV would need to be handled by the user (I don't know if there's a problem with Hybrid and AvisynthScripts that use DGIndexNV, since I don't use DGIndexNV)
Sadly DGIndexNV can't simply used as decoder to output raw yuv, which could then be fed to the encoders.

Cu Selur

farhang
10th December 2010, 08:25
In Hybrid32bit I selected 'Embed subtilte in Frame'. After starting the job and tsmuxing was finished, it shoes the error 'Processing aborted,...ERROR: is too small!'.
May you test the 'Embed subtilte in Frame' for a sample movie, please?

Here is the my test LOG:

Log Messages
analysing: C:\Program Files (x86)\Video\Hybrid32bit\1\paeiz.ts
grabbing audio ids ...
found audio ids: 4352
analysing audio streams...
analysing audio streams with tsMuxerR
grabbing video ids for: C:\Program Files (x86)\Video\Hybrid32bit\1\paeiz.ts
video ids found: 4113
analysing video streams...

Audio changed to:
AudioID: 4352
Format: ac3
Bit rate: 384
Channels: 6
Sample rate: 48000
Video delay: -40


Audio changed to:
AudioID: 4352
Format: ac3
Bit rate: 384
Channels: 6
Sample rate: 48000
Video delay: -40

Video changed to:
Format: AVC
Bit rate: 14771
Frame rate: 25.000
Resolution: 1920x1080
Interlacing: top field first
Aspect ratio: 1
Frame count: 5700


Audio changed to:
AudioID: 4352
Format: ac3
Bit rate: 384
Channels: 6
Sample rate: 48000
Video delay: -40


Audio changed to:
AudioID: 4352
Format: ac3
Bit rate: 384
Channels: 6
Sample rate: 48000
Video delay: -40

Analysing finished.
Generating video calls for: C:\temp\2\paeiz.mp4
adding x264 calls for source: 1.
createJobs for C:\temp\2\paeiz.mp4
called with empty tag list
called with empty chapter queue
createJob audio...
createJob video...
create video job for 22_19_36_751
Added new job with id 22_19_36_751
22_19_36_751_01_create: creating C:\temp\tsmuxer_22_19_36_751_01_0.meta...
Lowering priority of process with id: 1168
22_19_36_751_02_audio: tsMuxeR running...
22_19_36_751_03_cleanUp: "C:\temp\tsmuxer_22_19_36_751_01_0.meta"
22_19_36_751_04_rename: renaming ...
22_19_36_751_05_video: x264 (1 pass) encoding started...
Lowering priority of process with id: 5792
Lowering priority of process with id: 5748
raw [info]: 1920x1080p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 4.2
C:\temp\paeiz_22_19_36_751_05.264 too small
22_19_36_751_05_video: Processing aborted,...ERROR: is too small!
Job 22_19_36_751 finished!

Selur
10th December 2010, 08:37
The Log doesn't help much, it just shows that there was a problem creating the output,..

Wild guesses without knowing anything specific:
1. It might be a bug in the routine when to use the internal x264 decoder, so try if it helps to disable: 'x264->Misc->Adjustments->Use internal decoder if possible'
(Update: routine looks fine here, but could still be mencoder)
2. switch the mencoder.exe with one from http://sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/revision%2032674/

If this doesn't help:

I will try to reproduce this later.
Important info needed to fix&reproduce 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. Debug output would be helpful. (Config->Misc Settings->create debug file)
5. 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.
=> I need a debug log.

Cu Selur

farhang
10th December 2010, 16:52
Sorry for insufficient log data, and many thanks for your help.
I downloaded the Hybrid32bit 32bit package V. 20101126 from the first topic.
I noticed the above error was from MEncoder.exe, so I replaced it by the one from MeGUI software.

The Hybrid32bit 20101126 downloaded Mencoder.exe info:
File Version: 0.0.9.0
Product Version: Unknown-4.5.0
File Size: 4.31 MB

MeGUI Mencoder.exe info:
File Version: 0.0.9.0
Product Version: Sherpya-SVN-r28311-4.2.5
File Size: 5.31 MB

Now I have no error with this Mencoder.exe and 'Embed subtitle in frame' option goes with success.
Many thanks for your attention.


-------
The Log doesn't help much, it just shows that there was a problem creating the output,..

Wild guesses without knowing anything specific:
1. It might be a bug in the routine when to use the internal x264 decoder, so try if it helps to disable: 'x264->Misc->Adjustments->Use internal decoder if possible'
(Update: routine looks fine here, but could still be mencoder)
2. switch the mencoder.exe with one from http://sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/revision%2032674/

If this doesn't help:

I will try to reproduce this later.

=> I need a debug log.

Cu Selur

flebber
11th December 2010, 01:30
Selur you might want to take a look at Buzzqw's automen. it encodes to .avi and has a linux based version.

Selur
11th December 2010, 08:05
will have a look, but isn't it simple a mencoder gui? (afaik mencoder allows you to set a start&end time for a single split and doesn't allow split by size or tagging)
-> checked: automem doesn't support splitting or tagging at all

Selur
12th December 2010, 11:08
Hybrid rev.101212

*added*
- Xvid .avi output (no output splitting atm.)
- flac audio encoding

*changed*
- added time to name of output subtitle when extracting from dvd

*fixed*
- allow mod2 height for x264 internal
- subtitle language not correctly changed on title change

*cosmetics*
- .tag.xml.tag.xml -> .tag.xml

-> updated links in 1st post

Selur
13th December 2010, 09:49
@all: Don't use the .avi output, it's broken. (see: http://roundup.ffmpeg.org/issue2446)

Selur
26th December 2010, 14:34
will probably remove avi support since the 'bug' I posted in the ffmpeg bug tracker (http://roundup.ffmpeg.org/issue2446) was set to 'closed invalid',...

Selur
27th December 2010, 13:49
judging from the feedback I got:
If a player does not recognize 5.1 AC3 in avi, you should report this to the
developers of said player, but not here (this makes the issue invalid, since
here, only FFmpeg bug-reports are accepted).
over at http://roundup.ffmpeg.org/issue2446
I created a new bug report for ffplay since it too (like vlc, mplayer, mpc-hc, wmp) doesn't correctly playback the avi(xvid, 5.1 ac3) files multiplexed with ffmpeg.
Reply: "This is not a valid issue." -> I give up

since cehoyos in the http://roundup.ffmpeg.org/issue2446 thread doesn't quite get my problem and I feel incapable of some how make him understand that the muxing of 5.1 ac3 and xvid raw streams into an .avi container is broken in ffmpeg I give up on that front too.
-> if someone thinks he can communicate with cehoyos in a way for him to see the problem he is welcome to help, but atm I'm totally pissed of since I don't see where I went wrong.

-> cehoyos pointed out that ffmpeg muxes ac3 with 'high' bitrates in a way ffplay and all the other players can't properly playback the output .avi
=> seems like .avi output for Hybrid will have to wait until ffmpeg get's fixed. (looking at the list of bugs in the bugtracker this could take a while :()
(bug state is now 'open' so there's at least some hope for this to be fixed in a future ffmpeg release)

Cu Selur

Selur
1st January 2011, 13:21
Hybrid rev.110101

*fixed*
- avi (xvid,..) .avi support requires ffmpeg r26167 or later (Thanks to ffmpeg-team for fixing!)
- audio extraction on chapter selection
- typo: itsoffet -> itsoffset

*updated*
- Windows package

-> updated links in 1st post

Tadream
1st January 2011, 20:19
I wanted to try out the newest linux 64bit version but the link seems dead.
Running the 32bit version in 64bit makes my computer restart (actually logoff).
Hope to see the link alive soon.

Selur
1st January 2011, 20:24
should be fixed now. (mixed up _64bit_binary and _binary_64bit)

Tadream
1st January 2011, 21:22
thanks, downloading it now.

Music Fan
8th February 2011, 17:03
Hi,
I have a problem with Hybrid : I installed the Hybrid Win32 package on a new pc (not connected to the web), and when I click on "set chapters every ...", nothing happens.
On my other pc, when I do that, the chapters are immediately created. I use passthrough mode.
The export in mkv works, but no chapter is added.

Other strange thing : when I open a file (mkv or mp4), the Mediainfo window appears 3 times and I have to close it 3 times to finish the analysis of the file.

Selur
8th February 2011, 18:25
MediaInfo window? Which MediaInfo window? There should be no such thing,... (unless someone switched the MediaInfo CL version that comes with the package with a MediaInfo GUI version,..)
Please read the 1st post about providing infos so that have at least a chance to replicate the problem. :)

Music Fan
8th February 2011, 19:13
I don't know what to add, I gave all informations, you know the version I have (package 32 bit 110101, the only one on first page), and i'm on Windows XP.
But that's not the biggest problem ; the chapters bug is.
Why is the list not created ?

Selur
8th February 2011, 19:34
I tried the following:
1. started Hybrid
2. loaded an .avi file
3. switched to the chapter section
4. activated 'If input got no chapters ...'
-> chapters were added to the list

so looking at the first post:
...
4. Debug output would be helpful. (Config->Misc Settings->create debug file)
...
Cu Selur

Ps.: since I couldn't reproduce the problem I send you a pm with a link to a test version of my current development build.

Music Fan
8th February 2011, 21:03
I tested your test version : my 2 problems are not there anymore (good news), but there is a new problem : the export is aborted !
In the Debug file, I get this message :
myvideo.mkv does not exist !
aborting ...

Something weird : when I go in the chapter tab, the option "set chapters every x minutes" is already checked and the list of chapters is there.

Selur
8th February 2011, 21:11
Without a non modified debugOutput and a step-by-step list what you did from a resetted Hybrid: NO CLUE!
mkv output works here without a problem.

myvideo.mkv does not exist !
aborting ...
this happend when the call(s) before this should have created a file named 'myvideo.mkv' but didn't
without a proper debugOutput I can't check if this:
1. is a bug in Hybrid i.e. looking for the wrong file, a mistake in the call
2. this is related to a bug in the tools that got called

Something weird : the option "set chapters every x minutes" is already checked and the list of chapters is there.
this happens if you save defaults,... (to be sure your defaults are the Hybrid default values go to: Config->Reset Defaults and press "All")

Cu Selur

Music Fan
9th February 2011, 10:14
I made a test with a shorter file (a trailer from the Apple site) and the problem is the same.
It's a Quicktime container but I changed the extension to mp4 (because my standalone player can play it with mp4 extension but not with mov extension).
Here is the Debug file, it's too long for the forum so I post it in 2 parts (see next page for 2nd part) ;
2011.02.09 - 10:03:22_TEST_110205 - convertPar 1:1 to: manual
2011.02.09 - 10:03:22_TEST_110205 - convertPar 1:1 to: manual
2011.02.09 - 10:03:27_TEST_110205 - Add job to queue,...
2011.02.09 - 10:03:27_TEST_110205 - checkAndCreateJobs,...
2011.02.09 - 10:03:27_TEST_110205 - Checking audio for: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - checking subtitle settings,...
2011.02.09 - 10:03:27_TEST_110205 - subtitles look okay.
2011.02.09 - 10:03:27_TEST_110205 - video settings look okay.
2011.02.09 - 10:03:27_TEST_110205 - Sending infos to job creator ...
2011.02.09 - 10:03:27_TEST_110205 - generating VideoCalls...
2011.02.09 - 10:03:27_TEST_110205 - SourceCount: 1
2011.02.09 - 10:03:27_TEST_110205 - Generating video calls for: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Video handling: passthrough
2011.02.09 - 10:03:27_TEST_110205 - generatePassthroughCalls for: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - There's no timecode in 41
2011.02.09 - 10:03:27_TEST_110205 - adding passthrough calls for source: 1
2011.02.09 - 10:03:27_TEST_110205 - createJobs called...
2011.02.09 - 10:03:27_TEST_110205 - createJobs for K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - called with empty tag list
2011.02.09 - 10:03:27_TEST_110205 - createJob audio...
2011.02.09 - 10:03:27_TEST_110205 - createAudioJobs: F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4;0;aac;6;passthrough;463;;;;;eng;0;148.86;aac;0;1;don't change;0;false;;false;1;false;;;;true;false;true;false;false;48000;unknown
2011.02.09 - 10:03:27_TEST_110205 - createAudioJob, current: F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4;0;aac;6;passthrough;463;;;;;eng;0;148.86;aac;0;1;don't change;0;false;;false;1;false;;;;true;false;true;false;false;48000;unknown
2011.02.09 - 10:03:27_TEST_110205 - createAudioJob: F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4
2011.02.09 - 10:03:27_TEST_110205 - createAudioJobForFile: F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4
2011.02.09 - 10:03:27_TEST_110205 - generateAudioOutputName: Input: F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4
-> isRaw: false
Generated name: Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac
2011.02.09 - 10:03:27_TEST_110205 - generated output name: C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac
2011.02.09 - 10:03:27_TEST_110205 - newAudioJob called: 10_03_27_621_01
2011.02.09 - 10:03:27_TEST_110205 - -> audioStreams to mux: RAW:KEEPHEAD:DEFAULT:C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac ###
2011.02.09 - 10:03:27_TEST_110205 - createJob video...
2011.02.09 - 10:03:27_TEST_110205 - create video job for 10_03_27_621
2011.02.09 - 10:03:27_TEST_110205 - -> generating newVideoJob
2011.02.09 - 10:03:27_TEST_110205 - newVideoJob called... 10_03_27_621_02
2011.02.09 - 10:03:27_TEST_110205 - createJob muxing...
2011.02.09 - 10:03:27_TEST_110205 - generateMuxingCall.. for K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - generate mkv mux call called,...
2011.02.09 - 10:03:27_TEST_110205 - videoStreamsToMux:
INFOS ### 1:1 ### 23.976 ### Source_1 ### 0 ### 1920 ### 800 ### 3569/23.976 ### F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4 ### mkv ### false ### false ### passthrough ### ### 0-0 ### K:\Cowboys and aliens tlr1 1920.800 5.1.mkv ### false
C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264
2011.02.09 - 10:03:27_TEST_110205 - audioStreamsToMux:
RAW:KEEPHEAD:DEFAULT:C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac ###
2011.02.09 - 10:03:27_TEST_110205 - audioLangPassthrough: false
2011.02.09 - 10:03:27_TEST_110205 - chapterQueue: Source_1:*:00:00:00:*:Chapter 1:*:F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4 ### Source_1:*:00:01:00:*:Chapter 2:*:F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4 ### Source_1:*:00:02:00:*:Chapter 3:*:F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4
2011.02.09 - 10:03:27_TEST_110205 - output: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - mkv muxing basis: mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv"
2011.02.09 - 10:03:27_TEST_110205 - videoTags:
2011.02.09 - 10:03:27_TEST_110205 - audioTags:
2011.02.09 - 10:03:27_TEST_110205 - containerTags:
2011.02.09 - 10:03:27_TEST_110205 - mkv video part ...
2011.02.09 - 10:03:27_TEST_110205 - generateMKV/MP4ChapterData
2011.02.09 - 10:03:27_TEST_110205 - adding: -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_JOBID.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:27_TEST_110205 - mkv audio part ...
2011.02.09 - 10:03:27_TEST_110205 - AudioTagList:
2011.02.09 - 10:03:27_TEST_110205 - DEFAULT is set: true
2011.02.09 - 10:03:27_TEST_110205 - streamTag(1):
2011.02.09 - 10:03:27_TEST_110205 - streamTag(2):
2011.02.09 - 10:03:27_TEST_110205 - audioID: 0
2011.02.09 - 10:03:27_TEST_110205 - KEEP: false
2011.02.09 - 10:03:27_TEST_110205 - HE-AAC: false
2011.02.09 - 10:03:27_TEST_110205 - RAW: true
2011.02.09 - 10:03:27_TEST_110205 - KEEPHEAD: true
2011.02.09 - 10:03:27_TEST_110205 - ToMux: C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac
2011.02.09 - 10:03:27_TEST_110205 - audioLangPassthrough: false
2011.02.09 - 10:03:27_TEST_110205 - grabDelayFromFilename: C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac
2011.02.09 - 10:03:27_TEST_110205 - ->DELAY 0
2011.02.09 - 10:03:27_TEST_110205 - audioDelay: 0
2011.02.09 - 10:03:27_TEST_110205 - adding: --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:27_TEST_110205 - createMuxerAndCleanUpJobs....
2011.02.09 - 10:03:27_TEST_110205 - -> chapID: 10_03_27_621_03
2011.02.09 - 10:03:27_TEST_110205 - newCreateJob called... 10_03_27_621_03
2011.02.09 - 10:03:27_TEST_110205 - newMuxingJob called
2011.02.09 - 10:03:27_TEST_110205 - newCleanUpJob called
2011.02.09 - 10:03:27_TEST_110205 - newCleanUpJob called
2011.02.09 - 10:03:27_TEST_110205 - newCleanUpJob called
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_01_audio:*:0:*:148.86:*:WAITING:*:MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - creating new TopLevelItem,..
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_01_audio
2011.02.09 - 10:03:27_TEST_110205 - Added new job with id 10_03_27_621
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_02_video:*:0:*::*:WAITING:*:MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_02_video
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_03_create:*:0:*::*:WAITING:*:C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp ### CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:01:00.000
CHAPTER02NAME=Chapter 2
CHAPTER03=00:02:00.000
CHAPTER03NAME=Chapter 3:*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_03_create
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_04_muxing:*:0:*::*:WAITING:*:mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_04_muxing
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_05_cleanUp:*:0:*::*:WAITING:*:"C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_05_cleanUp
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_06_cleanUp:*:0:*::*:WAITING:*:"C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_06_cleanUp
2011.02.09 - 10:03:27_TEST_110205 - Job init with: 10_03_27_621_07_cleanUp:*:0:*::*:WAITING:*:"C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac":*:C:\DOCUME~1\Roberto\LOCALS~1\Temp:*:K::*:K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:27_TEST_110205 - Added new sub-job with id: 10_03_27_621_07_cleanUp
2011.02.09 - 10:03:42_TEST_110205 - on_startJobPushButton_clicked
2011.02.09 - 10:03:42_TEST_110205 - getSelectedParentIDs
2011.02.09 - 10:03:42_TEST_110205 - getSelectedParentIDs
2011.02.09 - 10:03:42_TEST_110205 - startJobs,...
2011.02.09 - 10:03:42_TEST_110205 - acceptableState WAITING -> : false
2011.02.09 - 10:03:42_TEST_110205 - acceptableState WAITING -> : true
2011.02.09 - 10:03:42_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:42_TEST_110205 - this->m_jobHandler.count(): 0
2011.02.09 - 10:03:42_TEST_110205 - 127.0.0.1 free count 1
2011.02.09 - 10:03:42_TEST_110205 - 127.0.0.1 parallel count: 1
2011.02.09 - 10:03:42_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:42_TEST_110205 - this->m_jobHandler.count(): 0
2011.02.09 - 10:03:42_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:42_TEST_110205 - this->m_jobHandler.count(): 0
2011.02.09 - 10:03:42_TEST_110205 - Processing: 10_03_27_621_01_audio
2011.02.09 - 10:03:42_TEST_110205 - Processing 10_03_27_621_01_audio: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - Command size 1, with: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - 10_03_27_621_01_audio: mp4Box started...

Music Fan
9th February 2011, 10:15
And the second part ;
2011.02.09 - 10:03:42_TEST_110205 - setTempFile: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - count: 1
2011.02.09 - 10:03:42_TEST_110205 - Looking at(1): MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - 10_03_27_621_01_audio ### K:\Cowboys and aliens tlr1 1920.800 5.1.mkv ### CALL: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - setAbsolutPath for MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - name: MP4Box
2011.02.09 - 10:03:42_TEST_110205 - ret: C:\Program Files\Hybrid\MP4Box.exe
2011.02.09 - 10:03:42_TEST_110205 - New Call: "C:\Program Files\Hybrid\MP4Box.exe" -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - Starting Main:
"C:\Program Files\Hybrid\MP4Box.exe" -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:42_TEST_110205 - Lowering priority of process with id: 2216
2011.02.09 - 10:03:42_TEST_110205 - processFinished: 0
2011.02.09 - 10:03:42_TEST_110205 - Checking:
2011.02.09 - 10:03:42_TEST_110205 - Processing: 10_03_27_621_02_video
2011.02.09 - 10:03:42_TEST_110205 - Processing 10_03_27_621_02_video: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - Command size 1, with: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - 10_03_27_621_02_video: mp4Box started...
2011.02.09 - 10:03:42_TEST_110205 - setTempFile: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - count: 1
2011.02.09 - 10:03:42_TEST_110205 - Looking at(1): MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - 10_03_27_621_02_video ### K:\Cowboys and aliens tlr1 1920.800 5.1.mkv ### CALL: MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - setAbsolutPath for MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - name: MP4Box
2011.02.09 - 10:03:42_TEST_110205 - ret: C:\Program Files\Hybrid\MP4Box.exe
2011.02.09 - 10:03:42_TEST_110205 - New Call: "C:\Program Files\Hybrid\MP4Box.exe" -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - Starting Main:
"C:\Program Files\Hybrid\MP4Box.exe" -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
2011.02.09 - 10:03:42_TEST_110205 - Lowering priority of process with id: 2520
2011.02.09 - 10:03:43_TEST_110205 - processFinished: 0
2011.02.09 - 10:03:43_TEST_110205 - Checking:
2011.02.09 - 10:03:43_TEST_110205 - Processing: 10_03_27_621_03_create
2011.02.09 - 10:03:43_TEST_110205 - Processing 10_03_27_621_03_create: C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp ### CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:01:00.000
CHAPTER02NAME=Chapter 2
CHAPTER03=00:02:00.000
CHAPTER03NAME=Chapter 3
2011.02.09 - 10:03:43_TEST_110205 - 10_03_27_621_03_create: creating C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp...
2011.02.09 - 10:03:43_TEST_110205 - Processing: 10_03_27_621_04_muxing
2011.02.09 - 10:03:43_TEST_110205 - Processing 10_03_27_621_04_muxing: mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - Command size 1, with: mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - 10_03_27_621_04_muxing: mkvmerge started...
2011.02.09 - 10:03:43_TEST_110205 - setTempFile: mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - count: 1
2011.02.09 - 10:03:43_TEST_110205 - Looking at(1): mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - -> should be there after processing: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:43_TEST_110205 - 10_03_27_621_04_muxing ### K:\Cowboys and aliens tlr1 1920.800 5.1.mkv ### CALL: mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - setAbsolutPath for mkvmerge --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - name: mkvmerge
2011.02.09 - 10:03:43_TEST_110205 - ret: C:\Program Files\Hybrid\mkvmerge.exe
2011.02.09 - 10:03:43_TEST_110205 - New Call: "C:\Program Files\Hybrid\mkvmerge.exe" --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - Starting Main:
"C:\Program Files\Hybrid\mkvmerge.exe" --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"
2011.02.09 - 10:03:43_TEST_110205 - Lowering priority of process with id: 604
2011.02.09 - 10:03:43_TEST_110205 - processFinished: 2
2011.02.09 - 10:03:43_TEST_110205 - Checking: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv
2011.02.09 - 10:03:43_TEST_110205 - K:\Cowboys and aliens tlr1 1920.800 5.1.mkv does not exist!
2011.02.09 - 10:03:43_TEST_110205 - aborting,..
2011.02.09 - 10:03:43_TEST_110205 - 10_03_27_621_04_muxing: Processing aborted,...ERROR: K:\Cowboys and aliens tlr1 1920.800 5.1.mkv was not created!
2011.02.09 - 10:03:43_TEST_110205 - Client parent: 10_03_27_621
2011.02.09 - 10:03:43_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:43_TEST_110205 - this->m_jobHandler.count(): 1
2011.02.09 - 10:03:43_TEST_110205 - Client free count: 0
2011.02.09 - 10:03:43_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:43_TEST_110205 - this->m_jobHandler.count(): 0
2011.02.09 - 10:03:43_TEST_110205 - Client free count: 1
2011.02.09 - 10:03:43_TEST_110205 - finishedJob: 10_03_27_621
2011.02.09 - 10:03:43_TEST_110205 - Job 10_03_27_621 finished!
2011.02.09 - 10:03:43_TEST_110205 - parallelJobCount: 1
2011.02.09 - 10:03:43_TEST_110205 - this->m_jobHandler.count(): 0
2011.02.09 - 10:03:43_TEST_110205 - Client 127.0.0.1 free job count: 1
2011.02.09 - 10:03:43_TEST_110205 - startJobs,...
2011.02.09 - 10:03:43_TEST_110205 - acceptableState ABORTED -> : false
2011.02.09 - 10:03:43_TEST_110205 - acceptableState ABORTED -> : false
2011.02.09 - 10:03:43_TEST_110205 - No parentjobs -> nothing to do
2011.02.09 - 10:03:48_TEST_110205 - stopping preview,...

Selur
9th February 2011, 10:23
It's a Quicktime container but I changed the extension to mp4 (because my standalone player can play it with mp4 extension but not with mov extension).
Don't do such things!

Also check what happens if you call:
"C:\Program Files\Hybrid\mkvmerge.exe" --ui-language en -o "K:\Cowboys and aliens tlr1 1920.800 5.1.mkv" -d 0 --default-track 0:yes --default-duration 0:24000/1001fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_03.chp" --compression -1:none --forced-track 0:no --no-audio --no-subtitles "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_eng_aid_0__10_03_27_621_0110_03_27_62100.aac"

I suspect something went wrong with:
MP4Box -raw 0 "F:\Cowboys and aliens tlr1 1920.800 5.1.mov.mp4" -splitx 0:0 -out "C:\DOCUME~1\Roberto\LOCALS~1\Temp\Cowboys and aliens tlr1 1920.800 5.1_10_03_27_621_02.264"
since I'm not sure why it contains '-splitx 0:0'.

Think I found the problem, it's related to the extracting calls, will test and send you a link to a testversion later.

Cu Selur

Music Fan
9th February 2011, 10:39
Don't do such things!
It's just to play on my standalone player, it works fine.

Also check what happens if you call
What do you mean ? How do I call it ?

will test and send you a link to a testversion later
Ok, thanks.:)

Anyway, I guess that there is a problem with Hybrid because I had not this problem before (I don't remember with which version because I re-installed Windows on my old pc on which I used Hybrid).
And I also made test with "real" mp4 files (mp4 container), and there was also this problem.

Selur
9th February 2011, 10:41
Problem lies in the analysis of the mov file. :) Hybrid grab's the wrong Audio&Video IDs and therefore tries to extract the wrong streams. :)

Music Fan
9th February 2011, 11:27
Ok, but same thing happens with mp4 files and mov files (with mov extension).
But I made a test with a MKV file (containing h264 and Dts), and it worked !:confused:

Selur
9th February 2011, 11:29
Same will happen with .3gp and m4a, m4v files,.. -> I know where the problem lies, but it takes some time to fix the problem.

Music Fan
9th February 2011, 12:24
Ok, good work. ;)

I have some suggestions (not very important) : it would be cool to ;
*have by default the good extension added after the output file name (MKV if MKV chosen in output settings)
*be able to ;
-choose langage for audio tracks
-choose fps and DAR for picture
-edit the output file name (if we forgot a word or if we didn't type it correctly) without having to retype it completely and keeping the same folder (to avoid to return to the default folder and re-find the folder we need)
-mux audio and video opened separately (like MKVmerge)

Selur
9th February 2011, 12:36
-choose langage for audio tracks
The audio language is shown if behind the audio selector, if Hybrid knowns which language the stream is.
-choose fps ...
you can change the fps under Filtering. (by scaling = dropping/adding frames or by speeding up/down the source)
If your input source frame rate is not detected correctly thats probably a bug or broken input.

DAR for picture
Sorry, I don't like DAR (+ i don't see where it really is helpful) and so Hybrid will only allow PAR modification.

-edit the output file name without having to retype it completely and keeping the same folder (to avoid to return to the default folder and re-find the folder we need)
no problem, will change Hybrid such that it'll reopen the path last selected for an output file.

-mux audio and video opened separately (like MKVmerge)
1st I'm using mkvmerge for multiplexing
2nd I see no reason to do it in two passes and create an unnecessary temp file.

Cu Selur

Ps.: think i fixed the problem -> send you a pm with a test version

Music Fan
9th February 2011, 17:45
Thanks, it works now. ;)

The audio language is shown if behind the audio selector, if Hybrid knowns which language the stream is.
Do you mean only if the input is an mkv which already contains the information about the langage ?
The audio selector only shows a number (1).

you can change the fps under Filtering
And in "muxing" also (I had forgotten that).

will change Hybrid such that it'll reopen
Cool, thanks.

And concerning the extension, could you add MKV when needed ? Because it seems that we have to type it (not a huge work of course).

Selur
9th February 2011, 17:52
Do you mean only if the input is an mkv which already contains the information about the langage ?
yup
The audio selector only shows a number (1).
strange, send me a small sample (i.e. upload it to http://www.multiupload.com/ and I'll check it out)

And in "muxing" also (I had forgotten that).
yup. :)

And concerning the extension, could you add MKV when needed ?
When the output is entered without an extension (or with an unknown extension), Hybrid will add the one selected under: Config->Input/Output settings->Output Settings->Standard output container.

Cu Selur

Music Fan
9th February 2011, 18:20
Ok, i will test it again.
Actually, until now, I used to copy the name of the input file (clicking on its name in the folder opened by clicking on "output file"), and of course, the mp4 extension was copied with the name. So I erased it and replaced by mkv. As Mkv was not the only format in the "type" line, I believed it wouldn't be added.

strange, send me a small sample
I meant with mp4 files, but you answered my question, Hybrid can't add it if it's not already there, so it's normal.

Selur
9th February 2011, 18:26
I meant with mp4 files, but you answered my question, Hybrid can't add it if it's not already there, so it's normal.
Nope it can't add a language tag automatically if the input container doesn't contain the info, you can however add a language tag using the tagging tab.

Cu Selur

Music Fan
9th February 2011, 18:33
Ok, so he can do that actually !
I didn't mean "automatic" tagging.;)

Selur
9th February 2011, 18:34
Ok, so he can do that actually !
yup :)

Music Fan
9th February 2011, 19:03
Geat program.:)

There is just one thing I don't understand : if I wanna mux an anamorphic mp4 file in Mkv (16/9 in 720.576), how do I specify 16/9 ?
In the muxing tab, I chose 16x9 but I got a 2.222 DAR (seen with Mediainfo).

Selur
9th February 2011, 19:09
If the source is anamorph and you feed Hybrid with the source, don't change anything,.. (Hybrid analyses the input and will set the PAR according to the input if not overwritten by the user, e.g. by setting a PAR in the Muxing-tab)
Like I said before: Hybrid does not use/care about DAR, it uses PAR. So specifying a PAR of 16x9 when you want a to specify a DAR of 16:9 wasn't a good choice.

Cu Selur

Music Fan
9th February 2011, 20:07
The problem is that if I don't change anything, the image stays in 720.576 (DAR 5:4).
It's a file I encoded with MeGui and its PAR looks to be 1:1. So I should probably use MKVmerge before or after Hybrid to correct the PAR (or DAR).

Selur
9th February 2011, 20:18
I though you got an anamorphic mp4 file, which means it has a PAR value != 1:1.
mediainfo --Full "Path to file"
should report the Pixel Aspect Ratio.
Now you say you got a file with a 720x576 and a 5:4 DAR which would mean your file has a PAR of 1:1 (otherwise the DAR would be wrong, see: http://en.wikipedia.org/wiki/Pixel_aspect_ratio)

Assuming your source got a PAR of 1:1 and a DAR of 5:4 which are both wrong for the source, you could still set the PAR in the Muxer tab to the right MP4-PAR:

DAR PAL NTSC
4:3 12/11 10/11
16:9 16/11 40/33

since your source is 720x576 which normally is a PAL resolution 16x11 would be the right value, to set a mp4 standard compatible 16/9 DAR.

Cu Selur

Music Fan
9th February 2011, 20:30
Ok, thanks.
I made test a few minutes ago, before to see your answer, and if I put the mp4 file in MKV with MKVmerge chosing 16/9 AR, Hybrid doesn't keep this AR ; the file created by Hybrid is again in 5:4.
But it works if I change the PAR with Yamb (opening this transformed mp4 file in Hybrid).
I need to finish the process with Hybrid because my standalone player can't play the MKV created by MKVmerge, while I believe it used to work with older versions.

Selur
9th February 2011, 20:35
I made test a few minutes ago, before to see your answer, and if I put the mp4 file in MKV with MKVmerge chosing 16/9 AR, Hybrid doesn't keep this AR ; the file created by Hybrid is again in 5:4.
yup, because Hybrid uses mediaInfo to get the par set in the stream itself not the par in the container and mkvmerge probably leaves the stream par as it was,...

But it works if I change the PAR with Yamb (opening this transformed mp4 file in Hybrid).
yup, because mp4box/Yamb sets the par in the stream and the container.

I need to finish the process with Hybrid because my standalone player can't play the MKV created by MKVmerge, while I believe it used to work with older versions.
probably because of the header compression (there are a bunch of threads in the forum about it)

Cu Selur

Music Fan
9th February 2011, 20:35
since your source is 720x576 which normally is a PAL resolution 16x11 would be the right value, to set a mp4 standard compatible 16/9 DAR.
I don't understand how you find 16x11, I never saw that value.

Music Fan
9th February 2011, 20:37
probably because of the header compression (there are a bunch of threads in the forum about it)
Yes, I know that, but I'm nearly sure it used to work before and I didn't change anything in MKVmerge.

Selur
9th February 2011, 20:57
Yes, I know that, but I'm nearly sure it used to work before and I didn't change anything in MKVmerge.
in older version the header compression was off by default, in newer versions the compression is on by default,...

I don't understand how you find 16x11, I never saw that value.
no clue why you never saw that value, here some sources i.e.: http://forum.doom9.org/showthread.php?p=1058927#post1058927, http://en.wikipedia.org/wiki/Standard-definition_television, http://wftp3.itu.int/av-arch/jvt-site/2002_05_Fairfax/JVT-C135.doc,...
You probably only heard of the ITU PAR Values,...
PAR by ITU-R BT.601
DAR PAL NTSC
4:3 128/117 4320/4739
16:9 512/351 5760/4739

PAR by MPEG
DAR PAL NTSC
4:3 12/11 10/11
16:9 16/11 40/33

Music Fan
10th February 2011, 09:34
in older version the header compression was off by default, in newer versions the compression is on by default,...
Ok, that's what I thought. But it should be clearly written, like in Hybrid. Because I believe that this setting is simply called "compression" and not "header compression" in the video tab, which is confusing.

You probably only heard of the ITU PAR Values
Neither one nor the other, I only know the PAR used with mpeg-2 (the codec I used for years), and for Pal 16/9, it's 1.4222 (or simply called 16/9 in most of video editors and encoders, which is actually the DAR but it works fine). And 1.0666 for 4/3.

The problem with this kind of PAR (16/11) is that it creates a non standard (or not precise) DAR.
To write 16/9 or 4/3 as DAR is better.
I tried 16x11 in Hybrid, and Mediainfo does not detect 16/9 but something close to 16/9.
That's why I believe you should add a DAR setting, or 4/3 and 16/9 PAR in place of 12/11, 16/11 ...

Selur
10th February 2011, 09:38
Since PAR won't change when cropping and DAR does I prefer PAR and Hybrid won't use DAR.

Music Fan
10th February 2011, 09:45
Since PAR won't change when cropping and DAR does
I don't understand what you mean, are you talking about the encoding part of Hybrid ? I crop with avisynth.
Anyway, if Mediainfo does not detect 4/3 or 16/9 in the MKV, there is a problem.
16/11 * 1.25 (720.576) = 1.8181 and not 1.77777 ...

Selur
10th February 2011, 09:56
16/11 * 1.25 (720.576) = 1.8181 and not 1.77777 ...
Yes, ITU PAR, MPEG PAR and Generic PAR do differ. :D
That's why Hybrid allows one to specify how the input par should be identified (Crop/Resize -> Pixel Aspect Ratio (PAR) -> Force input PAR type) and also allows one to specify the output PAR.

Generic PAR
DAR PAL NTSC
4:3 16/15 8/9
16:9 64/45 32/27

PAL 16/9 ITU: 512/351 = 1,4586894586894586894586894586895
PAL 16/9 MPEG: 16/11= 1,4545454545454545454545454545455
PAL 16/9 Generic: 64/45 = 1,4222222222222222222222222222222
PAL 16/9 ITU * 1,25 = 1,8233618233618233618233618233619
PAL 16/9 MPEG * 1,25 = 1,8181818181818181818181818181818
PAL 16/9 Generic * 1,25 = 1,7777777777777777777777777777778

=> When doing format conversions one should know about PARs. ;)
If MediaInfo only reports 16/9 for a generic 16/9 PAR you might want to use the appropriate generic PAR, if it matters to you that MediaInfo reports 16/9.

Cu Selur

Music Fan
10th February 2011, 10:46
For me, only what you call "generic" PAR counts. A video has to be displayed in 4/3 or 16/9 (if the PAR is not 1:1, which is nearly always the case with Divx), so I don't know what could happen with a different PAR, but I guess that my player needs to know if he has to display the 720.576 in 4/3 or 16/9.

When doing format conversions one should know about PARs.
Yes, but after the conversion, whatever we did on picture (crop, resize), when the picture is in 720.576 (or 720.480), I don't understand why we would need more than 2 PARs.
But I'm in a standalone players logical, not in PC logical. I play all my videos on standalone players.

Selur
10th February 2011, 10:50
For me, only what you call "generic" PAR counts.
Okay, than stick to the 'Generic PAR'-table I posted and you should be fine. :)


Cu Selur

Music Fan
10th February 2011, 10:55
Ok, thanks.;)
But do you agree with my reasoning about the 2 PARs for standalone players, or do I forget anything ?

Selur
10th February 2011, 10:57
That totally depends on the stand alone player. :)
If it only 'likes' generic PARs you are right, if it on the other hand only 'likes' MPEG or ITU PARs you are wrong. -> I like to keep it flexible. ;)

Music Fan
10th February 2011, 11:06
Ok, so it's no so simple than what I thought.
Do you believe that for dvd (in mpeg-2), other PARs than generic PARs could be necessary and recognized (by players and authoring log), or it's only for MKV ?
I made a lot of dvd for years, and I always chose 4/3 or 16/9.

Selur
10th February 2011, 11:18
Ok, so it's no so simple than what I thought.
Nope, never was. :)

I made a lot of dvd for years, and I always chose 4/3 or 16/9.
Which depending on the software you used probably ment that ITU or Generic PAR was used in the background.
also see and read: http://lipas.uwasa.fi/~f76998/video/conversion/

-> unless you check it visually you normally really don't know if the PAR values are set correctly or if the content you handle is a bit off (aspect ratio wise :)).
Most people really don't care about ITU/MPEG/Generic PAR, live with the fact that the picture might be slightly off and just use what their tools offer.
(to be frank it really is a nightmare especially if you mix material form different sources, i.e. dvd, web material, video cam, cg and tv broadcast and simple combine them without thinking)

Cu Selur

Music Fan
10th February 2011, 11:40
it really is a nightmare especially if you mix material form different sources
Yes, I saw that when I made video editing of a band's show filmed by 2 cameras, and the image of 1 camera (the most expensive) contained little vertical black bars on right and left, and there was no black bars on the other image.
I guess it was linked to the PAR.
It was problematic in some effects (picture in picture with changing size).
I let it like that. I don't know if there was a solution to avoid that. Maybe a resize of the avi (DV) file with cropping before to make edition ?

fusebyte
13th February 2011, 01:05
Can someone show me best settings x264 and soft settings to transcode/encode 1080i HDTV Stream (MPEG-TS) 29.970 to MKV ( real fps 23.976 progressive or remain interlaced if possible) with IBRYD ?
I tried with MEDIACODER_x64, file.MKV output result syncronized with good video quality , the main movie problem sometimes is fluid sometimes had massive micro stuttering., while the 1080i is very fluid.

Many thanks

Regards

Selur
13th February 2011, 08:38
1. what's IBRYD ?
2. Quality wise the best way is probably not to transcode/encoder at all but to just remux. (file size will shrink a bit due too smaller container overhead and loss of stuffing bits, but since audio&video remain untouched, quality should be the same as the input)
3.to avoid problems see forum rule no. 12

Cu Selur

fusebyte
13th February 2011, 15:55
1. what's IBRYD ?
I mean Hybrid, pardon.

2. Right. I need only a way to change 1080i fps 29.970 ( time 2h.03m.00s) to 1080i fps 23.976 (time 2h.03m.00s) to insert new language audio track.

There is a GUI that only removes pulldown and leave everything else as is?
TSMUXER remove pulldown but sometime the box remain greyed out (why) and can't remove it.


tk's, Fuse

Selur
13th February 2011, 15:59
There is a GUI that only removes pulldown and leave everything else as is?
Hybrid will always reencode when removing pulldown.
tsMuxeR would have been my guess,... may be it's possible with eac3to,..

TSMUXER remove pulldown but sometime the box remain greyed out (why) and can't remove it.
Might be because, the source is not telecined,...

Cu Selur

Music Fan
13th February 2011, 16:25
I had already tried to remove pulldown with TSMuxer, but it didn't always work, even with files supposed to be in 23.976 fps with a 3:2 pulldown flag (we can see it with Gspot). In this case, it's better to let it flagged. Or Gspot could be sometimes wrong.
But some BD players can make reverse 3:2 pulldown (maybe not with mkv but with AVCHD and/or BD).

fusebyte
13th February 2011, 22:39
may be it's possible with eac3to,..

eac3to -strippulldown

Is this the right command line to use?
Anything else to add?

I would try this Utility too > Deinterlacing QTGMC Script <
using this script
DirectShowSource("C:\My.mkv")
QTGMC( Preset="Slow", InputType= 1, SourceMatch=3, Lossless=2 )

# DGDecode_mpeg2source, FFVideoSource, AviSource, whatever your source requires
# InputType=1 for plain progressive, InputType=2,3 for badly deinterlaced material (discard bad field, try again with the other one)
#Source Match / Lossless Output
#Source match is a new feature that ensures the output is as close as possible to the source, whilst still removing the bob-shimmer or artefacts typical of other deinterlacers. Lossless #mode ensures that the source pixels are exactly in the output, but with the possibility of minor artefacts


Have 1 simply question.
How start AVS script without a dedicated GUI?
What i should use?



Thank's all

Selur
13th February 2011, 23:06
Is this the right command line to use?
Anything else to add?
No clue about eac3to best ask in a thread that deals with eac3to. ;)

How start AVS script without a dedicated GUI?
What i should use?
You never start an avs script. :) It's processed when frames are requested.
So if you feed it to i.e. x264 it will be processed.

Music Fan
20th February 2011, 12:28
I discovered a weird problem which seems to be linked to MkvMerge : when I tag a langage as french with Hybrid or MkvMerge, my standalone Sony player sees that it's french.
But when I tag langage as english (also tested with Hybrid and MkvMerge), my player can't see this tag and simply shows the number of the audio track.
But I have the sound, that's not the problem.

Selur
20th February 2011, 12:34
This is mainly a bug in the implementation of mkv support in the player. :)
The mkv standard specifies that undefined should be mapped to English.
Too be frank this is partially also the fault of mkvtoolnix since older versions of it didn't use the undefined for English but the 'eng/en' language flag. Newer versions of mkvtoolnix don't support the 'eng/en' language flag even if it's specified by the command line,... (which is kind of sad, but that's the way mosu likes it)
-> see mkvtoolnix thread for additional info :)

Music Fan
20th February 2011, 16:35
Thanks for the explanation, this decision is weird.
So I guess there is no way to display "english" with MKV on my player. But it's not important, I can recognize this langage of course.

Selur
20th February 2011, 16:55
it might be possible with older mkvmerge versions, but they might not work with Hybrid ;)

Music Fan
20th February 2011, 17:55
Ok, and do you know which version could do that ? There are a lot of older versions of course.

Selur
20th February 2011, 18:23
looking in the changelog of mktoolnix http://www.bunkus.org/videotools/mkvtoolnix/doc/ChangeLog
iirc. the behavior was changed with:
2010-07-30 Moritz Bunkus <moritz@bunkus.org>

* mmg header editor: bug fix: If a file was loaded that did not
contain 'track language' elements and those elements were
unchanged then they would be set to 'und' upon saving. Now they're
left as-is, and when adding them to the file the drop-down box
defaults to 'eng' being selected as per Matroska default value
specifications. Fix for bug 525.

so Released v4.2.0 or earlier,...

Music Fan
26th February 2011, 14:12
Thanks. I installed v4.1.1 but I got a message in this style : "this is the GUI for v4.5.0" though I used the GUI given with v4.1.1.
I have still v4.5.0 on my pc, but I guess I should be able to use both versions, they are installed in different folders.
Anyway, this is not very important, I don't need to see absolutely "english" when I click on the "display" touch of my remote.

Music Fan
19th March 2011, 16:04
Hi,
I tried to encode the sound (wav) of a MKV in aac, but it stayed in wav while I checked "reencode audio stream".:confused:

illogan
19th March 2011, 16:22
maybe you have forgotten to ADD the Stream to the Audio Queue ?

Make the settings of you choice and add the audio encoding job to the Audio Queue by clicking on the "Add" button

Selur
19th March 2011, 18:23
agree, works fine here,.. -> post some additional info what you did ;)

Music Fan
20th March 2011, 11:31
I didn't add it because it was already in the list (on the left of "add" button).
I tried it anyway, and a second line appeared, so I erased the first, and it din't work : "aac does not exist".
I tried again without erasing the first line and it's the same issue (after the extraction of the wav by MKVextract) : "aac does not exist".
This problem does not happen with MeGui which uses the same neroaacenc.exe file (one file for both programs).

Selur
20th March 2011, 11:43
addition infos are still required
Important info needed to fix&reproduce 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. (starting from a reseted Hybrid - Config->Reset->All) 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. Debug output would be helpful. (Config->Misc Settings->create debug file)
5. 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.

With the infos provided so far I can't reproduce the problem and I can't even send you a link to a development build,.. (no clue which OS&version you used)

Cu Selur

Arti
22nd March 2011, 16:48
Very Good GUI.

Lighto
22nd March 2011, 19:27
A very comprehensive and fully featured GUI, and I like encoder GUI that does not require installation. :)

On Hybrid32bitPackage_110101.
Will be good to update the GUI qpmax value as the new default qpmax value for x264 rev 1881 onwards is 69 and also if I save a profile with a ".", for example "Mobile profile 1.3", Hybrid cannot read the profile name.

AnonCrow
23rd March 2011, 21:41
Stupid question (or just a stupid asker): Is Hybrid (win32 110101) even supposed to work on Windows 2000 ? ( Not a valid Win32 application )

Selur
24th March 2011, 09:06
Got no Windows 2000 System here, so I haven't tried it in a long time.
yup, doesn't work will look into it on the weekend to see if it's a problem with the Qt Framework or with some required runtime,..
-> seems like the current Windows SDK isn't compatible with Win2k (will look at it on the weekend)


Cu Selur

AnonCrow
24th March 2011, 13:49
Thanks, appreciate it.
Until then , and if you don't intend on switching to a 1-2 year old QT sdk, are older versions of the Hybrid executable available somewhere ?

Selur
24th March 2011, 13:54
It's not the QT SDK it's the Microsoft Windows SDK. :)

Got no old builds here. :) (anything from 2010, should work since I switched the sdk during Christmas holidays ;))

May be I'll get around to install and link against an old SDK on one of my VMs later today.

Cu Selur

Selur
24th March 2011, 18:03
Okay, problem solved, it really is the current Windows SDK (4), older 3.5 works fine.
@AnonCrow: on the road atm, will send you a Hybrid Testversion linked against SDK 3.5 in a few hours.
update: ->send a link to a zip with all the files compiled by me that are used with Hybrid (+Hybrid itself).

Selur
30th March 2011, 17:46
Hybrid rev.110330

*added*
- autoLoading first audio file,.. if the videoInput is i.e. test.avi and has no audio stream in it Hybrid will now search the input folder for audio files named test*.EXT, where EXT is any audio extension Hybrid knows and automatically load the first found as audio source.
- MPLS-Selector so one can select which Titles should be analysed on blu-ray input
- .mpls selector option to ignore .mpls files with a duration below X minutes
- support x264 option '--frame-packing' for stereoscopic encoding
- subtitle extraction from DVD Source will honor chapter selection and only extract the selected parts
- Default Hybrid Default Video Profiles (requires Model reset!)
- (windows) dependency to 'NamedPipe' from roozhou (http://forum.doom9.org/showthread.php?p=1226337) (needed for mplayer raw decoding)
- option to force cfr output when decoding with mencoder/ffmpeg
- option to select if ffmpeg or mencoder is used as raw decoder
- option to let mp4box/mkvmerge skip the explicit naming of PAR 1:1 in the muxing call (needed for some mp3/mp4 players)

*fixed*
- mp4/mov id grabbing
- removed unneeded 'splitx 0:0' from mp4box call
- audio only preview
- subtitle extraction problem
- bug with he-aac signaling
- chapterTab adjust chapters to chapter selection
- one of the problems with cut support (still experimental)
- naming problem when extracing multiple audio to raw from BluRay
- bug in '3.1 to dl2' sox call
- crash when a needed tool was missing
- Hybrid closing when POPUP occured while Hybrid was minimized by preventing PopUps while minimized.
- x264: force cfr output was accidently disabled (should be enabled when 'Use internal decoder if possible' is activated.
- x264: bug in cl when feeding timecodes to x264
- x264: baseline + veryslow/placebo -> using subMe 9 instead of subMe 10, since 10 is not allowed (needs CABAC)
- avs analyser crash

*changed*
- x264: check that 'force cfr' isn't enabled if the decoder used isn't x264
- x264: wrong named x264 .stats file if output contained two consecutive white spaces
- x264: qMax = 69 ('The QPs above 51 are "fake QPs" for VBV emergency. You can disable VBV emergency entirely by pushing the max down to 51.' by Dark Shikari)
- better m2ts Overhead with ac3 audio
- limit bitrate<>size flipping
- automatically enabling 'generate output name' when Queue Titles/Chapters is pressed
- (windows) using vstrip instead of vstrip_ifo&vstrip.dll (-> added a vstrip version - vstripFree - that can't remove microvision or css to the windows package to avoid legal problems)
- added some warnings for DVDs created with old/broken TmpgEnc Version
- overwrite mplayer channel count with info detected by mediainfo
- bunch of small cosmetics
- use MPlayer as decoder for raw audio to counter problems with to short dts stream when decoding with ffmpeg (mplayer also looks for DS filters if it can't decode material, i.e. raw thd)
- ffmpeg: use libmp3lame for mp3 encoding (-> with this ffmpeg fpr Hybrid needs to be compiled with --enable-libmp3lame support)
- mplayer/mencoder: -noautosub -> -nosub

*removed*
- (windows) dependency to pssuspend
- (windows) dependency to vstrip_ifo and vstrip.dll

*updated*
- Windows package (added separate 64bit and Win2k addition downloads)

-> updated links in 1st post

Cu Selur

illogan
30th March 2011, 19:12
Yeay ! ;D

:thanks:

Selur
30th March 2011, 23:20
Hybrid rev.110331

*fixed*
- bug in mplayer call,.. that caused a crash for dvd input

-> updated links in 1st post

Cu Selur

flebber
31st March 2011, 11:47
Cheers can't wait to try.

modlinsky
1st April 2011, 08:28
Hi, Selur

Thanks for new version. It's excellent.
The question is, do you plan to update the vpxenc to the latest libvpx 0.9.6?

Thanks in advance.

Selur
1st April 2011, 08:37
do you plan to update the vpxenc to the latest libvpx 0.9.6?
Sure, as soon as someone compiles a vpxenc version that accepts input via stdIn I'll start implementing support for it. :)
(last time I checked, stdIn support was broken and vpxenc crashed for all input I fed it with; haven't tested the lastest version that comes with vpx-vp8-debug-src-x86-win32mt-vs9-v0.9.6.1)
-> seems to work (assuming they didn't change a command line parameter I haven't checked)
+ just found a small typo (could send you a fixed version if you post what sort of Hybrid flavor you need Windows 32/64bit)

Cu Selur

modlinsky
1st April 2011, 11:11
Windows 32

modlinsky
3rd April 2011, 09:55
Hi, Selur
First of all good news, I went back to your latest Hybrid version.
Bad news, is the test version you send me doesnt work at all. I think the problem is on the encoder side.
Thanks.

Selur
3rd April 2011, 10:00
Bad news, is the test version you send me doesnt work at all.
That's strange,.. some additional infos might be helpful,..
I did do a 1pass bitrate and a 2pass bitrate encode (with otherwise the default settings) and the encoding worked here,..

tony62
6th April 2011, 01:59
Hi Selur,

My god, great job on this, it is brilliant!

Can you explain how to save the Hybrid Path as it always reverts & recreates the "app data" directory.

Also, can you explain the "Reset Defaults" "Reload Defaults" & "Save Defaults", please, Thanks!!
12168

tony62
6th April 2011, 02:46
Some bugs:12169
12170

tony62
6th April 2011, 02:55
Hi,

I'd like to create an AVI from Xvid & AC3. How do i change the container?

Thanks!
12171

Selur
6th April 2011, 06:12
1. There is an 'Edit'-button please use it.
2. Don't add attachments if you want a 'fast' reply attachments need approval from a moderator.

Can you explain how to save the Hybrid Path as it always reverts & recreates the "app data" directory.
To save the Config->Path settings you need to Save Defaults for 'All' or just the 'GlobalDataModel'.
-> Select Save Defaults->GlobalDataModel and hit the Save Defaults -> Selected Button.

Also, can you explain the "Reset Defaults" "Reload Defaults" & "Save Defaults", please, Thanks!!
It's relatively straight forward. :)
'Reset Defaults' allows you to reset a single DataModel or all DataModels (which hold the settings in Hybrid) to it's 'factory defaults'
'Reload Defaults' allows you to reload a single DataModel or all DataModels to it last saved state. (i.e. the 'factory defaults')
'Save Defaults' allows you to overwrite a single DataModel or all DataModels by saving their current state.

i.e.
a. to reset/load/save a single DataModel:
1. select the model to reset/load/save
2. press the 'Selected'-button in associated section (GroupBox)
(if you reseted a model, Hybrid needs to restart)

b. to reset/load/save all DataModels, press the 'All'-button in associated section (GroupBox)




Some bugs:
See the first post in this thread about infos needed for me to recreate a bug. :)

I'd like to create an AVI from Xvid & AC3. How do i change the container?
If you just want to remux an .m4v and a .ac3 file to .avi the following should work. :)
1. load the m4v (Main-> Input File)
2. set Main->'Audio handling' to 'custom'
3. load the audio source (Audio->Main->'Audio Source'->'Audio File')
4. add the audio (Audio->Main->Add; make sure Audio->Main->'Reencoding audio stream' is disabled)
5. set Main->'Video handling' to 'passthrough' and Main->'Audio handling' to 'passthrough all'
6. Set a output file (Main->'Output File') with an .avi extension
7. add job to queue (Main->'Add to Queue')
8. start Job (Jobs->Start)

Cu Selur

Selur
10th April 2011, 10:28
@all "Hybrid Win32 package"-users:
atm. some work is done by one user to build a NSIS Installer,..
-> So I wanted to know if anyone prefers the '.zip' package over an installeror if it would be okay to drop the package(s) and add a NSIS installer instead?
(Depending on the environment the installer would install the WinXP/Win2k 32bit/64bit version of the tool required,...)

Cu Selur

flebber
10th April 2011, 10:49
@all "Hybrid Win32 package"-users:
atm. some work is done by one user to build a NSIS Installer,..
-> So I wanted to know if anyone prefers the '.zip' package over an installeror if it would be okay to drop the package(s) and add a NSIS installer instead?
(Depending on the environment the installer would install the WinXP/Win2k 32bit/64bit version of the tool required,...)

Cu Selur

I am happy with an installer but my question would be how would installing updates for hybrid work. Currently I just paste the new hybrid.exe into my zip folder.

Selur
10th April 2011, 10:53
For whole package updates you would just download and start the installer which would replace the old files with the new once. (+ reset the defaults if activated in the installer)
For Hybrid binary only updates you would still simply overwrite the Hybrid.exe

Cu Selur

Music Fan
10th April 2011, 11:00
What would be the difference with the current installer ?

Selur
10th April 2011, 11:05
There is no 'current installer'. :)
The main purposes of the installer would be:
- simple deployment (only one package download for all windows versions)
- user selects:
- where Hybrid should be put
- if avisynth 32bit or 64bit support should be added (avsInfo 32/64bit version)
- if the defaults should be resetted after installation
- simple clean removal (uninstaller will delete the hybrid program folder and the datamodels, if selected, on uninstall)

Cu Selur

Music Fan
10th April 2011, 11:12
Ok, thanks.

if avisynth 32bit or 64bit support should be added
Does it mean that Avisynth would be included in the exe, or it would be downloaded if selected ?

flebber
10th April 2011, 11:24
For whole package updates you would just download and start the installer which would replace the old files with the new once. (+ reset the defaults if activated in the installer)
For Hybrid binary only updates you would still simply overwrite the Hybrid.exe

Cu Selur

The only issue is of course the user would end up redownloading all packages to update potentially 1 single package.

Selur
10th April 2011, 11:28
Does it mean that Avisynth would be included in the exe, or it would be downloaded if selected ?
Nope, the installer wouldn't install Avisynth at all, it just would let the user select if the 32bit or the 64 bit avsInfo.exe should be installed.

The only issue is of course the user would end up redownloading all packages to update potentially 1 single package.
Yup, that's the main downside. There would be just one larger package for all Windows versions.
(the Hybrid binary only downloads will still exist, so this is only an issue with package downloads)

Cu Selur

Brazil2
10th April 2011, 16:09
I always prefer to use a ZIP package myself, maybe because I like to understand how things are working and what is happening on my system, although I understand that people may like an installer.

But since you are using file hosting sites it shouldn't be a problem to provide both files (7)ZIP and installer because the installer will be made from files that you just have to ZIP :)

Selur
10th April 2011, 16:25
I would prefer to only provide the packages as separate zip files or the installer, not both (to simplify the stuff that needs to be done when releasing a new version).
But since I suspected some users might prefer the packages I asked for opinions. :)

Cu Selur

illogan
11th April 2011, 00:23
i think, the main advantage of an installer will be, that the decision will be taken off from the User, and he dont have to think about "what OS do i have" and "what processor architecture version will be the best for my system" and "what do i have to download to make Hybrid to work at all".

a couple of MB more or less isnt the problem, in my opinion. the difference will be minimal...

bye

Selur
11th April 2011, 06:43
a couple of MB more or less isnt the problem, in my opinion. the difference will be minimal...
Not so minimal,.. around 10 to 15 MB for Win32 and Win2k users. :)
Installer (with all versions) ~50MB, Win32package ~35MB, Win32package+Win2k additions ~40MB, Win32package+Win64 addition ~ 50MB.
But I think at least for the first few releases I'll provide installer and packages,..

Cu Selur

Selur
17th April 2011, 11:42
Hybrid got it's own homepage and a small forum: http://www.selur.de :)

Hybrid rev 2011.04.17.1

*added*
- "Use '--fullraw' when extracting with mkvextract" option, which allows to use '--fullraw' instead of '--raw' when using mkvextract
- first Mac OS X release (experimental -> need feedback)

*cosmetics*
- windows: added version info to .exe description

*adjusted*
- to alternative mplayer identify infos
- x264: add '--bluray-compat' when blu-ray compliance is activated
- x264: removed '--open gop' sub options

*fixed*
- accidentally permanently deactivated DebugOutput ;)
- handling mp4 files: not using MP4Box but ffmpeg for stream extractions
- crash when using 'Postpone' was called on a job which hadn't been assigned to a client yet.

*requirements*
- x264: needs to be rev1936 or newer now

*updated*
- windows packages: updated tools, added Windows installer, switched to 7z archives

-> downloads: http://www.selur.de/downloads
(please report if you get slow downloads, I'll then additionally upload the files to MultiUpload)

Cu Selur

Selur
3rd May 2011, 11:57
Hybrid rev 2011.05.03.1:
*cosmetics*

added Hybrid type (windows32/windows64/linux32/linux64/macosx64) to debug output
tweaked autocrop to only scan the first frame rate of I-frames
moved 'Configuration' selection below tabs in video configuration tabs
image- instead of text-buttons in Jobs-register and small redesign, thanks to Faust
some small rearrangements here and there

*changed*

x264: on separate '2pass - 1st pass', call x264 with '--output NUL'
jobs get now saved on Hybrid close and automatically loaded on Hybrid start

*added*

option to let Hybrid auto select a audio/subtitle stream with a specific language

*fixed*

a crash with autoloading audio for raw video
initialization of tools for loaded jobs
'set absolute path' (only replace first occurrence of toReplace term)
a bunch of problems related to separate 2pass 1st and 2pass 2nd pass encoding

*updated*

windows packages/installer


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

Cu Selur

flebber
3rd May 2011, 12:21
Thanks..:)

Downloads on your site are returning page not found.

win64 package.

http://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_64bit_1100503.7z

illogan
3rd May 2011, 19:06
now its working.

Selur
3rd May 2011, 19:08
yup accidentally added an additional 0 ;)

Selur
5th May 2011, 19:07
Hybrid rev 2011.05.05.1:

*fixed*
error when detecting if Hybrid homePath is writeable

*updated*
windows packages: mp4box, frameCounter and x264

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

Cu Selur

flebber
6th May 2011, 01:03
Love the update only 1 request, would it be possible to have spline36resize or blackman as available option?

Selur
6th May 2011, 04:54
If mencoder or ffmpeg have them: yes (not sure if they do nowadays)
otherwise: no, since Hybrid doesn't create avisynth files,...

devaster
6th May 2011, 19:22
are u plannig for use of GPU decode on single/multiple GPUs ?
i have 3 GPUs and it would be nice one used for decoding and one for encoding ....

Selur
6th May 2011, 19:28
Don't think that will happen in the near future since mencoder&ffmpeg which are mainly used don't have gpu decoding and I probably won't have the time to read-up and write a decoder (which would need to be able to output raw yv12 via std::out) myself.
And since DGDecNV is avisynth only and doesn't have the ability to output via std::out that's probably also not gonna happen anytime soon.
That said if someone writes a command line decoder I would add support for it inside Hybrid.

Cu Selur

devaster
9th May 2011, 09:35
okay, can u send me some specs what must decoder meet , ill try to write one ...

Selur
9th May 2011, 10:09
these would be needed features:
1. it should be able to open raw h.264 files
2. output to pipe (std::out) and file
3. everything that's not file output should go to std:err not std::out
4. output file format should be something x264/ffmpeg/mencoder supports (i.e. NV12/Yv12)
these would be nice features:
1. being able to open raw mpeg-2/vc-1 files or everything else the decoder can handle
2. accept input via pipe, so one could use i.e. mencoder/ffmpeg to open a container and pipe the content to the decoder and from the decoder to i.e. x264
3. progress indication to std::err
4. deinterlacing support
these would be too good to be true features:
1. ability to read stream that are still inside a container (so one would have a basic DGDecNV replacement)
2. combine it the cuda encoder Hybrid uses (I share the the code, which is mainly a Qt port of the cuda encoder example from the cuda sdk)
3. additional filtering through the decoder (cropping, denoise, whatever is possible)

about license: don't care as long as it's free to use for personal purposes and I get no trouble if I add it to the Hybrid packages/installer
open source: would be nice, but not a needs-to-be

Cu Selur

devaster
9th May 2011, 10:14
why is encoding on gpu so slow when i use filters ? - it uses the gpu only on ~25%. when i switch off the filtering it is used for ~100% (dvd source)...
btw mencoder is using only one core ???

Selur
9th May 2011, 10:24
why is encoding on gpu so slow when i use filters ?
currently the dvd source will be opened and decoded with mencoder (which is probably the bottleneck when decoding)
btw mencoder is using only one core ???
What does '-lavdopts threads=X' in the decoder part of the call say ?
(on linux threads=1 is forced since multi-threaded mpeg decoding seems to be broken there from time to time, but on windows X should be number of cpu core iirc.)
Depending on your filtering, it might also be that one of the filters used doesn't support multi-threading.

Cu Selur

devaster
9th May 2011, 10:29
it is setted to 8 threads and i am using sharpen and denoise - hqdn3d ....

Selur
9th May 2011, 10:34
it's probably hqdn3d,.. (but I'm not 100% sure since I frankly never tested which filters in mencoder interact with multi-threading in a "bad" way)

meshaun
9th May 2011, 10:44
Hello Selur,
is that problem with the encoding finished?

devaster
9th May 2011, 11:31
it's probably hqdn3d,.. (but I'm not 100% sure since I frankly never tested which filters in mencoder interact with multi-threading in a "bad" way)

no its sharpen. when i use only hqdn3d, it is better (50%)

Selur
9th May 2011, 13:41
@meshaun:should be fixed in latest public release,...

@devaster: good to know,.. damn, switching to chroma&luma sharpen instead of (un)sharpen doesn't help either,.. :/

Found a way :) use mencoder_mt (and rename it to mencoder) from i.e. http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver/win32/ (or http://sourceforge.net/projects/mplayer-win32/files/MPlayer%20MT/revision%2032848/) and the speed is a lot better ;)

=> does anyone have any experience with mencoder_mt ? (if it doesn't have any known problems I'll switch to mencoder and mplayer MT for hybrid)

devaster
9th May 2011, 19:39
mt mencoder seems doesnt help, will try better tomorrow

Selur
9th May 2011, 19:59
strange, more than doubled the encoding speed for me when sharpening and encoding with the cuda encoder,..

devaster
10th May 2011, 06:25
i had it tested on another system and yes there is double speedup (and double GPU usage - 50%)

devaster
10th May 2011, 12:03
i was looking on nvidia docs about decoder. It will be easier to incorporate the decoding and maybe filtering part into your encoder - maybe lower overhead with frame transferring ...

Selur
11th May 2011, 10:46
Did some extensive testing on why I used the normal mencoder and not the mencoder_mt build and I found out why. :)
-> sometimes mencoder_mt doesn't start up properly, i.e. when calling
mencoder.exe "G:\Hybrid\test - clips\test.avi" -ovc raw -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=8 -ofps 25 -aspect 1.81818:1 -of rawvideo -o - | x264.exe --crf 42 --f
ps 25 --input-res 640x352 --output NUL -
over and over again, around each third or forth time mencoder just doesn't send any frames,..
which will cause Hybrid to abort current since no output (and or stats file for 2pass 1st pass) will be created.
so not using mplayer_mt/mencoder_mt was a stability choice. :)
(will keep on testing new mt versions in the case that I find updated binaries ;))

Cu Selur

Ps.: @devaster: please also add an option to use the decoder without the encoding part, this would allow to use the decoder part and pipe the output to x264/xvid/mencoder/.. instead of using the nvidia encoder. ;)

Selur
11th May 2011, 13:39
Hybrid rev 2011.05.11.1

*fixed*
- mkvextract: removed '--raw' from extraction cl
- problem when importing chapters

*changed*
- frameCounter: limit buffer to 20MB + better frame detection

*added*
- win7/vista: show progress in taskbar
- hibernate as an additional option on queue finished

*updated*
- windows packages: frameCounter


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

flebber
12th May 2011, 01:01
Will you be updating hybrid for the new x264 presets sharktooth is discussing here. http://forum.doom9.org/showthread.php?p=1499552#post1499552

Selur
12th May 2011, 06:30
Judging from:
1. a x264 download from x264.nl
and
2. the git summary (http://git.videolan.org/?p=x264.git;a=summary)
these device presets are not preset in x264 atm.

When they are included, and there are working binaries with them, I will adjust Hybrid accordingly to support them.

Cu Selur

Selur
19th May 2011, 08:34
Hybrid rev 2011.05.19.1:

*fixed*

aspectRatio in cropView
Blu-ray autoCrop
Blu-ray chapter list import
cropView WASD
small memory leak

*changed*

autoCrop

*added*

x264: 2pass crf support again
autocrop: option to set how many frames are analysed

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

Selur
19th May 2011, 20:55
Hybrid 2011.05.19.3

*fixed*

x264: broke 1pass modes when I added 2pass crf again


Cu Selur

Brazil2
19th May 2011, 21:51
Hybrid 2011.05.19.3
Typo in the Win32 file name:
Hybrid_1105191_3.zip should be Hybrid_110519_3.zip

Selur
19th May 2011, 21:53
Thanks, fixed the link. :)

hifi25nl
16th June 2011, 10:18
I am using last version 2011.05.19.3 in archlinux with last git version of x264. The other apps are from arch official repository.

All is apparently working fine but If I try to encode for blu ray the resulting video has colors wrong: skins are almost blue...like in some sf movies...

The original file has been taken from a Sanyo Xacti video camera:
AVC, Progressive, Bitrate 12166, Resolution 1920x1080, PAR 1, 29,97, aac.

The options changed in Hybrid are:
1) Structure: Blu ray on Main tab
2) Audio handling auto add first on Main tab
3) Hardware blu ray on x264 tab
4) Constant rate factor (2 pass) on the x264 tab
5) Scale output frame rate to 23,976 or 24 in filtering tab (is this right?)
6) Encoding to ac3 in audio tab.

The same movie demuxed with tsmuxer, changed aac to ac3 and authored with easyBD is playing fine with right colors in my panasonic BD60 blu ray player (no re-encoding!)

Selur
16th June 2011, 10:32
the resulting video has colors wrong: skins are almost blue..
it's probably a problem with the decoding part.
How do the complete encoding calls look like ?
(disable 'Minimize job command lines' and post the complete lines of the encoding calls)

5) Scale output frame rate to 23,976 or 24 in filtering tab (is this right?)
Since the input is progressive 29.97fps I would say: Yes.

The same movie demuxed with tsmuxer, changed aac to ac3 and authored with easyBD is playing fine with right colors in my panasonic BD60 blu ray player (no re-encoding!)
which doesn't help at all, since you want to reencode the clip :)

4) Constant rate factor (2 pass) on the x264 tab
dump that, it's an old relict from when vbv didn't work with crf encoding (-> will fix description)

Cu Selur

hifi25nl
16th June 2011, 11:02
Under x264 tab:
x264 --pass 1 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --mvrange 511 --sync-lookahead 15 --weightp 1 --aq-mode 0 --stats "/tmp/SANY0169.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -

x264 --pass 2 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --partitions i4x4,p8x8,b8x8 --mvrange 511 --subme 5 --sync-lookahead 15 --trellis 0 --no-fast-pskip --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --stats "/tmp/SANY0169.stats" --fps 24000/1001 --input-res 1920x1080 --output "/tmp/SANY0169.264" -

Under Jobs:

MP4Box -raw 2 "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -out "/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

m2ts;false;100_:_/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac

mencoder "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -ovc raw -vf filmdint=io=29.97:23.976,softskip -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=2 -really-quiet -ofps 24000/1001 -aspect 1.77778:1 -of rawvideo -o - | x264 --pass 1 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --mvrange 511 --sync-lookahead 15 --weightp 1 --aq-mode 0 --stats "/tmp/SANY0169_11_53_09_131_03.stats" --fps 24000/1001 --input-res 1920x1080 --output /dev/null -

mencoder "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -ovc raw -vf filmdint=io=29.97:23.976,softskip -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=2 -really-quiet -ofps 24000/1001 -aspect 1.77778:1 -of rawvideo -o - | x264 --pass 2 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --partitions i4x4,p8x8,b8x8 --mvrange 511 --subme 5 --sync-lookahead 15 --trellis 0 --no-fast-pskip --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --stats "/tmp/SANY0169_11_53_09_131_03.stats" --fps 24000/1001 --input-res 1920x1080 --output "/tmp/SANY0169_11_53_09_131_04.264" -

"/tmp/SANY0169_11_53_09_131_03.stats"

"/tmp/SANY0169_11_53_09_131_03.stats.mbtree"

/tmp/SANY0169_11_53_09_131_07.meta ### MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "/tmp/SANY0169_11_53_09_131_04.264", fps=23.976, insertSEI, contSPS
A_AAC, "/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

tsMuxeR "/tmp/SANY0169_11_53_09_131_07.meta" "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169"

"/tmp/SANY0169_11_53_09_131_04.264"

"/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

"/tmp/SANY0169_11_53_09_131_07.meta"

Selur
16th June 2011, 11:06
"-vf filmdint=io=29.97:23.976,softskip" is probably wrong for your input -> try disabling Filtering->Deinterlace/Telecine Settings->Auto deinterlacing
Strange thing is, Hybrid shouldn't insert this unless the source is detected as interlaced,.. -> would be cool if you could upload a small sample to MultiUpload (or similar site) so I can do some tests. :)

DOOHHH,.. it's not added by the deinterlacer but by the frame rate changer :)
-> think I know where the problem is. :)
("-vf filmdint=io=29.97:23.976,softskip" needs to be a "-vf scale,format=i420,filmdint=io=29.97:23.976,softskip")
What version 32/64bit of linux do you use, so I can send you a test version of a hopefully fixed Hybrid. :)


Cu Selur

hifi25nl
16th June 2011, 12:09
I tried your previous suggestion, but the skins are always blu....

I am using archlinux 64 bit.

Selur
16th June 2011, 12:23
I'm fixing a small bug atm. but will send you a test version in around an hour.
-> send you a pm with a download link to an updated version

hifi25nl
16th June 2011, 14:54
I am testing now but...most of time the original file will disappear, it is deleted when I start a job!

Selur
16th June 2011, 14:58
That should not happen unless source and targetDir are the same and the input&ouput are named equally,...

hifi25nl
16th June 2011, 16:03
I have made a test and the resulting file was fine now!

However I confirm that most of times this experimental version has some problems. To be sure I have deleted the configuration file .hybrid in my home directory. When I load a file this will be deleted at the end of analyzing.

I have tried to find some errors. The only ones are those given by dmesg:


[ 3648.285767] Hybrid[13891]: segfault at 8 ip 00007f7d04e1dc1d sp 00007fff70c9ff58 error 4 in libQtCore.so.4.7.3[7f7d04d68000+27f000]
[ 5553.830557] Hybrid[26999]: segfault at 8 ip 00007f27f90dac1d sp 00007fffbf52b688 error 4 in libQtCore.so.4.7.3[7f27f9025000+27f000]
[ 5731.870442] Hybrid[28411]: segfault at 8 ip 00007fcc06d8cc1d sp 00007fff95151288 error 4 in libQtCore.so.4.7.3[7fcc06cd7000+27f000]
[ 5802.830814] Hybrid[29545]: segfault at 8 ip 00007f9d1fccdc1d sp 00007fffbf915e38 error 4 in libQtCore.so.4.7.3[7f9d1fc18000+27f000]
[ 5996.223695] x264[30699] general protection ip:42cbbf sp:7f435854eeb4 error:0 in x264[400000+15f000]
[ 5996.223713] x264[30700] general protection ip:42cbbf sp:7f4357d4deb4 error:0
[ 5996.223717] x264[30701] general protection ip:42cbbf sp:7f435754ceb4 error:0 in x264[400000+15f000]
[ 5996.225135] in x264[400000+15f000]

Selur
16th June 2011, 16:09
However I confirm that most of times this experimental version has some problems.
"most of the times" means what?

To be sure I have deleted the configuration file .hybrid in my home directory.
(the should be a configuration folder .hybrid, not a configuration file)
use Hybrid->Config->Defaults->Reset->All to be sure you deleted the right stuff.

I really need some debug output to trace a problem.

Important info needed to fix&reproduce bugs:

What Hybrid version did you use?(Windows/Mac/Linux 32/64bit + versions number)
What did happen? If an error message came up what did it exactly say?
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)
Debug output would be helpful. (Config->Misc Settings->create debug file; enable it, directly after starting Hybrid)
If possible a small sample file would be great.

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 link to a hopefully fixed version for testing.
source: http://www.selur.de/support

Cu Selur

hifi25nl
16th June 2011, 17:16
Ok, now I have sent the debug file. Thank you very much for your assistance.

hifi25nl
16th June 2011, 18:01
New version now is fine!!

Arti
16th June 2011, 19:38
After turning CUDA is 650 fps :D

GeForce 9600 GT :D

hifi25nl
17th June 2011, 06:59
Is CUDA working on linux? I see a cuda command line but...

Selur
17th June 2011, 07:21
CUDA in general is working on Linux assuming you use the NVIDIA driver, the cuda encoder isn't available for Linux (mainly because none of my linux machines got an NVIDA card in it, afaik the nvcuvenc library that is used is also available on linux),... -> correction, the nvcuvenc library is only available for Windows

Selur
18th June 2011, 18:42
Hybrid rev 2011.06.18.1:

*changed*

added warning when output path equals program folder
allow vc-1 in m2ts container
extract videostream from blu-ray before reencoding (add additional overhead, but fixes synch problems when mpls spans over multiple files)

*added*

using mp4fpsmod to extract mp4 timecodes (http://sites.google.com/site/qaacpage/junk)

*fixed*

a bunch of problems related to separate 2pass 1st and 2pass 2nd pass encoding
autocorp: handling of raw h.264
error popup when adjusting preset an bluray restrictions enabled,..
problem with .mpls and autocrop
missing color space conversion when changing frame rate and not doing any other filtering
problem when extracting/importing chapters from non-dvd sources
filtermodel not completely ignored when using passthrough
fps of input ignored if video handling was set to 'passthrough' on input load and then changed to something else before adding a job
adding -tmp TempPath to MP4Box muxing call to make sure that the right temp folder is used
.dts-hd/.dtshd not detected as raw audio
blu-ray synch problem

*updated*

windows packages/installer
hobarrera started a archlinux package


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

Cu Selur

Selur
20th June 2011, 20:13
Hybrid rev 2011.06.20.1:

*cosmetics*

changed progress indication in title/taskbar
Win7 32bit: progress in taskbar - accidentally build I didn't build the last Win32Bit build with Windows XP, not Windows 7

*fixed*

video passthrough bug
x264: 2pass 1st pass calls not generated


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

Cu Selur

Selur
22nd June 2011, 08:58
Hybrid rev 2011.06.22.1:

*cosmetics*

reworked the internal message system

*fixed*

when extraction Audio with tsMuxeR audio was moved to Hybrid home on rename :(
cuda: force AVC Level 'auto' for 'cq'-encoding mode


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

Cu Selur

Selur
23rd June 2011, 11:32
Hybrid rev 2011.06.23.1:

*cosmetics*

x264 encoding progress indication

*fixed*

video profiles import (bitrate adjustment)


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

Cu Selur

Selur
26th June 2011, 10:35
Hybrid rev 2011.06.26.1:

*fixed*

don't create output file in the 1st pass of a two pass encoding
missing chapter DataNodes on some input files without chapters


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

Cu Selur

RanmaCanada
26th June 2011, 18:51
How do I add multiple mkv files that have srt subs? Whenever I try, and use the add and extract, the program only extracts the subs from the first file, and then names it after the last file. So it will be ripped from 01.mkv and be named 19.srt. I am trying to do a huge batch conversion for bluray from files I created a few years ago, and if I do them one at a time it works great, but I have almost 150 files do to.

Conversely if I do not use the add and extract options, it does not even recognize that there are subs in the stream at all. All it sees it the video and 2 audio streams. I would post a log but for some reason it does not want to save one, and I always have to reset everything when the program opens because it does not remember any of my previous settings.

Selur
26th June 2011, 19:05
How do I add multiple mkv files that have srt subs?
Huha,.. to be frank I never thought about batch processing when I wrote the subtitle add/extract routines. :)
-> I'll try to look at it next week.

Conversely if I do not use the add and extract options, it does not even recognize that there are subs in the stream at all.
Are you sure? The Subtitle-Spinbox is grayed out for each file if you cycle through the sources through the Source-Spinbox ?
(just tried it here, and it seems to be fine here,..)


I would post a log but for some reason it does not want to save one,...
Config->Misc Settings->Create Debug File; enable it, directly after starting Hybrid
see: http://www.selur.de/support

... and I always have to reset everything when the program opens because it does not remember any of my previous settings.
than you probably didn't tell Hybrid to save your settings,...

Cu Selur

RanmaCanada
26th June 2011, 19:36
ok thank you I will see what I can do. :) That was one fast response haha.

Selur
26th June 2011, 19:40
I only need a debug output regarding the 'not even recognize that there are subs in the stream at all', since I can reproduce the extract&co problem. (like I said I didn't think about multiInput when designing the extraction methods ;))

Cu Selur

Selur
26th June 2011, 21:22
Think I fixed the problem, but since you didn't post which Hybrid version you are using (Win2k/Windows/Linux 32/64bit) I can't provide you with a fixed test version.
(-> post the needed info and I'll compile you a test version and send you a link via pm)

Cu Selur

Selur
29th June 2011, 09:32
Hybrid rev 2011.06.29.1:

*fixed*

crash when importing .mkvs with multiple chapter sets (now the last one will be imported)
subtitle handling for multiInput
multiple stream source srt->ttxt

Hybrid rev 2011.06.29.2:

*fixed*

problem when tsMuxeR output


Hybrid rev 2011.06.30.1:

*fixed*

crash when extracting subtitle from DVD source


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

Cu Selur

Selur
1st July 2011, 16:33
Hybrid rev 2011.07.01.1:

*fixed*

problems crash when extracting subtitle from dvd/blu-ray source


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

Cu Selur

pdanpdan
19th July 2011, 06:50
Hello,
I just tested the experimental :) cut support.
Input file: NextPVR capture 1.ts (mpeg2 video + mpa audio)
If I enable cut in main tab and select something in start field, then on audio convert (to nero aac) I get an error Crashed Couldn't find 'Volume adjustment'!(3)
The intermediate demuxed mpa is 0b.
Everything works if cut is not enabled.
Debug file: http://pastebin.com/DRFKiH8G

Selur
19th July 2011, 09:43
I'll look into it. :)
-> think I found the problem, will send you a link to a hopefully fixed test version via pm.

Cu Selur

pdanpdan
22nd July 2011, 05:26
Sorry, it's me again.
Source .3gp 1280x720 h264 / aac from phone

1. If I choose rotate output in Crop/Resize / Misc, I think there is an extra comma in mencoder command line
report: http://pastebin.com/bAQTh2rc
debug: http://pastebin.com/y02PijLU

2. What does "Flip input width and height"?
I mean I have 1280x720 video, I rotate it 90cw and scale it down to 576x1024.
Can I choose 1024x576 in resize and "Flip input width and height"

3. In Audio / Audio filtering / Filtering, if I choose Normalize I get ABORTED on the line with mencoder | neroaccenc
The strange thing is that on the .ts files (tv captures) it works.
report: http://pastebin.com/Q4cnQYvS
debug: http://pastebin.com/zpncYFiK

Selur
22nd July 2011, 07:24
1. ... I think there is an extra comma in mencoder command line
I agree -> fixed it locally will send you a test version when I get a handle on the audio problem :)

2. What does "Flip input width and height"?
this will not change the mencoder/filter call but only flip the output width/height when signaling it to i.e. x264
resize: 1024x576 -> x264: --input-res 1024x576
resize: 1024x576 + flip -> x264: --input-res 576x1024
resize: 576x1024 + flip -> x264: --input-res 1024x576
resize: 576x1024 -> x264: --input-res 576x1024
I added this option when I processed a lot of 480x576 clips and aspect ratio detection didn't work properly.
(Not sure if this option is even usefully anymore in the way it is atm. :))

3. In Audio / Audio filtering / Filtering, if I choose Normalize I get ABORTED ...
seems like there's a problem with the sox call, would be cool if you could upload a small sample of the source you try to convert :)
(will also look into the flip thing abit more if I got a sample; problem is that sox assumes it gets singed integer values but it seems like it gets unsigned integer values ;))

Cu Selur

pdanpdan
22nd July 2011, 07:51
It shows the problem with audio aborted.
It's not one recorder in portrait mode - it's landscape.
But it's the same thing with portrait - I have to rotate it 90cw and then resize to 576x1024.
By the way - I just now realized: the order the operations are done is 1-Rotate,2-Resize? :)

Selur
22nd July 2011, 07:54
the order the operations are done is 1-Rotate,2-Resize?
yup.

But it's the same thing with portrait - I have to rotate it 90cw and then resize to 576x1024.
A portrait source would be nice to check resize&co changes against it ;)

pdanpdan
22nd July 2011, 07:56
ok, I'll upload one this evening
thank you

Selur
22nd July 2011, 09:52
Nice, I also just send you a link to a new test version, which changes the rotate handling a bit. :)

Cu Selur

pdanpdan
23rd July 2011, 06:46
1. I have another file that fails on audio encoding: http://www.mediafire.com/?q2s2tw83gm3m72c
This time I choose 29.97->23.976 convert on audio and normalize (it fails with ABORTED...)
2. In x264, shouldn't the "Tune: animation" add "--tune animation" on command line?
3. The apply button on x264 Preset does not account for x264 Tune, so if you first choose tune and then preset you loose tune.

Selur
23rd July 2011, 07:05
1. I have another file that fails on audio encoding
I'll look at it :)
-> I can reproduce it, know I just need to figure out how to fix it :)
Problem is that I tell ffmpeg with '-f s16le' to output signed-interger but it seems like it outputs a-law instead. :/

2. In x264, shouldn't the "Tune: animation" add "--tune animation" on command line?
Nope. Since 'animation' does:
animation (psy tuning):
--bframes {+2} --deblock 1:1
--psy-rd 0.4:<unset> --aq-strength 0.6
--ref {Double if >1 else 1}
and the bframes and doubling of the refs it not traceable once it has been applied. ;)
When a tune or option is applied the settings are changed accordingly, after than Hybrid has a complete (unshortened) command line and tries to minimize it.
'Problem' is a +2 or a doubling is not trace able and the settings need to be changed beforehand to be sure no compatibility issue is triggered, i.e. if you level only allows 5 ref frames and the default value would be three applying animation would boost the ref value to 5, but from 5 there's no way to trace it backwards that animation was applied, therefore Hybrid will not even try to show --tune animation. ;)
3. The apply button on x264 Preset does not account for x264 Tune, so if you first choose tune and then preset you loose tune.
That's right and logical. A preset is a fixed setting combination, so Preset resets the settings to default and then applies the changes for the Preset. Tune on the other hand applies the changes to the current settings without resetting anything.

Cu Selur

Selur
3rd August 2011, 21:50
Hybrid rev 2011.08.03.1:

*fixed*

cudaH264: cq setting accidently disabled on "1-pass constant quantizer"
cudaH264: changing target file size did not change target bitrate
problem with aspect ratio and (crop-)preview
problem with key-mapping during (crop- and) preview
lagarith decoding: force -vfm ffmpeg for lagarith input when decoding with mencoder (due to ffmpeg decoder limitations currently lagarith decoding only works with yv12 lagarith)
extracting audio with tsMuxeR when experimental cut support is enabled (workaround for tsMuxeR bug: audio extraction results in 0 Byte file when using --cut-start)
extra ',' when using 'rotate'
Xvid: resolution restrictions and restriction checks
kerndeint calls by adding an additional scale before it
x264: error message when preset calls changes weightedP, but interlaced encoding doesn't allow it


*changed*

removed '--aspect' parameter from mencoder call (should not be needed since output is raw)
adjusting resize values when 'rotate' is enabled


*added*

deinterlacers: 'Yadif - custom' and 'mcdeint - custom'
option en-/disable if mkv fps will be checked against average time code fps
filter: gradFun, postprocessing options
deinterlacers: "linear interpolation - fast", "cubic interpolation", "Median Deinterlacer", "FFMpeg Deinterlacer"
x264: support for '--subme 11' (requires x264 rev 2037+)
x264: 'MediaInfo - Encoding settings - import' allows to import the 'Encoding settings'-String MediaInfo shows for x264 encodes


*cosmetics*

rearranged Filter-Tab


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

Cu Selur

flebber
4th August 2011, 06:00
Wow you hve been busy!! Thanks.

Selur
4th August 2011, 07:05
and overlooked a stupid bug ;)

Hybrid rev 2011.08.04.1:

*fixed*

job creation

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

Cu Selur

Selur
5th August 2011, 13:36
Hybrid rev 2011.08.05.2:

*fixed*

autoselection of audio/subtitle with language X


*added*

output name generation: 'Add parent folder name as prefix'
subtitle: 'All Subtitle Extract/Add' only add/extract subtitle with language X


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

Cu Selur

Brazil2
7th August 2011, 12:31
Hybrid rev 2011.08.05.2:
Typo in the Windows 2k additions file name:
Hybrid_win2k_11085.7z should be Hybrid_win2k_110805.7z

Selur
7th August 2011, 12:35
Thanks, link should be fixed now. :)

chunkylover67
11th August 2011, 13:54
When there's an update, can you make it so that the settings made in the previous version are transferrable to the newer one? I always have to reset everything, including the x264 profiles.

Selur
11th August 2011, 14:38
No, at least not until I find more time.

1. most of the time you only need to reset the models mentioned in the POPUPs (unless I change a lot, which normally only happens when I do a lot of refactoring and changed some of the main Hybrid routines, but that really should not happen often, iirc. this was only necessary one time since I started with Hybrid and added the possibility to reset single Models)
2. in theory it's possible to port one model version to the next but I frankly just don't have the time to write such routines&co whenever a model is changed (+ it's a really boring task, since post time, just a new entry comes to the model or the parameters of an entry change; the configurations are only saved models so this can be even done by hand).
3. without any warranty: depending on the changes it might be enough to save the current configuration instead of resetting it (but since this is not always the case resetting is the save way)

----

About the Configurations:
At the moment there's a bit of a design flaw in Hybrid, since I save and restore the complete Model when a configuration is saved. Which causes problems when the model layout changes at all.
It might be better to only save the changes to the default, so that at least new options and parameter changes most of the time would not require to reset the saved configurations.
Default (and Global profiles) still would be needed to be reset and the if i.e. the x264 defaults change this would result in changed command lines without anyone knowing.

Cu Selur

Music Fan
11th August 2011, 16:08
If it's a really boring task, could you add an option which saves a file including all settings, and that we could open to put all previous settings after a new installation ?
It's like the bookmarks in Firefox that can be saved in a file.
I don't know if it's possible for programs like yours, it's just an idea.:)

Selur
11th August 2011, 16:18
The problem is the 'all settings'.
Atm. all the settings are spread over models which Models hold all the settings (currently selected values, available options,...) for a specific area of the tool and if you save a configuration you save a specific model. If you save a global profile you save all the models in a file.
Problem with this is if the model definition changes you will have conflicts and Hybrid will tell you to reset the specified model. ;)

So I could easily add an option that saves a global model of for each job during job creation, but this would not help with the fact that Hybrid would cause problems when you import this model after when a model has changed and thus would not solve your problem. ;)

Cu Selur

Ps.: you can look at the saved models&co on you hard drive to see what data they include atm.:
win7: C:\Users\USERNAME\AppData\Roaming\hybrid
winxp: C:\Documents and Settings\USERNAME\Application Data\hybrid
linux: /home/USERNAME/.hybrid/

PPs.: with the next version, user saved video&audio configurations should be fine, global profiles and defaults still need to be reseted, but that can't be avoided since they need to reflect all changes.
-> I think I came up with an idea how to modify the code that I can save only (name,value)-pairs for all the profiles, which should make it possible to skip the reseting step, so you will get a popup to resave the defaults.

chunkylover67
17th August 2011, 13:49
Can there also be an option (or automatic) for THM/JPG generation if someone is encoding to the PSP? The feature is supported in programs such as Xvid4PSP

Selur
17th August 2011, 14:02
Never heard of THM before :)
looking at http://www.linupedia.org/opensuse/Videoconverterscript I see:
#
# PSP
#

if [ "$MEDIA" == ALL || "$MEDIA" == PSP ]; then
mkdir -p "$PSP";
echo "PSP conversion started...";
time konsole --caption "Converterscript v.0.0.2 - Converting for Sony PlayStationPortable..." -e ffmpeg -i "$1" -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 "$PSP/$basename1.MP4";
echo "Creating thumbnail graphics...";
time konsole --noclose --caption "Converterscript v.0.0.2 - PSP-Thumb Converting..." -e ffmpeg -y -i "$1" -f ljpeg -ss 5 -vframes 1 -s 160x120 -an "$PSP/$basename1.THM";
echo "PSP Conversion finished.";
else
echo "PSP-Conversion not selected.";
fi
if I understand this right, this would just be a single frame from position "5 seconds" with a resolution of 160x120.
Not sure which parameters are needed for to make this useful,.. i.e. does the frame size need to be fixed to 160x120, does it always have to be from 5 seconds into the film?
Do you have some additional infos about this?

Cu Selur

chunkylover67
17th August 2011, 14:06
It doesn't have to be 5 secs. It can just be any screenshot anywhere in the film, sized 160x120. The PSP supports JPG and THM.

Selur
17th August 2011, 14:09
Okay, I'll think about some general thumb nail generation. :)

illogan
17th August 2011, 14:15
It is just the still image for the thumbnail preview. Maybe it have to be that resolution for compatibility issues?
The Windows7 preview thumb for videos is also fixed at 5 seconds... for a reason i guess. :D

chunkylover67
17th August 2011, 14:18
It has to be 160x120 for the PSP. That's the only resolution it supports for a video preview.

Selur
17th August 2011, 21:44
Okay, I think I got the main part implemented, main question is: Do I need some clever resize (+letterbox), since ffmpeg will output 160x120 is you tell it to, but is that wise, since one will probably end up with a streched picture,..
+ what version of Hybrid do you use (win/linux/mac 32/64) so I can send you a test build

chunkylover67
17th August 2011, 21:59
Yeah, a clever resize would be great. For videos that can't go down to that resolution then a fixed 160x20 would do fine, and I use Hybrid 2011.07.01.2

chunkylover67
17th August 2011, 22:02
I use the Windows version.

Selur
17th August 2011, 22:05
not sure how to tell ffmpeg to pad top&bottom,..
ffmpeg -y -v -10 -threads 1 -an -i "test.mp4" -vf "scale=160:-1,pad=160:120" -vcodec mjpeg -vframes 1 -ss 10 "test.jpg"
will create a 160x120 but ffmpeg only adds the padding at the bottom,.. (and I'm not sure how to change it, see: http://ffmpeg.org/libavfilter.html#SEC42)

GOT IT!!! :)

ffmpeg -y -v -10 -threads 1 -an -i "D:\Encoding Output\test.mp4" -vf "scale=160:-1,pad=160:120:0:(120-ih)/2" -vcodec mjpeg -vframes 1 -ss 1 "D:\Encoding Output\test.jpg"

Cu Selur

Ps.: going to bed now :)

Selur
17th August 2011, 22:17
I use the Windows version.
32 or 64bit? come on,...

chunkylover67
17th August 2011, 22:20
32 bit.

chunkylover67
17th August 2011, 22:20
I don't really know anything about ffmpeg and all that, but surely it can't be that difficult to generate a thumbnail image? I'm not sure how Xvid4PSP does it, but it uses Avisynth a lot, I'm not sure if you need it to make thumbnails.

Selur
17th August 2011, 22:26
It's not complicated, but after all in all around 10hrs (work&private) programming + API reading I'm totally bombed. ;)
->think I got it working, will send you a hybrid test version via pm in a few minutes and then go to bed for today.

Selur
19th August 2011, 23:59
Hybrid rev 2011.08.19.1:

*added*

DVD: dvdangle support
rearranging of subtitle and audio queue items via drag&drop
subtitle: move up, move down, modify, delete subtitle in subtile queue (by right click on the item)
audio: move up, move down, delete audio entries in audio queue (by right click on the item)
x264: allow switching between jvt, flat and custom quantizer matrix
a simple thumbnail generation option (Config->Output settings->Container and Thumbnail Settings)
misc: option to switch between mencoder and mplayer for dvd audio extraction


*changed*

subtitle handling: don't set mkv default&forced automatically
always only save (name,value)-pairs in profiles and hopefully kill the need to reset settings


*fixed*

Xvid: removed profile=unrestricted from call
x264: 10bit encoding


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

Cu Selur

Selur
21st August 2011, 11:48
Hybrid rev 2011.08.21.2:

*added*

x264: option to set output colorspace


Hybrid rev 2011.08.21.1:

*fixed*

x264&xvid: 2pass 1st pass output file handling
windows packages: avsInfo was broken


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

Cu Selur

pdanpdan
21st September 2011, 04:59
Hello,
It's not an important problem, but I just want to check if somebody else has the same problem in mplayer preview:
- right arrow moves the movie 1sec forward (on a npvr captured .ts - mpeg2 video/mp2 audio)
- right arrow moves the movie 1sec backward and the 1sec forward and so on (on a mkv h264/aac)

Selur
24th September 2011, 12:55
Hybrid rev 2011.09.24.1:

*fixed*

x264: 10bit replacement caused problems when path to x264 binary also included the string x264
x264: Blu-ray checks regarding frame rate
*added*

'Start Queue'-button in Main-Tab
'Stay on top'-Option in Config->Internals->Handling
AV-Combo-Profiles (combination of a video and an audio profile)
reading values from misc.ini file (must be located next to Hybrid binary) and look like:
[General]
fontsize=15
settingPath=PathtoSettingsFolder

to create portable version of Hybrid, create a settings subfolder in the Hybrid folder and set the misc.ini to:
[General]
settingPath=.\\settings
side node: backslashed need to be escaped!
options to pass-though default&forced flags for subtitle/audio when going from mkv to mkv
Press F12 to abort subtitle extraction (in MainTab)
option to select preferred mpeg2 decoder
FilterView: allows to compare unfiltered and filtered source - for Denoise/Sharpen and Post-processing only; Requires uptodate mplayer and local ip connection between two mplayer instances
Windows Installer: added Option to set Custom Hybrid Settings Path (thanks to Faust)
*cosmetics*

using a combobox instead of a spinBox for subtitleSelection (not 100% sure if I didn't miss an index, so report if you run into an subtitle problem,..)
using a combobox instead of a spinBox for audioSelection (not 100% sure if I didn't miss an index, so report if you run into an audio problem,..)
*changed*

when default container changed and generate is active output container will be changed too
when input contains subtitle subtitle tab will be automatically enabled
hand over audio delay to Preview even when audio is not from a seperate source
*removed*

notification that subtitle extraction starts
all hidden flags


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

Cu Selur

mcjordan
25th September 2011, 12:01
http://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_110924.zip
http://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_110924_2k.zip

File not found...

Selur
25th September 2011, 12:04
fixed :)

Selur
25th September 2011, 18:23
Hybrid rev 2011.09.25.1:
*fixed*

postponing of jobs
cropping Preview


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

Cu Selur

mcjordan
26th September 2011, 10:11
http://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_110925_2k.zip

Missing again...:)

Selur
26th September 2011, 10:21
Fixed,..

alter4
26th September 2011, 12:21
Hello guys! I have two questions.
1) It is normal that audio "passthrough all" doesnt work with DVD source?
2) I recommend to update oggecn2 from aotuv beta 6.02 to beta 6.03 cos 6.02 has critical problems with 6 ch files. see aotuv home (http://www.geocities.jp/aoyoume/aotuv/) and discussion on HA

Selur
26th September 2011, 12:26
regarding
1) Nope, should work,.. works fine here. (just tested with Elephants Dream and another DVD)
2) I'll update it (totally missed that there was an update :))

Cu Selur

alter4
26th September 2011, 12:32
Ok. Thx! let me describe details, I imported DVD, set output file, changed audio settings to "passthrough all", pressed "Add to queue" and got
"Notice. You just added a job with empty audio queue...bla-bla ".
Tested with 3 my dvds on hdd, winxp 32 sp3.

Whoops!... If I open VOB directly, but not "as DVD input" it really works. But is it as designed?

Selur
26th September 2011, 12:54
did the same thing,.. works without a problem here,..
Are you using the latest version (2011.09.25.1) ?
Not sure what the problem is, you could reset the settings Config->Defaults->Reset->All and see if that helps.
Tried 5 different DVDs and no problem with any of them,...

Cu Selur

alter4
26th September 2011, 13:06
Yes the recent version.
Did the reset, but doest help.
Still the same. If I open VOB directly it works, but if "DVD input " check it doesnt work.

--------------------------------------------------------------------
http://i30.fastpic.ru/big/2011/0926/a7/3f712f32036b45a751847b4ba35a62a7.jpg
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Oh man! I just find the DVD for what "passthrough all" works. It is marriage DVD and muxed in quite simple manner, simple menu, only one audio track and it works! So I think there is a problems with some dvds, which are quite complicated.

Selur
26th September 2011, 13:31
I'll try it on a XP system, it would help if you would create a debugOutput:
1. start Hybrid
2. set the output
3. enable Config->Internals->Handling->Create debug file
4. activate DVD input
5. load source
6. change audio to 'passthrough all'
7. press Add to Job Queue
8. close Hybrid
9. go to the folder where the output was ment to be created (there should be a HybridDebugOutput.txt file)
10. send me the txt via pm or upload it somewhere and send me a link via pm

=> Tried it on a Windows XP system I got in a VM, worked fine here,.. :( Does anyone else have this problem?

----
By looking at the screenshot I see that there's definitely something wrong, since:
1. the subtitle tab should be enabled when a DVD with subtitles is loaded
2. the Audio-ComboBox should be grayed out when 'passthrough all' is selected



Cu Selur

alter4
26th September 2011, 13:48
>>1. the subtitle tab should be enabled when a DVD with subtitles is loaded
It neither work with this check box nor without, I changed it, just to try.
>>2. the Audio-ComboBox should be grayed out when 'passthrough all' is selected
This is the bug exactly,

sent you file via pm

Selur
26th September 2011, 13:54
got it reading through it,.. this will take a bit ;)

alter4
26th September 2011, 14:01
Thank you. :)

Selur
26th September 2011, 15:31
Since I can't reproduce it I send you a link via pm my current windows dev versions of hybrid. (all just build a few minutes ago)

Cu Selur

Selur
26th September 2011, 17:57
Hybrid rev 2011.09.26.1:
*fixed*

x264: accidentally levels 3.2-3.0 were removed on high profile selection
linux: preview bug


*changed*

x264: now ratetol will be disabled unless 1pass abr or 2pass with level = unrestricted is used (to avoid vbv-violations)


*removed*

linux: CUDA H.264 since there's no cuda encoder for linux atm,.. (probably easy to implement using current sourcecode and the linux libaries from the NVIDA SDK; anyone volunteering ?)


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

Cu Selur

Selur
27th September 2011, 21:53
Does anyone besides alter4 have the problem that he can't add audio via passthrough form DVDs? (can't reproduce it and I got no clue what's going wrong there, so additional feedback might help to determine if this is a bug in Hybrid or a problem with his system)

Cu Selur

Ps.: also try the win2k version,.. (it uses an older windows vc++ and sdk)

Hobbe
28th September 2011, 14:27
Question.. Why does Hybrid calculate a new bitrate when I encode? (Log says: calculated new bitrate 2130).. I Specified 1500.

Selur
28th September 2011, 14:33
Hybrid normally calculates a new bit rate if the audio was smaller than originally anticipated to hit a specific target size,...

Hobbe
28th September 2011, 17:20
Hmm ok. This was a .mov file with vbr aac sound... I'll check more files later and see if it happens again...
Any plans to make it possible to use qaac for encoding aac?

Selur
28th September 2011, 17:27
The content of the input does not matter, the main question is what you configured. ;)
Look at http://www.selur.de/support to see what infos would be could to trace a bug/problem. :)

Any plans to make it possible to use qaac for encoding aac?
I looked at it but since nobody asked about it, I figured nobody wants it. :) (+ it would be Windows only)
Think I'll have two days of free time next week, if there's interest in it, I could add qaacenc support then.

Cu Selur

pdanpdan
28th September 2011, 21:56
In config/Profiles/AV-Combo Create I allways get a "There's no video profile named ...." when trying to choose anything but passthrough

Selur
28th September 2011, 22:01
Probably related to the custom setting options I added a few releases ago, will look at it tomorrow. :) (did a quick check and found&fixed the problem :)) -> fixed

BigPines
30th September 2011, 03:48
The current OS X build crashes on Lion. Is there a fix planned? I so wanted to use this. :(

Mike

Selur
30th September 2011, 08:15
I'm still using Mac OS X Snow Leopard here, but I'll look into it. (not sure if it's enough to update the Qt version on my mac mini or if other stuff needs to be done too ;))

Selur
30th September 2011, 18:31
about qaac integration:

Normally Hybrid offers a list with the following target bit rates: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640
now the problem is that afaik the bit rates qaac allows are more restricted and strongly depend on the target (sample rate, channel count, he or lc).
So depending on sample rate, channel count and he or lc the available bit rates change and I'm looking for a list of common values to select for my list, since I don't like the idea to update the list each time sample rate, channel count or he/lc selection changes.

-> Anyone got an idea how to solve this?
(aside from this and showing the encoding progress for qaac, the qaac support is finished)

-> got the bitrates! Thanks to the author or qaac for addint the --formats option!!


Cu Selur

Selur
6th October 2011, 09:17
Hybrid rev 2011.10.06.1:
*fixed*
x264: bit rate was adjusted on two pass even when bit rate was preferred
x264: LevelSwitch hickup
x264: weigthp with combination of preset ultrafast and tune fastdecode
fixed A/V-ComboProfile

*added*
qaac support for windows xp and newer (due to the need of current Quicktime)


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

Cu Selur

mcjordan
6th October 2011, 12:27
http://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_111006_64bit.zip
not in place...

Selur
6th October 2011, 12:56
fixed,.. missed a 0 ;)

Music Fan
6th October 2011, 16:22
Hi,
I have a little problem (which is not really a problem) ; if I wanna add chapters every 2 minutes in a MKV, and one more at 2'30" (for example), all chapters after this one will keep their number, and there will be two chapters with the same number. So I have to change manually all chapter's number after this one and it takes time on long videos (because I like to have a lot of chapters).
Could you add if possible a "smart" detection of chapter's number to change it automatically when we insert another chapter (or even more than one) after the others every x minutes ?
If I add first this chapter (at 2'30"), then I can't add other chapters every x minutes, it only works when there are yet no chapters.
I still use the 110205 version, which is enough for my needs. And I have Windows XP pro.
Thanks ;)

Selur
6th October 2011, 17:13
checking on a bug atm, but I think it shouldn't be hard to add this,.. :)

Music Fan
7th October 2011, 07:54
Cool :thanks:

Selur
7th October 2011, 09:42
send you a pm with an updated Hybrid version for testing,..

Selur
9th October 2011, 09:49
Hybrid rev 2011.10.09.1:

*fixed*

linux: aac encoding
audio: don't show neroAacEnc on Mac and Linux64 systems
qaac: cracking at beginning due to sox call adding wav headers

*added*

option to en-/disable using faac with mencoder/faac for aac encoding
chapters: 'Add Chapters' option to add additional chapters every X min
chapters: option to adjust chapter names: chapters that start with 'Chapter' or is empty will be renamed to 'Chapter X' where X is the chapter position

*cosmetics*

rearranged items in chapterTab


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

Cu Selur

Music Fan
9th October 2011, 11:39
Very good work.;)

I believe that you forgot one word in the very first post of this topic ;
which can nearly every input
I guess you meant which can nearly open (or accept) every input.

:)

Selur
9th October 2011, 11:40
fixed ;)

alter4
26th October 2011, 13:38
Hi Selur. I uploaded problematic sample and send you a link via private email.

Selur
26th October 2011, 16:11
Downloading right now, will look at it and report tomorrow. :)
(I can reproduce the problem with your sample, but need to analyze what is causing it, seems like the analysis return a broken container,.. :/ more tomorrow,..)

Cu Selur

Ps.: had some time, send you a pm with a hopefully fixed version :)

alter4
27th October 2011, 15:14
Tested. It Works. :) Thx

alter4
31st October 2011, 12:47
Could I use the "fixed" version on regular basis? Or might it has some other experimental features?

Selur
31st October 2011, 15:08
here I keep track of the changes I did to my development versions:
http://forum.selur.de/topic22-infos-about-fixed-bugs-etc-in-the-next-release.html
(content will appear as changelog entry once I make a release)

Version should be fine for regular use, at least I'm not aware of any problem it should cause. :)

Cu Selur

Selur
7th November 2011, 11:54
Hybrid rev 2011.11.07.1:

*added*

mkv: muxing option to enable '--clusters-in-meta-seek' which some players need to seek properly in mkv files

*fixed*

audio: 'aac' container compatibility check
qaac: audio count on downmix
audio: Hybrid will no longer use mencoder for aac encoding (see: https://forum.doom9.org/showthread.php?t=162762)
audio: enabling and setting 'mkv default' if item with 'mkv default' was removed from queue

*changed*

subtitle: allow setting of set mkv forced/default when queue is empty
tags: allow to configure audio, video, subtitle tag settings (when no input is set)
windows: check for UNC paths since oggenc2 does not support them


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

Cu Selur

Music Fan
7th November 2011, 12:51
mkv: muxing option to enable '--clusters-in-meta-seek' which some players need to seek properly in mkv files
I don't know this, is it useful only for h264 or also mpeg ?

Selur
7th November 2011, 13:12
Not sure since, but since soem folks couldn't seek properly on their players when this was enabled (was default prior 4.0) I added the option.
So since remuxing doesn't really take long, I would suggest: Try it. ;)

alter4
12th November 2011, 22:14
At first thx for the great tool again)) I have a feature request. Is it possible to move subtitle processing into the batch stage? The main idea is to have real "one-click encode" mode.

Selur
13th November 2011, 02:35
Might be possible for path through where the subtitle don't need any processing,... other than that it's probably not possible at the momentdue to missing of automated ocr and subtitle conversion tools. I'll think about it, but no promises. ;)

Cu Selur

Skarabey
28th November 2011, 21:36
Hi, Selur. You've created an excellent program, but I ran into two problems.
1. When I want to convert BD to MP4, the Hybrid crash during renaming audio file *track*.pcm, because it demux the audio from BD to a file *track*.wav, but tries to rename a file *track*.pcm.
2. In some cases, the sound suddenly disappears in the result mp4 file. Can this be due to the fact that when the hybrid is coding a video, I press pause, set up the following job, and then re-run the hybrid? May be, the suspend mode doesn't work very well. What do you think?

Selur
29th November 2011, 00:15
I can reproduce at least the 1st problem, will look to fix it in the evening when I'm off from work (just stood up, since I'm in china atm. ;)), it would help if you wrote which Hybrid version (win32/win64/linux32/64mac) you use so that I can send you a 'fixed' version once I fix the problem.
About problem 2, I need some debut output to and may be ints what you a small file and some hints what you did to reproduce this. (see: http://www.selur.de/support)

Cu Selur

Skarabey
29th November 2011, 01:50
I use Hybrid rev 2011.11.07.1 for Windows 2008 Server 64bit.

About problem 2, unfortunately, I deleted the bad output files. Because of the disappearance of the sound isn't regular, ie not in every file, so today I put 5 movies for processing. If tomorrow some movie will once again be the problem, I'll send you a full log about this movie along with a small peice of the output file.

Selur
29th November 2011, 03:19
I don't need the output, if it happens with a specific input, additional infos (may be small sample) of the input would be interesting. ;)

StainlessS
29th November 2011, 14:30
Selur,
Am just gonna give Hybrid a try. Was on your site and in latest changelog entry below:-


rev 2011.11.07.1:

*fixed*

audio: 'aac' container compatibility check
qaac: audio count on downmix
audio: Hybrid will no longer use mencoder for aac encoding (see: https://forum.doom9.org/showthread.php?t=162762)
audio: enabling and setting 'mkv default' if item with 'mkv default' was removed from queue


the link is using the 'https' protocol, and prompts security
certificate warnings from both IE and FireFox. :eek:
Just for your info.

Skarabey
29th November 2011, 21:34
I don't need the output, if it happens with a specific input, additional infos (may be small sample) of the input would be interesting. ;)

I prepared to you all needed info. Links: https://rapidshare.com/files/3387747685/Sample.mkv and https://rapidshare.com/files/3134179957/DebugOutput.txt

It's a small piece of input file and Debug Log. Somewhere inside this sample the sound disappears.

Selur
30th November 2011, 03:02
@StainlessS: thanks for the info, seems like I missed that, I normally use https to connect to doom9 and forgot to remove the 's' :)

@Skarabey: can't access the files, seems like the rapidshare download sites are blocked in china (I'll be back in Europe in the middle of December and will check it out then if I don't find an easy way to get to the file by then)

Cu Selur

Skarabey
30th November 2011, 03:18
can't access the files, seems like the rapidshare download sites are blocked in china


Try another links: http://www.mediafire.com/?gb1x977h34a0pee and http://www.mediafire.com/?yxuxv3dy2xlo1yc

Selur
30th November 2011, 05:14
nope mediafire seems to be blocked as a whole (for rapidshare I could at least visit the main page) ;)

Skarabey
30th November 2011, 10:26
I hope now at least one link should work :)

http://depositfiles.com/files/22ivjq87t
http://depositfiles.com/files/vr2fix6j3
or
http://www.filesonic.com/file/4047791694/Sample.mkv
http://www.filesonic.com/file/4047791704/DebugOutput.txt
or
http://letitbit.net/download/17531.14b43f21d60ae042b2d49a64dad9/Sample.mkv.html
http://letitbit.net/download/90118.9ce8df110840ef2404c283736441/DebugOutput.txt.html

By the way, the first problem is solved. Your test version are working properly. Thank you.

Selur
30th November 2011, 10:38
the deposit file download works, will look at it tomorrow (had a Chinese craftsman over here the whole day, to fix some things and now I really need to grab some food,.. :))

Cu Selur

Ps.: could it be that you mislabeld the file:
mkvmerge.exe" -I "C:\Users\Selur\Desktop\Sample.mkv"
File 'C:\Users\Selur\Desktop\Sample.mkv': container: AVI
Track ID 0: video (AVC1) [packetizer:mpeg4_p10_es_video]
Track ID 1: audio (AC3)

so the file contains H.264 and ac3 but is an .avi and not an .mkv like the name suggests,... -> was the renaming intentional ?

Skarabey
30th November 2011, 19:16
Ah, maybe I'm wrong in something, when cut out this piece from the original .mkv file. Here is MediaInfo data for original file:
General
Format : Matroska
Format version : Version 2
File size : 11.3 GiB
Duration : 3h 21mn
Overall bit rate : 8 015 Kbps
Movie name : The Lord of the Rings: The Return of the King
Encoded date : UTC 2010-03-25 04:02:21
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 12 2009 15:20:35
Writing library : libebml v0.7.9 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 11 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 3h 21mn
Bit rate : 5 608 Kbps
Width : 1 280 pixels
Height : 532 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.343
Stream size : 7.65 GiB (68%)
Writing library : x264 core 84 r1400M 20fa784
Encoding settings : cabac=1 / ref=11 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / mbaff=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=80 / rc=2pass / mbtree=1 / bitrate=5608 / ratetol=1.0 / qcomp=0.80 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=62500 / ip_ratio=1.40 / aq=1:0.80 / pulldown=0 / nal_hrd=0
Language : English

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 3h 21mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 644 MiB (6%)
Language : Russian

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 3h 21mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 644 MiB (6%)
Language : Ukrainian

Audio #3
ID : 4
Format : DTS
Format/Info : Digital Theater Systems
Format profile : ES
Codec ID : A_DTS
Duration : 3h 21mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 2.12 GiB (19%)
Title : DTS 5.1 @ 1536 kbps
Language : English

Text #1
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Russian

Text #2
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English

Selur
1st December 2011, 01:13
Please use mkvmerge to cut out a piece of the mkv you want to convert and then check that one can reproduce the problem with this file. If you can reproduce the problem with the small file, please upload that to depositfiles.

Cu Selur

Skarabey
1st December 2011, 07:14
I've cut out a piece of movie with mkvmerge, have converted it and have no problems with sound. This is strange. What then happens with converting a whole movie?

Selur
1st December 2011, 09:15
I got no clue, what is causing the problem.
May be your source is somehow not proper and it helps to open it and save it again under another name with mkvmerge so that the container will be rewritten,...

Cu Selur

iSeries
3rd December 2011, 21:32
Hi Selur,

Just playing around with Hybrid for the first time today.

I was just wondering what the purpose of the explicitly named switches in the command line are for? I thought for progressive blu ray encoding all that was needed in the command line was the --preset and --bluray-compat, plus --level --keyint --vbv-maxrate --vbv-bufsize --sar 1:1 and --slices 4 switches, plus --open-gop if preferred and maybe --pic-struct if required for verification. Are any of the explicitly named switches in the default command line different from the presets?

Also when I input a 24/1001 1080p BD, the default command line had a --keyint setting of 48, despite having a maxrate and bufsize setting greater than 15mpbs?

Selur
4th December 2011, 01:14
Also when I input a 24/1001 1080p BD, the default command line had a --keyint setting of 48, despite having a maxrate and bufsize setting greater than 15mpbs?
atm. gop max is restricted by the bitrate you aim for not the maxrate and bufsize:int bitrate = model->intValue("bitrate");
int gopMax = model->intValue("gopMaximum");
int max;
if (hardware == QObject::tr("Blu-ray/AVCHD")) {
if (bitrate <= 15000) {
max = (2 * gopMax < 1) ? 1 : 2 * int(model->doubleValue("videoFramerate") + 0.5);
} else {
max = (gopMax < 1) ? 1 : int(model->doubleValue("videoFramerate") + 0.5);
}
} else {
max = 10000;
}
this->doSet(model, "gopMaximum", "maximum", QVariant(max));[/code]
you might be right that this might cause a problem with crf, but iirc. 'bluray-compat' should overwrite this,..

Are any of the explicitly named switches in the default command line different from the presets?
hybrid defaults are not the x264 defaults,.. Hybrid will try to minimize the command line call,..

Cu Selur

iSeries
4th December 2011, 01:40
atm. gop max is restricted by the bitrate you aim for not the maxrate and bufsize:int bitrate = model->intValue("bitrate");
int gopMax = model->intValue("gopMaximum");
int max;
if (hardware == QObject::tr("Blu-ray/AVCHD")) {
if (bitrate <= 15000) {
max = (2 * gopMax < 1) ? 1 : 2 * int(model->doubleValue("videoFramerate") + 0.5);
} else {
max = (gopMax < 1) ? 1 : int(model->doubleValue("videoFramerate") + 0.5);
}
} else {
max = 10000;
}
this->doSet(model, "gopMaximum", "maximum", QVariant(max));[/code]
you might be right that this might cause a problem with crf, but iirc. 'bluray-compat' should overwrite this,..

Ah thanks for the explanation, makes sense now (was trying for CRF18). It was no trouble to change the keyint setting anyway.

hybrid defaults are not the x264 defaults,.. Hybrid will try to minimize the command line call,..

Cu Selur

Is there any way to just use the x264 defaults for a given preset?

Selur
4th December 2011, 01:51
Is there any way to just use the x264 defaults for a given preset?
Okay, I did not make myself clear there. ;)
1. Hybrid got it's own defaults that to not match with any x264 preset
2. If you call a preset (very slow, slow,...) in Hybrid, the preset should match the x264 presets as far as the preset covers all the settings (and unless I made a mistake)
If you for example start Hybrid and trigger preset->medium->apply Hybrid will set the settings to the x264 defaults. (profile, level, lookahead, vbv, etc. will still show up in the command line since, Hybrid will always enforce a profile&level combination unless you select none&unrestricted)

Cu Selur

iSeries
4th December 2011, 01:59
Okay, I did not make myself clear there. ;)
1. Hybrid got it's own defaults that to not match with any x264 preset
2. If you call a preset (very slow, slow,...) in Hybrid, the preset should match the x264 presets as far as the preset covers all the settings (and unless I made a mistake)
If you for example start Hybrid and trigger preset->medium->apply Hybrid will set the settings to the x264 defaults. (profile, level, lookahead, vbv, etc. will still show up in the command line since, Hybrid will always enforce a profile&level combination unless you select none&unrestricted)

Cu Selur

Ok great, thanks again for explaining. So then just selecting a preset and level will automatically set the defaults for that preset.

Great stuff, can't believe I've only just discovered Hybrid!

CommonMortal
21st December 2011, 07:57
Hello, i really like your program, but some suggestions:

1) Simplify the interface. I mean, make it more immediate. I come from AsxGUI and you can do all settings in a few seconds. With yours i end up forgetting something. Too many menus, submenus, filters. Also the way the log is working is confusing a bit.
2) Maybe it would be better if Hybrid's default settings were x264's official ones? For example preset default?

In any case, very thorough program, thank you.

Selur
21st December 2011, 08:07
regarding 1.: Hybrid is not ment as a one click tool and since it has a lot of settings it needs a lot of menus or a long wizard like GUI. Personally I create myself a few profiles and limit the amount of clicks to a minimum. ;)
regarding 2.: maybe, but personally I prefer my own. If you want Hybrid to start with the default x264 defaults: set the x264 Restriction Settings to None/unrestricted, apply the default preset, go to Config->Defaults->Save select x264Model and press selected. This way you change the default x264 settings to you liking. ;)

Cu Selur

CommonMortal
21st December 2011, 08:16
regarding 1.: Hybrid is not ment as a one click tool and since it has a lot of settings it needs a lot of menus or a long wizard like GUI. Personally I create myself a few profiles and limit the amount of clicks to a minimum. ;)

Just my usual luck... Well, it's your program, whatever makes you happy.


regarding 2.: maybe, but personally I prefer my own. If you want Hybrid to start with the default x264 defaults: set the x264 Restriction Settings to None/unrestricted, apply the default preset, go to Config->Defaults->Save select x264Model and press selected. This way you change the default x264 settings to you liking. ;)

Cu Selur

Ah, thanks. That's interesting.

Selur
23rd December 2011, 08:39
Hybrid rev 2011.12.23.1:

*fixed*

audio: pcm extension and pcm handling problems
jobs: handling of broken jobs
x264: adaptive dct only disabled for base profile

*added*

rudimentary mov container support
pcm encoding
dts encoding through dcaenc
demux: extract streams with ffmpeg option
video: rudimentary ProRes encoding support
option to enable adjust audio&subtitle adjustment on title change (not only on initial load)
'delaycut' and option to use delaycut to remove delays
'ignore'-parameter to misc.ini, if misc.ini contains for example: ignore=delaycut;neroaacenc Hybrid will not post warnings about missing a delaycut or neroaacenc binary

*changed*

linux: removed 'warning' about missing avsInfo
linux64: removed nero LineEdit&PushButton


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

Cu Selur

flebber
23rd December 2011, 09:01
is dcaenc for linux only?

Hadn't heard of it until you posted these updates and found this page http://aepatrakov.narod.ru/dcaenc/

Selur
23rd December 2011, 09:05
Nope, the hybrid installer (and win32 package) includes a window build (thx to LorD_MuldeR for that), for addition infos regarding dcaenc, also see: http://forum.doom9.org/showthread.php?t=163526 (there's also a download link to the win32 binary)

Cu Selur

Skarabey
23rd December 2011, 19:46
regarding 1.: Hybrid is not ment as a one click tool and since it has a lot of settings it needs a lot of menus or a long wizard like GUI.

Cu Selur

I absolutely agree with you. I can't stand one click tools, I prefer to choose the options themselves, rather than rely on someone else presets. You made an excellent tool.

Skarabey
23rd December 2011, 20:08
I have one trouble with previous 32-bit Windows version of Hybrid. It crushed on the last stage of the process.

Fragment of the log:
"deleted C:\VIDEOS\temp\City.Lights_21_35_11_421_04.stats
deleted C:\VIDEOS\temp\City.Lights_21_35_11_421_04.stats.mbtree
Starting Main@10:35:03.785:
"C:\Program Files\Hybrid\MP4Box.exe" -fps 25 -add "C:\VIDEOS\temp\City.Lights_21_35_11_421_05.264"#video:par=1/1 -brand avc1 -add "C:\VIDEOS\temp\City.Lights_ru_aid_1__21_35_11_421_02.ac3"#audio -tmp "C:\VIDEOS\temp" -new "C:\VIDEOS\Movies\City.Lights.mp4"
QProcess::FailedToStart"

Selur
23rd December 2011, 21:02
MP4Box call looks fine, and the temp files should all be still there, so you could just try to call:
"C:\Program Files\Hybrid\MP4Box.exe" -fps 25 -add "C:\VIDEOS\temp\City.Lights_21_35_11_421_05.264"#video:par=1/1 -brand avc1 -add "C:\VIDEOS\temp\City.Lights_ru_aid_1__21_35_11_421_02.ac3"#audio -tmp "C:\VIDEOS\temp" -new "C:\VIDEOS\Movies\City.Lights.mp4"
in a console and see if MP4Box is complaining about something,...

Cu Selur

Skarabey
23rd December 2011, 22:39
I tried to mux .264 and .ac3 files with YAMB and I got the good result .mp4 file.

Selur
23rd December 2011, 22:42
Can't fix anything in Hybrid unless I know what's going wrong and unless you are willing to run the call in the console I'm forced to just ignore the problem since I can't reproduce it here.

Cu Selur

Skarabey
24th December 2011, 00:38
I tried to call in the console, but mp4box crushed, because it didn't find libraries libeay32.dll and ssleay32.dll. I found their in the my Filezilla (???), copied their into hybrid folder and run mp4box in the console again. Mp4box worked properly. I got mp4-file. Here's a mystique.

Selur
24th December 2011, 07:21
Strange,.. seems like I included a wrong mp4box exe in the windows packages -> will fix

Skarabey
24th December 2011, 08:04
And could you still check sox.exe in the new version of Hybrid, because in previous version I have everything working fine, but in the new one when the aften starts the whole process aborted and the log indicates on to sox.exe.

Selur
24th December 2011, 08:07
Normally Hybrid should check for sox.exe no clue what is happening,.. some additional Infos (http://www.selur.de/support) would be nice,... (the log file does say nothing useful for me, I always need the debug output)
(sox should only depend on pthreadgc2, libgomp-1 and zlib1 which are all included in the packages,..)

---------

Hybrid rev 2011.12.24.1:

*fixed*

audio: audio only handling
windows: missing dlls for mp4box


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

Cu Selur

Cu Selur

Selur
24th December 2011, 10:56
Hybrid rev 2011.12.24.2:

*fixed*

audio: remove '--multi-threaded' from sox calls since it caused problems for some users


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

Cu Selur

Selur
28th December 2011, 19:22
Hybrid rev 2011.12.28.1
*changed*

muxing: not using ID 1 for NeroAACEnc input but ID 0
"auto add first" now also works for raw audio input
audio: dts-byteswap enabled as default
mac: switched to static builds (and included FrameCounter binary to the .app folder)


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

Cu Selur

Selur
30th December 2011, 11:17
Hybrid rev 2011.12.29.1:

*changed*

audio: positive delay will not be fixed through tsMuxer is 'fix delay with delaycut' is enabled
audio: adjusted to latest dcaenc -> needs dcaenc from 2011.12.30 or later

*added*

audio: option to fix crc error with delaycut without fixing the delay
muxing: allowing wav/pcm in .avi

*fixed*

audio: delayCut + audio passthrough handling
audio: pcm handling
audio: if audio&video container differ, make sure mencoder is not used during audio extraction or encoding


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

Cu Selur

Skarabey
1st January 2012, 06:01
Happy New Year!

I have a question. I need to write some MediaInfo tags into the result mp4 file. Can I use "MediaInfo import" option in the Hybrid? Where can I read about the informations format, which I can write into "MediaInfo import"?

Skarabey
1st January 2012, 06:05
I tried to write in the xml format, but hybrid informs me about format errors.

Selur
1st January 2012, 09:27
The 'MediaInfo import' option (under x264->Misc) is ment to import x264 options from a MediaInfo output, i.e. something like:
cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / 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=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
it does not add any mp4 tags. (enable 'Tagging' to see some basic tagging support)

If you can be more specific what you are aiming for I might be able to help by:
a. telling you how to do it with Hybrid
b. add an additional option that allows what you want / or fix an existing one if it's a bug that the option is not working as it should
c. tell you why it's not possible to do what you want ;)

Cu Selur

Skarabey
2nd January 2012, 06:55
Oh, I see. My problem is follows. I need to make the mp4 file with that structure of the tracks, for example:

track 1: video H264 High@4, 13736.723 secs, 1200 kbps, 1280x720 @ 23.976024 fps
track 2: hint Payload H264 for track 1
track 3: audio MPEG-4 AAC LC, 13737.536 secs, 128 kbps, 48000 Hz
track 4: hint Payload mpeg4-generic for track 3
track 5: ST01

I don't have any problems with the hint tracks. The problem is the last track. It is the metadata that is before encoding in a separate xml file. I don't understand how can I import these data into mp4 container?

Selur
2nd January 2012, 09:11
Okay, Hybrid does not support 'unknown' tracks. (and it's not planned to add support for unknown tracks)

looking at http://gpac.wp.institut-telecom.fr/mp4box/mp4box-documentation/ it might be possible to extract the data with using
'-raw 5' or '-dump-xml file.xml' and assuming the track can be extracted that way it should be possible to mux it to the new mp4 file.
(got no file with such metadata; at least MP4Box -info "path to file" does not mention ST01 for any of my mp4 files)

Cu Selur

Selur
13th January 2012, 13:13
Hybrid rev 2012.01.13.1:

*changed*

mkv: adjusting mkvIDs reported by MPlayer to be mkvextract v5.2.1 compatible
see: http://forum.doom9.org/showthread.php?p=1548674#post1548674
subtitle: always extract subtitle inside a mp4 file as srt subtitles<

*fixed*

x264: mixup in x264 command line importer (--bitrate and --crf were mixed up)
audio: don't fix crc on mpa files with delaycut when no delay is fixed (until bug in delaycut is fixed),
see: http://forum.doom9.org/showthread.php?p=1548269#post1548269
dvd: queue titles + chapter generation
general: make sure subtitle&chapters are clear on drag&drop input
dvd/queueChapters/queueTitles: fixed (no automated subtitle passthrough for queueChapters)
mux: mvk->mp4 && mp4->mp4: avc remux problem
general: make sure subtitle&chapters are clear on drag&drop input
subtitle: wrong subtitle extension srt vs. ass on extraction
subtitle: tx3g handling
extract: wrong mp4 trackID problem
subtitle: DVD/QueueTitle and subtitle handling
audio: job handler: dcaenc output check

*added*

subtitle: skip subtitle option, subtitle extractor will not rerip files already present at target destination
mkv: stretch detection option, which will cause Hybrid to analyse the input with mkvinfo and show stretch related infos if present


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

Cu Selur

Music Fan
13th January 2012, 14:35
Hi Selur,
Does Hybrid recognize sup subtitles, the format of the dvd subtitles ?
If yes, is there a way to merge two files (vob or mkv) with sup subtitles ?
I know that SubtitleTools can merge two srt files (which is useful to change the timecodes of the second srt file when one merge 2 subtitled videos), but it doesn't handle sup.
Of course we can convert sup into another format (srt) then merge it, then convert again in sup, but something more simple would be great.
Actually I read that VideoRedo could merge videos with DVB-SUB format (the DVB subtitles format), maybe it also handles SUP.
Bye ;)

Selur
13th January 2012, 14:41
Does Hybrid recognize sup subtitles, the format of the dvd subtitles ?
yes, it should.

If yes, is there a way to merge two files (vob or mkv) with sup subtitles ?
No, mering of any files is not supported in Hybrid.

Cu Selur

Selur
14th January 2012, 07:22
*******************
INFO: MAIN PAGE IS DOWN, for download links visit: http://forum.selur.de/post806.html#p806
*******************
-> hompage works again,...

Selur
15th January 2012, 15:34
Hybrid rev 2012.01.15.1:

*fixed*

audio: delay handling was broken due to several problems
windows: old avsInfo version was included in the packages
preview: error regarding 'Interlacing' when using bob
filter: 'deinterlacer' not always getting properly enabled due to 'force deinterlace'


*changed*

audio: additional dcaenc bitrates (see: http://forum.doom9.org/showthread.php?p=1551330#post1551330 + http://forum.doom9.org/showthread.php?p=1551521#post1551521)

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

Cu Selur

Music Fan
15th January 2012, 17:52
https://forum.doom9.org/showthread.php? … st1551330)
Problem with this link.

alter4
15th January 2012, 17:55
Hi Guys!

Is it possible to use Hybrid with visual x264 zones marking. I see this tab in x264 tab, but how can I transform time in preview windows OSD to frame number/count value?

Selur
15th January 2012, 18:01
No at least atm. Hybrid can't do visual zone markings for x264, mainly because mplayer (which is used for preview) does not support frame accurate forward and backward steps and jumping inside files sometimes kills the time counter. :)
in general: time in seconds/framerate = frame number

alter4
15th January 2012, 18:09
Thx. Tiny bugreport.
If you save x264 configuration with AVC level NONE/Unrestricted then press "apply" you will see an error message "generic Hybrid ListField avc level: value unrestricted is not present in current list"

Selur
15th January 2012, 18:11
I'll fix it for the next release,.. (fixed)

Brazil2
15th January 2012, 18:12
The requested page "/sites/default/files/hybrid_downloads/Hybrid_win2k_120115.7z" could not be found.

;)

Selur
15th January 2012, 18:16
Should be fixed now,.. :)

alter4
15th January 2012, 21:10
One more bugreport.
Try to add zone. It immediately appears in command line

x264 --preset slow --tune film --crf 19.5 --level 5.1 --sync-lookahead 15 --zones 0,19,q=8 --vbv-maxrate 720000 --vbv-bufsize 720000 --sar 64:45 --fps 25 --input-res 720x576 --output OUTPUTFILE -

Try to remove 2 second ago added zone) The command line stays the same.

Selur
15th January 2012, 21:15
Try to add zone. It immediately appears in command line
that is intended

Try to remove 2 second ago added zone) The command line stays the same.
I'll fix that (-> fixed)

Cu Selur

Ps.: if you tell me what OS you use I can compile a test version for you,..

alter4
15th January 2012, 21:55
Win7 64 + 64bit hybrid

Selur
15th January 2012, 22:00
send you a pm with a link :)

alter4
16th January 2012, 13:22
Thx Selur! got it.
But found related minor bug in updated build. Select x264 high 4:4:4/5.1 profile then save. Close and then launch Hybrid again - got error window popup.

Selur
16th January 2012, 13:27
works here with rev 2012.01.15.1 -> try this: delete the 'x264 Hybrid Default' profile, close and open Hybrid again. (Profile should be there again)

Cu Selur

alter4
16th January 2012, 13:40
Escaped from error message but got another issue...)
Deleted my profile, deleted x264 Hybrid Default, reloaded HYbrid, pressed "save all" for config.
Then saved my own profile with x264 high 4:4:4/5.1. Got command line.

x264 --preset slow --tune film --crf 19.5 --level 5.1 --sync-lookahead 15 --vbv-maxrate 720000 --vbv-bufsize 720000 --sar 16:15 --fps 25 --input-res 48x576 --output OUTPUTFILE -

Reloaded Hybrid again - got profile faulted to simple "High" (this is the undesired issue) with command line

x264 --preset slow --tune film --crf 19.5 --profile high --level 5.1 --sync-lookahead 15 --vbv-maxrate 300000 --vbv-bufsize 300000 --sar 16:15 --fps 25 --input-res 48x576 --output OUTPUTFILE -

Selur
16th January 2012, 13:52
Okay, I got confused, seems like the x264 model is off, since there is no High 4:4:4 profile in Hybrid (it was present in an older build for testing purposes) or x264 , but you could use Profile: None + Level: 5.1 + Output color space: i444.

Cu Selur

alter4
16th January 2012, 13:55
Thx Selur!

I just gonna finish my current encoding activities (by the way thx for the great tool :-) then purge all hybrid settings and check again.

Edited: I purged settings and high4:4:4 value went out. So the bug sneaked up during update to recent versions.
I suppose somehow Hydrid doesn't delete old setting during update.
;)

Selur
26th January 2012, 18:44
Hybrid rev 2012.01.26.1:

*added*

subtitle: basic .ass styling support (use existing .ass files and overwrite some of the styling info); only basic support since I do not know much about .ass (got no complex examples&co; will do more if people want it and provide some samples)
subtitle: .ass muxing into mp4 support (subtitle will be coverted to ttxt)


*fixed*

subtitle: first internal subtitle stream was also embedded when an external one was embedded
x264: zone deletion did not directly update CL
x264: loading a profile with none@unrestricted caused an error
audio: don't resample on pcm extraction
vp8: progress bar indication during encoding


*changed*

audio: max delay from 5000ms -> 60000ms
general: removed close affirmation for 'jobs->on queue finished->close' even if 'Config->Internals->Handling->Warn on close' is enabled
extended handling of stretched audio&video streams from mkv sources
subtitle: libass is now always used when embedding text based subtitles
audio: adjusted calls to delaycut 1.4.3.5.7


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

Cu Selur

Selur
27th January 2012, 21:44
Hybrid rev 2012.01.27.1:

*added*

x264: support for high222 and high444 profiles

*fixed*

subtitle: allow to change subcode even if 'embed subtitle' is not enabled (for preview)

*changed*

subtitle: ass->ttxt - remove unneeded TextSampleDescriptions

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

Cu Selur

Selur
1st February 2012, 13:49
Hybrid rev 2012.01.31.1:

*added*

audio: flac -> compression level option
audio: 6.1->stereo/5.1 downmix

*changed*

subtitle: removed -nofontconfig from mplayer/mencoder calls
(+ windows installer: added fontconfig content to fonts folder)

*removed*

x264: 2pass crf: confuses people

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

Cu Selur

Selur
10th February 2012, 08:57
I'm playing around with the idea of adding Avisynth file creation (using ffmpegsource2 and Directshowsource, later for vc1- interlaced only) and some filters to Hybrid. (windows only)
Since I personally haven't really used Avisynth a lot these last years (only use it from time to time for deinterlacing if yadif produces bad output) I was wondering:

What Avisynth filters do people miss in Avisynth?

Personally I only miss QTGMC, but implementing some basic script creating&co just for me and my QTGMC usage would be overkill.
-> some feedback would be nice :)

Cu Selur

DJ-1
13th February 2012, 20:59
I`ll give this 1 and another GUI a try,

Does this use Nero AAC+ ? as far as i know thats the latest, i usually use HDConvertox `just for audio` then MUX it all together....

as Vidcoder`s AAC isnt as good.

cheers.

Selur
13th February 2012, 21:03
in Hybrid you can choose between:
- NeroAacEnc which supports aac, aac-he and he-aacv2
- Qaac which supports aac, aac-he and he-aacv2
and
- libaac which supports aac-lc
(assuming you downloaded NeroAacEnc and extracted it into the Hybrid installation folder)

DJ-1
13th February 2012, 21:06
cheers,
Qaac ?, is that covered in the Nero AacEncoder....never heard of that 1, newest Nero aac format ?

Selur
13th February 2012, 21:11
There is no such thing as a 'Nero aac format' there's only a nero aac encoder -> http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php
Qaac -> http://sites.google.com/site/qaacpage/ (needs Apple Application Support installed which comes with Quicktime/iTunes/Safari)

DJ-1
13th February 2012, 21:19
ok, cheers.

Selur
15th February 2012, 13:48
Hybrid rev.2012.02.15

*added*

audio: option to enable '--multi-threaded' for sox
filtering: experimental option to analyze input for interlacing


*fixed*

audio: dts-es accidentally detected as dts not dts-hd


*removed*

output: avi container support, since ffmpeg .avi muxing is broken (sets wrong frame rate, see: http://ffmpeg.org/trac/ffmpeg/ticket/978)


*changed*

audio: added '-analyzeduration 14M' when handling .flv files with ffmpeg


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

Cu Selur

DJ-1
15th February 2012, 17:33
Hi, i havent had much chance to try it much, the basic x264 works ok. But whenever i set my own test profile for CUDA, its all applied etc, but i get a video conversion crash (something to do with ` no interlaced encoding support on main profile `) despite it not being selected in the profile being used....

confused.

Thanks.

Also on when using the CUDA prest default or custom, i can `add to queue`, but then the `start job` button does nothing.....

Selur
15th February 2012, 19:45
if that is not a debug output, I can't do anything with it.
Just tested it and over here the cuda encoder works without a problem.
(I assume you are aware that you need a cuda capable NVIDA card to use the cuda encoder,..)

DJ-1
15th February 2012, 19:57
Yeah, i got a CUDA graphics hardware....

Selur
15th February 2012, 20:01
Once a moderator approves the attachment or you upload it somewhere else where one can access the txt file I'll look at it. :)

DJ-1
15th February 2012, 20:18
ok, i just tried the `CUDA h264Hybrid default` (non-editable) profile, ignored audio, worked fine.

i just got the web installer when i got this, it installed as 64bit application, are there any issues with 64bit that you know of??
(as sometime 64bit is a bit hit n miss).

also i noticed when i tried to set a default output DIR + working folder, as soon as i exit the app, and restrart Hybrid, it doesnt retain the paths.... something doesnt seem right...

Selur
15th February 2012, 20:23
ok, i just tried the `CUDA h264Hybrid default` (non-editable) profile, ignored audio, worked fine.
Since you are not telling me what settings you used when Hybrid crashed I can't reproduce it.

also i noticed when i tried to set a default output DIR + working folder, as soon as i exit the app, and restrart Hybrid, it doesnt retain the paths.... something doesnt seem right...
sure it does not remember you settings, since you did not tell it to do so. If you want Hybrid to remember you settings in the Config-tag, save them as defaults:
Config->Save->select GlobalModel, hit 'Selected'

i just got the web installer when i got this, it installed as 64bit application, are there any issues with 64bit that you know of??
Nope, Hybrid is mainly developed on 64bit Win7 so I do most of my test on 64bit.

Cu Selur

Chairman_Meow
15th February 2012, 20:29
I'm having a problem re-encoding the audio mp3 stream to aac. I have neroaacenc in the \Hybrid folder but all I am allowed to do is passthru the audio. The video converts just fine to x264 in 1 pass and 2 pass, I just am not able to convert the audio. Anyone know what I'm doing wrong?

DJ-1
15th February 2012, 20:29
http://www.mediafire.com/?2m96o0apblimtvq

had to make new acc. since megaupload is no more...

Selur
15th February 2012, 20:37
@DJ-1: got the file will look at it :)
@Chairman_Meow: to encode mp3 -> aac
you have to:
1. set Main->Audio handling to custom
2. enable Audio->Reencode audio stream
3. configure the setting you want
4. hit Audio-> '+' for your selection to be added to the audio queue
-> no clue what you are doing

DJ-1
15th February 2012, 20:38
Since you are not telling me what settings you used when Hybrid crashed I can't reproduce it.

Sorry, i couldnt use my megaupload, got different acc. now... so the log is avaliable.

sure it does not remember you settings, since you did not tell it to do so. If you want Hybrid to remember you settings in the Config-tag, save them as defaults:
Config->Save->select GlobalModel, hit 'Selected'

ok, i see all those boxes but didnt know they were for the `app settings`... thought they were more for advanced profiles or summut, i should have looked closer.


Nope, Hybrid is mainly developed on 64bit Win7 so I do most of my test on 64bit.

Cu Selur

ok, cool.

Chairman_Meow
15th February 2012, 20:54
@Chairman_Meow: to encode mp3 -> aac
-> no clue what you are doing

That was quick. Thanks very much, missed the '+' step.

Selur
15th February 2012, 21:10
@DJ-1: what NVIDIA card are you using?

DJ-1
15th February 2012, 21:35
Geforce GTX260 (evga)

Sent from my Transformer TF101 using Tapatalk

Selur
15th February 2012, 21:40
The call:
"C:\Program Files\Hybrid\cuda.exe" --resolution 1920x1080 --bitrate 1349 --bitrate_peak 1350 --fps 30000/1001 --level 41 --showFrameStats 100 --frame_typ bottom --pquant_min 12 --bquant_min 15 --iquant_min 10 --sps_pps false --output "C:\Users\DJ-1\AppData\Local\Temp\DVD_1-2_16_24_40_921_04.264"
looks fine since --profile high and --deinterlace=false are default values
and I'm a bit baffled why you get
ERROR: Interlaced encoding is not allowed for baseline profile!
-> I'll compile some test versions and send you a link.

DJ-1
15th February 2012, 21:52
Yeah, especially while I check the settings, and interlaced encoding isn't set....

Sent from my Transformer TF101 using Tapatalk

Selur
15th February 2012, 21:56
Send you a pm with a link a my current development version of Hybrid, where I disabled to remove the defaults from the call + some a small guide how to enable the debug output.
If it crashed again send me the debug output.

Cu Selur

DJ-1
15th February 2012, 22:03
OK, cheers... on PS3 @ the moment but I'll try n do it a bit later...

Sent from my Transformer TF101 using Tapatalk

Selur
15th February 2012, 22:06
no problem, I'll look at it tomorrow then, if the problem still persists. :)

Cu Selur

DJ-1
16th February 2012, 00:52
Here you go m8, same source, same settings etc.....
and the same message near the bottom of the debug output.

Cheers.


http://www.mediafire.com/?e6gn30t47jmn341

P.S: just to be sure i tried my TMPGE Express (CUDA encoder) to make sure i didnt have anything wrong with Windows, its all ok. Probably has nothing to do with the problem, but thought I`d check.

Selur
16th February 2012, 08:05
Found the problem, the call does include the wrong frame type info -> I'll fix it (in a few hours and send you a working version)

DJ-1
16th February 2012, 11:17
Cheers. Also, can we select ffdshow as audio decoder?, as some of the. Older tv shows etc its nice to tweak the old 2ch audio to PLII.
Does it use dshow anyhow, or eac3to?, or other....
Cheers.

Sent from my GT-I9100 using Tapatalk

Selur
16th February 2012, 11:26
Hybrid does not use DirectShowFilters or eac3to,.. here (http://www.selur.de/licence) is the list of tools Hybrid uses. (no eac3to no ffdshow)
2ch->PLII should be possible with sox, so if you find out how to do it with sox I can add the appropriate remix call and an option to use it to Hybrid.

DJ-1
16th February 2012, 16:09
erm ok, just had a look, i see the Sox.exe in the config->tools area, but after adding a source, i looked at the audio tab, lots of other places, but can`t see where to select `use-of` sox as a decoder... let alone see how its set up.

P.S: ah ok, just re-read ur post, (half asleep, LOL) assuming at the moment its non-visible within the GUI, a few selectable presets would be great...

:)

Selur
16th February 2012, 16:16
you have to use sox through the command line if you want to use something that is not offered by Hybrid atm.
Hybrid will automatically use sox whenever it needs to:
1. resample the sample rate of an audio stream
2. apply volume gain to an audio stream
3. stretch an audio stream
4. change the speed of an audio stream
5. normalize an audio stream

if you figure out the remix call needed for the conversion you want I can add it to Hybrid, http://forum.doom9.org/showthread.php?t=152034 and http://sox.sourceforge.net/sox.html might help you to understand how sow and it's remix parameter work.

Cu Selur

DJ-1
17th February 2012, 01:02
ok, cheers. had a long look at the threads, not entirely sure what the `0.xxxx, -0.xxxx` mean etc, so manty things to take into account....

Selur
17th February 2012, 06:25
Xv0.zzzz, Yv0.wwww
mean Channel X and Y are mixed and the volume of level X is multiplied by 0.zzzz and the volume of channel Y is multiplied by 0.wwww before the mixing.
http://sox.sourceforge.net/soxpng/grohtml-2109215.png source: sox manual (http://sox.sourceforge.net/sox.html) (negative numbers should invert the audio and adjust it's volume)

Cu Selur

DJ-1
19th February 2012, 15:57
ok, cheers for the fixed version. I just ran a quick test, the CUDA side is now running without issue, cheers.

As for the other audio stuff, I`m sort of understanding bit of it, but its all based off of downmixing, what I want is the opposite (just a nice 2CH to `center voices` + LFE, basicly a DPLII or 5.0+LFE), i dont have any idea how to use the info i see to tell me how I get audio that isnt formatted that way in the source file...

Selur
19th February 2012, 16:16
A dpl2 stereo signal is still a stereo 2 signal.
Normally I would be created by converting 3 (left, right, center) or more channels down to stereo while adding additional infos such that it is possible to recreate a virtual center from the two channels.
Problems is if you only have to channels, you can either leave them as they are or modify them in some way such that they contain some sort or virtual center channel info.
Since you wrote:
Also, can we select ffdshow as audio decoder?, as some of the. Older tv shows etc its nice to tweak the old 2ch audio to PLII
it sounded to me like ffdshow could to the transformation you want and probably would show some sort of upmix-matrix to do the trick. :)

Stereo -> 5.1 is not supported in Hybrid since afaik it would require a lot of temporal files (see: http://forum.doom9.org/showthread.php?p=1385573#post1385573) which I don't like. :)

Cu Selur

DJ-1
19th February 2012, 18:12
yeah, the option in ffdshow is `decode 2CH source material as DPLII`.

Selur
19th February 2012, 18:25
Okay, that option probably interprets every stereo source as if it were a DPL2 source. -> http://en.wikipedia.org/wiki/Dolby_Pro_Logic it even shows the matrix http://en.wikipedia.org/wiki/Dolby_Pro_Logic#Dolby_encoding_matrices
which should be something like:
FL = 1
FR = 2
FC = 1v0.707,2v0.707
LF = 0
RL = -1v0.872,2v0.489
RR = -1v0.489,2v0.872
I guess,..

Cu Selur

DJ-1
19th February 2012, 19:27
"1,2,3v0.707,4v0,5v0.872,6v0.489 2,v,3v0.707,4v0,6v0.489,5v0.872"

To be honest i dont know if thats somewhere near it, or nowhere close....

Selur
19th February 2012, 19:32
me neither, but I can tell you, that 1v without a value behind it doesn't make sense :) needs to be just 1, also the sum of all parts of a channel should sum up do 1. :)
+ your line needs 6 channel input atm. :)

Selur
21st February 2012, 10:05
Hybrid rew. 2012.02.21:

*fixed*

cuda: encoding problem
audio: audio extension problem
audio: a few audio pass-through related problems


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

Cu Selur

DJ-1
22nd February 2012, 19:06
I put the audio stuff on hold for a bit since i`m lost with it....

Query: I`ve only recently got a home server and before that I`d always use the PS3 for streaming stuff off of the PC, I wanted to convert old tv shows etc, but wanted a nice output Resolution so that i dont get all the extra zoom options on the player I.E: Zoom__>Zoom2__>full screen etc etc etc.

Purely by luck i found a resolution that seems to be a perfect fit, I.E: i just get "Original size"__>"Normal" only with no under/over-scan, nothing cropped....it fits the same as if a 720P would do (on a 1080P output)....original and Normal. But i cant find any reference to the 800x450 for 4:3 / 16:9 or whatever.

PS: the old stuff (SOURCE MATERIAL) I`m coverting at the moment is all PAL 4:3 720x576

DJ-1
22nd February 2012, 19:11
when i use Vidcoder to convert videos it has an "ignore AR" button and just "anamorphic" as `None` --> output as 800x450.

mediainfo then shows the AR as 16:9 @800x450 .

but i cant seeem to replicate this in Hybrid at the moment, i always get black bars on the Left/Right....?

Selur
22nd February 2012, 19:29
I'm unsure what you want,.. :)
assuming you got anamorphic input you can:
a. ignore that it is anamorphic by telling Hybrid to handle it as if it had a 1:1 PAR (change Crop/Resize->Pixel Aspect Ratio (PAR)->Input PAR to 1:1) and resize to whatever resolution you want
b. convert it to i.e. square pixel (change Crop/Resize->Pixel Aspect Ratio (PAR)->Convert output to PAR->Square Pixel) and resize to whatever resolution you want
c. crop and zoom it such that it fills the input resolution (Enable cropping + Crop To DAR)
Hybrid itself will one add black bars if 'Add borders to fit size' is enabled.
During playback it if or if not black bars are added mainly depends on how your playback device/player is set to handle the input (pan&scan, letterbox,...) if it has not the same resolution as you screen.

but i cant seeem to replicate this in Hybrid at the moment, i always get black bars on the Left/Right....?
Probably because your output PAR is not 1:1,...

Cu Selur

Ps.: you probably should read up on what Pixel Aspect Ratio (PAR) and Display Aspect Ratio (DAR) mean (http://en.wikipedia.org/wiki/Pixel_aspect_ratio) if you want to understand what is happening and why.

DJ-1
22nd February 2012, 19:57
gonna give it a quick try now.
I dont think the PAR is anamorphic, its just PAL 4:3 720x576 (hybrid recognises source as PAR 1.067).

the idea is to simply have the new video playback naturally as a fullscreen image without relying on any media players handling of the content, why i`m doing the 4:3 AR conversion.

is 800x450 a`paricular` resolution?, its not just the PS3 thats happy with that Res, i also get a perfect 1:1 fit when played back on my xbmc media box.

Selur
22nd February 2012, 20:09
hybrid recognises source as PAR 1.067
PAR != 1 -> anamorph, if you think this is wrong change the input PAR to 1:1

Assuming the source has no black bars you got an effective resolution of 768x576 if you convert the input to square pixel. Since the height is > 500 and the width is < 800 you need to crop&resize or distort the image (by resizing without caring about the aspect ratio).
-> Neither me nor Hybrid can make the choice for you either cut of some pixels (such that resizing will hit you resolution), live with the distortion or the black bars. There is no magic that will change the math behind this.

DJ-1
22nd February 2012, 20:31
the source has got black bars left/right (4:3)

yep i know that I`ll have to crop etc to get to a resized resolution, but off of the DVD the `Original` content on all this older stuff is not centered etc, so cropping is ideal in this case is fine as I`m only getting rid of the rough edges of the video. (wich is probably why i end up at that particular res..)

tried the PAR 1:1 you suggested in the earlier post, same left right black bars on output

Selur
22nd February 2012, 20:34
PAR 1:1 is not enough, you also need to overcrop or resize with disregard to the aspect ratio or you will not end up with 800x450 you are aiming for,..

Selur
1st March 2012, 17:41
Hybrid rev. 2012.03.01

*fixed*

chapter: dvd chapters not filtered for title
input: not analyzing avisynth input properly due to changes in avsInfo
missing version info for mkvmerge/mkvextract due to missing version info of old delayCut versions
interlace check not allowed to to twice with different percentages
some cosmetic bugs,..
video: cuda <> x264 <> filter: Blu-ray compatibility


*changed*

analysis: modified interlace detection


*experimental*

(windows only) avisynth script generation:
Added some Avisynth support into Hybrid, which enables Hybrid to generate AvisynthSkripts and add use some of it's filters.

negative points:

processing with avisynth stays is mainly in Yv12 (so it is not recommend to use it for anything but 4:2:0 output)
32bit Avisynth 2.6 MT (to speed up the whole thing) is used, so too complex or memory consuming scripts might cause problems
Avisynth support is by default deactivated for DVD input support since due to the fact that there isn't a source filter plugin that allows to handle complete DVDs and select a video stream by PGS and angle. If you enable Config->Internals->Handling->'Avisynth for DVD input', the Avisynth support will be enabled, but you will always end up with the first PGS from the DVD which might cause problems.
you can't edit the script manually

positiv points:

a bunch of additional filters (ColorMatrix, QTGMC, TIVTC, Decomb, RemoveGrain, Unblock, Deblock_QED, DeHalo_Alpha, dfttest, fft3dfilter, fft3dgpu,..)
frame accurate preview when using Avisynth

if you want to try it, simply download this (http://www.selur.de/sites/default/files/hybrid_downloads/development/avisynthExtension.7z) and extract it into your Hybrid folder. (this includes all .dlls and scripts Hybrid can use atm.)


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

Cu Selur

Brazil2
1st March 2012, 18:31
Hybrid rev. 2012.03.01
Page not found
The requested page "/sites/default/files/hybrid_downloads/Hybrid_win2k_120301.7z" could not be found.

;)

Selur
1st March 2012, 18:38
should be fixed now (seems like I forgot to upload that file ;))

Brazil2
1st March 2012, 18:40
should be fixed now (seems like I forgot to upload that file ;))
Looks like the file is not complete, all I got is a 70.9 KB file which doesn't open :(

Selur
1st March 2012, 18:44
Should be 3.92MB and they are on the server,.. probably a cache problem on you end. Download works fine here.

Brazil2
1st March 2012, 18:49
Should be 3.92MB and they are on the server,.. probably a cache problem on you end. Download works fine here.
Yep, it's working fine now, thanks :)

Selur
6th March 2012, 18:59
Hybrid rev 2012.03.06.1:
*fixed*

dvd: ntsc dvds not properly deteced as telecine
jobs: "auto delete finished" and "on queue finish" collided
avisynth filter view: with crop, resize, letterbox

*changed*

audio: enabled NeroAacEnc for Linux64bit again
generate name: when 'Adjust output path to source path' output will be adjusted on a per file basis

*added*

avisynth: FastLineDarken, Hysteria (avisynthExtension updated)


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

Cu Selur

Brazil2
7th March 2012, 16:48
Hybrid rev 2012.03.06.1:
Cough cough

Page not found
The requested page "/sites/default/files/hybrid_downloads/Hybrid_120306_binary_qt46.zip" could not be found.

:)

Selur
7th March 2012, 18:01
fixed,.. :)

flebber
10th March 2012, 05:12
Hi Selur, I wondered if you had considered changing to fhg aac, to allow you to distribute Hybrid complete without need for Nero downloads. http://www.hydrogenaudio.org/forums/index.php?showtopic=89518&st=25&p=763079&#entry763079

Selur
10th March 2012, 08:34
I never really thought about it, because:
1. afaik it's a Windows only encoder (or is there a Linux&Mac Variant of it?)
2. there's no site which provides the encoder dll or the command line wrapper (the wrapper has to be downloaded from Hydrogens and for the dll one has to install Winamp and extract the dll)
(-> source code or the wrapper can be found over at: https://github.com/tmkk/fhgaacenc)
3. I have no clue how the licenses are for the nsutil.dll and the enc_fhgaac.dll (libsndfile-1.dll is LGPL, wrapper is free).
4. does it support input via std:in (pipe?) if not it is not really suited for Hybrid (-> checked source code, readFromStdin is supported :))

problems I see:
1. if there's no Linux/Windows/Mac variant for it I might support it but I will not replace NeroAacEnc
2. if there's a page that distributes the wrapper and the newest dll I could mention it as download (I'm not willed to download WinAmp and extract the dll each time an update appears)
3. if the licenses allow it and 2. is given I might add it to the Hybrid Windows installer

Cu Selur

zacharias
14th March 2012, 13:52
well i've played a bit on windows it it looks really goodd mate, i must say.
it's probably the best gui i've seen that can run on linux, even thoug i haven't used it on *nix.
my point is: how on earth do i ruun it on linux!!! :D
i'm using debian stable / #!crunchbang
:thanks:
kudos

Selur
14th March 2012, 14:05
basically:
1. Qt runtime (there's probably a package called 'qt' or something for debian)
2. download and extract the binaries that fit your OS (Linux 64bit or Linux 32bit)
3. start the binary
Hybrid will then complain about all the tools it is missing. ;)
(i.e. x264, mplayer, ffmpeg, mediainfo, tsmuxer, neroaacenc, mkvtoolnix, gpac, lsdvd,.. see: http://www.selur.de/licence)
4. search your distributions repository install all the tools they have in it, the rest you probably have to download and compile yourself
afaik nobody made a complete debian package for Hybrid

Cu Selur

flebber
14th March 2012, 14:11
well i've played a bit on windows it it looks really goodd mate, i must say.
it's probably the best gui i've seen that can run on linux, even thoug i haven't used it on *nix.
my point is: how on earth do i ruun it on linux!!! :D
i'm using debian stable / #!crunchbang
:thanks:
kudos

Kept meaning to do it but never got round to it. Same using debian stable/solusos.

I believe it shouldn't be that hard, we need to ensure all dependancies listed here are fulfilled http://www.selur.de/licence
Looking at the linux package I can't see a ./configure script or Autogen.sh which would have made it a standard install.

It might be as simple as moving the zip file contents to /usr/local/ or /opt

zacharias
14th March 2012, 14:21
Kept meaning to do it but never got round to it. Same using debian stable/solusos.
Looking at the linux package I can't see a ./configure script or Autogen.sh which would have made it a standard install.

It might be as simple as moving the zip file contents to /usr/local/ or /opt
thats precisely my point: no install scritp or anything. i just see 2 files on the zip file, hence the doubts. on windows, one just drags and drops the files. in linux, if there was a .sh script or something to install all the need shit, would be great. ill try to figure this thing out with the dev, and make a nice "how to" for *nix, at least debian.

flebber
14th March 2012, 14:22
If it helps
http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/

http://www.ibm.com/developerworks/linux/library/l-debpkg/index.html

zacharias
14th March 2012, 14:24
basically:
1. Qt runtime (there's probably a package called 'qt' or something for debian)
2. download and extract the binaries that fit your OS (Linux 64bit or Linux 32bit)
3. start the binary
Hybrid will then complain about all the tools it is missing. ;)
(i.e. x264, mplayer, ffmpeg, mediainfo, tsmuxer, neroaacenc, mkvtoolnix, gpac, lsdvd,.. see: http://www.selur.de/licence)
4. search your distributions repository install all the tools they have in it, the rest you probably have to download and compile yourself
afaik nobody made a complete debian package for Hybrid

Cu Selur
ok. i guess i have all thioose tools. i'll investigate and like 've said b4, i'll try to make a nice "how to" for *nix users.
if it works as well as i want, this is a serious candidate for avidemux and even handbrake. (wich i use none :D )
kudos
PS: u got pm

zacharias
14th March 2012, 14:27
If it helps
http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/

http://www.ibm.com/developerworks/linux/library/l-debpkg/index.html
lol? i dont have those skills mate. lol
i was wondering on doing something more easy: like simple aptitude install (all the needed software)
and then have a simple front-end gui to auto detect it. got it? xD
btw: is there a linux package at all?
kudos

Selur
14th March 2012, 14:35
no there's no debian hybrid package afaik. there are just the binaries I offer at the download page. :)
(I'll probably release a new version of Hybrid tomorrow, waiting for feedback related to a reported but atm. :))

Selur
15th March 2012, 12:23
Hybrid rev 2012.03.15.1:

*fixed*

analysis: tweaked analysis a bit more for telecine detection
tags: audio tagging with passthrough (for aac audio)
subs: crash on non utf-8 .ass/.srt to .ttxt subtitle
audio: to not adjust audio delay for encoder with Mkvmerge&NeroAacEnc since mkvmerge will do the job
audio: 'Enable audio mkv default for each source' conflicting with 'Set as default for mkv output' when enabled after source was loaded and 'Pass-through audio default/force flags'
audio: max bitrate mixup is qaac was enabled, but not target format not aac
subtitle: extract pgs subtitle from mkv file

*changed*

audio: better compensate aac encoder delay
avisynth: update to flash3kyuu_deband_1.5.0
preview: removed 'distributor()' from generated avisynth scripts during preview; preview will be slow but otherwise some script, source combinations won't show up properly (no problem during encoding though)

*addded*

audio: support for fhgaacenc (windows only)


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

Cu Selur

flebber
15th March 2012, 13:36
Few small issues.

When I select autocrop I receive an error cannot autocrop missing path to mplayer.

However I installed using the installer and the path is in the config settings

C:\Program Files\Hybrid\mplayer.exe

If I choose QAAC or fhg without nero installed Hybrid crashes without leaving its debug or report file.
http://i988.photobucket.com/albums/af10/Sayth_Renshaw/Untitled.png

As an aside I got the fhg dll here http://www.hydrogenaudio.org/forums/index.php?showtopic=89487 and then used the wrapper from hydrogenaudio.

Selur
15th March 2012, 13:40
I'll look into it,..

If I choose QAAC or fhg without nero installed Hybrid crashes without leaving its debug or report file.
Can't reproduce it here. :(

When I select autocrop I receive an error cannot autocrop missing path to mplayer.
Can't reproduce that here either,..

Just Downloaded and installed the current Version and tested.
-> I need additional infos,..

+ does anyone else have these problems too?

As an aside I got the fhg dll here ...
I used the enc_fhgaac.dll and the other dlls needed from the current WinAmp release.

Cu Selur

Ps.: will reupload the installer since it is missing the fontconfig stuff. -> reupload is finished

PPs.: I can reproduce the 'auto'-aacProfile problem,.. (qaac does not have an 'auto'-mode)

Selur
19th March 2012, 14:50
Hybrid rev. 2012.03.19

*fixed*

x264: error when switching profiles between high10/high422/high444 and the rest
avisynth: some cosmetics

*added*

avisynth: option to en-/disable distributor() call for preview


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

Cu Selur

vwbeetle75
20th March 2012, 02:49
when i selected to use an avisynth filter. it forgets to add ( in the resize line. example LanczosResize1280,720) instead of LanczosResize(1280,720)

Selur
20th March 2012, 07:21
Fixed locally :) Only happens for 'LanczosResize'. If you provide the info which Hybrid Win 32/64bit Version you are using (if you use the installer, this depends on your OS) I can send you a fixed Version.

vwbeetle75
21st March 2012, 04:25
i'm using hybrid version 2012.3.19.1 installer on win 7 x64

Selur
21st March 2012, 08:04
-> Send you a pm with a download link.

Selur
24th March 2012, 09:35
Hybrid rev. 2012.03.24

*fixed*

avisynth: missing '(' for LanczosResize
audio: fhgaacenc 'error-message' (linux only)
audio: crash when loading external audio


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

Cu Selur

Havokdan
24th March 2012, 09:50
When .avi back?

Selur
24th March 2012, 09:55
as soon as ffmpeg developers fix: http://ffmpeg.org/trac/ffmpeg/ticket/978
since I do no want Hybrid to create .avi files with wrong frame rate flags.

Havokdan
24th March 2012, 10:10
Thanks for you answer!

Skarabey
29th March 2012, 02:14
32-bit Hybrid crashed

I tried to encode with the last version and got "CRASHED encoding video". Here is the fragment from the debug log:

helperCall: "C:\Program Files\Hybrid\mencoder.exe" -lavdopts threads=4 -really-quiet -ofps 24000/1001 -of rawvideo -o - -ovc raw -noskip -vf expand=1920:816,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "D:\Sources\Obratnaja.tjaga.1991.x264.BDRip.(1080p).DenisNN.mkv"
mainCall: "C:\Program Files\Hybrid\x264.exe" --pass 1 --bitrate 5000 --profile high --level 4.1 --direct auto --sync-lookahead 15 --qcomp 0.5 --weightp 1 --threads 8 --stats "C:\DOCUME~1\Encoder2\LOCALS~1\Temp\111_18_06_47_901_01.stats" --fps 24000/1001 --input-res 1920x816 --output NUL -
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - 18_06_47_901_01_video ### D:\111.mp4 ### Starting Main@18:06:54.328:
"C:\Program Files\Hybrid\x264.exe" --pass 1 --bitrate 5000 --profile high --level 4.1 --direct auto --sync-lookahead 15 --qcomp 0.5 --weightp 1 --threads 8 --stats "C:\DOCUME~1\Encoder2\LOCALS~1\Temp\111_18_06_47_901_01.stats" --fps 24000/1001 --input-res 1920x816 --output NUL -
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - Starting Helper:
"C:\Program Files\Hybrid\mencoder.exe" -lavdopts threads=4 -really-quiet -ofps 24000/1001 -of rawvideo -o - -ovc raw -noskip -vf expand=1920:816,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "D:\Sources\Obratnaja.tjaga.1991.x264.BDRip.(1080p).DenisNN.mkv"
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - 18_06_47_901_01_video ### D:\111.mp4 ### x264 [error]: invalid argument: level = 4.1
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - -> 18_06_47_901_01_video crashed:QProcess::Crashed
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - CRASHED: QProcess::Crashed
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - 18_06_47_901_01_video ### D:\111.mp4 ### QProcess::Crashed
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - 18_06_47_901_01_video ### D:\111.mp4 ### finished after 00:00:00.078 with exitCode -1
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - Killing helper,...
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - Killing process,...
2012.03.28 - 18:06:54_windows32_2012.03.24.1 - 18_06_47_901_01_video ### D:\111.mp4 ### Crash: 1

Selur
29th March 2012, 07:53
Tried comparable command lines with files I got here without a problem,... -> no clue why x264 is complaining with 'invalid argument: level = 4.1'
'--level 4.1' normally is the right way to call the level,... and 1080p@24fps is also High@4.1 compatible,....
-> What x264 version are you using? (Are you using the one from the installer or did you exchange it with another one?)

Skarabey
29th March 2012, 21:49
Yes, I use x264 from the installer. I checked the version 2012.3.1 on the 32-bit platform - the same problem. With the Windows 64-bit the both versions are working properly.

Selur
29th March 2012, 21:53
just on my way to bed, will try in a Windows XP 32bit and a Windows 7 32bit VM tomorrow to see if I can reproduce it, but it is strange, since the call looks right,...
-> okay, installed Hybrid with latest installer on in the two systems and there's also no problem with level 4.1 encodes,.. :/

Skarabey
29th March 2012, 23:23
Sorry, It seems it isn't the problem of the Hybrid: any encoders don't work on that PC after I reinstalled the Windows.

Selur
30th March 2012, 06:36
Hmmm, strange...
Are you using some uncommon firewall or anti-virus tool?

Cu Selur

Ps.: Please tell me, if you find the cause of the problem. :)

Selur
31st March 2012, 20:08
Hybrid rev. 2012.03.31.1

*changed*

avisynth: FFVideoSource, set fpsnum, fpsdenum for interlaced input
avisynth: use DirectShowSource instead of FFVideoSource for interlaced avc content
avisynth: cosmetic rearrangements


*added*

filter: additional ivct options when using mencoder
avisynth: added adding a logo support

*fixed*

filter: yadif - custom, mcdeint - custom settings not showing up
checks: SD Blu-ray/AVCHD frame rate checks
profiles: crash when loading a global or audio profile triggered by missing neroAacEnc, fhgaacenc or aften


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

Cu Selur

Selur
8th April 2012, 10:40
Hybrid rev. 2012.04.08.1

*fixed*

AVComboProfiles: problem with pass-through audio + added ignore options
jobs: hibernation call
x264: missing '--fps X' when using --pulldown
x264: qp file wasn't deleted on 1pass encoding
gui: loading models could lead to wrong displayed values in ComboBoxes, due to a wrong regexp
model: additional quotes in dvd input analyse model caused mplayer not to be properly found
subtitle: crash in srt to ttxt routine


*changed*

muxing: allow mpeg-2 inside mp4 container


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

Cu Selur

jouchan
9th April 2012, 15:16
hi selur, do you have tips or trick for me? i want to encode avi to mkv, from bigger size to small size
thanks

Selur
9th April 2012, 15:23
use x264, use the x264 presets (select&apply) and x264 tune options (select&apply), if you use the avisynth extension (only available for windows), use DeHaloAlpha and RemoveGrain both with the default values, if you audio is already fine don't reencode it (use passthrough). If your source has black bars, crop them away. In general stick to default values unless you know what you are doing.
Other than that I really have not magic, tricks or tips. :)

Cu Selur

Selur
11th April 2012, 16:06
Hybrid rev. 2012.04.11.1

*added*

avisynth: HDR AGC support, see: http://strony.aster.pl/paviko/hdragc.htm
avisynth: FineSharp, see: http://forum.doom9.org/showthread.php?p=1569035#post1569035


*fixed*

prores/vp8: complaining about missing field 'interlaced'
avisynth: fpsnum problem in ffvideosource
audio: crash when loading audio model
audio: problem with external audio source


*removed*

model: mediaInfo, mplayer, ffmpeg from audioModel


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

Cu Selur

Atak_Snajpera
11th April 2012, 20:24
why hdr agc instead of fusion?

Selur
11th April 2012, 20:28
no special reason, a user asked for hdr agc so I looked it up and added it :)

Atak_Snajpera
11th April 2012, 20:34
fusion may give better results than hdr rgc from 2006r.

Selur
11th April 2012, 20:36
just read the thread looks interesting :)

Selur
16th April 2012, 18:25
Hybrid rev 2011.04.16.1

*added*

avisynth: allow .sup embedding through SubTile (http://www.zachsaw.com/?pg=suptitle_pgs_avisynth_plugin)(requires .Net), special thanks to Zach Saw allowing me to bundle it in the avisynth extensions pack!


*fixed*

subtitle: bug that prevented the embedding of .idx/.sub subtitles
analyse: ffmpeg analyzer not detecting length and sar properly (only needed as fallback when mediainfo fails)
vp8: removed timebase parameter
linux: lsdvd check was broken
audio: audio bitrate choice bug (allowing bitrate choices for dts that are not supported)


*changed*

calc: dts inside m2ts overhead calculation
vp8: default values minsection from 1 to 15 and lagInFrames from 16 to 25


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

Cu Selur

Selur
17th April 2012, 16:51
*update*

mac: added a 'mac complete'-package to the downloads; since I'm really not used to deploy content on mac feedback is really appreciated

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

Cu Selur

flebber
18th April 2012, 08:24
Hybrid rev 2011.04.16.1

*added*

avisynth: allow .sup embedding through SubTile (http://www.zachsaw.com/?pg=suptitle_pgs_avisynth_plugin)(requires .Net), special thanks to Zach Saw allowing me to bundle it in the avisynth extensions pack!


*fixed*

subtitle: bug that prevented the embedding of .idx/.sub subtitles
analyse: ffmpeg analyzer not detecting length and sar properly (only needed as fallback when mediainfo fails)
vp8: removed timebase parameter
linux: lsdvd check was broken
audio: audio bitrate choice bug (allowing bitrate choices for dts that are not supported)


*changed*

calc: dts inside m2ts overhead calculation
vp8: default values minsection from 1 to 15 and lagInFrames from 16 to 25


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

Cu Selur

Like this version works well.

jouchan
20th April 2012, 03:20
hmm..how about subtitle? can it build in frame? like hardsub movie..
and what the format for build in movie? ass or srt
i wanna add watermark from subtitle to movie.. iam very confused..
thanks selur..
sorry my english very bad

Selur
20th April 2012, 07:11
What about subtitles, if you load the subtitle in the subtitle tab you can embed them by activating 'Embed subtitle in frame' and adding them to the queue by pressing the '+' button. Depending on the format the input is in you will be able to select color, position&co after you activate 'Embed subtitle in frame'.

Cu Selur

jouchan
21st April 2012, 15:47
What about subtitles, if you load the subtitle in the subtitle tab you can embed them by activating 'Embed subtitle in frame' and adding them to the queue by pressing the '+' button. Depending on the format the input is in you will be able to select color, position&co after you activate 'Embed subtitle in frame'.

Cu Selur

working!! thanks
but i cant change bitrate for audio..:scared:

Selur
21st April 2012, 15:52
but i cant change bitrate for audio..
You did activate 'Audio->Reencode audio stream', didn't you?

Important info needed to fix&reproduce bugs:

What Hybrid version did you use?(Windows/Mac/Linux 32/64bit + versions number)
What did happen? If an error message came up what did it exactly say?
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)
Debug output would be helpful. (Config->Internals->Handling->Create debug file; enable it, directly after starting Hybrid)
If possible a small sample file would be great.

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 link to a hopefully fixed version for testing.
source: http://www.selur.de/support

----------
since others might want to know this too (jouchan asked via PM):

Assuming you selected:
Main->Audio Handling->Custom
1. switch to Audio Tab
2. activate Audio->Main->Reencode audio stream
3. select the Audio format you want to reencode to: Audio->Main->Audio Encoding->Encoding->Audio format
Assuming you selected a format that does support the specification of a target bitrate (FLAC for example doesn't)
4. select the desired bitrate: Audio->Main->Audio Encoding->Encoding->Bitrate (kBit/s)
5. add the current settings to the audio queue by pressing 'Audio->Main->+'
This way you tell Hybrid to reencode the current audio stream into to the selected 'Audio format' with the selected 'Bitrate (kBit/s)'.

Cu Selur

pdanpdan
24th April 2012, 16:21
In the latest version, the cut feature is not working as it should with mpeg2 video in .ts (NPVR).
The audio is cut as it should, but the video is not cut.

Selur
24th April 2012, 16:26
see above post about what infos might be interesting so that I can reproduce the problem,... and figure out if it's a bug in Hybrid or if the tools used by Hybrid can't handle the source properly. :)

pdanpdan
24th April 2012, 18:53
I have tested it, and it's related to avisynth processing - with avisynth processing the movie is not cut, without everything it's ok

Selur
24th April 2012, 19:00
Ah, okay. I'll look at it tomorrow. :)

Cu Selur

Selur
25th April 2012, 12:21
@pdanpdan: got it fixed locally, can send you a link to a fixed version if you let me know which OS you are using,.. (Win 32/64 bit?)

pdanpdan
25th April 2012, 12:59
win64 please, thank you

pdanpdan
25th April 2012, 17:13
the new version crashes on first step (tsMuxer)

HybridDebugOutput.txt
http://pastebin.com/FEibcTyw

"Scooby-Doo şi echipa misterelor_20120424_07500815_19_07_09_151_Report.txt"

Starting Main@19:07:12.588:
"C:\8_Soft\Multimedia\#Video\Hybrid\tsMuxeR.exe" "C:\#EAC#\Scooby-Doo şi echipa misterelor\tsmuxer_19_07_09_151_01_0.meta" "C:\#EAC#\Scooby-Doo şi echipa misterelor"
QProcess::Crashed
finished after 00:00:00.029 with exitCode -2
Crash: 1



tsmuxer_19_07_09_151_01_0.meta

MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr--cut-end=258s --vbv-len=500
A_MP3, "C:\#EAC#\Scooby-Doo ?i echipa misterelor\Scooby-Doo ?i echipa misterelor_20120424_07500815.ts", track=1001

Selur
25th April 2012, 17:16
Old versions will crash the same way, since that is a bug in tsMuxeR. :)
-> it does not like anything but ASCII characters -> remoce the 'ş' from the filename and it should work

update: made a version that checks for ASCII compatibility when tsMuxeR is used during processing

pdanpdan
25th April 2012, 18:00
I renamed the folder and filename and it almost worked :)
I mean the video was done as it should, but the audio was cut in the begining(as it should) but then continued to the end of the original file
I tested with a 1min cut from 00:00:50 to 00:01:50, and the resulting video has 1min (2Mb) and the audio has 23min (24Mb)

Selur
25th April 2012, 18:03
I tested with a 1min cut from 00:00:50 to 00:01:50, and the resulting video has 1min (2Mb) and the audio has 23min (24Mb)
seems like I missed a place where the audio had to be cut,.. a debugoutput would be helpful,..

pdanpdan
25th April 2012, 18:09
new version gave me the warning about ASCII chars for this path, even thow it worked with the previous version
"C:\#EAC#\Scooby-Doo si echipa misterelor\Scooby-Doo si echipa misterelor_20120424_07500815.ts"
debug in a few moments

sorry, no debug as all paths do not work

Selur
25th April 2012, 18:15
hmm,.. that's strange,.. characters look fine,.. -> DOH, forgot a NOT ;)

pdanpdan
25th April 2012, 18:29
debug: http://pastebin.com/3VkVXEL8


Starting Main@20:22:21.015:
"C:\8_Soft\Multimedia\#Video\Hybrid\sox.exe" --guard --ignore-length --temp "C:\1" --buffer 2097152 -S -t raw -e signed-integer -2 -c2 -r48000 - -n stat
finished after 00:00:13.601
finished...

NeroAACEnc started...
Starting Main@20:22:34.662:
"C:\8_Soft\Multimedia\#Video\Hybrid\neroAacEnc.exe" -q 0.4 -ignorelength -if - -of "C:\1\1__aid_1001__20_20_36_931_09.aac"
finished after 00:01:07.721
finished...

deleted C:\1\1__aid_1001__20_20_36_931_05.mp2
x264 (1 pass) encoding started...
Starting Main@20:24:14.656:
"C:\8_Soft\Multimedia\#Video\Hybrid\x264.exe" --preset slow --crf 24 --profile high --level 4.1 --ref 10 --bframes 5 --sync-lookahead 15 --psy-rd 0.4:0 --aq-strength 0.6 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --deblock 1:1 --colormatrix bt709 --fps 25 --input-res 704x492 --output "C:\1\1_20_20_36_931_13.264" -
raw [info]: 704x492p 16:15 @ 25/1 fps (cfr)
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.1
x264 [info]: frame I:15 Avg QP:21.50 size: 22084
x264 [info]: frame P:431 Avg QP:24.57 size: 6227
x264 [info]: frame B:1055 Avg QP:28.38 size: 1520
x264 [info]: consecutive B-frames: 6.3% 8.7% 19.8% 15.2% 11.3% 38.8%
x264 [info]: mb I I16..4: 18.5% 78.7% 2.8%
x264 [info]: mb P I16..4: 6.9% 9.0% 0.9% P16..4: 39.3% 9.1% 5.7% 0.0% 0.0% skip:29.2%
x264 [info]: mb B I16..4: 0.6% 0.6% 0.1% B16..8: 24.9% 4.6% 0.9% direct: 1.6% skip:66.8% L0:36.7% L1:59.7% BI: 3.6%
x264 [info]: 8x8 transform intra:56.6% inter:86.5%
x264 [info]: direct mvs spatial:99.8% temporal:0.2%
x264 [info]: coded y,uvDC,uvAC intra: 44.6% 69.5% 30.5% inter: 10.0% 20.0% 0.9%
x264 [info]: i16 v,h,dc,p: 39% 30% 12% 19%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 18% 24% 5% 5% 7% 6% 6% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 16% 14% 6% 8% 9% 6% 6% 5%
x264 [info]: i8c dc,h,v,p: 43% 31% 19% 8%
x264 [info]: Weighted P-Frames: Y:2.3% UV:1.6%
x264 [info]: ref P L0: 63.0% 9.4% 13.5% 3.3% 2.8% 2.1% 2.1% 0.9% 1.0% 1.2% 0.6% 0.0%
x264 [info]: ref B L0: 89.5% 6.3% 1.9% 0.7% 0.5% 0.4% 0.4% 0.2% 0.1%
x264 [info]: ref B L1: 95.3% 4.7%
x264 [info]: kb/s:615.48
encoded 1501 frames, 10.09 fps, 615.48 kb/s
finished after 00:02:29.829
finished...

deleted C:\1\encodingTempAvisynthSkript_20_20_36_931.avs
deleted C:\1\1_20_20_36_931.d2v
mkvmerge started...
Starting Main@20:26:44.570:
"C:\8_Soft\Multimedia\#Video\Hybrid\mkvmerge.exe" --ui-language en -o "C:\1\1.mkv" --clusters-in-meta-seek -d 0 --default-track 0:yes --default-duration 0:25fps --aspect-ratio-factor 0:16/15 --fourcc 0:MP4V --no-chapters --forced-track 0:yes --no-audio --no-subtitles "C:\1\1_20_20_36_931_13.264" --default-track 0:yes --forced-track 0:no -a 0 --no-video --no-subtitles --no-chapters "C:\1\1__aid_1001__20_20_36_931_09.aac"
finished after 00:00:02.540
finished...

deleted C:\1\1_20_20_36_931_13.264
deleted C:\1\1__aid_1001__20_20_36_931_09.aac

Selur
25th April 2012, 18:38
Got it! The problem is a missing space :)
the tsMuxeR call should include '--vbr --cut-end=110s' but according to the DebugLog it includes: --vbr--cut-end=110s
(btw. the report and the normal log, really don't help me at all, there are just for normal 'user amusement')

Cu Selur

pdanpdan
25th April 2012, 18:56
still wrong - the space is not fixed (--vbr--cut-end=110s)

Selur
25th April 2012, 18:58
hups,.. uploaded the wrong file :)

pdanpdan
25th April 2012, 19:10
now it's working, thank you

Selur
2nd May 2012, 12:54
Hybrid rev. 2012.05.01.1

*changed*

preview: a/v synch delay handling
mac: set default toolTip font size to 15px
mencoder/mplayer: allow up to 16 instead of 8 threads, requires mencoder/mplayer revision r34866 or later
jobs: abort when user tries to multiplex wma audio into a mkv file, since mkvmerge does not support wma audio

*added*

hidden: toolTipFontSize, option to set the toolTip-fontsize in pixel (mac os: default = 15, everything else: default = system.default)
check: checking if ffmpeg is 32bit (only 32bit ffmpeg can open 32bit avisynth scripts)
avisynth: experimental - video olny - trim-support
x264: support for level 5.2, requires x264 rev. 2197+


*fixed*

analyse: avsInfo output was not properly parsed for audio data (looked into stdErr instead of stdOut output,... DOH!)
avisynth: cut support was ineffective for when mencoder and avisynth were used in combination


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

Cu Selur

Selur
3rd May 2012, 22:10
Hybrid rev. 2012.05.03.1

*fixed*

decoder: don't add '-demuxer lavf -vfm ffmpeg' to mencoder/mplayer call for avisynth input
muxing: problem with x264 pulldown and m2ts output
profile: loading a global profile was accidentally partially disabled in the last build

*added*

input: added support to decode RTV1/RTV2 content through avisynht&avisource if vfw decoders are installed

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

Cu Selur

Selur
5th May 2012, 09:48
Hybrid rev. 2012.05.05.1

*fixed*

vfw: fixed vfw video decoder detection on 64bit systems
profiles: profiles with a '.' in the name weren't detected when saved,...
muxing: accidentally frame count made it's way into the fps options,..


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

Cu Selur

meshaun
6th May 2012, 02:50
Hello Selur,
thought of giving your tool a try and I gotta tell, it's pretty good :) There are a lots of options, selections, tools and I'm satisfied.

It's the tool with a huge filesize huh? unlike other tools, it looks big :)
I'll give it a try, encoding and will tell you more about the usage and all :)

Selur
6th May 2012, 06:12
it uses a lot of tools in the background and I dropped binary compression since it tends to cause false-positives from virus scanners,.. (-> if you run i.e. upx over the binaries they, most of the time, shrink to 30% of the current size)

meshaun
6th May 2012, 06:46
One more thing selur, I used a MeGUI profile earlier, like x264 Slower with 2599 bitrate, it took like, 4 hours for 1st pass and 6 hours for 2nd pass.
But in Hybrid, the first pass took only less than 1hour and 2nd is like 3 hours.
Total time taken was only 4h 30 mins.
But megui takes 12 hours :O

I checked the quality and it's good too mate.
Why is this? Both use 100% CPU and stuff.

Atak_Snajpera
6th May 2012, 13:38
post mediainfo report of those two files

meshaun
6th May 2012, 14:59
I'll put the video settings only ;)
MeGUI :


cabac=1 / ref=8 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2559 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

Hybrid :

cabac=1 / ref=8 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / 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=2pass / mbtree=1 / bitrate=2599 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

Selur
6th May 2012, 17:20
two things that are probably different:
1. Hybrid always sets the vbv-restrictions (unless you select: Profile->Unrestricted) but that should not cause any speed up
2. on a 64bit System Hybrid will use a 64bit x264 version, might be that MeGui is using a 32bit x264 version,...
-> it's probably the difference between using a 32bit and a 64bit version, other than that Hybrid (for Windows) and MeGui both use the x264 binaries from http://www.x264.nl/

Cu Selur

meshaun
7th May 2012, 06:29
yeah, that could be it Selur.
I tried the Global settings thing and I'm happy with it
I am trying to encode a full bluray now and will tell about the output later.

One problem I'm seeing is like, can't we do all the extracting and everything at the job queue? Like, even extracting the subititles and all with the jobs queue? And, is there a cancel button when an extraction of a subtitle or detecting autocrop is running? I can't find any.

Selur
7th May 2012, 06:59
No there is no canceling for subtitle extraction or autocrop and no they can't be done during the queue since:
- the subtitle size is needed for 2pass size prediction
- autocrop needs to be done first so users can normally adjust them and the Profile&Level restriction that influence a lot of things can be adjusted.
-> if you don't want Hybrid to do autocrop checks of extract subtitles, don't tell it to do them in the first place. ;)

meshaun
7th May 2012, 09:05
You got me wrong Selur, that's not what I meant mate.
When I extract a subtitle or do the autocrop, there is no button to cancel the process right? When encoding a full bluray, we are talking about 30 .pgs subs which each is about 30MB. So, when I want to cancel the extracting, I have to close the whole Hybrid program.
Same with the autocrop feature too. There is no cancel button for the ongoing process.

Selur
7th May 2012, 09:11
I know there is no cancel button, but I don't don't get why you want one,.. (btw. iirc. subtitle extraction can be stopped by pressing F12 ;))
There is no option to abort AutoCrop atm., but I can add one for the next release,..

meshaun
7th May 2012, 12:04
Found a small problem.
I loaded a bluray, and tried Autocrop, in both mplayer and avisynth. Both doesn't detect any black borders. But there are black borders.

Selur
7th May 2012, 12:09
Hybrid does Autocrop always through mplayer. :)
You could:
a. change Auto crop thres/mod/count
b. crop manually
other than that without a sample I can't really offer more assistance.

Cu Selur

meshaun
7th May 2012, 12:10
Explain option b to me a bit please.

Selur
7th May 2012, 12:16
You can set the cropping values manually either in avisynth style or in MPlayer style (Crop/Resize->Main->Crop style)
Both styles allow you to specify which part of the image should be displayed/cropped.

Alternatively you can enable 'Crop mode' next to Preview (only available if 'Enable cropping' is enabled) , than you click on 'Crop View', pause the preview, read the tooltip and crop with a visual help.

Cu Selur

meshaun
7th May 2012, 12:30
http://imagezon3.com/images/PFRN.jpg
This is the preview thing. Can't see anything mate.
And what's the options of "a. change Auto crop thres/mod/count"

Selur
7th May 2012, 12:32
Does the normal preview work?

And what's the options of "a. change Auto crop thres/mod/count"
when Crop/Resize->Main->Enable cropping is enabled
you can set 'Auto crop thres/mod/count' under Crop/Resize->Main->Picture Crop (the line at the button of that region)

meshaun
7th May 2012, 12:34
No. Is there something to install?

Selur
7th May 2012, 12:37
read up what to post so I can at least understand what is really happening,.. -> http://www.selur.de/support

meshaun
7th May 2012, 13:51
I have done everything but can't generate the debug file. I ticked that thing on the Internals also. Now what? How to get the file?

meshaun
7th May 2012, 13:56
Got it. PM sent with the debug report

Selur
7th May 2012, 14:37
the debut output you send me does not contain any data related to:
a. the input analysis
b. the preview
from the looks of it you started a jobqueue and stopped it,..

----
Since I'm running into a bunch of problems with the current mencoder/mplayer builds, try if using MPlayer build SB30 from http://www.spirton.com/mplayer-mencoder-subjunk-build/ fixes your problem,..

meshaun
7th May 2012, 15:28
I put the SB30, but still no mate. I noticed, this happens only when loading a full bluray mate. I tried like, 10 .mkv files and the black borders are detected nice and easily.

Selur
7th May 2012, 15:42
do the following:
1. Start Hybrid
2. delete every job in the job queue (press Jobs->Remove All Button)
3. Reset the default settings (Config->Defaults->Reset->All)
close Hybrid
4. Start Hybrid
5. Set a default output path (Config->Path settings->Output Path)
6. Activate the debug output (Config->Internals->Handling->Create debug file)
7. activate Blu-ray input (Main->Blu-ray input)
8. Select the BDMV folder of your Blu-ray on your hdd
(The MPLSSelector dialog should open now)
9. Select the mpls you want (only select one; otherwise I will not look at the debug output) and press the OK-button
Hybrid will now start to analyse the content.
10. Press the Main->Preview-button
11. close the Preview windows
12. close Hybrid
13. look into the Output Folder you specified at 5. and send me the HybridDebugOutput.txt

Cu Selur

meshaun
7th May 2012, 15:51
PM sent with the output that I got from the above list ;)

Selur
7th May 2012, 15:52
I'll get an email notification about the PM and will try to look at it later. (busy atm)

meshaun
8th May 2012, 10:03
So selur, how did it go mate?

Selur
8th May 2012, 13:10
Autocrop is called with:
"D:\Extras\Programs\Hybrid\mplayer.exe" -noframedrop -speed 100 -quiet "D:\Extras\Downloads\MEN_IN_BLACK_II\BDMV\STREAM\00001.m2ts" -nosound -vo null -ao null -demuxer 35 -vfm ffmpeg -nosub -fps 23.976 -frames 100 -vf cropdetect=24:2 -sstep 10
and mplayer only outputs:
[CROP] Crop area: X: 0..1919 Y: 0..1079 (-vf crop=1920:1080:0:0).
for your source, so Hybrid assumes that there is no cropping needed,... sorry, but I have no idea why this does not work for you,.. tested it with some blu-ray content I have here and cropping worked fine,..

meshaun
8th May 2012, 16:23
Selur, the thing is, I can't find what's wrong with my blurays. That's the thing. They are originals and perfectly ripped too.
Time will solve the case i guess. I tried another Bluray, same result mate. No cropping detected. But on the .mkv, perfectly done.

Except for this thing, I'm in love with the tool mate. With other encoding tools, It took like more than 24 hours to encode in Placebo, but Hybrid, maybe because of the x264 x64, only less than 12 hours.
Je suis tres content ! Thanks mate

Selur
8th May 2012, 16:27
I would like to help, but I'm totally confused about it, since I tried around 10 BD titles on two different machines (one win7 64bit the other winxp 32bit) both had no problem to preview&crop detect the content,.. :/

Selur
8th May 2012, 20:55
Hybrid rev. 2012.05.08.1:

*fixed*

audio: extraction audio from .avi with mplayer
audio: added '-strict experimantal' to the ffmpeg aac encoding calls (mac only)
audio: crash on rename call after reencoding/extration
audio: problem when fhgaacenc was enabled but not aac encoding
tools: delaycut version detection fixed
automation: autocrop and subtitle passthrough interfered,..
muxing: mkvmerge does not support 'iw' as language, added workaround to change 'iw' to 'he'
muxing: accidentally frame count made it's way into the fps options,..
avisynth: changing qtgmc->bob didn't change the displayer lables (encoding was fine -> just a cosmetic bug)
handling: handling of vfr mkv/mp4 files (remember to enable: 'Config->Automation->Matroska Settings->Scan for streched streams' and 'Config->Input settings->General settings->Always extract timecodes from mp4/mkv/ files' for vfr handling)

*added*

input: option to filter out unwanted content by extension (files with the specified extensions will be ignored)
input: drag&drop now accepts folders (in File input mode) and will also search through all sub-folder for content

*changed*

analysis: speed up interlaced analysis by adding lavthreads
package: switching to an older mplayer/mencoder build since latest builds cause problems (windows only)

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

Cu Selur

meshaun
9th May 2012, 12:18
Thank you for the update Selur :)

Havokdan
9th May 2012, 18:22
I waiting for .avi output :( (Dammed ffmpeg bug)

Selur
9th May 2012, 18:26
me, too. :) All the code is still there but enabling it while the output frame rate will be would only cause to much trouble,.. (sadly no update in the bug-tracker regarding the problem: http://ffmpeg.org/trac/ffmpeg/ticket/978)

Selur
10th May 2012, 17:53
Hybrid rev 2012.05.10.1:

*fixed*

audio: ac3 sample rate/channel count/bitrate combinations, before some non-valid combinations were offered.
analysis: automation - subtitle extraction + interlaced check could cause to Hybrid to stay grayed out
subs: Hybrid now automatically creates necessary mplayer/fontconfig files; otherwise subtitle preview and embedding does not work (mac only)
muxing: timecode handling for vfr->vfr

*changed*

analysis: speed up interlaced analysis by adding lavthreads

*added*

input: option to specify which files Hybrid will support as input (by extension)

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

Cu Selur

meshaun
10th May 2012, 19:13
PM Sent

meshaun
11th May 2012, 12:25
Thanks for the updates selur,
what's the option and where to find, Output the encode in the same input directory.
I did it and but when I select another source, the output directory isn't changing but still the last output directory is seen

Selur
11th May 2012, 12:28
what's the option and where to find, Output the encode in the same input directory.
Config->Path settings->Adjust output path to source path

Cu Selur

Ps.: just for the record:
I get an email notification if:
a. some one answers to this thread
or
b. I get a pm so nobody has to notify me via PM that he will post here or post here that he wrote me a pm

meshaun
11th May 2012, 12:33
hahaha. Sorry ok. I didn't know that. Won't do it again

Selur
11th May 2012, 12:34
No, problem you are not the first. ;)

meshaun
11th May 2012, 19:18
Thanks Selur. The bluray support is on now. Did a awesome job on the autocrop mate :)

meshaun
16th May 2012, 08:37
Abort error : C:\\users\admin\AppData\Local\Temp\2\vid.264 is too small! (byteSize : 0byte)
What's this error mate?

Selur
16th May 2012, 10:40
without a debug output, hard to say, but it seems like x264 crashed and didn't create a proper output file,...

meshaun
16th May 2012, 17:59
Tried the update.
And I found an interesting thing, check this :]
http://imagezon3.com/images/2012/05/16/bpyF.jpg

The Bitrate and SpeeUp aren't detected.

Selur
16th May 2012, 18:03
that's normal :)
SpeedUp is always ? or a specific value if there is a speedUp
bitrate is only detected if MediaInfo detects it,...
---
-> does the update work or not?

meshaun
16th May 2012, 18:28
The update didn't work.
I forgot to get the debug report though.But it's the same error. 264 is too small

Selur
16th May 2012, 18:36
you mentioned 'The second said that there's some syntax or command error. '
What does it say exactly please copy&paste the content of the output and post it or send it to me via pm,...

meshaun
17th May 2012, 02:13
Selur, I think that I did something wrong in selecting the m2ts file from the playlist. I'll trying again now. Will report if something happens.
One more thing, can't select the largest file in the Stream folder and then get the file list mate? that would be easy, because, in the playlist, I see similar files and like alot. So, mistakenly I selected the wrong file to import. That could've been the reason for the above problem.

Selur
17th May 2012, 07:33
One more thing, can't select the largest file in the Stream folder and then get the file list mate?
Why should selecting a file result in a file list?
Blu-ray have extra Playlist files which contain informations regarding which files to playback in which order,...
If you select a single file Hybrid will only open this one file.
If you select the Blu-ray folder in Blu-ray mode Hybrid will show you a selection of all the playlists where you can choose which one you want.
If you select a single playlist file, Hybrid will open the files linked in that playlist, in the order mentioned in the playlist.

So, mistakenly I selected the wrong file to import. That could've been the reason for the above problem.
Like I said please post or pm me the output of the mencoder call,..

meshaun
17th May 2012, 13:38
Still get that error mate. There are only two possible .mpsl files and this is the one with the right resolution of 1920x1080 and the audio file. But still, the video error comes.

Selur
17th May 2012, 13:46
Still get that error mate.
Sure it's the same error? Im mean it did work when I looked at it with teamviewer,.. does it crash directly at the start of the x264 encoding path ? -> if you send me a debug output of the job that is failing, I will look at it,..

meshaun
19th May 2012, 16:19
Will there be a new release with the lastest work you did mate?

Selur
19th May 2012, 16:21
probably tomorrow :)

meshaun
19th May 2012, 16:25
Great. A Big Big Big thank you to you Selur, for all the hard-work done in making efforts and succeeding at making Hybrid perfect :)
Thank you for spending your valuable time on a task like this and Thank You again :)

Selur
19th May 2012, 16:28
No problem,.. and curses to people who author blu-rays with 200+ playlist files and m2ts files with 200 streams,...

meshaun
20th May 2012, 10:08
Selur, umm, I am encoding a movie in CRF 20, 10Bit and slow preset.
It's taking like 17hours for vid only. Umm, that possible.

Because, in 8Bit, very slow preset, the encoding was only 5 hours

Selur
20th May 2012, 10:10
Yes, 10bit is slower than 8bit encoding, but afaik you didn't use preset 'very slow', you just selected it, but did not apply it, so to be fair you should appy the medium preset. ;)

meshaun
20th May 2012, 10:11
used only "Slower" not the very slow. But this much of time? 5 vs 17 hours? is the quality worth it mate?

Selur
20th May 2012, 10:13
depends on what you are encoding,.. 10bit has no problems with banding like 8bit does + it provides better quality,.. -> it's your choice :)

meshaun
20th May 2012, 10:15
CRF Medium in 10Bit will give more quality than 2pass 8Bit very slow? can we compare like that ?
your idea mate.

Selur
20th May 2012, 10:20
crf and 2pass aim for different things.
Use crf if you want a specific 'quality level' (crf 16-22 is normally fine for most people; most stick with 18).
Use 2pass if you aim for a specific average bitrate or specific file size.
-> you can't really compare these two since they aim for different things
if crf&2pass use otherwise the same settings and the output size is the same, the quality will be the same,..

If size is not really a concern stick with crf 18.

Cu Selur

Selur
20th May 2012, 11:19
Hybrid rev. 2012.05.20.1:

*fixed*

input: auto crop detection not working properly on transport stream containers
preview: audio got disabled after "Filter View" was triggered the 1st time
automation: rewrote a lot of code to handle the interactions of 'auto crop', 'pass-through subtitle', 'auto interlaced check'
input: stream selection didn't work properly for multiple video input files
input: better handling or blu-ray input and multi video input files
muxing: problem with mov muxing (on Mac OS X)

*added*

outputPath and temPath variables are now read from .ini if present

*changed*

deinterlace: auto deinterlacing will only change the deinterlaced if the content is detected as interlaced and the deinterlacer is ment for IVTC or the content is telecine and the deinterlacer is ment for deinterlacing.
output: avi output is allowed again, as a workaround to the ffmpeg bug, I'm trying to avoid to mux raw MPEG-4 ASP to .avi; Warning: if you use Hybrid to multiplex raw MPEG-4 ASP video into an .avi file, the output container flags will be wrong.


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

Cu Selur

Havokdan
20th May 2012, 12:17
Thanks!!!!

Arti
20th May 2012, 15:45
Selur where to set the priority?

Selur
20th May 2012, 15:53
Which priority?

Arti
20th May 2012, 16:37
in settings where? low, normal, high coder options?

Selur
20th May 2012, 16:42
I don't know which priority you are speaking of. Assuming you mean the process priority decoders and encoders run in: Hybrid automatically sets everything to the lowest priority (idle / nice -n 19) and does not offer an option to change this. (Mainly because I see no good reason why one would want to,...)

Arti
20th May 2012, 16:49
OK Thanks ;)

meshaun
23rd May 2012, 15:40
New version coming up with the new release of x264?

Selur
23rd May 2012, 15:48
1st I need to read the changelog and figure out what has changed,... -> you can use the latest version with Hybrid, just download it from x264.nl and copy it into you Hybrid folder. (you need to rename the 10bit version to x264-10bit.exe before copying it to the Hybrid older)

meshaun
23rd May 2012, 16:25
I'll wait for the official build of the latest Hybrid, which I believe that is perfct :)

Selur
23rd May 2012, 16:58
Hybrid rev. 2012.05.23.1

*fixed*

analyse: mplayer detecting unsupported audio streams
filtering: bug in fraction<>decimal conversion
chapter: visual chapter point selection
cut: dvd cut support
audio: using ffmpegs internal encoder & sox caused output to be mono

*changed*

audio: now automatically fix audio streams with delaycut, if DVD is source and target is mp4 file

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

Cu Selur

Ps.: Hybrid is definitely not perfect, but I'm trying to do my best to fix bugs when they are reported. :)

devaster
30th May 2012, 19:17
hi can u rebuilt a cuda encoder against latest CUDA 5.0 (only for testing - on GT460 it is using only half of GPU) ?

Selur
30th May 2012, 19:23
I'll look into it on the weekend,..

Selur
31st May 2012, 07:52
Had a quick look, cuda 5.0 is not released yet and I don't plan to apply to become a CUDA developer,..
(-> if someone sends me the nvcuvenc.lib, nvcuvenc64.lib, NVEncodeDataTypes.h, NVEncEncoderAPI.h which should come with the CUDA 5 SDK I can compile a version of the command line encoder)

devaster
31st May 2012, 15:32
Had a quick look, cuda 5.0 is not released yet and I don't plan to apply to become a CUDA developer,..
(-> if someone sends me the nvcuvenc.lib, nvcuvenc64.lib, NVEncodeDataTypes.h, NVEncEncoderAPI.h which should come with the CUDA 5 SDK I can compile a version of the command line encoder)


where to send ? gimme target

Selur
31st May 2012, 21:08
Hybrid rev. 2012.5.31.1

*fixed*

input: dvd title selection not correct when dummy tracks were detected
audio: lame encoding was called even when lame was not present
general: fixed some problems when temp/output dir was empty

*added*

cosmetics: mac os progress indication on dock icon
muxing: option to add itunes compatible subtitle infos
tools: checks if ffmpeg/mencoder support mp3lame/vorbis/aac encoding
audio: support for external faac/lame binaries

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

Cu Selur

meshaun
1st June 2012, 08:47
Hello, thanks for the program updates.
I've found myself thinking about the problem that the Number of Scanned Frames in the Autocrop is passing the limit set. I've put 20 but the scan goes passing 20 upto 120 frames and still counting.
What are the possible reasons for this mate?

Selur
1st June 2012, 08:57
your source is probably a mpls file which links to multiple m2ts files, to make sure all these are scanned properly Hybrid will enforce a limit of min fps of frames (so probably 24 for you) per file,... I got some code to change the behavior, but haven't had the time to test it at all,.. will send you a test version in a few minutes. ;)

meshaun
1st June 2012, 09:00
Thank you.
Look at here :

http://www.imagezon3.com/images/2012/06/01/reuY0.jpg

Selur
1st June 2012, 09:03
atm, there's no real limit, all the Blu-rays I own do not have more than 4 m2ts files linked in a mpls so this never made a huge priority on my ToDo list. :)

meshaun
1st June 2012, 09:13
Thank you for the update.
The Problem was fixed.

Selur
1st June 2012, 15:56
Hybrid rev 2012.06.01.1:

*fixed*

analyse: loading dvd input (was probably only broken on windows)
subtitle: extracting subtitles in the subtitle tab

*changed*

autocrop: limit amount of frames scanned for mpls files which link to multiple m2ts files

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

Cu Selur

Selur
3rd June 2012, 06:09
Hybrid rev. 2012.06.02.1

*fixed*

subtitle: 'Add' did not add elements to queue (when not used through automation routine)
subtitle: subtitles sometimes were created a wrong location
extraction: (mac only) exchanged mkvtoolnix with a newer version (still 5.5.0), which already includes the .264 extraction fix

*added*

avisynth: added STPresso
muxing: option to add (multiple) audio, subtitle streams and chapters in an iTunes compatible way

*changed*

autocrop: tweaked autocrop for mpls/m2ts files

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

Cu Selur

meshaun
10th June 2012, 07:18
Hello Selur, I just wanted to thank You, because with the latest Hybrid, am doing perfect. No Errors and problems. And also, guys, Selur is a hardworking dude and fixes errors asap. Thank You Selur for this wonderful tool.

Havokdan
11th June 2012, 11:39
Requests:

-Better interface for batch encoding!
-Easy put sub in to video(hardsubing)

Thanks!

Selur
11th June 2012, 11:45
Easy put sub in to video(hardsubing)
What it complicated the way it is atm? You select a subtitle, enable 'Embed subtitle in frame', (adjust the placing etc if you want), add the subtitle to the subtitle queue.
(Enabling: Config->Automation->Passthrough->Subtitle and Config->Automation->Passthrough->Subtitle->embed first does it automatically for you)

Better interface for batch encoding!
What would be better? What is the current interface lacking?

Please be more precise with request, otherwise I will probably simply ignore them.
Also consider that new features should not interfere with old features, i.e. I won't make a major GUI overhaul for batch processing it that will complicate the normal processing,...

Cu Selur

Havokdan
11th June 2012, 18:49
What it complicated the way it is atm? You select a subtitle, enable 'Embed subtitle in frame', (adjust the placing etc if you want), add the subtitle to the subtitle queue.
(Enabling: Config->Automation->Passthrough->Subtitle and Config->Automation->Passthrough->Subtitle->embed first does it automatically for you)

Thanks for answer!

What would be better? What is the current interface lacking?

The current interface is not very intuitive for batch conversion of files, there could be a window or tab with a list of files to convert and have the option of a profile for each conversion, or something.

Selur
11th June 2012, 18:55
The current interface is not very intuitive for batch conversion of files, there could be a window or tab with a list of files to convert and have the option of a profile for each conversion, or something.
This would collide with the main ways Hybrid is working atm. so I'll probably not add/change it. I'll note it down for when I do the next major overhaul of the GUI, so not all hope is lost but I doubt it will come any time soon.

Havokdan
11th June 2012, 20:12
Thanks!

meshaun
16th June 2012, 04:10
Hi Selur, I came up with a new feature Idea. I don't know if it's currently there within the settings but I didn't find it. I extract like 20 .pgs subtitle files from a bluray sometimes.
Then, when extracting all the subtitles, I have to wait around 2 hours for the Extraction. Why not add an option to add the Extraction to the Queue?

This feature is ideal for Hybrid because of the following points :
1. When encoding a video from a full BD Disc, I'll have to wait for like 2 hours or more for the Extraction Completion.
If hybrid has the Subtitle Extraction Queue, it will be easy.
2. Sometimes I have to encode 2-3 BD's by using the Queue. At those times, extracting subs and waiting for that takes away a lot of time.
3. It will be very easy if there's some "CheckBox" to tick and then click Add to Queue makes the extraction added to the queue as an individual job.

Thanks

Selur
16th June 2012, 07:40
Why not add an option to add the Extraction to the Queue?
Config -> Automation -> Passthrough -> Subtitle will automatically extract and add all the subtitles

but you will still have to wait for it to finish, since Hybrid adjusts the file predictions to with the size of the subtitles,...
Since I personally don't use subtitles at all or normally extract them, then run them through BDSup2Sub or other tools to get text subtitle I never had to wait so long. :)
Assuming tsMuxeR allows the extraction of multiple subtitles at the same time I might be able to speed up the whole process by not calling tsMuxeR per Subtitle but calling it one to extract all the subtitles.
Will try to look at it in the next days, I'm really busy due to normal work&co so don't hold your breath, I should have more time next month, but like I wrote, I'll try to look at it the next days,..

Cu Selur

Music Fan
16th June 2012, 15:36
Hi Selur,
here is a suggestion : allow to cut some parts of a video and export the extracts in 1 file, without re-encoding, or only the cut GOP (smart rendering), especially with AVC (h264).
I know that Hybrid is an encoder and not an editor, but this function is very rare and doesn't work correctly on programs supposed to do this.
SolveigMM AVI Trimmer + MKV (a free tool) can do this with progressive AVC but not with interlaced AVC.
I also tried SolveigMM Video Splitter, which is not free, and it works with interlaced AVC (in TS container), but not well, it creates some problems on modified GOP.

The program which will succeed in making it correctly will have a lot of success !

If smart rendering is too complicated to program, the cutting of interlaced AVC on keyframes would already be great.;)

Selur
16th June 2012, 16:04
Hybrid already has some basic cut support. :) (I even fixed the cutting of time codes a while back, but didn't release a new version since I wanted to wait for a new MediaInfo version)
I also wrote a small demo application (http://goo.gl/cwyAa) some time back which could do video-only cutting, which didn't get much feedback, so I didn't pursue it back than.
-> In general cutting with mkvmerge should work fine,.. (at least last time I used the --split Option it worked fine) and a smart rendering option is more a thing for a separate application,... (don't think I'll write one anytime soon, it's fairly easy, but a lot of work, especially if you want a crossplattform solution)

Cu Selur

Music Fan
17th June 2012, 11:08
Hybrid already has some basic cut support. :)
I didn't know, I usually use it only to add chapters to mkv.

I even fixed the cutting of time codes
What do you mean ?

I also wrote a small demo application (http://goo.gl/cwyAa) some time back which could do video-only cutting, which didn't get much feedback, so I didn't pursue it back than.
Cool, I'm gonna try this. It would be great to be able to open TS too.

In general cutting with mkvmerge should work fine,.. (at least last time I used the --split Option it worked fine)
It has no preview and one can't cut several parts and merge them at the same time.

a smart rendering option is more a thing for a separate application,... (don't think I'll write one anytime soon, it's fairly easy, but a lot of work, especially if you want a crossplattform solution)
No problem, I can wait ... at least 1 week.:D
Do you know why so many softwares fail to do it correctly if it's easy to program ?

Music Fan
17th June 2012, 11:21
I tried MKCutter, there is a problem : after file analysis, nothing happens.
I tried with 2 MKV and no one of them has header compressed (which is sometimes problematic).

Selur
17th June 2012, 11:25
What do you mean ?
I just wanted to mention, that it is not a dead feature and I try to improve and fix it from time to time.

It would be great to be able to open TS too.
it does not and probably never will,.. because:
a. Transport stream containers (ts/m2ts/mts) are the worthed containers I have ever seen
b. I don't think I will write an application for cutting

Do you know why so many softwares fail to do it correctly if it's easy to program ?
it getting really hard as soon as your input is broken and you have to formats that are not well documented,..
if hdd space is not a problem one could simply write an application that:
0. analyses the input with mediainfo
1. remux the content to mkv using mkvmerge
2. write a small interface that
a. use avisynth&ffmpegsource to preview the content (ffmpegsource allows to see the frame number & type)
b. allows to set cut points
c. generates mkvmerge split calls for the cutpoints
3. reencode parts of the output of 2.c. if frame accurate encoding is needed (here it's a bit tricky since one has to match the settings during encoding to the input file)
4. merge the files that should be merged
5. clean up
6. remux to transport stream if the output needs to be a transport stream

I tried with 2 MKV and no one of them has header compressed (which is sometimes problematic).
If this would have happened 4 month ago I would have probably looked into it, but since I don't have the motivation for it nor will I probably have the time to write a new application and maintain it (next to Hybrid and my normal work) for the next 12 month, that probably is as far as it gets. ;)

Cu Selur

Music Fan
17th June 2012, 11:50
I don't understand very well your sentence, do you mean that you won't look at this problem before one year ?
I hope you will find time and motivation before next year ;)

I just wanted to mention, that it is not a dead feature and I try to improve and fix it from time to time.
Ok, but i meant : "what is the cutting of time codes" ?

if hdd space is not a problem one could simply write an application that (...)
I guess that MKVCutter is already supposed to do that (except for the TS remux).

Selur
17th June 2012, 11:55
I don't understand very well your sentence, do you mean that you won't look at this problem before one year ?
I'm not sure I will ever look at anything regarding mkvcutter again. :)

Ok, but i meant : "what is the cutting of time codes"
when mkv/mp4 files get cut that contain time codes these time codes need to be modified as well, which Hybrid didn't do.

I guess that MKVCutter is already supposed to do that (except for the TS remux).
partially, it allowed to cut, but only 'video only', all non video streams were discarded,.. it was mainly a small test how hard it would be, after realizing that it wouldn't be really hard to write a small application (get's a lot more tricky if it needs to be cross-plattform, which is why I didn't merge it into Hybrid) that could do frame accurate cutting of mkv files and not getting any feedback I dropped the project.

Cu Selur

Music Fan
17th June 2012, 12:21
Thanks for your answers.

I'm not sure I will ever look at anything regarding mkvcutter again.
Ok, thus I hope I will find a software able to cut MKV and/or TS correctly, which doesn't seem to exist right now. As many people are searching for that (I see that on forums), there's a niche to take.

all non video streams were discarded
If one can't keep the sound, it's not useful.

not getting any feedback I dropped the project
If you had talked to us here about this project, I'm sure some Hybrid users would have tested it, including me.
You should maybe wait that it becomes to be known, it takes some time.
Anyway, if you don't have time, I understand that you abandon it.

pdanpdan
18th June 2012, 20:26
hello, I think there is a problem with converting audio in avi DV (the format with audio interleaved with video), in the extraction stage
- the line is "C:\8_Soft\Multimedia\#Video\Hybrid\ffmpeg.exe" -y -threads 2 -i "D:\__\capture0000.avi" -vn -ar 48000 -acodec pcm_s16le -f mov "D:\__\capture0000 DELAY -33ms__aid_0__22_11_22_021_01.mov"
- when -vn is present there is no output (in fact it autputs a 8k file and crashes)
- if I remove the -vn switch, all works well

Selur
18th June 2012, 20:32
that's strange, -vn should just disable the video which should not cause any problem for pcm output,..
1. Which flavor of Hybrid are you using? (Win 32k/2/64)
2. Can you upload a small sample somewhere and send me a link?
If I can reproduce the problem here, I'll fix it and send you and adjusted version tomorrow.

Cu Selur

pdanpdan
18th June 2012, 21:21
sorry, but if I trim the video small then it works
I'm using Win7 64, and Hybrid 64

I can show here the output of the command line:

D:\__>"C:\8_Soft\Multimedia\#Video\Hybrid\ffmpeg.exe" -y -threads 2 -i "D:\__\capture0000.avi" -vn -ar 48000 -acodec pcm_s16le -f mov "D:\__\capture0000 DELAY -33ms__aid_0__22_11_22_021_01.mov"
ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg developers
built on May 19 2012 00:49:25 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --ena
ble-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutv
ideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 74.101 / 2. 74.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 12.100 / 0. 12.100
libpostproc 52. 0.100 / 52. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'D:\__\capture0000.avi':
Duration: 01:01:41.68, start: 0.000000, bitrate: 28878 kb/s
Stream #0:0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, SAR 16:15 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[abuffer @ 00000000002fb400] format:s16 layout:stereo rate:48000
Output #0, mov, to 'D:\__\capture0000 DELAY -33ms__aid_0__22_11_22_021_01.mov':
Metadata:
encoder : Lavf54.5.100
Stream #0:0: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
size= 8kB time=00:00:00.04 bitrate=1668.2kbits/s
video:0kB audio:8kB global headers:0kB muxing overhead 8.606771%

It stays on "Press [q] to stop, [?] for help" for some minutes, and then outputs the last 2 lines


Without -vn it starts to output immediately

D:\__>"C:\8_Soft\Multimedia\#Video\Hybrid\ffmpeg.exe" -y -threads 2 -i "D:\__\capture0000.avi" -ar 48000 -acodec pcm_s16le -f mov "D:\__\capture0000 DELAY -33ms__aid_0__22_11_22_021_01.mov"
ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg developers
built on May 19 2012 00:49:25 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --ena
ble-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutv
ideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 74.101 / 2. 74.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 12.100 / 0. 12.100
libpostproc 52. 0.100 / 52. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'D:\__\capture0000.avi':
Duration: 01:01:41.68, start: 0.000000, bitrate: 28878 kb/s
Stream #0:0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, SAR 16:15 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[buffer @ 0000000001fb3700] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param:flags=2
[buffersink @ 0000000001fb3aa0] No opaque field provided
[abuffer @ 0000000001fb5360] format:s16 layout:stereo rate:48000
[libx264 @ 0000000001f6ab40] using SAR=16/15
[libx264 @ 0000000001f6ab40] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0000000001f6ab40] profile High, level 3.0
[libx264 @ 0000000001f6ab40] 264 - core 120 r2164 da19765 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=
7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 cons
trained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'D:\__\capture0000 DELAY -33ms__aid_0__22_11_22_021_01.mov':
Metadata:
encoder : Lavf54.5.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=-1--1, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (dvvideo -> libx264)
Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
frame= 292 fps= 16 q=28.0 size= 3586kB time=00:00:09.72 bitrate=3022.0kbits/s


Maybe it has something to do with the size of the file - 12GB?

Selur
19th June 2012, 07:05
Stream #0:0 -> #0:0 (dvvideo -> libx264)
-> this will reencode the video to H.264 using x264, which will:
a. take more space than the pcm stream itself
b. slow down extraction quite a bit, due to the reencoding of the video stream
c. probably cause problems later on in Hybrid since the audio stream is not the first stream in the container
=> leaving -vn out is a bad idea
try if it helps if you use another ffmpeg version (older and newer), from http://ffmpeg.zeranoe.com/builds/

Maybe it has something to do with the size of the file - 12GB?
in general not, but I don't know if there's some pcm/mov problem I'm unaware of,..

pdanpdan
19th June 2012, 07:21
Thank you, i'll try with another ffmpeg this evening and post results here.
I tested the builds and I found out that the last working version is:
ffmpeg-git-b6ff81d-win64-static
and the first not working is:
ffmpeg-git-a4c22e3-win64-static.7z
Then I also tested the 32bit version and it's the same
I'm going to replace the files in hybrid - thanks for the link

cybersharky
25th June 2012, 19:51
How do I use mvtools? I see it in the avisynth folder. Or a better question can I create a custom avs script using hybrid?

Selur
25th June 2012, 20:10
Hybrid does not provide any way to use mvtools on it's own,... (nobody requested anything regarding mvtools, so I never bothered,...)
Since you normally use mvtools in rather complex scripts you are probably better of with using a custom script. :)

Cu Selur

ps.: @pdanpdan: left a note in zeranoe forum regarding the issue, see: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=606 maybe he knows what did change in ffmpeg :)

cybersharky
26th June 2012, 08:29
Hybrid does not provide any way to use mvtools on it's own,... (nobody requested anything regarding mvtools, so I never bothered,...)
Since you normally use mvtools in rather complex scripts you are probably better of with using a custom script. :)

Cu Selur



So, you are saying, I can't use hybrid?

Selur
26th June 2012, 09:00
You can't use Hybrid to write a avisynth script for you that includes custom handling of mvtools.
You can use Hybrid to load an avisynth script,..

cybersharky
26th June 2012, 09:53
You can't use Hybrid to write a avisynth script for you that includes custom handling of mvtools.
You can use Hybrid to load an avisynth script,..

An example please :o

In hybrid:
Select dvd folder as input.
Deinterlace
Crop, resize.
Now load avs file?

Selur
26th June 2012, 10:02
For what? -> Sorry, but I got no clue what you want. :)
Loading an Avisynth script in Hybrid? -> simply open it in Hybrid,... (Main->Input File)
How to use mvtools in Avisynth? -> http://avisynth.org.ru/mvtools/mvtools.html
How to write Avisynth scripts? -> http://avisynth.org/mediawiki/Getting_started (+ a lot of people use Visual Editors to create their Avisynth scripts, like AvsP (http://avisynth.org/qwerpoi/).

cybersharky
26th June 2012, 10:28
Loading an .avs script in hybrid causes x264 options to disappear.
I got this error popup: outData: Color: Yv12, Resolution: 640x480, Frame rate: 25 fps, Length: 63675 frames, PRO

SetMemoryMax(512)
SetMTMode(2,0)
LoadPlugin("D:\MeGUI_OneClick_Preview\tools\avisynth_plugin\mvtools2.dll")
Import("D:\MeGUI_OneClick_Preview\tools\avisynth_plugin\McDegrainSharp.avsi")
LoadPlugin("D:\MeGUI_OneClick_Preview\tools\avisynth_plugin\SmoothAdjust.dll")
#LoadPlugin("D:\MeGUI_OneClick_Preview\tools\avisynth_plugin\TIVTC.dll")
LoadPlugin("D:\MeGUI_OneClick_Preview\tools\dgindex\DGDecode.dll")
mpeg2source("C:\Users\me\Documents\DVDrips\CRUSADE_DISC_1_E3\VIDEO_TS\VTS_01_1.d2v", info=3)
#tfm(pp=0)
doubleweave().selectodd()
#deinterlace
crop(8, 0, -8, 0)
Spline36Resize(640,480).Sharpen(0.2)
Smoothlevels(preset="tv2pc",TVrange=false)

McDegrainSharp()

Selur
26th June 2012, 10:31
strange, doesn't disappear here,.. what version of Hybrid are you using?

Cu Selur

Ps.: you probably also need to add 'return last' to the end of your avisynth script,..

Selur
28th June 2012, 09:14
Hybrid rev. 2012.06.28.1

*added*

audio: 7.1 to stereo/5.1 down mix
muxing: option to add (multiple) audio and subtitle streams in a itunes compatible way (mp4 output will also be renamed to m4v)
avisynth: added 'field matching' option to handle content that needs field matching
avisynth: option to disable ffmpegsource single-thread enforcement (you might want to update the avisynth extension)

*fixed*

subtitles: subtitles were not always properly save as UTF-8 which could destroy the content for unicode subtitles
subtitle: bunch of bugs related to text subtitle to ttxt conversion
compatibility: accidentally 29.976 instead of 29.97 was used
input: differentiate between m4v as mp4 container and raw MPEG-4 ASP
audio: problem when reencode thd audio without an ac3 core
audio: delaycut progress
audio: handling of ogg vorbis audio
automation: loop while extracting subtitles/audio infos from input
mkv: using MediaInfos StreamOrder info instead of the ID for mkv versions 0.5.2+

*changed*

resize: 'keep resize for source' is automatically forced for multiInput
audio: custom audio handling on multiInput now allows to specify which audio handling for which source,...
audio: 7.1 to stereo/5.1 down mix
muxing: option to add (multiple) audio and subtitle streams in a itunes compatible way (mp4 output will also be renamed to m4v)
cut: adjusting time codes when cutting
extract/cut: when cutting mkv material 1st cut with mkvmerge than extract with mkvextract, than remux
subtitle: rename tsMuxeR subtitle output files to contain subtitle language
subtitle: when 'All subtitles' is enabled, for transport and mkv streams all subtitles will now be extracted in one go


*Side notes*

There's a bug in mediaInfo, which as been fixed for two weeks but since there has been no new MediaInfo release, Hybrid will still suffer from it, meaning Hybrid won't always detect a/v delay on Linux&Mac.
For more details see: http://sourceforge.net/tracker/index.php?func=detail&aid=3533984&group_id=86862&atid=581181


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

Cu Selur

Selur
4th July 2012, 14:02
Hybrid rev. 2012.07.04.1

*fixed*

profiles: saving a-v combo / audio profiles
profiles: a-v combo profiles not always showing up in Main-tab
input: handling of mkv files with no frame count/rate/mode info
input: crash when loading some files combined with auto routines,...
avisynth: embedding of multiple subtitle sometimes caused a crash

*added*

gimmick: iso creation for Blu-ray/AVCHD if imgBurn is installed on the system and Main->Structure is enabled
model: added option to tell Hybrid to warn if current Config-settings differ from the default Config-settings,...

*changed*

x264: allow to specify a profile even when level is 'unrestricted'

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

Cu Selur

Snakekick
15th July 2012, 19:05
Hello, on ubuntu 12.04 x64 i didn“t get aac encoding working.
mp3 is ok, neroaac und oggenc not work.
Hybrid 2012.07.04.01 used
i add the log for aac:

Selur
15th July 2012, 19:12
will look at it once the attachment is approved by a moderator,... sorry, but your description of your problem is to limited to say anything more

Snakekick
15th July 2012, 20:00
wow.. really fast
the "log" :

Creating 1 jobs,...
-> Creating jobs for source 1,...
-> Generating video calls for: /xxx/Discohits 90' 1-7/Discohits 90` Disc 1/disco1_neu.mkv
createJobs for /xxx/Discohits 90' 1-7/Discohits 90` Disc 1/disco1_neu.mkv
createJob audio...
Added new job with id 20_00_33_591
Starting Main@20:00:38.987:
"/usr/local/bin/mplayer" -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/xxx/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco1_neu DELAY -53ms_und_aid_160__20_00_33_591_01.wav"
finished after 00:01:37.703
finished...

Created /home/test/disco1_neu DELAY -53ms_und_aid_160__20_00_33_591_01.wav (1871.55 MB)
NeroAACEnc started...
Starting Main@20:02:16.723:
"/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/disco1_neu DELAY -53ms_und_aid_160__20_00_33_591_02.aac"
finished after 00:00:00.631 with exitCode 1
finished...

/home/test/disco1_neu DELAY -53ms_und_aid_160__20_00_33_591_02.aac was not created!
Job 20_00_33_591 finished!

Selur
15th July 2012, 20:08
log is just for amusement, doesn't help to track a bug in 90% of all cases ;)
-> need a debugOutput, see: http://www.selur.de/support

Cu Selur

Ps.: side note: if you try to run NeroAacEnc on a 64bit ubuntuu system make sure you install:
sudo apt-get install lib32stdc++6
since NeroAacEnc seems to depend on it,..

Snakekick
15th July 2012, 20:22
on the commandline neroAacEnc work
i activated this option and open the file again, start the encoding and so on.
but now i am to stupid to find the log file.
this is not in the temp folder,not in hybrid folder and not in video souces/destination folder?

Selur
15th July 2012, 20:25
normally Hybrid creates a HybridDebugOutput.txt in the destination folder,...

Snakekick
15th July 2012, 20:31
hehe ok i found it ;)
...
to long to paste

Selur
15th July 2012, 20:33
probably only some of the last lines are interesting ;)
There should be a line which states the 'helper call' and the 'main call'

Snakekick
15th July 2012, 20:38
still to long...

2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Absolute path for neroAacEnc, is /usr/bin/neroAacEnc
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - replacing neroAacEnc with "/usr/bin/neroAacEnc"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - -> "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - setting absolute path for ffmpeg -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav -.
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Absolute path for ffmpeg, is /usr/local/bin/ffmpeg
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - replacing ffmpeg with "/usr/local/bin/ffmpeg"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - -> "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav -
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Connecting process outputs...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Connection helper->main
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS/Title_1_1-45.mp4 ###

helperCall: "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav -
mainCall: "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS/Title_1_1-45.mp4 ### Starting Main@21:26:42.038:
"/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Main call: "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac"
was started,..
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Starting Helper:
"/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav -
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Helper call 1: "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav -
was started,..
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS/Title_1_1-45.mp4 ### finished after 00:00:00.091 with exitCode 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Killing helper,...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Killing process,...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS/Title_1_1-45.mp4 ### finished...

2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Checking for /home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS/Title_1_1-45.mp4 ### /home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac was not created!
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - aborting,.. 21_18_03_301_05_audio
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_18_03_301_05_audio: ABORTED ERROR: /home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac was not created!
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Client parent: 21_18_03_301
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Client free count: 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Client free count: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - finishedJob: 21_18_03_301
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Job 21_18_03_301 finished!
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Client local free job count: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - startJobs,...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Starting parents,..
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - startJobs: 21_26_40_471
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - parallelJobCount: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - m_jobHandler.count(): 0
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Processing:
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Processing: 21_26_40_471_01_audio
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - -> Command size: 1
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - connecting main to handleMplayerOutput
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio: mplayer processing started...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - setTempFile(1) for: mplayer -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - -> should be there after processing: /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Adjusting calls to absolute paths,...
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - setting absolute path for mplayer -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav".
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Absolute path for mplayer, is /usr/local/bin/mplayer
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - replacing mplayer with "/usr/local/bin/mplayer"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - -> "/usr/local/bin/mplayer" -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ###

mainCall: "/usr/local/bin/mplayer" -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### Starting Main@21:26:42.135:
"/usr/local/bin/mplayer" -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav"
2012.07.15 - 21:26:42_linux-64bit_2012.07.04.1 - Main call: "/usr/local/bin/mplayer" -v -mc 0 -vc dummy -nocorrect-pts -aid 160 dvd://1 -dvd-device "/home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/VIDEO_TS" -dumpaudio -dumpfile "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav"
was started,..
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### finished after 00:01:29.201
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Killing process,...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### finished...

2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Checking for /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_01_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### Created /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav (1871.55 MB)
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Processing: 21_26_40_471_01_audio
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Processing: 21_26_40_471_02_audio
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - -> Command size: 2
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - connecting main to handleNeroAACEncOutput
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio: NeroAACEnc processing started
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### NeroAACEnc started...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Setting helper,...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - setTempFile(2) for: neroAacEnc -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - -> should be there after processing: /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Adjusting calls to absolute paths,...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - setting absolute path for neroAacEnc -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac".
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Absolute path for neroAacEnc, is /usr/bin/neroAacEnc
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - replacing neroAacEnc with "/usr/bin/neroAacEnc"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - -> "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - setting absolute path for ffmpeg -y -threads 4 -v -10 -i "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav" -ac 2 -acodec pcm_s16le -f wav -.
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Absolute path for ffmpeg, is /usr/local/bin/ffmpeg
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - replacing ffmpeg with "/usr/local/bin/ffmpeg"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - -> "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav" -ac 2 -acodec pcm_s16le -f wav -
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Connecting process outputs...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Connection helper->main
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ###

helperCall: "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav" -ac 2 -acodec pcm_s16le -f wav -
mainCall: "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### Starting Main@21:28:11.378:
"/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac"
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Main call: "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac"
was started,..
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Starting Helper:
"/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav" -ac 2 -acodec pcm_s16le -f wav -
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Helper call 1: "/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav" -ac 2 -acodec pcm_s16le -f wav -
was started,..
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### finished after 00:00:00.463 with exitCode 1
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Killing helper,...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Killing process,...
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### finished...

2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - Checking for /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio ### /home/raid/.mldonkey/incoming/torrent/Discohits 90' 1-7/Discohits 90` Disc 1/disco2.mkv ### /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac was not created!
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - aborting,.. 21_26_40_471_02_audio
2012.07.15 - 21:28:11_linux-64bit_2012.07.04.1 - 21_26_40_471_02_audio: ABORTED ERROR: /home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_02.aac was not created!

Snakekick
15th July 2012, 20:42
i send a e mail with the log. i hope this is ok for you.
thanks

Selur
15th July 2012, 20:42
since '/home/test/disco2 DELAY -53ms_und_aid_160__21_26_40_471_01.wav' was created and ahas a size of 1871.55 MB, the question is what happens if you call:
a.
"/usr/local/bin/ffmpeg" -y -threads 4 -v -10 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav - | "/usr/bin/neroAacEnc" -br 128000 -ignorelength -if - -of "/home/test/Title_1_1-45_und_aid_160__21_18_03_301_05.aac"
and b.
"/usr/local/bin/ffmpeg" -y -threads 4 -i "/home/test/Title_1_1-45 DELAY -53ms_und_aid_160__21_18_03_301_02.wav" -ac 2 -acodec pcm_s16le -f wav /dev/null
the output of these should hopefully provide some additional infos

meshaun
22nd July 2012, 16:54
Hello Selur,
all the things are running perfect and I am happy with the performance and features of Hybrid.
While encoding, I came of a small problem and I want to clear it out.

This is a screencap of the encoding box and what's with the Time Remaining aka Rest-time?
http://www.imagezon3.com/images/2012/07/22/Lz0d.jpg

Selur
22nd July 2012, 17:50
no clue never seen it, probably a small bug related to the current Hybrid version you use + the way x264 posts the rest time,.. -> what x264 version are you using?

meshaun
23rd July 2012, 01:13
The latest. Updated from the x264.nl

Selur
23rd July 2012, 07:15
fixed,..

alter4
24th July 2012, 21:42
Hi guys,
I definitely cant use x264 zones feature.
It asks me about frames number that I cant bind to time intervals.
Are there any best practices?

Selur
24th July 2012, 21:57
I definitely cant use x264 zones feature.
not sure how to help if you definitely can't use the zone feature, works fine here. :)

It asks me about frames number that I cant bind to time intervals.
Are there any best practices?
x264s zone option works with frames:
--zones <zone0>/<zone1>/... Tweak the bitrate of regions of the video
Each zone is of the form
<start frame>,<end frame>,<option>
where <option> is either
q=<integer> (force QP)
or b=<float> (bitrate multiplier) source: x264 --fullhelp
that's why Hybrid wants the user to specify a start and end frame. :)

Assuming your source and target is cfr (constant frame rate): 'frame number'/'frame rate per second' will give you the corresponding time.
startFrame: 100 endFrame: 2000 with a frame rate of 25 fps would then define a 36 second zone 00:00:04 to 00:00:40.
(zones can get tricky if source or target is vfr or frame rate is changed,..)

Are there any best practices?
Only use it if you know what you are doing, normally one should not mess with x264s rate control. ;)

Cu Selur

meshaun
29th July 2012, 02:33
Selur,
as an Encoder myself, I thought of asking for a feature that will be useful to most of the Encoders. That is, create a small sample file of the Output.
I got this idea from the thumbnail idea that you've already implemented and so, why not a sample as an output too? Maybe not in all formats but samples in .mkv would do fine.

Selur
25th August 2012, 17:48
Hybrid rev. 2012.08.25.1

*fixed*

thumbs: fixed crash if thumb nail creation was active for audio only jobs
subtitle: overwriting font size didn't work
subtitle: ssa subtitle accidently got .srt extension during extraction
subtitle: subtitle language tagging sometimes did not work properly
subtitle: filtering of subtitle queue for Blu-ray
input: handling of mkv files with no frame count/rate/mode info
avisynth: disable MT support if TextSub is used
avisynth: option to disable ffmpegsource single-thread enforcement
avisynth: srt subtitle styling
preview: subtitle style overwriting not always viewable in preview
timecode: if the last time code entry is a zero, it will be removed
analyse: crash when MediaInfo detected 'Original Frame rate'- and no 'Frame rate'-info.
avc: sometimes avcLevel restriction got triggered with input instead of output resolution
job: Blu-ray + 'Queue Titles'
audio: dts-hd channel count 8 / 6 detected as 6 instead of 8
audio: automatically call to5.1 if input has 7.1 channels and output is ac3/dts
x264: crash when enabling 'minimize AVC Level'
x264: crf as zone option
x264: output naming broke if output x264-10bit/9bit was used and output name/folder contained x264 in it.
x264: progress to newest changes in r2204
input: mac build ignoring keyboard input

*added*

subtitle: option to enforce subtitling through mencoder even when avisynth filters are used
joblist: option to get via right-click to the output folder
warning: splitting from avi/mov/raw output is not supported atm.
muxing: option to create a 1min sample file from the middle during mkv creation
cuda: option to specify which gpu is used

*changed*

general: lowered mplayer/mencoder lavdthreads count to a maximum of 8 again
general: disable qaac support if Apple Application Support is not installed (comes with Quicktime and/or iTunes)
avisynth: added option to en-/disable if Hybrid converts .srt subtitles to .ass before embedding
analyse: read analyzer output as utf-8 encoded
analyse: MediaInfo detecteds 'Original Frame rate'- but no 'Frame rate'-info, 'Frame rate' is set to the value of 'Frame rate'
subtitle: copy subtitle to tempPath before using
audio: allow vbr preset 6 when fhgaacenc version >= 20120624
audio: remove qaac if 'Apple Application Support' is not installed
audio: remove fhgaacenc if WinAmp is not installed and the necessary libraries are also not present in the Hybrid folder
audio: added warning when trying to encode 7.1 audio (can't be done with Hybrid since none of it's decoders can handle 7.1 input audio properly)

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

Cu Selur

Selur
29th August 2012, 16:44
Hybrid rev. 2012.08.29.1

*fixed*

x264: command line import didn't enable 'x264->Main->Restriction Settings->Hardware' when importing '--bluray-compat'
audio: don't do truehd->wav conversion, just because delaycut is enabled
audio: typo/formating when extraction audio with mplayer
decode: making sure ffmpeg also disables subtitles during decoding
preview: avisynth filtering was used in preview even if video was set to 'ignore' or 'passthrough'

*added*

analysis: option to select whether or not Hybrid will use 'Original pixel aspect ratio' or 'Pixel aspect ratio' when both are presented through the MediaInfo-analyzer

*changed*

tools: recheck tool version when the path to the tool was changed manually.

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

Cu Selur

pintcat
30th August 2012, 11:36
I'm unable to encode an audio stream within an old mpeg1 video. The stream format is mp2 and is supposed to be transcoded to mp3 (the video itself will be converted to xvid in an AVI container), but it is always passed through (reencode is checked of course and lame is ready to go). Do I need a special decoder for mp2? I thought ffmpeg could do the job.

Selur
30th August 2012, 11:43
@pintcat: Nope, that's a bug, probably not hard to fix, if you post what flavor of Hybrid (Windows 32/64/2k, Linux 32/64, Mac) you use, I can send you a fixed version later,..

-> can't reproduce the problem here,.. mp2 reencoding works without a problem,... -> no clue what you did, need more details to reproduce (see: http://www.selur.de/support)

pintcat
30th August 2012, 13:31
Nothing special: I encoded the video with xvid, using a constant quantizer 3 and the audio with lame 128kbs, keeping the original sample rate (44100Hz). Also tried different settings, but no success. the audio stream was added with 'auto add (first)' and in the audi menu I checked 'Reencode audio stream'.
A debug output is attached. I hope this helps a little. It seems like Hybrid simply ignores the audio settings in this particular case.
I will also send you the video (via pm) so you can see for yourself.

Selur
30th August 2012, 13:33
will have to wait till the attachment is approved by a moderator,...

the audio stream was added with 'auto add (first)'
I hope you didn't do the following:
- load your source with audio set to 'ignore'
- set audio to auto add (first) (this adds the audio with the currently configured settings; as default 'passthrough' to the audio queue)
- change audio settings but not the audio queue (this way the settings have changed but the audio queue hasn't)

Selur
30th August 2012, 13:49
I did the following:
1. set "Main->Video handling" to "Xvid"
2. set "Main->Audio handling" to "auto add (first)"
3. enabled "Audio->Reencode Audio stream"
4. set "Audio->Audio Encoding Options->Encoding->Audio format" to "mp3"
4. enable "Audio->Audio Encoding Options->Encoding->LAME"
5. enable "Audio->Audio Encoding Options->Encoding->Keep input sample rate
6. load the video
7. enabled "Main->Generate"
8. pressed "Main->Add to Queue"
9. checked the generated job,...
-> everything looks fine, audio gets reencoded, so my guess is: you did change to 'auto add (first)' before, but configured the settings it should use, after loading the source,...

auto add (first): enables the Audio-tab, but automatically adds the first input audio stream from the input file to the audi job queue with the settings defined in the Audio-tab.
side notes:
- You can still add additional audio streams in the Audio-tab.)
- Setting will not adjust to changes regarding the audio format after loading the source!source: the 'audio handling'-tooltip

Cu Selur

Brazil2
30th August 2012, 15:05
Hybrid rev. 2012.08.29.1
"/sites/default/files/hybrid_downloads/Hybrid_120829_binary.zip" could not be found.

That's the QT 4.7 32-bit build ;)

Selur
30th August 2012, 15:10
fixed -> seem like I forgot to upload it :)

pintcat
30th August 2012, 18:12
I hope you didn't do the following:
- load your source with audio set to 'ignore'
- set audio to auto add (first) (this adds the audio with the currently configured settings; as default 'passthrough' to the audio queue)
- change audio settings but not the audio queue (this way the settings have changed but the audio queue hasn't)

Bingo! So in the end all was my fault again :) Now it works as it should.
In the meantime I encountered a few more oddities, but I'll have have to do more testing first and see whether I did something stupid or what else causes the program to fail.
Thanx for the nice support so far!

Selur
30th August 2012, 18:16
remember: if you describe in a step-by-step manor what you are doing, it's easier to reproduce and 'fix' if it's a bug. ;)

pintcat
31st August 2012, 10:06
Two questions...

1: I'm using my own ffmpeg build. To keep the file size small, I disabled all the additional encoders and some other stuff. Anyway, are there any optional ffmpeg-components that are needed or at least suggested for usage with Hybrid?

2: Regarding the absolute paths for the tools... After adding a tool to the list the complete path is saved (i.e. "/home/usr/hybrid/tools/x264"). I'd prefer a more portable way so I can copy the whole folder to other systems. I tried to change the path to "~/hybrid/tools/x264" in the xml file, but it didn't work. Is there another way to make copying easier?

Selur
31st August 2012, 10:32
regarding 1: Hybrid uses ffmpeg a. analyzing (default svn/git should be fine), b. audio/video decoding (default svn/git should be fine, if it can handle your content), c. thumbnail creation (default svn/git should be fine), d. audio encoding (vorbis/libmp3/libfaac/libvo_aacenc/flac support should be added if you want to use it)
regarding 2: on linux&mac Hybrid will look for the tools in the following folders:

next to the hybrid binary
/usr/bin
/usr/sbin
/usr/local/bin
/opt/local/bin
/opt/local/sbin
/usr/X11/bin

If you want a portable version for linux simply copy the tools next to the Hybrid binary and Hybrid should find them. (if users want it I could add an additional option to the misc.ini that would allow to set an additional 'tools'-search path)

Side notes:

tool paths&versions get updated&checked on each start. Hybrid does not support the 'hinting' of an additional 'tools folder' and does not support relative paths.
manually editing one of Hybrids xml files is always a bad idea


Cu Selur

pintcat
1st September 2012, 08:48
Hm... Hybrid doesn't seem to make use of ffmpeg as audio encoder. I now compiled ffmpeg with '--enable-libmp3lame --enable-libfaac --enable-libvorbis --enable-libvo_aacenc', put that binary next to my other tools, removed faac, lame and oggenc and restarted Hybrid. ffmpeg was found, the other audio encoders were removed from the list and - voilą - there's no way to use aac, lame or ogg any more. Not really a problem since I still have all the binaries, just tried it out of curiosity.

Selur
1st September 2012, 08:52
the 'lame' checkbox get's removed as soon as there's no lame binary available, Hybrid will still use lame for mp3 encoding if ffmpeg supports it.
aac support and vorbis support should not get removed,.. will look into it,..

pintcat
1st September 2012, 08:55
They're not removed, but yet they don't work since Hybrid still wants to use the original binaries instead of ffmpeg.

Selur
1st September 2012, 08:57
Which binaries did you remove?

pintcat
1st September 2012, 08:59
lame, oggenc and all aac encoders (neroaac & faac).

Selur
1st September 2012, 09:00
okay, and neither mp3, vorbis nor aac encoding does work?
(at least vorbis should,...)

-> please, create a debug output of the job creation

+ which version of Hybrid do you use (linux 32/64bit)?

pintcat
1st September 2012, 09:16
aac support is completely gone, lame 'can't be found by mencoder', so doesn't even add audio encoding to the job list, ogg-vorbis is added, but doesn't work/quits due to the missing oggenc binary. Bug report (pastebin this time ;) ): http://pastebin.com/Lwct8QmV

Selur
1st September 2012, 09:19
Ah, found the problem,.. will fix and send you a binary via pm,..

pintcat
1st September 2012, 09:23
Nicccce! I'm using the Linux 32bit version for QT4.6.

meshaun
2nd September 2012, 17:30
New MKVToolnix version got released.

Selur
2nd September 2012, 17:35
will add it to the next release, other than that nothing more to do for me since none of the command line switches have changed,.. (btw. there's a new mencoder/mplayer build over at http://www.spirton.com/mplayer-mencoder-subjunk-build/ that fixes a few bugs, i.e. one that caused Hybrid to sometimes not detect lpcm audio streams)

Cu Selur

Selur
9th September 2012, 21:56
Hybrid rev. 2012.09.09.1

*fixed*

audio: ffmpeg->sox->ffmpeg problem (happend during audio encoding through ffmpeg)
audio: audio pcm vs. wav extension problem
audio: if lame/oggenc/faac were missing, Hybrid didn't always switch to ffmpeg during job creation
avisynth: tresh bei sRestore, had wrong value ranges
avisynth: basic sRestore-Support (remember to update the avisynthExtension)
cut: some cut-support related problems
filter: framecount: didn't adjust frame count due to deinterlacing&co
input: chapter selection vs. start/end time problem
thumb: undid some changes from last time,..
audio: adjusted Hybrid to handle completely silent audio streams (crashed since normalization&autogain didn't work)

*added*

audio: support for fdk-aac, due to license issues this is only useful for people who compile their own ffmpeg version with fdk-aac support
audio: 'dynamic range compression'-option, thanks to tebasuna51 who implemented some profiles for BeHappy which I now integrated into Hybrids sox options.
avisynth: TemporalDegrain as grainHandling option
avisynth: option to move deblocking before the deinterlacing block if an avisynth deinterlacer is used
avisynth: 'Show avisynth script'-button some one can have a look at the avisynth script Hybrid generates.
misc: additional paths to search for tools by specifying 'toolPaths' in the misc.ini

*changed*

audio: communication between sox and ffmpeg will now be done using the sox format (otherwise sox->ffmpeg seems to make problems on some sources)
audio: added '--threading' to qaac calls
audio: by default set 'Multithreading for sox' to be enabled
analyse: ignore mplayer video ids of typ png/mjpeg if input is an mp4/mov file; otherwise cover art get's interpreted as video stream
cut: adjust cut start/end times when chapter selection changed
audio: removed unneeded addional '--multi-threaded' in sox call if multithreading is enabled (cosmetics only)
infos: video 'SpeedUp' value not displayed (cosmetics only)

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

Cu Selur

Selur
21st September 2012, 12:34
Hybrid rev. 2012.09.21.1

*fixed*

input: handling of wmv input
input: autocrop problem with some sources (cropped to much)
input: dvd subtitle passthrough
crop: crop limits were ignored
crop/resize: Maximize resolution/letterbox problems
filter: 'Scale output fram rate' was not always interpreted properly
decode: ffmpeg crop call used a wrong order (unbelievable how long this bug survived ;))
audio: missing mkvmerge path in Audio-tab, causes an error when a mkv file was opened in the Audio-tab
audio: unwanted audio streams in queue bug
audio: ffmpeg->sox->ffmpeg problem (happend during audio encoding through ffmpeg)
audio: respect downMix&DRC during autogain/normalize analysis
audio: drc + gain/norm
audio: communication between sox and ffmpeg will now be done using the sox format (otherwise sox->ffmpeg seems to make problems on some sources)
audio: trueHD 5.1 extraction problem,...

*added*

audio: opus encoding support (requires opusenc and supports only raw-output)
audio: additional options for the audio 'gain'-option
resize/crop: "Crop/Resize->misc->Misc->Limit resize to crop resolution": restricts the resize resolution to be always less or equal to the input resolution and thus hinders any upscaling
input: option to set a minimum length for DVD titles for Hybrid not to ignore them

*changed*

general: make sure audio/subtitle/chapter queue are emptied whenever 'Input File' is clicked
audio: switching to ffmpegs aac encoder if libvo_aacenc is selected but more than 2 channels are present (libvo_aacenc) seems only to support mono and stereo output
audio: added w64 to the raw audio extensions
audio: multichannel audio will now be exported as a w64 wave file

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

side note: I also updated the avisynthExtension.7z

Cu Selur

pintcat
21st September 2012, 23:24
Thanx for the update. There's this small glitch at the top left corner of the GUI (Linux Debian 32 bit, QT 4.6)

http://img6.imagebanana.com/img/1m8w1yz8/hybrid.png (http://www.imagebanana.com/)

Selur
22nd September 2012, 00:33
argh, fixed that, but seems like I never committed it. :) (that's the separate log window that appears if you press F10)
it should be gone if you press F10 and then close the window that appears. :)

Selur
16th October 2012, 11:31
Hybrid rev. 2012.10.16.1

*fixed*

audio: if lame/oggenc/faac were missing, Hybrid didn't always switch to ffmpeg during job creation
cosmetics: F10-log showing in left corner on linux&mac systems was broken
video: calculation of maxLevel (4.0 wasn't identified as 4)
avisynth: fft3dgpu needs SetMode(5)
x264: when '--aq-mode 2' was selected '--aq-strength' got ignored,..
job: 'on queue finished' 'call external', allows to specify a command call Hybrid will execute once the queue is finished
config: device root wasn't accepted as valid path
audio: during batch processing audio queue was cleared to early
mkv: option to extract&passthrough attachements
input: auto routines aborted if an raw audio stream was present
input: DivX3.x was falsely detected as MPEG-4 (and it isn't mpeg-4 asp compatible)
input: mp4 vfr handling (mp4fpsmod update)
x264: making sure that only on 32bit systems avisynth scripts can be directly opened through x264

*added*

mkv: options to use '--engage no_simpleblocks' and '--disable-lacing'
crop/resize: option to select old 'autoCrop behavior' and to specify the number sections to be scanned by new behavior
avisynth: option to specifiy order for qtgmc input

*changed*

autocrop: change autocrop calls for some input files
crop/resize: moved AutoCrop options to 'Crop/Resize->Misc'-subtab
preview: added '-nocache' to mplayer call (fixes some avsynch issues with mkv files during preview)
cosmetics: making sure long profile names to not influence the gui width
input: removed *.m4v as raw video extension, since ipod m4v is more frequent than raw mpeg-4 asp streams
thumbnails: resize thumbnail for anamorph output
map MPA2L3 to mp3
changed a lot of internals to better handle non-ANSI based filenames


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


Cu Selur

ps.: Mac update will come some later, having some problems building the dependencies,...

pintcat
20th October 2012, 09:39
Bug report: Hybrid generates a faulty (or at least incomplete) command line for the XviD encoder. Example:
"/usr/bin/mencoder" -lavdopts threads=4 -ovc xvid -xvidencopts pass=1:turbo:bitrate=1100:profile=dxnhtpal:me_quality=6:quant_type=h263:lumi_mask:min_iquant=1:
max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_key_interval=250:keyframe_boost=10:kfthreshold=1:kfreduction=20:quant_type=h263:lumi_mask:
max_bframes=1:bquant_ratio=150:bquant_offset=100:bf_threshold=0:vhq=4:bvhq=1:curve_compression_high=0:curve_compression_low=0:overflow_control_strength=10:
max_overflow_improvement=10:max_overflow_degradation=10:trellis:noqpel:nogmc:nocartoon:chroma_opt:chroma_me:nointerlacing:par=ext:par_width=1:par_height=1:closed_gop:
nopacked:threads=4 -passlogfile /tmp/test video_10_08_59_961_05.stats -noskip -demuxer lavf -vfm ffmpeg -vf scale=720:336,pp=deringing,scale,format=i420 -sws 2
-forcedsubsonly -nosub -nosound -mc 0 "/media/sda6/home/pintcat/test video" -o /dev/null
...would not work, because the stats file name contains a space and thus cannot be produced/found. It should have to be put in quotes like the the output file name. Of course you can avoid this by not using spaces in file names ;)

Selur
20th October 2012, 12:39
will fix, can send you a fixed version if you tell me which linux/mac version you use

pintcat
20th October 2012, 13:09
Thanx for that :) I'm still using Linux with QT 4.6

Selur
20th October 2012, 13:11
32 or 64bit?

pintcat
20th October 2012, 13:35
32bit, forgot to mention.

Selur
20th October 2012, 14:41
I'm only logging in remote to my linux machine via ssh, so send me some feedback if the problem is fixed. (send you a link to a hopefully fixed version)

digitall.h
28th October 2012, 20:53
Thank you Selur for programming this useful tool. I find it very intuitive, helpful, comprehensive and well done. Congratulations.

I'm on Linux Mint KDE 13.
I have Hybrid 2012.10.16.1 installed (and running right now!).
I installed almost every tool needed by Hybrid, except mkv* tools (I don't plan to use mkv by now), Windows things (avisynth, I hope some day avxsynth...), and few other tools.
The mplayer version installed in Mint is mplayer2.

When I use DVD input, and go to Filtering tab, under Denoise/Sharpen/... I have all filters greyed out but Gradfun.
I cannot activate any filter.
I read that filtering is done by mencoder, so I think this problem is not related to mplayer version (I preferred not to uninstall it since it came with the distro, and I don't know if it will break things).
I read the thread, and searched the forums, and I didn't find any clue.

Can you please give me some suggestion?.

Selur
28th October 2012, 21:26
I cannot activate any filter.
probably because mplayer and mencoder are missing, this happens if Hybrid thinks it can only use ffmpeg,..

The mplayer version installed in Mint is mplayer2.
okay,... not sure if mplayer2 supports everything mplayer&mencoder did nowadays, I know it didn't so so half a year ago,..
The MEncoder codebase was thoroughly rotten and has been deleted. A different solution to provide some encoding functionality will be added in a future version.
source: http://www.mplayer2.org/differences/#differences
so there's probably still some stuff missing,..

-> Since mplayer2 and mplayer should be quite different, I see no harm in installing mplayer&mencoder additionally to mplayer2. (you normally should not have to deinstall mplayer2 to use mplayer&mencoder)

Cu Selur

digitall.h
28th October 2012, 23:05
Thanx for your fast answer.

probably because mplayer and mencoder are missing, this happens if Hybrid thinks it can only use ffmpeg,..
They both are installed, indeed: mencoder, and mplayer2.

-> Since mplayer2 and mplayer should be quite different, I see no harm in installing mplayer&mencoder additionally to mplayer2. (you normally should not have to deinstall mplayer2 to use mplayer&mencoder)
But when I select mplayer in synaptic, it marks mplayer2 to uninstall it...
I'm afraid about uninstalling mplayer2, will it be advisable?. :confused:


Meanwhile, I finished first encode. And after 6 hours (not bad) it aborted when muxing (MP4Box) with an exitCode1. :eek:
I keep the streams. Audio stream plays well. Chapters look good (don't know if in the right format...) in Kate. Cannot play the *.264 stream in VLC or Xine or Kaffeine, but it opens well in MediaInfo (and seems correct) and in tsMuxerGUI.
Can I get more info about the origin of the error?. And how can I solve it?.

Selur
29th October 2012, 02:02
Can I get more info about the origin of the error?. And how can I solve it?.
Sure, if you enable the DebugOutput a DebugOutput file should get created which should contain more infos. Other than that I can't really say much about the problem without more details.

jouchan
29th October 2012, 02:49
hi selur..:D
how to change resolution (automatic resize?)?
ex: i have video, 1280x720 (720p) then i want to change to 480p with automatic resize

Selur
29th October 2012, 07:18
how to change resolution (automatic resize?)?
ex: i have video, 1280x720 (720p) then i want to change to 480p with automatic resize

enable Crop/Resize->Enable resizing
set target width to 720 by setting to Crop/Resize->Picture Resize->Target resolution->720 (height should be grayed out since "Auto adjust" is set to "Height")
activate letterbox by enabling "Crop/Resize->Add borders to fit size" and setting: "Crop/Resize->Letterbox->Width" to 720 and "Crop/Resize->Letterbox->Height" to 480
make sure, "Crop/Resize->Misc->Keep resize for new source" is enabled (which is the default value)

digitall.h
29th October 2012, 09:16
Hi Selur,
I redid the encode, with the same result and exitCode1.

I had enabled Create debug file, level:1, is this what you suggested by with 'enable DebugOutput'?.
Where is the debug file stored?. I cannot find it.

Selur
29th October 2012, 09:18
Where is the debug file stored?. I cannot find it.
should be next to your output file

I had enabled Create debug file, level:1, is this what you suggested by with 'enable DebugOutput'?.
depending on what DebugLevel you choose more/less data will be visible normally level 1 or 2 is enough,...

digitall.h
29th October 2012, 09:52
I cannot find the debug file! :mad:
I searched in output (where streams are, in /tmp), in /home, in the folder where the DVD files are, in ~/.hybrid,... No debug file.

To get some information I tried the hybrid job command in the command line:
"/usr/bin/MP4Box" -add "/tmp/gand_15_53_21_451_04.264"#video:fps=25:par=16/15:delay=80 -brand avc1 -add "/tmp/gand ms_fr_aid_128__15_53_21_451_02.ac3"#audio -tmp "/tmp" -new "/home/ximo/Gandahar/Gandahar.mp4"
I just put video and audio, and no chapters or subs, to identify the error.
With that code I get the following error:
Error importing /tmp/gand_15_53_21_451_04.264#video:fps=25:par=16/15:delay=80: I/O Error
Does this help?.

Selur
29th October 2012, 09:58
Does this help?
No, it just sais that mp4box doesn't like the video stream. It does not provide any informations where how the videostream was created etc.

I cannot find the debug file!
judging from the output file ("/home/ximo/Gandahar/Gandahar.mp4"), the HybridDebugOutput.txt should be located in "/home/ximo/Gandahar/"

digitall.h
29th October 2012, 20:40
judging from the output file ("/home/ximo/Gandahar/Gandahar.mp4"), the HybridDebugOutput.txt should be located in "/home/ximo/Gandahar/"
But it's not there... Can you point me to where I am to enable DebugOutput?. Just to confirm I did it well.


No, it just sais that mp4box doesn't like the video stream. It does not provide any informations where how the videostream was created etc.
Find below the x264 command from the log tab:
"/usr/bin/x264" --preset veryslow --tune film --crf 18 --profile high --level 4.1 --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --fps 25 --input-res 718x572 --output "/tmp/gand_15_53_21_451_04.264" -
If you think it will be of any help, I have the rest of the x264 encoding log.

My MP4Box version:
MP4Box - GPAC version 0.4.6-DEV-rev

And my x264 version:
x264 core:120 r2151 a3f4407

I'm sorry, I'm lost with this error. I may try another encode, but I would like to know what happened to this one.

Selur
29th October 2012, 20:57
Can you point me to where I am to enable DebugOutput?. Just to confirm I did it well.
Config->Internals->Handling->Create debug file (see: http://www.selur.de/support)

I'm sorry, I'm lost with this error. I may try another encode, but I would like to know what happened to this one.
Can't really help you since the infos you provide are by far not enough so spot any problem,...

x264 core:120 r2151 a3f4407
this is probably not the cause of your problem, but you might want to update your x264 version (r2151 is from February of this year,... current version is r2216)

Cu Selur

digitall.h
29th October 2012, 21:42
Config->Internals->Handling->Create debug file
Well, it was already enabled...

Can't really help you since the infos you provide are by far not enough so spot any problem,...
Please, tell me what information would be helpful.

Most probably this is not an error in Hybrid, and I'm just making you waste your time...
Hybrid analyzed the files, and streams, and extracted the audio, and adjusted it with DelayCut. It then created a x264 script that encoded a 264 raw stream. Then tried to mux the generated streams with MP4Box, and here came the error... Apparently something wrong in the video stream, according to mP4Box output.

The x264 script looks good. It takes the video from stdin, isn't it?. But I don't see in the log where the video is 'sent' from, is it from mplayer?.
Is there any tool/program to analyze the generated stream and try to detect where the problem is?.

Selur
29th October 2012, 21:50
The x264 script looks good. It takes the video from stdin, isn't it?.
yes

But I don't see in the log where the video is 'sent' from, is it from mplayer?.
this and other informations are present in the DebugOutput, the log only contains some rudimentary infos :)
You can see the calls in the Job Queue if you disable "Minimize job command lines" (in the upper right corner)

If you tell me if you use a 32bit or a 64bit version I can compile my latest development build for you,...

Cu Selur

digitall.h
29th October 2012, 22:37
Yes, I looked at autosavedJobs.xml and could see the pipe:
mencoder -ovc raw -noskip -field-dominance -1 -vf yadif=0,crop=718:572:0:2,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -really-quiet -of rawvideo -o -
-dvd-device "/home/ximo/gand/VIDEO_TS" dvd://1 | x264 --preset veryslow --tune film --crf 18 --profile high --level 4.1 --aq-mode 2 --vbv-maxrate 62500
--vbv-bufsize 78125 --sar 16:15 --fps 25 --input-res 718x572 --output "/tmp/gand_15_53_21_451_04.264" -
I see that the video is piped with mencoder and not mplayer, so no problem here with mplayer2.

Related to my first question, not being able to apply filtering, I loaded a new file in Hybrid and at first I had filtering enabled. But I didn't touch anything. I went back to crop/resize, and when I went forth again to filtering, it was greyed out. I will try to reproduce it with a new file.

If you tell me if you use a 32bit or a 64bit version I can compile my latest development build for you,...
Great!, thank you. I'm on a 64bit system

Selur
29th October 2012, 22:46
uploaded new development versions, for changes and a link see: http://forum.selur.de/topic22-infos-about-fixed-bugs-etc-in-the-next-release.html

Related to my first question, not being able to apply filtering, I loaded a new file in Hybrid and at first I had filtering enabled. But I didn't touch anything. I went back to crop/resize, and when I went forth again to filtering, it was greyed out. I will try to reproduce it with a new file.
If you can reproduce it please write a step-by-step 'guide' for it so I can reproduce it here too. :)

Cu Selur

digitall.h
29th October 2012, 23:40
Hybrid development version 2012.10.27.1
I reproduced the error:

Select DVD input
Press DVD folder and select the folder
In audio handling select passthrough all
Enable tagging
Press extract subtitles
Go to subtitle tab, select the extracted sub and add to Subtitle queue
In x264 tab general settings select crf, and apply veryslow preset and film preset
In Crop/Resize tab enable cropping, select crop style avisynth and press autocrop
After that in filtering tab filters are greyed out

I also noticed that if I apply a filter, enable filter view and press Filter View, the screen blinks and nothing happens. In the debug file I see no reference to this.
Opposite, if I enable crop view and press Crop View, it does launch a window with the video.

Hope all this is of any help.

Any advice to analyse my first encoded stream to see what was wrong?.

Selur
29th October 2012, 23:51
In the debug file I see no reference to this.
PreviewDebug Output needs DebugLevel 7

Any advice to analyse my first encoded stream to see what was wrong?.
No clue how to analyse the stream to find out what went wrong.

I also noticed that if I apply a filter, enable filter view and press Filter View, the screen blinks and nothing happens.
Opposite, if I enable crop view and press Crop View, it does launch a window with the video.
Strange, the calls should be nearly identical,...

I reproduced the error
-> will try to rerpoduce

Selur
30th October 2012, 00:08
Tried to reproduce the problem, but it works fine here.
Tried on Windows 7, Window XP, Ubuntu 12.04 64bit and Ubuntu 10.04 64bit. :(

going to bed now, will download Linux Mint 13 KDE 64bit, install it in a VM tomorrow and try again to reproduce the problem.

Cu Selur

digitall.h
30th October 2012, 00:20
Hi selur,
well things become more complicated...
When I try a different source (this time not animation but film), I cannot reproduce the Filtering tab problem... :confused:
I will try another animation film.
A problem that just emerges with a particular source?

digitall.h
30th October 2012, 17:11
Hi selur,
I did two full encodes with Hybrid, one anime and one film, with no problem. So I suppose that the problem was in this particular film.
I already encoded this same film with Handbrake, without a problem. Of course, we cannot compare both programs, and I really prefer by far the possibilities to adjust the encoding and muxing and tagging to my taste in Hybrid. But this problematic film was encoded to x264 well with another program, so there's something that Hybrid cannot manage and Handbrake can.

There's another question that maybe was addressed before, sorry me if you already answered it. In one film Hybrid failed in detecting the correct source aspect ratio. It detected 16:15 input PAR. It is a MPEG2 with a Display Aspect Ratio of 16:9, and when I play the Hybrid encode it looks like DAR 4:3, vertically stretched. In Handbrake it detetcts the source film as PAR 64:45, don't know if it is more correct for this film, and if this helps.

Selur
30th October 2012, 17:20
Hybrid uses MediaInfo to read the Pixel Aspect Ratio of the file, so that gives us three possibilities:
a. MediaInfo reports a wrong PAR (and Hybrid uses this wrong PAR)
b. MediaInfo reports the right PAR, but Hybrid interprets it wrong
c. PAR in Source is not correct.
-> Analyse your source with MediaInfo, this should at least clear up if it's b. or not. :)


Before you ask: No, Hybrid does not read the Display Aspect Ratio, but only the PAR. Why?
Simply because:
a. PAR is more concrete Info
b. Since PAR, DAR and resolution are connected, and if one has two of the three the last one can be calculated (https://en.wikipedia.org/wiki/Pixel_aspect_ratio)

Cu Selur

digitall.h
30th October 2012, 17:48
Selur,
I have version MediaInfoLib - v0.7.52

The original film information (MediaInfo GUI) is:
Display aspect ratio: 16:9
(I find this strange, it says DAR and not PAR)

The Hybrid encoded information is:
Display aspect ratio: 4:3

So I think this is situation b.

Selur
30th October 2012, 17:55
If MediaInfo is not showing the PAR, you are probably not using it right ;)
Set Debug->'Details - 10' to see all the infos MediaInfo offers. :D
If there was no PAR, Hybrid would assume 1:1, but I bet that this is not the case with your source. ;)

digitall.h
30th October 2012, 18:24
If MediaInfo is not showing the PAR, you are probably not using it right
Of course, you're right.
I'm using the GUI, but in Debug I did not select 'Complete' (in my version there's no 'Details - 10')
And with Complete I now see in the source:
Pixel aspect ratio: 1.422
Display aspect ratio: 1.778
Display aspect ratio: 16:9

And in the Hybrid file:
Pixel aspect ratio: 1.067
Display aspect ratio: 1.333
Display aspect ratio: 4:3
In Hybrid I did not change anything related to PAR, and it identified and encoded the source as 1.067 and not 1.422.
In the other encode it detected and encoded well... :confused:

Selur
30th October 2012, 18:28
would be nice if you could upload a small sample of the source so I can reproduce the problem here.

digitall.h
30th October 2012, 18:32
Do you think the first 1024 Kb vob title can be uploaded?, where to?

digitall.h
30th October 2012, 18:34
BTW, after finishing encode Hybrid cleans up temporal files, but it leaves behind the subtitle (*.idx and *.sub) files and an audio (*.ac3) stream in tmp and in Output folders.
Does it have any purpose?, couldn't everything be cleaned and just deliver de encoded file?

Selur
30th October 2012, 18:38
Subtitles will only be removed if Subtitle->'Delete subtitle after muxing' is enabled.
Audio Files should normally be automatically removed (unless the job processing crashed).
-> without a debug output (and/or a source and a step-by-step guide) I can't reproduce the problem,...

digitall.h
30th October 2012, 18:42
Thank you for the information. I'm sorry for these obvious questions, I suppose I don't know how to use Hybrid well yet...

Where can I upload the first VTS___.VOB of the film?.

Selur
30th October 2012, 18:45
if it's not large you can send it to my email (selur @ hybrid . de) other than that, stuff it in a password protected zip upload it to a file host of your choice and send me the download link and the password via PM

digitall.h
30th October 2012, 23:08
It's 1 GiB in size, too big for mail?

Selur
30th October 2012, 23:12
yes! If you got an gmail account you could upload it to google docs and share it with me.

digitall.h
31st October 2012, 09:09
Well, it took for ages!.
Already uploaded. Interested in your feedback.

digitall.h
1st November 2012, 11:50
@selur,
I tried with a new source.
I had again the problem with filtering being greyed out. But if I set filtering first and crop/resize after, I can adjust filtering. When I apply then crop/resize, filtering is greyed, but with the parameters I set. I don't know if it will be then applied...
But there's another problem. After adjusting all the parameters, when I click on Add to queue I get an error
Enforce ffmpeg is enabled for dvd input! -> create debug output and contact author!
... :eek:

I sent to your mail the HybridDebugOutput file
I don't know what I'm doing wrong. Did you have time to look at the file I sent you?

Selur
1st November 2012, 12:46
Just came home, will look at the file, but the 'Enforce ffmpeg is enabled for dvd input! ' should only happen if there's something wrong with mplayer/mencoder,...

I sent to your mail the HybridDebugOutput file
seems like you forgot to attach the DebugOutput,.. ;)

Looked at the file, here it's detected as PAR 1.422 -> settings up a Mint VM to check if your system is somehow broken of it it's a problem with Hybrid&Mint

Regarding the PAR detection, check if it helps to activate 'Config->Inptu settings->General Settings->Analyse first/last vob of current title', some times DVDs have some wrong infos in the 1st/last vob,.. (some of these 'protection by breaking the content' kind of things)

digitall.h
1st November 2012, 13:16
seems like you forgot to attach the DebugOutput,.. ;)
:D Dooohh!


Looked at the file, here it's detected as PAR 1.422 -> settings up a Mint VM to check if your system is somehow broken of it it's a problem with Hybrid&Mint
This would be a bad thing, at least for me. The best way not to have trouble with a OS (at least for me) is not to change it a lot...

Regarding the PAR detection, check if it helps to activate 'Config->Inptu settings->General Settings->Analyse first/last vob of current title', some times DVDs have some wrong infos in the 1st/last vob,.. (some of these 'protection by breaking the content' kind of things)
I will try and report

Selur
1st November 2012, 13:18
This would be a bad thing, at least for me. Will write a small step-by-step guide what I did, may be that will help to figure out what is going wrong. :)

digitall.h
1st November 2012, 13:34
Hi selur,
on second thoughts, I'm not really sure there's just a problem in Mint, or in the interaction Hybrid&Mint. This strange behaviour (Filtering greyed out, Enforce ffmpeg enabled,...) just appears with some sources, and with other Hybrid doesn't complain at all and detects/encodes/muxes without a problem.

I hope we'll be able to identify the problems since I enjoy Hybrid a lot!.

Selur
1st November 2012, 13:38
What I see in the debug log is:

1. your /usr/bin/mplayer binary points to mplayer2 not to a normal mplayer binary. mencoder on the other hand really points to mencoder.
-> did you not install mplayer?

2. your MediaInfo version is quite old (0.7.52, current is 0.7.61)

3. your x264 build is also quite old (2151, current is 2216)

4. your mp4box version is also relatively old (0.4.6m current is 0.5.1)

5. you ffmpeg version really is old, it's 0.8.3, current is more 1.0 ;)

(your mencoder version is up to date :))

6. sox is 14.3.2 instead of 14.4

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

Also according to the Log the Pixel Aspect Ratio is detected as 1.422, only title 4 (VTS_03_1.VOB) has an aspect ratio of '1.067' the rest has 1.422.

According to the log, 1.422 is displayed and used as input&output PAR.

Selur
1st November 2012, 13:50
I think I found the main problem: 'Enforcing, ffmpeg as decoder since cropHeight%4 != 0'
-> since mencoder had (probably still has) a problem with to resize to a height which isn't mod4 Hybrid enforces, ffmpeg as decoder which causes problems with DVD input, since ffmpeg can't handle DVD input. :)
So you are probably save if you make sure if you crop to mod4 resolutions.
If you use autocrop, simply set Crop/Resize->Advanced Auto Crop Options->mod to 4.
I'll check if current mencoder/mplayer versions still have this problem (totally forgot about it) and if they to enforce mod 4 for autocrop on dvd input.
-> bug is still present :/

=> uploaded a new test version: https://docs.google.com/folder/d/0B_WxUS1XGCPAcF91ZEVzaENqV3c/edit

jouchan
1st November 2012, 15:06
hi selur, i got problem
i have download movie sample from bluray rips, audio format is DTS and 6 channel
but always show this error:

http://s8.postimage.org/bkdnhe5gl/help.jpg

i have try encode other sample, but audio is mp3 and hybrid working normally
how to resolve it (DTS to AAC) :D
and how to change 6 channel to 2 channel?
please help, thanks :D

Selur
1st November 2012, 15:15
see: http://www.selur.de/support -> no debug output, no detailed infos -> I got no clue in what you are doing.

and how to change 6 channel to 2 channel?
set the audio downmix option to something else than 'don't change',...

Just tested here and I got no problem reencoding dts to aac audio.

Cu Selur

digitall.h
1st November 2012, 16:31
Regarding the PAR detection, check if it helps to activate 'Config->Inptu settings->General Settings->Analyse first/last vob of current title', ...
Well, I had that already enabled...

Selur
1st November 2012, 16:34
Well, I had that already enabled...
I assume you tried it also when its disabled? (which is the default)

digitall.h
1st November 2012, 16:53
Also according to the Log the Pixel Aspect Ratio is detected as 1.422, only title 4 (VTS_03_1.VOB) has an aspect ratio of '1.067' the rest has 1.422.

According to the log, 1.422 is displayed and used as input&output PAR.
I'm sorry if I wasn't clear... :(
The Debug I sent you is related to the 'Enforce ffmpeg...' error, in another source (film). In this case the PAR was correctly detected.
The sample I sent you was a previous one, where Hybrid had the incorrect PAR detection problem.

If you use autocrop, simply set Crop/Resize->Advanced Auto Crop Options->mod to 4.
It worked!!. That source that I sent you the Debug, and Hybrid didn't create a Job complainig about a 'Enforce ffmpeg...', now created a Job well.

I'll try to disable first/last vob analyse now to see if Hybrid detects now well the PAR

Selur
1st November 2012, 16:56
The sample I sent you was a previous one, where Hybrid had the incorrect PAR detection problem.
Strange thing is, it does detect the PAR here fine with that sample

digitall.h
1st November 2012, 17:18
I will upload another sample of the first film I tried in Hybrid.
No matter whether I set autocrop to mod2 or mod4, or enable/disable 'Analyse first/last vob of current title', it does detect it as PAR 16/15 when it's 64/45.

Related to the old versions of ffmpeg/mplayer2/mediainfo/x264/sox/... I have nothing to do about it.
I may compile them from source, but I may break other dependencies of programs using them, and loose automatic update.
I could also use a PPA with more updated versions. It's risky and may also break things, but it will update. Do you any of any confident PPA for these programs?. :)
Are these the versions in your Mint VM?

Selur
1st November 2012, 17:26
the mod thing has nothing to do with the PAR problem.

Do you any of any confident PPA for these programs
I posted ppa afaik and use them over at: http://forum.selur.de/topic124-hybriddependencies-for-ubuntu.html
(normally I keep my systems up-to-date, so updating the tools I mentioned normally doesn't break stuff for me,..)

Are these the versions in your Mint VM?
No, haven't set up the VM since the only problem left is the PAR problem which is like I wrote before one of the the possibilities:

a. MediaInfo reports a wrong PAR (and Hybrid uses this wrong PAR)
b. MediaInfo reports the right PAR, but Hybrid interprets it wrong
c. PAR in Source is not correct.

I'm still confused about your postings since you said the source would be detected as 1.096, but the debugoutput you send showed that 1.422 was displayed and used.

Cu Selur

digitall.h
1st November 2012, 17:48
I posted ppa afaik and use them over at: http://forum.selur.de/topic124-hybriddependencies-for-ubuntu.html
Great!, very detailed. I had missed that. So you use these PPA regularly, so we can trust. This will just leave not-updated sox and GPAC, not bad.

I'm still confused about your postings since you said the source would be detected as 1.096, but the debugoutput you send showed that 1.422 was displayed and used.
Probably my fault for not explaining well myself:

The DebugOutput was related to the 'Enforce ffmpeg...' error, solved with mod4.
The source detected as 16/15 was the first one, that I'm uploading now to Google Drive. It is detected as 16/15 whether I enableor disable 'Analyse first/last vob of current title'.

Sorry me if the information was confusing.

digitall.h
1st November 2012, 20:26
selur,
the upload of the first vob of the problematic film is completed.

I see that in the ~motumedia ppa I can also update my mplayer2 version.
I can try first this update and see if it improves some strange behaviours in Hybrid, before uninstalling mplayer2 and substituting it with mplayer, isn't it?.

Is it really necessary for Hybrid properly working a cutting edge version of ffmpeg?.
I'm asking because in ffmpeg ppa they warn it can break some backward compatibility and may find issues, and that some distros are based more in libav than in ffmpeg...

Selur
1st November 2012, 20:28
you don't have to uninstall mplayer2, you simply need to make sure that the binary in /usr/bin points the normal mplayer or configure Hybrid->Config->Tools to use the right version.

googles drive share aborts the download after a few seconds, not sure where the problem is atm. will try to download a bit later,...

digitall.h
1st November 2012, 21:12
When I say I have to uninstall mplayer2 it's because to install mplayer with Synaptic it detects mplayer2 as an incompatibility and marks mplayer2 to be uninstalled.
If I try and manage to install mplayer from ppa, I'm afraid that it will overwrite some binary and break the system. I read that mplayer2 uses the same name as mplayer (i suppose it refers to the binary name), so I cannot have both of them living together in my system at once.

Selur
1st November 2012, 21:15
I read that mplayer2 uses the same name as mplayer (i suppose it refers to the binary name),
argh,..

digitall.h
1st November 2012, 21:18
...yes, I know :rolleyes:

digitall.h
1st November 2012, 21:47
selur, in my last encode (FullMetal Alchemist) I see some artifacts.
There's a bridge hanging with small lines, and the flicker and look jagged, instead of straight lines.
I suppose this is nothing related to Hybrid but with hqdn3d or x264, isn't it?.

digitall.h
4th November 2012, 00:38
Hi selur,
I tried to update mplayer2 with motumedia ppa, but it said the last version failed to build (...)
So I finally decided to uninstall mplayer2 and install mplayer.
Synaptic detected several problems with dependencies, I will see later if these lead to errors.

I have a source that Hybrid detects as PAR 256x135 when it seems to be 64x45.
When I force input PAR to 64x45, and manually apply crop to 702x430 (or whatever cropping) filtering is greyed out...
I can proceed to the end and generate a job.
I am uploading the first VOB and sending you the Debug.
I will run the job tonight, but I'd rather have the chance of applying filtering to it...

Selur
4th November 2012, 00:49
do not just send me a debug output also write a small step-by-step guide what you click in what order so I can reproduce the problem,...

I have a source that Hybrid detects as PAR 256x135 when it seems to be 64x45.
like I wrote before: Hybrid takes the PAR from MediaInfos output, if your source it not flagged properly there's no way for it to know the proper pixel aspect ratio,..

702x430 (or whatever cropping) filtering is greyed out...
mencoder on linux can't handle non mod4 crop resolutions for dvd input -> if you want to filter crop to mod4
430 is not mod4, but mod2,... 430/4 = 107 with rest 2

I am uploading the first VOB and sending you the Debug.
I will run the job tonight, but I'd rather have the chance of applying filtering to it...
first check what PAR MediaInfo reports for you source,... unless the PAR MediaInfo reports and Hybrid uses differs a sample will not help.

digitall.h
4th November 2012, 13:52
I send you a step-by-step by mail.
Yes, you're right, mediainfo reports as being PAR 1.896 (~256x135).

As autocrop did not detect properly the cropping, I did it manually.
I got the mod4 error, and filtering greyed out.
I then changed to 704x428 (mod4), but filtering kept greyed out.
I closed Hybrid, reopen and adjust cropping manually to 704x428, but filtering appears greyed out anyway. It seems like manual crop disables filtering?.

I uploaded the sample anyway, just to see if there's something wrong in my system. I previewed in Hybrid with detected PAR 256x135, and manually entering 64x45, and in 256x135 looks stretched to my eyes, 64x45 more natural.
I also tried to enable/disable analyse first/last vob, with same result.

In last Hybrid build I still find it leaves an *.ac3 audio track in /tmp, and the subtitle track is not deleted, even if I select 'Delete subtitle...'

selur, as always, :thanks: