[FFmpeg-devel] [PATCH] provide an input parameter to specify 3d stereo format for mkv/webm 3d videos

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Apr 26 21:06:57 CEST 2011


On Tue, Apr 26, 2011 at 11:43:25AM -0700, Alok Ahuja wrote:
> Should we consider having a colon separated value specified per stream on command-line and parse it appropriately 
> 
> Stereo_mode=3:1:14
> For 3 video tracks
> 
> Any other suggestions?

if ((tag = av_metadata_get(st->metadata, "stereo_mode", NULL, 0)) ||
    (tag = av_metadata_get( s->metadata, "stereo_mode", NULL, 0)))
...

Will prefer stream metadata but can also use global metadata.
Of course the proper solution is to implement a way to specify
per-stream metadata on the command-line.


More information about the ffmpeg-devel mailing list