Re: [FFmpeg-devel] [PATCH]Support alaw in imkh files

2015-04-03 Thread Michael Niedermayer
On Fri, Apr 03, 2015 at 10:45:53AM +0200, Carl Eugen Hoyos wrote: > On Thursday 02 April 2015 11:47:08 am Carl Eugen Hoyos wrote: > > > +} else if (m->imkh_cctv && startcode == 0x1c0) { > > > +codec_id = AV_CODEC_ID_PCM_ALAW; > > > > Maybe with "request_probe=50;" - the manual o

Re: [FFmpeg-devel] [PATCH]Support alaw in imkh files

2015-04-03 Thread Carl Eugen Hoyos
On Thursday 02 April 2015 11:47:08 am Carl Eugen Hoyos wrote: > > +} else if (m->imkh_cctv && startcode == 0x1c0) { > > +codec_id = AV_CODEC_ID_PCM_ALAW; > > Maybe with "request_probe=50;" - the manual of one > of the camera claims that MP2 is a possible audio > codec. New patc

Re: [FFmpeg-devel] [PATCH]Support alaw in imkh files

2015-04-02 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c > index a0b5738..2ade9d4 100644 > --- a/libavformat/mpeg.c > +++ b/libavformat/mpeg.c > -547,6 +547,8 redo: > codec_id = AV_CODEC_ID_ADPCM_ADX; > // Auto-detect AC-3 >

[FFmpeg-devel] [PATCH]Support alaw in imkh files

2015-04-02 Thread Carl Eugen Hoyos
Hi! Attached patch fixes another sample from ticket #4182. Please comment, Carl Eugen diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index a0b5738..2ade9d4 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -547,6 +547,8 @@ redo: codec_id = AV_CODEC_ID_ADPCM_ADX;