imho it would be a nice addition for libav.
An even more interesting option would be to carry on the stereoscopic
signalling across the coding/decoding for the codecs that actually
support it.
Besides the ones quoted here, there should also be H264, via the
avc_sei_frame_packing_type message (--fpa-type in x264 iirc)
Best,
Vittorio
On 17/05/2011 18:21, Kirill Gavrilov wrote:
Maybe somebody in LibAV list interesting in adding stereoscopic flags
support / discussion?
---------- Forwarded message ----------
From: *Kirill Gavrilov* <[email protected] <mailto:[email protected]>>
Date: Sat, May 7, 2011 at 9:44 PM
Subject: Re: [FFmpeg-devel] [PATCH] provide an input parameter to
specify 3d stereo format for mkv/webm 3d videos
To: FFmpeg development discussions and patches
<[email protected] <mailto:[email protected]>>
Hi,
I prepare new patch based on Alok. It read and write stereo mode flag
using metadata tags.
Also it reads combined planes virtual streams and mark them like:
stereo_mode -> left_3
stereo_mode -> right_3
2011/4/26 Reimar Döffinger <[email protected]
<mailto:[email protected]>>
I think it would be more user-friendly to allow an actual string
instead
of just numbers, also specifying a value that is not supported
should at
least print a warning or even fail.
In patch integers were replaced with strings. But the problem is
that names for stereoscopic formats are not standardized
and this is unclear how user should select them (but sure - magic
integers not better)...
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.
This is ugly but while no way to setup metadata per stream from
console - may be useful.
I'll try to implement per stream metadata setup for ffmpeg but its
options logic is much complicated
and I fear to write something stupid...
-----------------------------------------------
Kirill Gavrilov,
Software designer.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel