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

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

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th March 2010, 06:40   #81  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,709
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".
Adub is offline   Reply With Quote
Old 9th March 2010, 07:04   #82  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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)
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 9th March 2010 at 09:21.
Selur is offline   Reply With Quote
Old 9th March 2010, 15:57   #83  |  Link
Riki
Registered User
 
Join Date: Dec 2007
Posts: 152
Although Ive gotten used to it, I also wanted to say that the icon is almost impossible to see with a dark background.
Riki is offline   Reply With Quote
Old 9th March 2010, 16:02   #84  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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:

Gnome:
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 9th March 2010 at 16:19.
Selur is offline   Reply With Quote
Old 9th March 2010, 16:53   #85  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 11th March 2010, 04:42   #86  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,709
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:
Code:
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:
Quote:
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

Last edited by Adub; 11th March 2010 at 05:43.
Adub is offline   Reply With Quote
Old 11th March 2010, 08:46   #87  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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. )

Quote:
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

Quote:
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.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 11th March 2010 at 10:42.
Selur is offline   Reply With Quote
Old 11th March 2010, 14:01   #88  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 13th March 2010, 05:42   #89  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,709
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.

Last edited by Adub; 13th March 2010 at 06:18.
Adub is offline   Reply With Quote
Old 13th March 2010, 09:24   #90  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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:
Quote:
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:
Code:
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
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 13th March 2010 at 10:50.
Selur is offline   Reply With Quote
Old 13th March 2010, 22:04   #91  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th March 2010, 21:25   #92  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th March 2010, 06:43   #93  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,709
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.
Adub is offline   Reply With Quote
Old 16th March 2010, 07:05   #94  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
oh, that's a bug will fix it, the width/height/framerate weren't ment to be saved.
send you a pm.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 16th March 2010 at 07:15.
Selur is offline   Reply With Quote
Old 17th March 2010, 19:00   #95  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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...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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th March 2010, 02:14   #96  |  Link
MuLTiTaSK
Registered User
 
MuLTiTaSK's Avatar
 
Join Date: Nov 2006
Posts: 668
@Selur

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

eac3to in Hybrid?

keep up the great work
MuLTiTaSK is offline   Reply With Quote
Old 18th March 2010, 05:38   #97  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 19th March 2010, 17:47   #98  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 29th March 2010, 20:13   #99  |  Link
Riki
Registered User
 
Join Date: Dec 2007
Posts: 152
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?
Riki is offline   Reply With Quote
Old 29th March 2010, 20:23   #100  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,337
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
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 19:31.


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