1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
Commit Graph

41 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
5d6e797a6b Maintain SUBDIRS manually for extra flexibility 2008-05-04 15:36:23 +03:00
Jean-Paul Saman
e346b4c109 Build blendbench module 2008-04-09 10:48:48 +02:00
Antoine Cellerier
4c2230da12 Add a new croppadd video filter. It currently isn't used anywhere. This should work for all kind of chromas. 2008-03-08 23:52:37 +01:00
Christophe Mutricy
15def40d9c Distribute filter_picture.h 2007-12-29 18:30:42 +00:00
Antoine Cellerier
29968fb028 Start seamcarving video filter. I'm commiting this mainly to get it in a windows build. This still needs some heavy optimisation, support for vertical resizing, colors and upscaling.
Sample command line for those who want to test: time ./vlc fake: --fake-file ~/images/NATURE-Fakarava_400x300.jpg --fake-fps 5 -I dummy --control rc -V x11 --video-filter seamcarving@s
You can change the croping by using commands like:
@s crop 200 (a crop value of 0 resets it to the default mode)
2007-09-04 20:30:56 +00:00
Antoine Cellerier
efe69dfdb8 New video filter to add grain to a video. This is work in progress (I'm commiting so people can test using the win32 nightlies) 2007-07-26 21:28:05 +00:00
Antoine Cellerier
be8ab3720f New gaussian blur video filter. This currently takes way too much CPU. I'm not sure how it should be optimised. Maybe using floats instead of ints might work (if it can remove the need for a division). 2007-04-21 23:26:46 +00:00
Antoine Cellerier
ce0e4fb0ab * mosaic_bridge.c: - Add "vfilters" option to apply video filters on the
image before sending it to the mosaic.
                    - Add option ("chroma") to force the image chroma
                    - Remove alpha mask code
 * mosaic.c: - Remove bluescreen code
             - Misc cosmetics changes
 * bluescreen.c: New bluescreen filter (mostly cut & paste from mosaic.c)
 * alphamask.c: New alpha mask filter (mostly cut & paste from mosaic_bridge.c)
 * invert.c: don't invert the alpha plane for YUVA images (We also need to
             prevent that for RGBA images ... but that's not really used
             currently)
 * configure.ac, video_filter/Modules.am: add alphamask and bluescreen
