* all: new sout scheme. Now a chain of module are created that can
authorLaurent Aimar <fenrir@videolan.org>
Sun, 13 Apr 2003 20:00:21 +0000 (20:00 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 13 Apr 2003 20:00:21 +0000 (20:00 +0000)
commit4dec9682f6b5b0b6ed2d5187f4652cb680f39000
tree2bd33d0e5c6aa2d5af93149f4cd828c2770fa414
parent1bab4d1788d1f39537eebc09a5aec491c5064640
 * all: new sout scheme. Now a chain of module are created that can
modify/apply on all streams, --sout has the same behavour expect when
starting with a '#'.

 With a starting '#' you can specify a chain of modules, it's still
unstable but a lot more powerfull.
 You have access to duplicate(that duplicate all stream), transcode
(using only ffmpeg), standard/std and es (that apply muxers and access),
and display. You could chain them with ':' and specify options with
{option1=value,option2=value[,...]}.

ex: * to stream and see the stream to udp/ts:ip
 --sout '#duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
    * to transcode,see and stream
 --sout '#transcode{acodec=mpga}:duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'

 Without a starting '#', the url is converted into '#std{acces=,mux=,url}'
Test and report bugs :)
25 files changed:
configure.ac.in
include/input_ext-intf.h
include/stream_output.h
include/vlc_common.h
modules/Makefile.am
modules/mux/avi.c
modules/mux/mpeg/ps.c
modules/mux/mpeg/ts.c
modules/mux/ogg.c
modules/packetizer/a52.c
modules/packetizer/copy.c
modules/packetizer/mpeg4audio.c
modules/packetizer/mpeg4video.c
modules/packetizer/mpegaudio.c
modules/packetizer/mpegvideo.c
modules/stream_out/Modules.am [new file with mode: 0644]
modules/stream_out/display.c [new file with mode: 0644]
modules/stream_out/dummy.c [new file with mode: 0644]
modules/stream_out/duplicate.c [new file with mode: 0644]
modules/stream_out/es.c [new file with mode: 0644]
modules/stream_out/standard.c [new file with mode: 0644]
modules/stream_out/transcode.c [new file with mode: 0644]
src/input/input_dec.c
src/input/input_programs.c
src/stream_output/stream_output.c