[vlc-devel] Could I duplicate/destroy a "stream out" dynamically with VLM?

Andy chenee chenee543216 at gmail.com
Tue Sep 1 04:10:40 CEST 2009


hi all:

Could I duplicate/destroy a "stream out" dynamically , with VLM ?

suppose I already launch a Media below,

    >new ch1 broadcast enabled
    >setup ch1 input /tmp/1.mp4
    >setup ch1 output
#transcode{vcodec=h264,vb=800,scale=1}:duplicate{dst=std{access=file,mux=mp4,dst=/tmp/v.mp4}}
    >control ch1 play

if I want to duplicate the stream to Display, I re-set the ch1 output like
that:

    >setup ch1 output
#transcode{vcodec=h264,vb=800,scale=1}:duplicate{dst=std{access=file,mux=mp4,dst=/tmp/v.mp4},
dst=display}

^^^^^^^^^^^^^
but there's nothing happend, until I stop the ch1 and replay it:

    >control ch1 stop
    >control ch1 play

is there any mechanism to support this dynamic duplicate? or I have to code
by myself ,if that, any suggestion?

-- 
--------------
HHCN Andy chenee at hhcn.com
Tel/Fax: +86-551-5325652,5325653-820
Products Info. : http://www.hhcn.com
Tech. Support  : http://www.hhcn.org
HHTech : An Embedded Linux Tech. Provider in Mainland China
2008-08-13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090901/be36b433/attachment.html>


More information about the vlc-devel mailing list