[FFmpeg-devel] [PATCH] libmodplug: add bintext video stream capability.

Clément Bœsch ubitux at gmail.com
Sun Oct 9 15:13:29 CEST 2011


On Sun, Oct 09, 2011 at 03:05:31PM +0200, Clément Bœsch wrote:
> ---
>  libavformat/libmodplug.c |  165 +++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 162 insertions(+), 3 deletions(-)
> 

To elaborate on this just a bit; the video stream displays various
libmodplug text info using the bintext decoder.

The user can set a color formula in order to display some fancy old school
demo effect (feel free to propose anything btw). Available parameters are:
 - basic math: E, PHI, PI
 - char coords: x, y
 - window dimensions in char: w, h
 - t: the timestamp in 1/1000 tb
 - libmodplug current values: speed, tempo, order, pattern and row

By default the libmodplug values are displayed (and can be disabled using
-video_stream_ptxt 0). If you want to set a formula, use
-video_stream_expr. You will also need the -video_stream 1 switch.

Of course, you also need the bintext decoder enabled.

I might need to write a doc about this, but I'd like opinions on this
before.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111009/87d5aff3/attachment.asc>


More information about the ffmpeg-devel mailing list