mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
FFmbc 0.7 @Nov 26, 2012 11:09:36 AM

FFmbc

Patches for FFmbc 0.7 rc7

ff_fill_rgba_map() in drawutils


Some of the patches below require the ff_fill_rgba_map() call, so I've added it to libavfilter/drawutils (like it is in FFmpeg)

ff_fill_rgba_map() in drawutils: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_drawutils_add_ff_fill_rgba_map_2012112501.patch

Martin Weston three field deinterlace filter


Based on the process described by Martin Weston for BBC R&D, and implemented based on the de-interlace algorithm written by Jim Easterbrook for BBC R&D, the Weston 3 field deinterlacing filter uses filter coefficients calculated by BBC R&D to accurately deinterlace an interlaced video.

The results are similar to the yadif filter, but the w3fdif filter is just a tiny bit sharper. Unfortunately it is also a tiny bit slower.

w3fdif filter: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_w3fdif_2012112501.patch

Squeeze4to3 and Stretch4to3


Using the filter coefficients provided by Tim Borer for BBC R&D, and implementing his algorithm, which this code looks nothing like, these filters are designed to stretch or squeeze video while preserving the quality.

The filters are designed for converting to or from anamorphic video, for instance converting 1440x1080 HD video to 1920x1080 HD video, converting 1920x1080 HD video to 1440x1080 HD video, or pillar-boxing 4:3 video into a 16:9 frame.

squeeze4to3: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_stretch4to3_2012112501.patch

Note: this code requires a clean-up, as I've left lots of av_log() statements, use while debugging the code, commented out.

Waveform monitor


Early access to a work in progress.

This filter turns your video into a waveform monitor view. Using the split filter and the overlay filter you can superimpose the waveform monitor on top of your video.

waveformmonitor: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_waveformmonitor_2012112501.patch

Note: this code is very early in its life.

Repeat Frame


Very early access to a work-in-progress, this code was mostly written on the morning of Saturday 24th Nov 2012.

This filter is designed to create a continuous stream of frames, at a required FPS, from a single frame input.

Without this filter it appears to be impossible to use the fade filter on a PNG or TIF file's output, which means without this filter I could not fade a DOG on and off of a video stream.

repeat frame: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_repeatframe_2012112501.patch

It was during the writing of this filter for FFmbc 0.7 rc7 that I realised that I needed to port and upgrade the fade and overlay filters...

Fade


Port my patch for fading alpha from FFmpeg.

Note: requires the ff_fill_rgba_map() in drawutils patch from above

fade: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_fade_2012112501.patch

Overlay


Port Stefano Sabatini's version of my additions to overlay filter, for unpremultiplied RGBA, and add my additions for unpremultiplied yuva420p - a version of which was posted to the email group ffmpeg-devel on 25th November 2012.

Note: requires the ff_fill_rgba_map() in drawutils patch from above

overlay: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_overlay_2012112501.patch

DNxHD in MXF


This patch puts DNxHD into MXF. It is scraped from the recent FFmpeg updates.

Limited testing has been done, but EVS systems have accepted the media, which is all that we needed.

DNxHD in MXF: http://mdsh.com/patches/ffmbc_0.7rc7/FFmbc-0.7-rc7_DNxHD-in-MXF.patch

FFmbc 0.7 TODO


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.