[FFmpeg-cvslog] webm: support stereo videos in matroska/webm muxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 29 10:50:20 CEST 2011


> +
> + at item STEREO_MODE=@var{mode}
> +Stereo 3D video layout of two views in a single video track
> + at table @option
> + at item mono
> +video is not stereo
> + at item left_right
> +Both views are arranged side by side, Left-eye view is on the left

> @@ -586,6 +586,25 @@ static int mkv_write_tracks(AVFormatContext *s)
>                 // XXX: interlace flag?
>                 put_ebml_uint (pb, MATROSKA_ID_VIDEOPIXELWIDTH , codec->width);
>                 put_ebml_uint (pb, MATROSKA_ID_VIDEOPIXELHEIGHT, codec->height);
> +                if ((tag = av_metadata_get(s->metadata, "stereo_mode", NULL, 0))) {
> +                    uint8_t stereo_fmt = atoi(tag->value);

I suspect this wasn't merged since we already have the later version, right?
But still, WTF? The docs gives strings, but the implementation expects ints?!


More information about the ffmpeg-cvslog mailing list