[FFmpeg-devel] [PATCH] FFmpeg: libavfilter/libmpcodecs: add vf_stereo3d high quality green-magenta and yellow-blue dubois anaglyph 3D output support

Michael Niedermayer michaelni at gmx.at
Wed Jan 30 19:47:37 CET 2013


On Wed, Jan 30, 2013 at 12:44:42PM -0500, compn wrote:
> On Wed, 30 Jan 2013 01:04:28 +0100, Michael Niedermayer wrote:
> >On Tue, Jan 29, 2013 at 12:01:47PM +0100, thomas schorpp wrote:
> >> @#%&§! Thunderbird! Resent word wrapped.
> >> 
> >> This patch brings ecological and economical "Transcode once at 100% CPU - view many at ~20% CPU load" 3D (H)SBS, etc, media
> >> to the most advanced (2007) green-magenta eyes friendly anaglyph 3D projection method support using Eric Dubois' high quality method
> >> for people who want to avoid expensive resources consumed by (nice trying) real time conversion stereoscopic media players at every playback
> >> or expensive special 3D displays and 3D TV sets with polariser/shutter/no glasses without DVI-D inputs and more restrictions
> >> accepted by only ~5% of western TV/video users until today.
> >> 
> >> Red-cyan (1970,2001) dubois method has been already implemented by the original author, added -topic-.
> >> 
> >> Usage example to transcode 3D HSBSR h.264 format to anaglyph green-magenta 3D in MPEG4
> >> (See source code for enum encoded stereo3d filter arguments, defaults to MPlayer2 "sbs2l:agmd" now):
> >> 
> >> $ ffmpeg -i test.3D.H[2]SBS[R].x264.mp4 -c:a copy -vf mp=stereo3d=17:7 -qscale:v 8 test.3D.agmd.sbs2r.mp4
> >> 
> >> OpenGL MPlayer1/2 output is suggested for best color display results (i915/i965GM GPUs).
> >> 
> >> y
> >> tom
> >> 
> >> ---------------
> >> 
> >> libavfilter/libmpcodecs: add vf_stereo3d high quality green-magenta and yellow-blue dubois anaglyph 3D output support
> >> 
> >> Signed-off-by: Thomas Schorpp <thomas.schorpp at gmail.com>
> >> 
> >> -Att. patch
> >> 
> >
> >>  vf_stereo3d.c |   62 ++++++++++++++++++++++++++++++++++++++++++----------------
> >>  1 file changed, 45 insertions(+), 17 deletions(-)
> >> fb37defbbc9e16391fd3745f11dbe46f46d603ce  ffmpeg-mpvfstereo3d-agmd-schorpp01.patch
> >> --- a/libavfilter/libmpcodecs/vf_stereo3d.c
> >> +++ b/libavfilter/libmpcodecs/vf_stereo3d.c
> >
> >libmpcodecs improvments should be submited to mplayer
> >and the backported to ffmpeg
> 
> since you have commit access to both, please feel free to commit to
> both repos :)

i wont commit a non trivial patch from ffmpeg-devel to mplayer, it has
to be posted to mplayer-dev first

once the patch is applied to mplayer(1) libmpcodecs iam happy to
apply it to ffmpeg

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130130/4c120e48/attachment.asc>


More information about the ffmpeg-devel mailing list