Page 1 of 1

How to apply "transform" vfilter to stream output?

Posted: 21 Feb 2006 07:00
by mak
Dear VLC gurus,

I'm trying to use VLC for streaming from webcam. Unfortunately, I have to install the webcam upside down, so I'd like to make VLC to rotate the picture upside down. However, I cannot find a way to apply "transform" filter to stream output.

From the command line, I tried:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" -v -I rc --ttl 5 dshow:// :dshow-size="320x240" :dshow-fps=15 --time-size=20 --transform-type=180 --sout=#transcode{vcodec=DIV3,vb=512,scale=1,fps=15,acodec=mpga,ab=96,samplerate=22050,audio- sync,vfilter=transform,sfilter=time}:std{access=udp,mux=ts,url=239.255.1.1:1234}
Then I have this error message:

Code: Select all

[00000291] main private warning: no video filter2 module matching "transform" could be loaded
I'm using VLC 0.8.4a on Windows XP SP2, but I see the same error message on Linux. I get the same error even when I use GUI to set tranform filter in streaming output...
Is this a bug of VLC, or just a silly mistake of mine? Please help me. Any information is appreciated.

ps. Of course I can apply transform filter to the client-side VLC, but in that case, the timestamp from sfilter=time is showed upside down...

Posted: 21 Feb 2006 13:05
by dionoea
some of the filters, including transform, are still using the old video filter 1 framework. They can only be used with a video output. So you won't be able to use it. Sorry :(

That might of course be changed in 0.8.6 if we're lucky. (this is part of https://trac.videolan.org/vlc/ticket/29 )

Thanks

Posted: 23 Feb 2006 08:37
by mak
Thanks dionoea for your reply. I was relieved because it was not my fault. :)
I believe transform is one of the simplest filters... I hope it is supported soon. Until then I'll manage with turned timestamp...
Anyway, thank you so much for developing such a powerful program!