here is the command line i used to make vlc do both display and stream-out.(video source is a home video cam)
./vlc v4l2:///dev/video1 :v4l2-adev=/dev/audio2 :input-slave=alsa:// :v4l2-standard=3 ....(other v4l2 options) --sout-x264-pre-scenecut --sout-x264-scenecut=50 --sout-x264-me=umh ....(other sout options) --sout="#duplicate{dst=.....(dst options),dst=display}" -I telnet
although I tried "--no-fullscreen" and setting v4l2 resolution by ":v4l2-width=640 :v4l2-height=480"e.g. , display works well but the screen output always stretched to fullscreen. should I re-compile vlc using some addition option or something else?
system: ubuntu 9.04
Thanks very much!