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. |
|
|
#301 | Link |
|
Registered User
Join Date: Jul 2006
Posts: 276
|
They don't have to be big, and they can be cut arbitrarily. They just need to be big enough for me to have something to listen to in order to compare output. Many of the samples I have are only a minute or two long.
|
|
|
|
|
|
#303 | Link | |
|
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Thanks! |
|
|
|
|
|
|
#304 | Link |
|
Registered User
Join Date: Aug 2007
Posts: 1,431
|
http://www.stfcc.org/misc/eac3samples
Total number of samples is 79 (if you see less then I'm still uploading them). All of them but 1 are from my HD DVDs; 1 of them is from my Transformers Blu-ray but I can't remember which. Last edited by Snowknight26; 9th September 2008 at 05:02. |
|
|
|
|
|
#305 | Link | |
|
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
|
|
|
|
|
|
|
#307 | Link | |
|
Registered User
Join Date: Dec 2007
Posts: 1,138
|
Quote:
And maybe you can help ffdshow's developers to separate AC3 from E-AC3 (if it's possible) so we can use separate filters for AC3 and E-AC3 because when using libav for AC3 it fails to decode after a few seconds ![]()
__________________
Intel UHD Graphics 750; Win 10 22H2 |
|
|
|
|
|
|
#308 | Link |
|
Registered User
Join Date: Jul 2006
Posts: 276
|
In FFmpeg, libavformat separates E-AC3 from AC3. I understand that ffdshow uses libavcodec for the decoding, but does it have a libavformat "splitter" for demuxing? If not, they can look at the code in libavformat/raw.c and libavcodec/ac3_parser.c to see how it's done.
|
|
|
|
|
|
#309 | Link | |
|
Registered User
Join Date: Dec 2007
Posts: 1,138
|
Quote:
__________________
Intel UHD Graphics 750; Win 10 22H2 |
|
|
|
|
|
|
#310 | Link |
|
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
I have been loosely looking at implementing libavformat as a separate splitter filter to complement ffdshow, but I'm nowhere near starting this thing, as it's difficult to implement correctly.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
|
|
|
|
|
#311 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 47
|
E-AC-3 drc in mplayer with ffeac3 / ffac3
Thread necro alert! But it's on topic. I made a patch to add support for the drc_scale option in mplayer.
I use mplayer, built from the SVN source (on Ubuntu GNU/Linux). Great to see that E-AC-3 support finally made its way into the libavcodec SVN repo that mplayer's SVN includes. And I see your drc_scale patch got in, Justin, but unfortunately mplayer doesn't seem to have any way to set drc_scale. Quote:
Code:
eac3dec.c:246 skip_bits(gbc, 5); // skip dialog normalization It's pretty freaky that DRC is the default behaviour, for mplayer's liba52 as well. My s/pdif-input speakers (logitech Z-5500) don't default to "night mode" for AC-3, you have to turn that on in a menu. I'll just change the default for drc_scale in my local SVN checkout (nice speakers in a quiet room). I wish mplayer/ffmpeg used git; it's much easier to keep local patches around across upstream updates with git; you can commit them to your own repo, and git has nicer conflict-resolution than just having to resolve conflicts per-file when svn tells you to in the middle of the svn update. What do other people do? Use eac3to to strip the drc/dialognorm info when remuxing? I tried to find where in mplayer I could add support for setting drc_scale in avctx, but -lavdopts is only used by libmpcodecs/vd_ffmpeg.c, which is for ffmpeg video decoders, not audio. I don't know mplayer's code paths, but I think each codec gets its own avctx, so setting drc_scale in the video context would have no effect on the eac3 code. All that's needed is support for parsing drc_scale=xx in whatever calls the .init function for ffmpeg audio codecs, but probably the right thing to do is pull the lavdopts parsing code out of vd_ffmpeg.c, so audio and video contexts can use it. I got stuck trying to find where the .init functions are called from (in mplayer). libavcodec/ac3dec.c defines the AVCodec eac3_decoder struct, but I don't see any other references to that symbol! Is there some preprocessor magic that's hiding the other usage in a table of codecs or something? Oh, I think I found it, in allcodecs.c. grep eac3_decoder didn't find it because of the preprocessor magic. Ok, and that leads back to ad_ffmpeg.c. Duh, should have guessed that such a file existed after seeing vd_ffmpeg.c for video. Ok, wow that's easy to add a config option. patch attached: drc_scale.c. made against mplayer SVN r29972. Obviously this isn't the standard channel for submitting patches to mplayer. I submitted it to mplayer's bugzilla, too. Obviously it's a bit of an ugly hack, and splitting const m_option_t lavc_decode_opts_conf[] and the static variable it points to out into a file by itself would be the way to go. Maybe lavdopts.c/.h. I also made a patch to libavcodec to log when it activates eac3 support, since I wanted to know that it wasn't just taking the AC-3 core of an E-AC-3 stream (if they even have that.) ac3-log-eac3-mode.txt does that, and changes the libavcodec default value for drc_scale to 0. Share and enjoy. Last edited by pcordes; 1st December 2009 at 06:39. Reason: link to mplayer bugzilla |
|
|
|
|
|
|
#313 | Link | ||||
|
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
#314 | Link | ||
|
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
Last edited by jruggle; 6th December 2009 at 02:55. |
||
|
|
|
|
|
#315 | Link | |
|
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
But even if Dolby does state that DRC should always be enabled by default, I'd still say that this is a funny decision on their part and should not really be considered part of the spec. We don't have to follow their recommendations to the letter, if there are bad things in it, do we? E.g. if the Dolby spec stated that the decoder should always convert true 5.1 decodings to 2.0 Dolby ProLogic by default, would you follow that advice, too, just because the spec says that? |
|
|
|
|
![]() |
|
|