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. |
11th December 2007, 18:52 | #161 | Link |
Registered User
Join Date: Mar 2006
Posts: 28
|
Hi,
Here is the updated patch which compil ok against the latest mplayer svn http://www.db-instable.org/misc/eac3v4.patch Jjeje007 |
12th December 2007, 04:01 | #162 | Link | |
Registered User
Join Date: Dec 2007
Posts: 12
|
Quote:
|
|
13th December 2007, 02:20 | #163 | Link |
Registered User
Join Date: Mar 2006
Posts: 28
|
Hi,
Just to let we know, i removed all the hacks regarding channel mapping done by tebasuna51. It look like that the devs started to rearrange channel mapping output in mplayer (i just check the log quickly). Any way, the others hacks : - Dialog Normalization attenuation disabled - Dynamic Range Compression disabled - Frames with "transient pre-noise processing" accepted and no more error (remove the fprint ) Are always done Jjeje007 |
14th December 2007, 03:26 | #164 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Thanks, Justin |
|
14th December 2007, 09:13 | #165 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
@Justin, is there a central place somewhere where we can always get the latest version of the E-AC3 decoder patches? That would be very helpful, as long as the decoder is not in the ffmpeg source tree yet. Thanks!
|
14th December 2007, 09:53 | #166 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
|
|
14th December 2007, 23:24 | #167 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
I will routinely update it to current SVN until it is included in FFmpeg. Right now it's updated to work with FFmpeg-SVN r11200. The checkout.sh script will always show what revision the patch should be applied against. |
|
16th December 2007, 12:46 | #169 | Link |
Registered User
Join Date: Apr 2002
Posts: 34
|
New request
Could you implement a new functionality in ffmpeg_evo so that one can transform a DD+ or DTS-HD track inside an .EVO file applying PAL speedup (from 24fps to 25fps) over the target sound file on the fly?
Similar to eac3to.exe -speedup parameter. Thanks. |
16th December 2007, 16:42 | #170 | Link | ||
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
As far as dialog normalization, it will not be applied in the decoder, but simply transmitted to the user level. Quote:
Thanks, Justin |
||
18th December 2007, 17:18 | #171 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Thanks! |
||
19th December 2007, 00:04 | #172 | Link | ||
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
|
||
19th December 2007, 09:09 | #173 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Last edited by madshi; 19th December 2007 at 09:13. |
||
19th December 2007, 12:24 | #174 | Link | ||
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
|
||
20th December 2007, 00:54 | #176 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Code:
svn co svn://svn.mplayerhq.hu/soc/eac3 -r 1607 cd eac3 ./checkout.sh cd ffmpeg patch -p0 <ffmpeg_eac3_drc_scale.patch.txt ./configure --enable-gpl make Last edited by jruggle; 20th December 2007 at 00:57. |
|
21st December 2007, 10:50 | #177 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Thanks much for the DRC patch!
------- Is it intentional that when using ffmpeg SVN plus E-AC3 soc SVN the AC3 decoder stops working? Code:
C:\msys\local\bin>ffmpeg -i channeltest.ac3 test.wav FFmpeg version SVN-r11260, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-shared --disable-static --enable-memalign-hack libavutil version: 49.6.0 libavcodec version: 51.49.0 libavformat version: 52.2.0 built on Dec 18 2007 15:52:49, gcc: 4.2.1-sjlj (mingw32-2) Input #0, ac3, from 'channeltest.ac3': Duration: 00:01:00.0, bitrate: 448 kb/s Stream #0.0: Audio: 0x0000, 48000 Hz, 5:1, 448 kb/s Output #0, wav, to 'test.wav': Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5:1, 4608 kb/s Stream mapping: Stream #0.0 -> #0.0 Unsupported codec (id=86020) for input stream #0.0 Ok, I know, I'm getting gready... Sorry about that. But I thought asking wouldn't harm. You can still simply say "no", of course! |
21st December 2007, 12:36 | #178 | Link | ||
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
|
||
22nd December 2007, 00:08 | #180 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, uint8_t *buf, int buf_size); As you can see, the output samples are presumed to be an array of 16-bit signed integers. The MLP decoder just treats the output as a void * and then casts to either int16_t or int32_t depending on the source. This works just fine when using libavcodec alone because the user can look at AVCodecContext.sample_fmt to decide what to cast the array as. But it's really supposed to be int16_t. And internally, FFmpeg assumes that is the case. The exception is an ugly hack within ffmpeg.c that allows for only raw pcm to be encoded using formats other than 16-bit. The most likely fix to this will be to change the audio encoders and decoders to use an AVFrame instead of a sample array, which is how the video codecs work. Anyway, that's probably more than you wanted to know... |
|
|
|