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. |
|
|
Thread Tools | Search this Thread | Display Modes |
5th January 2012, 00:47 | #121 | Link | |
Guest
Posts: n/a
|
Quote:
The math that happens so you understand is that you have a start delay of 10s, an end delay of 10s a start cut of 10s and a end cut of 40s. So when calculating the start frame the code first calculates the net start cut value which is startDelay - startCut so in your case 0s becomes the starting value. When calculating the end frame, the end cut value is then calculated by doing -(delayEnd) + endCut which gives you 30s. Hence you get a 30s clip. Please upload it somewhere where I can get it and I'll look into it. Last edited by amtm; 5th January 2012 at 01:01. |
|
5th January 2012, 03:51 | #122 | Link | |
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
That formula is based from the assumption that or you add a delay or you do a start cut.. but in a lot of occasions is very useful to do both example: in this case i want 10 seconds of silence (delay) and then the second from 10 to 40... for a total of 40 seconds.. with this method it decrease the start point with the delay..but the start point it isn't 0 .. so 10s-10 s=0s and it takes from the start the existing audio.... about the track tomorrow i will upload it to you about dcaenc.. you think you will be able to use it in the tool? if you don't there's still the option to support like eac3to the surcode dts encode (throug command line i guess)... not free.. not cheap but better than nothing Last edited by phate89; 5th January 2012 at 03:57. |
|
5th January 2012, 12:06 | #123 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Inside the 'Delay' box seems don't affect to 'Cut' length and the original file length isn't preserved. Quote:
With old/actual DelayCut behaviour you need: 1) Cut your file (10000, 30000) 2) Delay the cut with 10000
__________________
BeHappy, AviSynth audio transcoder. |
||
5th January 2012, 12:24 | #124 | Link | |
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
i think it should be fixed.. |
|
5th January 2012, 15:19 | #125 | Link |
Guest
Posts: n/a
|
So what you want is not a "delay" option but an additional "insert silence" option, correct? This is something we talked about earlier and I will add, but the behavior that happens when you hit "original length" was not changed by me at all. It's the way it has always worked. Other than modifying some data types to get the code to compile in Qt the behavior internal code that calculates target info and does the delaying has not been modified.
I would like to but since I'm in the US it will be tricky in getting it pulled down with the executable without running afoul of patent law. The most likely scenario is to dynamically link it and have it pulled down from some other source that I don't host because I'm not going to get myself into legal issues. Last edited by amtm; 5th January 2012 at 15:28. |
5th January 2012, 15:23 | #126 | Link | ||
Guest
Posts: n/a
|
Quote:
Quote:
So outside of the rounding issue that I've locally fixed, the fixcrc cli issue of Selur and phate's issue with a file are there any other bug reports? I will get to all these feature change requests, etc, but I want to make sure all findable bugs are squashed before I start changing more things. Last edited by amtm; 5th January 2012 at 15:30. |
||
5th January 2012, 16:20 | #127 | Link |
Guest
Posts: n/a
|
So thinking about this more, what you want phate is for any delay value to be treated as an insert silence? Right now what happens is that if your start frame after all the math is done when calculating the target info is negative it will insert the delay as silence. The problem you see, though, is when you are also cutting within the file and you specify a delay which you expect it to first cut the file then add a delay which should be silence as well, correct? Whereas the longstanding behavior has just been to do the math I showed above which is the startDelay - startCut then it calculates where this is in ac3 frames and if it's not a negative you end up with the audio that precedes your cut point not silence. So would everyone agree with changing the behavior that when you specify a cut and delay value that it does the "cut file first then insert silence at the beginning or end" behavior?
|
5th January 2012, 16:27 | #128 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
personally I prefer the two pass step, that is necessary atm.
In the GUI it is easy to force this with two radio buttons that let you change values in the cutting OR the delay groupbox and when you hit PROCESS only the values in the enabled groupbox will be used,.. Cu Selur |
5th January 2012, 16:35 | #129 | Link | |
Guest
Posts: n/a
|
Quote:
1) Apply cut 2) Apply delay when the internal code can just be changed to do this all in one pass or transparent to the user as internally two passes? I guess my question is, does anyone actually want the behavior of both a cut and delay to be applied to not insert silence as the delay but instead just have it shift the start and end cut values by the delay values which it currently does? To cut down on unnecessary steps it seems that if you want the 2nd behavior instead of the first that you should just apply a smaller cut value rather than making the 1st case, which I could see more people wanting, to be more complicated than it needs to be. |
|
5th January 2012, 16:45 | #132 | Link | |||
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
Quote:
Quote:
Like it is implemented now what is the purpose? you can get the same exact behaviour easily substracting the delay to the start cut point.. there are 2 methods to do the same thing. and to do a silenced delay there's no way in one pass.. you have to do it twice.. |
|||
5th January 2012, 16:45 | #133 | Link |
Guest
Posts: n/a
|
Yes, I can update the documentation and provide tooltips. Unless someone has a compelling case to the contrary, I'm going to change the behavior as apply cut then insert delay as silence since this seems more logical to me and cuts down on needing extra steps.
|
5th January 2012, 16:49 | #134 | Link | |||
Guest
Posts: n/a
|
Quote:
Quote:
Quote:
|
|||
5th January 2012, 16:55 | #135 | Link | |
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
this is how i used delaycut and eac3to to do my lossless editing tool and where my programming skills finishes :P |
|
5th January 2012, 16:59 | #136 | Link | |
Guest
Posts: n/a
|
Quote:
|
|
5th January 2012, 18:58 | #137 | Link | |
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
|
|
6th January 2012, 00:28 | #138 | Link |
Guest
Posts: n/a
|
Were you using any specific switches from the CLI? And by "it don't do anything from gui" what does that mean? Having just taken a look at it, I can load it in the GUI and apply delays and cuts and it processes just fine. Same via CLI. Any extra information to help reproduce your crash would be helpful.
|
6th January 2012, 01:07 | #139 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
About dcaenc
Quote:
The frame-length created by dcaenc for, 5.1 48 KHz 1536, is 2012 (actual bitrate 1509) The frame-length created by Surcode/Suite for, 5.1 48 KHz 1536, is 2013 (actual bitrate 1509.75) The frame-length created by dcaenc for, 5.1 48 KHz 768, is 1008 (actual bitrate 756) The frame-length created by Surcode/Suite for, 5.1 48 KHz 768, is 1006 (actual bitrate 754.5) ArcSoft decoder crash when found a frame with different length than first frame (also NicDtsSource crash, libav work without problems). DelayCut can delay dts's created by Surcode/Suite, but not with dts's created by dcaenc.
__________________
BeHappy, AviSynth audio transcoder. |
|
6th January 2012, 07:51 | #140 | Link | |
Registered User
Join Date: Apr 2009
Posts: 153
|
Quote:
|
|
|
|