2007-04-15 21:00:09 +00:00
Antoine Cellerier
ef8b4b02c7 New erase video filter (to remove logos). Example command line: ./vlc --video-filter "erase{mask=/home/dionoea/images/cone-small.png,x=50,y=50}" --no-audio --color -v -I rc ~/media/redefined-nintendo.mpg 2007-03-31 18:37:16 +00:00
Jean-Baptiste Kempf
f1ec0f9f4c Sharpen Video-Filter.
Work from DJ_Mulder on the forum, changes by /me helped by dionoea and jpsaman.
2007-02-04 22:27:07 +00:00
Antoine Cellerier
03f9f5fec6 * New color extraction video filter. Can be used to extract the Red, Green or Blue component from a video.
* Add stuff about motiondetect and extract in the News (even though motiondetect isn't finished)
2006-12-17 20:42:32 +00:00
Sigmund Augdal Helberg
e83a49c062 added a color threshold filter that can make effects similar to "the
yellow guy" in sin city or the red dressed girl in the beginning of
schindlers list
2006-11-11 13:33:43 +00:00
Antoine Cellerier
0cd336b3fb Puzzle vout filter. (vlc --vout-filter puzzle <your favorite disney cartoon>) 2006-11-10 20:59:15 +00:00
Antoine Cellerier
bf68c0feab noise video filter 2006-10-16 20:57:36 +00:00
Antoine Cellerier
4b1b4f8939 New rotate video filter. Can rotate video by any integer angle between 0 and 359 degrees.
This still needs work to make it look better, and be able to use it with the "motion" control module.
2006-10-14 14:38:11 +00:00
Clément Stenac
febe7d2121 Panoramix video filter by Cédric Cocquebert.
+ temporarily re-enable vout-filter until video-filter is updated

I include this so that it can get some testing and debugging, but it has some issues:
* Several coding style / indentation problems that make the code quite hard to read
* Use of config_Get/config_Put instead of vars
* In my tests, it crashes as soon as bz-length is not == 0, which basically makes the attenuation effect inoperant
2006-10-07 12:36:40 +00:00
Antoine Cellerier
96a9147c6a Merge time and marq filters. Marq now handles the %letter time format strings and new $letter VLC format strings. Still needs some work. 2006-09-30 23:30:39 +00:00
Christophe Mutricy
f8df6736c0 Almost fix make distcheck 2006-09-27 15:28:22 +00:00
Damien Fouilleul
989cefffec - OpenCV video filter module by Dugal Harris 2006-09-06 22:07:22 +00:00
Antoine Cellerier
7588d6a1de Split the distort video filter module into several video filter2 modules. 2006-07-14 22:58:41 +00:00
Rémi Denis-Courmont
6aa5b04632 _Experimental_ *optional* libtool support (--enable-libtool)
Should work fine (ie. better than --enable-shared-libvlc) on Linux,
should work on Mac OS X (except for packaging), while shared libvlc doesn't.

Won't work on Win32 with the current Win32 contrib. Stick to static libvlc or
use --enable-shared-libvlc for now.
2006-02-23 19:41:36 +00:00
Antoine Cellerier
ed290de26d * magnify video filter. Still needs some work on the zoom method (which
isn't really efficient)
2005-10-28 17:00:00 +00:00
Jean-Paul Saman
26e6004689 Forward port of branches/0.8.1-jpsaman-thedj revision 12070. The OSD menu subsystem consists of two parts a core part (src/osd, include/vlc_osd.h) and a subfilter (modules/video_filter/osdmenu.c). The OSD menu can be used locally or it can be streamed. It depends on the way the functionality is called from the vlc commandline. Currently there is only one way to make the subpictures appear on the video and that is through the rc-interface. The following commands are supported by it: "menu on" (show OSD menu), "menu off" (hide OSD menu), "menu left" (highlight button on the left), "menu right" (highlight button on the right), "menu up" (highlight button above), "menu down" (highlight button below) or "menu select" (perform hotkey action). When there is no button on the left, right, up or down then the menu-command will be ignored.
To stream use a commandline similar to this:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg --extraintf rc --sout '#transcode{sfilter=osdmenu}:std{mux=ts,access=udp,url=127.0.0.1:1234}' -vvvv

For local playback a commandline like this is needed:

./vlc dvdsimple:///dev/dvd --sub-filter=osdmenu --osdmenu-file=share/osdmenu/default.cfg -vvvv

Have fun with the basic functionality - jpsaman.
2005-08-10 22:08:50 +00:00
Cyril Deguet
9eb39c5112 * rv32.c: new basic video filter to convert RV24 to RV32
(remove the dependency of skins2 to ffmpeg for PNG loading)
2005-08-02 21:27:53 +00:00
Antoine Cellerier
e497375b77 * rss.c : add new rss module (sub filter)
Still needs much work
example command line :
./vlc -vvv --color --sub-filter rss --rss-urls "http://kernel.org/kdist/rss.xml,http://fxfeeds.mozilla.org/rss20.xml

 * motiondetect.c : propset ... Id
2005-07-31 00:07:48 +00:00
Christophe Massiot
f976d6ae30 * ALL: converted the video output module "picture" to a stream output
module "mosaic-bridge".
2005-04-15 20:01:19 +00:00
Antoine Cellerier
1f54a473b6 Basic mosaic, video blending modules
* picture.c picture.h : vout that copies the rendered image in a libvlc
                         object.
 * mosaic.c : sub filter that takes all the images created by the picture
              module and blends them over the current video

I think i still have loads of things to fix (like memleaks)

Simple vlm configuration file to see this work :
<<<<
new chan1 broadcast enabled
setup chan1 input somevideo1.avi
setup chan1 option vout=picture

new chan2 broadcast enabled
setup chan2 input somevideo2.avi
setup chan2 option vout=picture

new bg broadcast enabled
setup bg input somevideo0.avi
setup bg option sub-filter=mosaic

control bg play
control chan1 play
control chan2 play
>>>>

You just have to launch : ./vlc -I telnet --vlm-conf vlm.conf
2005-02-21 13:13:52 +00:00
Jérome Decoodt
70a4f2e234 Added simple motion detect filter.
This filter uses a description file which follows this format :
x1,y1,x2,y2,level,downspeed,upspeed,mrl
...
where x1,y1,x2,y2 describe a sensible rectangle, level is the minimum difference for an active pixel, downspeed an upspeed are to integers.
mrl is a mrl to go when the filter has detected movement in the rectangle.

This is fun with vlm. For example, you should try to launch vlc normaly with vlm and then type :
new camera broadcast
setup camera enabled
setup camera input mrl to your camera
setup camera option filter=motiondetect,transform
#setup camera option transform-type=vflip
#indeed, I did not reach to make this working
control camera play

Have fun ;)
2005-01-13 23:28:36 +00:00
Mark Moriarty
55a8189fcd modules/video_milter/Modules.am -- added marquee filter 2004-09-26 12:55:29 +00:00
Sigmund Augdal Helberg
bb7ae8b63a modules/video_filter/Modules.am: added time, for those that don't know the
fen-trick
time.c: fixed a few copy/paste bugs and some warnings
2004-09-18 17:46:15 +00:00
Gildas Bazin
5bb58782a7 * modules/video_filter/Modules.am: oops 2004-09-15 16:59:25 +00:00
Gildas Bazin
825f056a8c * modules/video_filter/scale.c: simple nearest neighbour rescaling module for YUVP/A (subpictures). 2004-09-15 16:02:45 +00:00
Gildas Bazin
3ea1b0e909 * ALL: Major rework of the subpictures architecture.
(expect some breakage).
* modules/video_filter/blend.c: new alpha-blending module.
2004-08-03 00:11:32 +00:00
Clément Stenac
6265a3ae74 * Remove directories with only one source file inside
* Drop the old scope plugin (not ported to aout3)
2004-03-06 15:24:37 +00:00
Sigmund Augdal Helberg
14b3f0cfa1 All: My shot at improving subtitle rendering in vlc. Now each vout uses a "text renderer" module to render text on the video when needed. I decieded to make this a module type, because other api's (win32 and macosx) is supposed to do better than freetype under some circumstances.
include/video_output.h: added some members needed by text renderer modules
src/video_output/video_output.c: load and unload text renderer module when needed
src/video_output/video_text.c: implemented some functions to show text on the video
include/osd.h: exported the functions to show text
modules/misc/Modules.am, module/misc/freetype.c: new text renderer module, largly based on the old osdtext module.
modules/video_filter/Modules.am, modules/video_filter/osd_text.c: removed the osdtext module
configure.ac: changes "osdtext" to "freetype" some places
modules/codec/spudec/*: when iconv is available, use it to convert textual subtitles from the encoding given by --sub-encoding to utf8. Use new code to render subtitles
modules/control/lirc/lirc.c: use new code to give feedback on buttons pressed. untested.
modules/demux/util/sub.c: remove all traces of the ugly old osdtext module
modules/misc/dummy/*: added a "text renderer" submodule in the dummy module
src/misc/modules.c: included osd.h as it seems to be needed to export symbols


final notes: you need to give a proper value to --freetype-font. This should be the path to a font file freetype2 can handle (almost any format afaik) with a unicode translation table in it. Windows ttf files will do. In linux at least openoffice distributes some fonts that work. I think macosx and beos also has useable fonts.
2003-07-14 21:32:59 +00:00
Simon Latapie
79ddd26444 * logo.c : a little filter to put a PNG picture on video output (use mouse features :) 2003-07-03 19:25:51 +00:00
Sam Hocevar
fe17002d42 * bootstrap:
+ New build system, using recursive makefiles. Due to the amount of code
      in VLC, this had become unavoidable.
    + Removed the check for OS X's stack size, since our automake targets are
      a lot less hungry now.
    + Ditto for Solaris's sed.
    + Since automake-1.6 is faster than 1.7, use it first if both are present.
  * m4/vlc.m4:
    + New AX_ADD_CPPFLAGS, AX_ADD_CFLAGS, AX_ADD_CXXFLAGS, AX_ADD_OBJCFLAGS
      and AX_ADD_LDFLAGS macros that do all the magic to detect possible
      modules and register their flags.
    + New AX_ADD_BUILTINS and AX_ADD_PLUGINS macros.
    + Some magic to generate vlc-config.
  * configure.ac:
    + Moved most code to the AX_ADD_* macros.
    + Explicitely added all target Makefiles.
  * modules/**/Modules.am:
    + Path to sources are now relative to Modules.am's directory level.
2003-06-27 13:50:13 +00:00
Sigmund Augdal Helberg
ea6d9b7aa1 modules/video_filter/Modules.am: forgot to add the osdtest module
modules/video_filter/osd_text.c: fixed a bug in size/place calculations.
Support gamma correction of the text.
2003-04-08 07:22:10 +00:00
Simon Latapie
7af58f039f * yuv filter was a bit useless. Hope adjust filter is more usefull :) 2002-11-23 00:11:17 +00:00
Simon Latapie
f068c8025f YUV plans filter (modifies all 3 plans separatly) 2002-10-26 01:08:13 +00:00
Sam Hocevar
864128116a * ALL: added *.am files here and there for future automake support. 2002-09-30 10:00:47 +00:00