[vlc] Re: changing transcode parameters on-the-fly
Jean-Paul Saman
jean-paul.saman at planet.nl
Sun Feb 18 13:13:32 CET 2007
Gun Akkor wrote:
> Hello,
>
> I am starting VLC with the following command line on a Linux machine:
>
> vlc v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=1
> --sout '#transcode{vcodec=h264, venc=x264{tolerance=0.05, analyse=fast,
> qp=26, me=hex}, acodec=mpga, ab=32, deinterlace=blend, vb=32,
> height=144, width=176, fps=12}:duplicate{dst=std{access=udp, mux=ts,
> dst=192.168.200.1:1235}}' -I dummy --extraintf rc --rc-unix
> "/tmp/video0.vty" > /tmp/video0.log 2>&1 &
>
> which allows me to capture video, transcode it using the x264 library
> and to stream it UDP to a local subnet while keeping a rc unix-socket
> interface open. This part works perfectly. What I would like to ask to
> the list is whether there is a way to change any of the transcoding
> parameters on-the-fly without using a graphical interface, and without
> stopping/re-starting the current VLC interface. It is possible to adjust
> the size or fps parameters of the vcodec for the running stream?
>
> Any suggestion is greatly appreciated.
This is not possible at the moment and would require to change
modules/stream_out/transcode.c and its interface to ffmpeg. Provided
that ffmpeg's avformat implementation allows for these kind of changes
when the encoding chain has been setup.
> Regards,
>
> GA
>
> Gun Akkor, Ph.D.
> Engineering Department
> Patton Electronics, Co.
> Gaithersburg, MD 20879
> (301) 975-1000
> gakkor AT patton DOT com
>
Gtz,
Jean-Paul Saman.
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list