[FFmpeg-devel] [PATCH] Vivo demuxer
compn
tempn at twmi.rr.com
Tue Jul 17 15:59:24 CEST 2012
On Tue, 17 Jul 2012 02:36:44 +0000, Paul B Mahol wrote:
>+ ast->start_time = 0;
>+ ast->codec->codec_tag = 0;
>+ ast->codec->codec_type = AVMEDIA_TYPE_AUDIO;
>+ ast->codec->channels = 1;
>+ ast->codec->bits_per_coded_sample = 8;
>+ ast->codec->sample_fmt = AV_SAMPLE_FMT_U8;
>+
>+ if (ast->codec->sample_rate == 0) {
>+ ast->codec->sample_rate = 8000;
btw i found this ver2 sample while looking around, even mplayer vivo
demuxer cant handle it.
http://samples.ffmpeg.org/vivo/16bit/brnbrg16.viv
"SamplingFrequency:000016000"
its from a vivo test page.
i put some more samples into:
http://samples.ffmpeg.org/vivo/viv1/
http://samples.ffmpeg.org/vivo/vivo2/
-compn
More information about the ffmpeg-devel
mailing list