[FFmpeg-devel] [PATCH]Audio support for mplayer -demuxer lavf and vivo

Paul B Mahol onemda at gmail.com
Thu Nov 29 10:27:02 CET 2012


On 11/29/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> HI!
>
> Attached patch allows audio playback of vivo files with mplayer -demuxer
> lavf
>
> Please comment, Carl Eugen
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index b6a4b0e..73f7f7b 100644
> --- ffmpeg/libavcodec/avcodec.h
> +++ ffmpeg/libavcodec/avcodec.h
> @@ -284,6 +284,7 @@ enum AVCodecID {
>      AV_CODEC_ID_PAF_VIDEO  = MKBETAG('P','A','F','V'),
>      AV_CODEC_ID_AVRN       = MKBETAG('A','V','R','n'),
>      AV_CODEC_ID_CPIA       = MKBETAG('C','P','I','A'),
> +    AV_CODEC_ID_VIVO       = MKBETAG('V','I','V','O'),

This is appears to be some kind of h263, adding codec_id
as hack for mplayer have no justification here.
>      AV_CODEC_ID_XFACE      = MKBETAG('X','F','A','C'),
>
>      /* various PCM "codecs" */
> @@ -440,6 +441,7 @@ enum AVCodecID {
>      AV_CODEC_ID_PAF_AUDIO   = MKBETAG('P','A','F','A'),
>      AV_CODEC_ID_OPUS        = MKBETAG('O','P','U','S'),
>      AV_CODEC_ID_TAK         = MKBETAG('t','B','a','K'),
> +    AV_CODEC_ID_VIVOAUDIO   = MKBETAG('V','I','V',0xA),

This one appears have real name and twocc:

0x112 Vivo Siren

or it is actually just G723 ADPCM.


More information about the ffmpeg-devel mailing list