r33075 - in trunk: etc/codecs.conf libmpcodecs/ad_pcm.c
Author: cehoyos Date: Sat Mar 12 11:50:14 2011 New Revision: 33075 Log: Support 'lpcm' in mov files, has audible (clipping?) artefacts on some systems. Modified: trunk/etc/codecs.conf trunk/libmpcodecs/ad_pcm.c Modified: trunk/etc/codecs.conf ============================================================================== --- trunk/etc/codecs.conf Fri Mar 11 17:06:43 2011 (r33074) +++ trunk/etc/codecs.conf Sat Mar 12 11:50:14 2011 (r33075) @@ -4182,6 +4182,7 @@ audiocodec pcm format 0x696e3234 ; "42ni" (MOV files) format 0x32336e69 ; "in32" (MOV files) format 0x696e3332 ; "23ni" (MOV files) + format 0x6D63706C ; "lpcm" (MOV files) ;;;; these are for hardware support only: (alaw,ulaw,ima-adpcm,mpeg,ac3) ; format 0x6 ; format 0x7 Modified: trunk/libmpcodecs/ad_pcm.c ============================================================================== --- trunk/libmpcodecs/ad_pcm.c Fri Mar 11 17:06:43 2011 (r33074) +++ trunk/libmpcodecs/ad_pcm.c Sat Mar 12 11:50:14 2011 (r33075) @@ -81,6 +81,7 @@ static int init(sh_audio_t * sh_audio) sh_audio->samplesize = 4; break; case 0x666c3332: // '23lf', little endian float32, MPlayer internal fourCC + case 0x6D63706C: // 'lpcm' sh_audio->sample_format = AF_FORMAT_FLOAT_LE; sh_audio->samplesize = 4; break;
On Sat, Mar 12, 2011 at 11:50:15AM +0100, cehoyos wrote:
Author: cehoyos Date: Sat Mar 12 11:50:14 2011 New Revision: 33075
Log: Support 'lpcm' in mov files, has audible (clipping?) artefacts on some systems.
The volume filter can prevent clipping. Probably the conversion to int16 should be changed to do clipping, too, at least when doing it as float -> int -> clip to int16 it should cost little performance.
On Sat, 12 Mar 2011 11:50:15 +0100 (CET), cehoyos wrote:
Author: cehoyos Date: Sat Mar 12 11:50:14 2011 New Revision: 33075
Log: Support 'lpcm' in mov files, has audible (clipping?) artefacts on some systems. @@ -4182,6 +4182,7 @@ audiocodec pcm + format 0x6D63706C ; "lpcm" (MOV files)
did this format work in the audiocodec dvdpcm or fflpcm decoders? is there a sample somewhere? -compn
compn <tempn <at> twmi.rr.com> writes:
@@ -4182,6 +4182,7 @@ audiocodec pcm + format 0x6D63706C ; "lpcm" (MOV files)
did this format work in the audiocodec dvdpcm or fflpcm decoders?
I don't think so (but did not test).
is there a sample somewhere?
mov/2011-03-09-2111.cut.FL32.mov http://thread.gmane.org/gmane.comp.video.mplayer.user/65616 Carl Eugen
participants (4)
-
Carl Eugen Hoyos -
cehoyos -
compn -
Reimar Döffinger