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 November 2015, 16:39 | #13581 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Madshi, I have seen your reply in the dcadec bug tracker. Thanks.
To facilitate the decoding (at least while the origin of the "bug" is unclear), is it possible to turn off the DCADEC_FLAG_STRICT via eac3to's command line ? How ? Or is it only a flag that can be changed at compile time ? If it's not possible, can you consider turning it off in a forthcoming version?
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
2nd November 2015, 17:40 | #13583 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
I don't know if that's help:
Decoding the sample with a recent ffmpeg, finish without errors, but using ffmpeg version N-71329-g235589e 07-Apr-2015 finish with: libdcadec/exss_parser.c+395: Invalid EXSS size0kbits/s The output for both versions are bit-identical. Maybe you can output a <WARNING> but continue the decode.
__________________
BeHappy, AviSynth audio transcoder. |
2nd November 2015, 17:47 | #13584 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
I think at this point in time it's better to fail, because if dcadec sees a reason for a warning, this could still be a bug in dcadec (or a damaged audio file). It's better to force the user to double check, and maybe use ArcSoft instead, than to risk just writing a warning to the log which the user might simply not see, and then eventually produce a faulty audio file. After a couple more months or years, when we're more certain about dcadec being "bug free" or not, we can think about posting warnings and continuing decoding then. At least that's my opinion. Anyone having a different opinion?
|
2nd November 2015, 17:54 | #13585 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I propose a parameter to disregard the error, just because dcadec is the only freeware solution to decoding such files
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
3rd November 2015, 10:42 | #13588 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
I agree that turning off the strict decoding mode is dangerous, but IMO, the "synchronisation error" reported (most probably erroneously) by DcaDec should be ignored. I don't know if it is possible to continue anyway after that error (and only that one), but if it's feasible, that could be a very good thing. I have requested an option to turn the strict mode off via your bug tracker (here), but honestly, I would prefer to leave that flag on, but have a workaround for what seems to be a bug in the DTS decoder. After having double-checked the original DTSHDMA and the conversions with other decoders, it seems that the streams are perfectly normal. Therefore, DcaDec with the strict option on is at least way too picky, at least for this specific error. Also, note that some decoders do NOT stop after an extremely great number of synchronisation errors. It's the case when demuxing subtitles from some 3DBD (as reported in another bug on your tracker). I see no reason to be much more tolerant with the subtitles than with the DTS tracks. Anyway, a solution is necessary, but I'll be happy with just an option to turn the strict mode off, although I think it's not the best solution.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 3rd November 2015 at 10:46. |
|
4th November 2015, 05:14 | #13589 | Link | |
Registered User
Join Date: Dec 2006
Posts: 523
|
Quote:
That large of a file can be easily transferred between two computers both using utorrent, see How to Share Personal or Public Files Using uTorrent. It would be a private pseudo tracker run from your computer, and won't be publicly shared. Or see the NetworkWorld article 19 free cloud storage options. |
|
4th November 2015, 10:12 | #13590 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
I have already isolated the part causing the problem and posted it here. (See post #13582.) In this case, there is no need to analyse the entire track. But thanks for the hints about transferring large files. I didn't know that "pseudo tracker" possibility of uTorrent. (BTW, I like also Infinit to share large files, but it requires to install a little program on your computer.)
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 4th November 2015 at 10:15. |
11th November 2015, 04:25 | #13591 | Link |
Registered User
Join Date: Sep 2012
Posts: 366
|
OK, so I think I've fixed MediaInfo's issues with FLAC default layouts. I've also added "VALID_BITS" as a recognised tag and have moved it to the audio stream as "Valid bits".
I've removed HDCD if the value is zero... otherwise I've called it "High Definition Compatible Digital" and set it to "Yes"... Is that OK? Is it important to know if it's specifically tagged as NOT HDCD? Is there anything else I should attempt to prepare MediaInfo to encounter? |
11th November 2015, 09:09 | #13592 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
I'd suggest to use "HDCD" as the name because that's the term everybody is familiar with. Writing "High Definition Compatible Digital" is like naming DVD "Digital Versatile Disc". Users would look at that three times and wonder what it means while "HDCD" is easy to recognize for anybody who knows what it is. eac3to always checks all audio tracks for HDCD, so if you find "HDCD" in the metadata, having it set to 0 usually means the track is *not* HDCD. But if you want to be extra safe that you're not reporting anything wrong then just reporting HDCD if it's set to "1" is fine, too. IIRC, support for the "WAVEFORMATEXTENSIBLE_CHANNEL_MASK" is already available, right? At some point there was a problem with supporting "=0X" vs "=0x". Maybe you could double check that both is supported (you should simply ignore the case). Thanks! |
|
11th November 2015, 10:01 | #13593 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
I read something astonishing about HDCD ;
http://forum.doom9.org/showthread.ph...18#post1612018 Is it true ? |
11th November 2015, 11:36 | #13594 | Link | |
Registered User
Join Date: Sep 2012
Posts: 366
|
Quote:
HDCD... What about the people who don't know what it is? I didn't and had no idea why that tag was in all my encodes. That's why I thought it would be a good idea the give the full name. Jerome has already accepted the code, so I'd either have to issue another pull request to change things or pass on what you've said here. |
|
11th November 2015, 12:30 | #13595 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Well, that's like saying that some people don't know what FLAC is, so you write "Free Lossless Audio Codec" instead of FLAC everywhere. But if you do that, most people who *DO* know what FLAC is will be confused, because although they know FLAC they might not know what the acronym stands for. Just my 2 cents, of course. It's not really important to me. Just wanted to provide some feedback. |
|
11th November 2015, 15:43 | #13596 | Link | ||||||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
Quote:
Silence with 16 valid bits is not same than silence with 24 valid bits, and this is not 0 bit of something (whatever is the name). So the value is expected to be the count of bits really used during quantization else this is only a 0 measurement (not useful). Said another way, silence quantized at 20 bits then stored in the file as 24-bit should still have 20 valid bits in the metadata (this is the count of bits used by the digitilization tool), not 0. having only zeroes in the lowest bit does not mean that the bit is not valid (99.99999% chances it is, but in theory it is not), it may be valid (no luck, the source is with zeroes...). Quote:
Quote:
In MediaInfo, I use "Bit depth" for the real value (your "valid bits") and "Stored bit depth" for the bit size in the file. Quote:
Quote:
Actually the acronym is more known by people able to help someone than the definition of the acronym. I don't remember exactly the previous behavior but ndjamena definitely fixed an issue with MediaInfo previous behavior, I have now more files with channels position. So I take his patch!
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
||||||
11th November 2015, 16:04 | #13597 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Quote:
Thats how its done everywhere, so you have no idea what the original bitdepth was when you get all zeroes, all the time. Thats just a very common use-case when dealing with PCM, and eac3to wants to know if a signal was mastered wrong - since it occasionally happens that a 16-bit signal gets erroneously padded to 24-bit and encoded as such - with 8 LSBs all being zero. Or in some cases, the format may not provide a way to signal some bitdepth - which is common for 20-bits. There is no harm to encode it as 24-bit in a lossless format, other than filesize, but the flag that it originally was 20-bit may be lost. This is all long after quantization, and its all in perfectly accurate integer, not floating points.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 11th November 2015 at 16:12. |
|
11th November 2015, 16:22 | #13598 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Maybe I should have named it "NON_ZERO_BITS". But to be honest, all those years ago when I added this tag I considered it a "private" eac3to flag and didn't think anybody would be interested in reading/displaying it. |
|
11th November 2015, 16:23 | #13599 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
I just say that this is not bidirectionnal i.e. zeroes in the lowest bits does not means that this was a 20-bit signal for sure (it may be a 24-bit format with zeroes in reality), you can just say that there is 99.9999% chances that this is the case. Silence is a good example: silence, all bits 0 everywhere, that does not mean that 0 bits are valid. Same with a square signal. And as I also said, I understand the reason it is made, but this is not a reason for changing reality of mathematics, and relying on only this check is not perfect. If you can rely on something else (e.g. metadata) please priotize this method over zeroes checking (zeroes checking should be only a fallback in the case there is not such metadata)
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
11th November 2015, 16:25 | #13600 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
Tags |
eac3to |
|
|