[FFmpeg-devel] [PATCH 2/4] avformat: add genh demuxer
Paul B Mahol
onemda at gmail.com
Thu Oct 15 00:45:03 CEST 2015
Dana 14. 10. 2015. 23:57 osoba "Carl Eugen Hoyos" <cehoyos at ag.or.at>
napisala je:
>
> Hi!
>
> Paul B Mahol <onemda <at> gmail.com> writes:
>
> > + case 1:
> > + case 11: st->codec->bits_per_coded_sample = 4;
> > + st->codec->codec_id = AV_CODEC_ID_ADPCM_IMA_WAV;
>
> > + case 3: st->codec->codec_id = st->codec->block_align > 0 ?
> > + AV_CODEC_ID_PCM_S16BE_PLANAR :
> > + AV_CODEC_ID_PCM_S16BE;
>
> > + case 4: st->codec->codec_id = st->codec->block_align > 0 ?
> > + AV_CODEC_ID_PCM_S16LE_PLANAR :
> > + AV_CODEC_ID_PCM_S16LE;
>
> > + case 5: st->codec->codec_id = st->codec->block_align > 0 ?
> > + AV_CODEC_ID_PCM_S8_PLANAR :
> > + AV_CODEC_ID_PCM_S8;
>
> > + case 12: st->codec->codec_id = AV_CODEC_ID_ADPCM_THP;
>
> > + case 13: st->codec->codec_id = AV_CODEC_ID_PCM_U8;
>
> I wonder if you shouldn't copy all codecs
> from the white page (or xbmc code) no matter
> if tested or not.
>
> There is for example a genh.c file in
> xbmc/cores/paplayer/vgmstream/src/meta (found with Google).
Hmm, will do, the ones we actually have decoders.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list