Changeset acf4606c17f89631b8a3568d0824a4dcab6ebbb6
- Timestamp:
- 10/03/05 18:23:43
(4 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1110475423 +0000
- git-parent:
[9cb4d58cce49e1a1687bd51dfb9a12cb4a5b6a1f]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1110475423 +0000
- Message:
* modules/stream_out/switcher.c: New module allowing to replace an MPEG2
video by a fixed panel (format .uyvy). Specify panel files with
--sout-switcher-files=toto.uyvy,tata.uyvy,titi.uyvy and the size of
pictures with --sout-switcher-sizes=720x576,720x576,480x576.
--sout-switcher-port=4242 opens up a UDP port. echo 1 | nc -u localhost 4242
switches to panel #1 (0 is the live video, -1 disables all output).
The audio is blanked out when a panel is active. --sout-switcher-command
specifies the first command to run on start-up.
* modules/access/fake.c: Fake video input simulating a video at x fps.
Use it to switch between fixed panels with the switcher when you have
no video.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r25c37b3 |
racf4606 |
|
| 985 | 985 | VLC_ADD_PLUGINS([i420_rgb rawvideo blend scale image logo]) |
|---|
| 986 | 986 | VLC_ADD_PLUGINS([wav araw subtitle vobsub adpcm a52sys dtssys au voc xa]) |
|---|
| 987 | | VLC_ADD_PLUGINS([access_directory access_file access_udp access_tcp]) |
|---|
| | 987 | VLC_ADD_PLUGINS([access_directory access_file access_udp access_tcp access_fake]) |
|---|
| 988 | 988 | VLC_ADD_PLUGINS([access_http access_mms access_ftp ipv4]) |
|---|
| 989 | 989 | VLC_ADD_PLUGINS([packetizer_mpegvideo packetizer_h264]) |
|---|
| … | … | |
| 1996 | 1996 | AC_CHECK_HEADERS(ffmpeg/avcodec.h) |
|---|
| 1997 | 1997 | AC_CHECK_HEADERS(postproc/postprocess.h) |
|---|
| 1998 | | VLC_ADD_PLUGINS([ffmpeg]) |
|---|
| 1999 | | VLC_ADD_CFLAGS([ffmpeg],[`${FFMPEG_CONFIG} --cflags`]) |
|---|
| | 1998 | VLC_ADD_PLUGINS([ffmpeg stream_out_switcher]) |
|---|
| | 1999 | VLC_ADD_CFLAGS([ffmpeg stream_out_switcher],[`${FFMPEG_CONFIG} --cflags`]) |
|---|
| 2000 | 2000 | VLC_ADD_LDFLAGS([ffmpeg],[`${FFMPEG_CONFIG} --plugin-libs avcodec avformat postproc`]) |
|---|
| 2001 | 2001 | else |
|---|
| … | … | |
| 2032 | 2032 | AC_CHECK_HEADERS(postproc/postprocess.h, [], [AC_MSG_ERROR([Missing header file postproc/postprocess.h.])] ) |
|---|
| 2033 | 2033 | AC_CHECK_LIB(avcodec, avcodec_init, [ |
|---|
| 2034 | | VLC_ADD_BUILTINS([ffmpeg]) |
|---|
| | 2034 | VLC_ADD_BUILTINS([ffmpeg stream_out_switcher]) |
|---|
| 2035 | 2035 | VLC_ADD_LDFLAGS([ffmpeg],[-lavcodec])], |
|---|
| 2036 | 2036 | [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ]) |
|---|
| … | … | |
| 2097 | 2097 | fi |
|---|
| 2098 | 2098 | |
|---|
| 2099 | | VLC_ADD_BUILTINS([ffmpeg]) |
|---|
| | 2099 | VLC_ADD_BUILTINS([ffmpeg stream_out_switcher]) |
|---|
| 2100 | 2100 | VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec ${real_ffmpeg_tree}/libavcodec/libavcodec.a]) |
|---|
| 2101 | | VLC_ADD_CPPFLAGS([ffmpeg],[-I${real_ffmpeg_tree}/libavcodec]) |
|---|
| | 2101 | VLC_ADD_CPPFLAGS([ffmpeg stream_out_switcher],[-I${real_ffmpeg_tree}/libavcodec]) |
|---|
| 2102 | 2102 | |
|---|
| 2103 | 2103 | if test -f "${real_ffmpeg_tree}/libavformat/libavformat.a"; then |
|---|
| 2104 | 2104 | AC_DEFINE(HAVE_LIBAVFORMAT, 1, [Define if you have ffmpeg's libavformat.]) |
|---|
| 2105 | 2105 | VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavformat ${real_ffmpeg_tree}/libavformat/libavformat.a]) |
|---|
| 2106 | | VLC_ADD_CPPFLAGS([ffmpeg],[-I${real_ffmpeg_tree}/libavformat]) |
|---|
| | 2106 | VLC_ADD_CPPFLAGS([ffmpeg stream_out_switcher],[-I${real_ffmpeg_tree}/libavformat]) |
|---|
| 2107 | 2107 | fi |
|---|
| 2108 | 2108 | fi |
|---|
| … | … | |
| 2147 | 2147 | VLC_ADD_CPPFLAGS([ffmpegaltivec],[-I${real_ffmpeg_tree}/libavformat]) |
|---|
| 2148 | 2148 | fi |
|---|
| | 2149 | VLC_ADD_LDFLAGS([stream_out_switcher],[-L${real_ffmpeg_tree}/libavcodec]) |
|---|
| | 2150 | VLC_ADD_CPPFLAGS([stream_out_switcher],[-I${real_ffmpeg_tree}/libavcodec -I${real_ffmpeg_tree}/libavformat]) |
|---|
| 2149 | 2151 | fi |
|---|
| 2150 | 2152 | fi |
|---|
| r0e27492 |
racf4606 |
|
| 9 | 9 | SOURCES_dvdread = dvdread.c |
|---|
| 10 | 10 | SOURCES_slp = slp.c |
|---|
| | 11 | SOURCES_access_fake = fake.c |
|---|
| 11 | 12 | SOURCES_cdda = \ |
|---|
| 12 | 13 | cdda.c \ |
|---|
| raba6d6b |
racf4606 |
|
| 10 | 10 | SOURCES_stream_out_gather = gather.c |
|---|
| 11 | 11 | SOURCES_stream_out_rtp = rtp.c |
|---|
| | 12 | SOURCES_stream_out_switcher = switcher.c |
|---|