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. |
2nd April 2013, 19:22 | #14621 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
MP3 durations are fine for me, usually within 1 second of the actual duration (of course this can vary from file to file, VBR files may be more problematic), don't have any AAC at hand. Of course this is with the very latest LAV, maybe something was fixed in ffmpeg.
I tested in MPC-HC, i don't usually play audio with LAV, much better players for this around.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 2nd April 2013 at 19:25. |
3rd April 2013, 00:48 | #14622 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Doing some more ordered chapter testing on files from my archive, there unfortunately seem to be a massive number older files in-the-wild which use a single "hidden + default + ordered" Edition which is expected be be used. I can only assume one bad example ended up copy/pasted into numerous file as a template, during the time period where manual creation via text editor was the only option available. Supporting this behavior I'd say is something were stuck with at this point.
I've yet to come across any files which are just hidden + ordered which expect to be used, but I wouldn't dismiss the possibly since as nev mentioned, haali will use those as well. |
3rd April 2013, 06:44 | #14623 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
I'll go with what Haali does, in this case it seems like a good alternative. So in short, try to use any visible editions if available, otherwise use the first edition in the file. If you have an edition which is Hidden+Default, and there is another edition which is visible, the hidden one will be ignored, and the visible one used. This is what Haali does, and since its still considered quite the "reference" implementation when it comes to ordered chapters, it ensures highest compat with existing files.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
3rd April 2013, 10:23 | #14624 | Link |
Registered User
Join Date: Jun 2011
Posts: 81
|
Does the Dynamic Range Compression feature of LAV Audio only work if the DRC data has already been included in the AC3 stream while encoding? Because I converted a DTS stream to AC3 (using eac3to) but didn't notice any difference for silent or loud scenes with DRC enabled or disabled. If my assumption is correct, is there a way to convert a DTS stream to AC3 so that it includes the correct DRC data?
Also, what does the "Level" percentage in the DRC group affect in the LAV Audio configuration? |
3rd April 2013, 10:25 | #14625 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Yes, it only works for DRC which is specified in the AC3 stream. And the level controls how strong it'll be applied, at 100% the full bitstream DRC is used.
If the bitstream includes DRC is dependent on your encoder, of course.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
3rd April 2013, 14:39 | #14627 | Link |
Registered User
Join Date: Oct 2012
Posts: 66
|
I'd be really careful using DRC when doing DTS -> AC3. DTS tends to not use the -31 dBFS reference level that Dolby uses.
According to this thread, "in order for the Dynamic Range Compression to work as designed, the Dialogue Normalization parameter MUST be properly set first". |
3rd April 2013, 16:32 | #14629 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Here is a new test build for ordered chapters, it should hopefully fix a bunch of remaining issues with segment changes (aspect ratio) and general behaviour in some files with hidden editions (discussed in detail above)
32-bit: http://files.1f0.de/lavf/LAVFilters-...2-g6907169.zip 64-bit: http://files.1f0.de/lavf/LAVFilters-...907169-x64.zip Any feedback is appreciated, as always!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
3rd April 2013, 16:41 | #14630 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Yes it can be useful by exposing "hidden" features of UVD hardware, like MPEG-2, MPEG-4 ASP HW accelerated VLD decoding of UVD2 for example.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
3rd April 2013, 18:26 | #14631 | Link | |
Registered User
Join Date: Mar 2010
Posts: 55
|
Quote:
|
|
3rd April 2013, 18:46 | #14632 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Quote:
New build coming up: 32-bit: http://files.1f0.de/lavf/LAVFilters-...3-g3f9ce87.zip 64-bit: http://files.1f0.de/lavf/LAVFilters-...f9ce87-x64.zip The issue should hopefully be resolved for good.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
3rd April 2013, 21:07 | #14634 | Link | |
Registered User
Join Date: Nov 2005
Posts: 693
|
Quote:
Right-click on MP3 -> Utilities -> Fix VBR MP3 header... "Corrects missing VBR headers on specified MP3 files; use this to solve incorrect displayed length."
__________________
My hobby website |
|
4th April 2013, 00:00 | #14635 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
nevcairiel, would it be possible to add a non-default option to expose hidden chapters, when only hidden chapters exist in a file? I could see cases where the file author prefers to keep ordered chapters hidden, but the viewer actually prefers an ability to access those hidden chapters, rather than have no chapters exposed at all.
Is the Matroska spec supposed to interpreted as Hidden = Permanently Hidden, or just Hidden = Hidden by Default? |
4th April 2013, 07:01 | #14636 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
I'm not a big fan of such an option, it adds complexity for a bit obscure use-case. Its most likely also something you need to toggle on a per file basis, because if a file has normal chapters and ordered chapters, the ordered chapters would be hidden, and you don't really want them to appear, so i question its real-world usefulness a bit.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
4th April 2013, 10:40 | #14637 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
The use-case would be files only containing hidden ordered chapters, but without any non-hidden regular or ordered chapters at all. I'll agree it's a bit obscure, but not as obscure as wanting to show hidden chapters when you have other non-ordered chapters already visible. You could do something like give the option a checkbox with three states, where the intermediate state will only expose hidden chapters if all chapters are hidden. That should prevent issues of needing to toggle such an option per file.
I did come across a few files which used ordered chapters to insert common intro/outro segments into episodes from that season to save space, but where all chapters were hidden. In this case, LAV & Haali will both create the virtual timeline without any end-user visible chapter points according to the mkv spec. None the less, a bit of an annoyance, since some end-users like to skip past the intro/outro segments via chapters. I personally don't have any issues manually fixing chapter issues like this, if you don't see such a feature as useful enough. |
4th April 2013, 11:04 | #14638 | Link | |
Registered User
Join Date: Jun 2011
Posts: 81
|
Quote:
Testing the encoded stream with LAV Audio showed that with DRC enabled in LAV the loud sequences were indeed not as loud, but sadly it didn't increase the volume of quiet dialogs. But wouldn't a value higher than -31 decrease the volume even more? Even with -31 and DRC enabled I can't understand some quiet dialogs with a volume level that isn't too loud for explosions. |
|
4th April 2013, 11:54 | #14639 | Link |
Registered User
Join Date: Oct 2012
Posts: 66
|
@cremor : you shouln't use -31 dBFS for DTS. You have to measure it with a sound editor, as mentioned in the thread I linked to and use that value. For example, you isolate a scene where there's speech, measure the RMS value and find it to be, for example, -26.4 dBFS. You then use -27 dbFS for the dialnorm when encoding.
|
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|