~ubuntu-branches/debian/experimental/ffmpeg/experimental

« back to all changes in this revision

Viewing changes to doc/writing_filters.txt

  • Committer: Package Import Robot
  • Author(s): Andreas Cadhalpun, Andreas Cadhalpun, Carl Eugen Hoyos
  • Date: 2015-07-09 23:42:42 UTC
  • mfrom: (0.1.17) (3.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20150709234242-mf3vk9qgvcv9zh3s
Tags: 7:2.7.1-2
[ Andreas Cadhalpun ]
* Build libavcodec-extra flavor.
* Add encdec-extra autopkgtest for the libavcodec-extra flavor.
* Add lib*-dev and libav-tools-links packages.
* Drop README.Debian.
* Remove bogus apng-ffm autopkg test.
* Explicitly build-depend on liblzma-dev used by the tiff decoder.
* Use the pkg-multimedia repository for the Vcs links.
* Use the plain lib*-dev packages for the test dependencies.
* Disable libssh on sparc due to #790067.
* Remove temporary gdb dependency on sparc64.
* Enable openal on sparc64.

[ Carl Eugen Hoyos ]
* Disable x265 on alpha due to #789807.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
similar filter.  We'll pick edgedetect, but any other should do. You can look
17
17
for others using the `./ffmpeg -v 0 -filters|grep ' V->V '` command.
18
18
 
19
 
 - cp libavfilter/vf_{edgedetect,foobar}.c
20
 
 - sed -i s/edgedetect/foobar/g -i libavfilter/vf_foobar.c
21
 
 - sed -i s/EdgeDetect/Foobar/g -i libavfilter/vf_foobar.c
 
19
 - sed 's/edgedetect/foobar/g;s/EdgeDetect/Foobar/g' libavfilter/vf_edgedetect.c > libavfilter/vf_foobar.c
22
20
 - edit libavfilter/Makefile, and add an entry for "foobar" following the
23
21
   pattern of the other filters.
24
22
 - edit libavfilter/allfilters.c, and add an entry for "foobar" following the
25
23
   pattern of the other filters.
26
24
 - ./configure ...
27
25
 - make -j<whatever> ffmpeg
28
 
 - ./ffmpeg -i tests/lena.pnm -vf foobar foobar.png
 
26
 - ./ffmpeg -i http://samples.ffmpeg.org/image-samples/lena.pnm -vf foobar foobar.png
 
27
   Note here: you can obviously use a random local image instead of a remote URL.
29
28
 
30
29
If everything went right, you should get a foobar.png with Lena edge-detected.
31
30