Rotate video 90 degrees on server-side

Feature requests for VLC.
vlasky
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Apr 2006 02:25

Rotate video 90 degrees on server-side

Postby vlasky » 19 Jun 2006 09:19

I am using VLC in stream-out mode with an Apple iSight webcam to monitor a very tall scene.

I can get a far better image by rotating the camera 90 degrees to get a portrait view rather than a landscape view (e.g. so the image is 480x640 instead of 640x480).

Unfortunately on the client end, the user has to look sideways or use the VLC client with the rotate transform filter to see the image the right side up.

Can we add support to VLC in stream out mode to rotate the image on the server side so that users will see the image correctly on whichever client they are running. Thanks.

yoann
Cone that earned his stripes
Cone that earned his stripes
Posts: 212
Joined: 04 Feb 2005 14:58
Location: Waltham, MA, USA
Contact:

Postby yoann » 19 Jun 2006 16:18

Sure, go to Preferences -> Stream output -> Sout stream -> Transcode -> check "Video transformation filter" in the "Video filter" section.

Or, if you are using the command-line:

Code: Select all

--sout-transcode-vfilter transform

vlasky
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Apr 2006 02:25

Rotate video 90 degrees on server-side

Postby vlasky » 19 Jun 2006 16:55

I am using VLM. Can you please show me how this would be incorporated into the output chain inside my VLM configuration file. Here is an example of my current configuration:

new camera1 broadcast enabled
setup camera1 input dc1394:/dev/video1394/0:camera=0:size=320x240:adev=/dev/dsp:
channels=1:fps=15::brightness=100
setup camera1 output #duplicate{dst="transcode{vcodec=DIV3,vb=256,acodec=mp3,ab=
32}:std{access=mmsh,mux=asfh,url=:7070/stream1_v_medium.asf}",dst="transcode{vco
dec=MJPG,vb=4000}:std{access=http,mux=raw,url=:7070/stream1.jpg}"}

yoann
Cone that earned his stripes
Cone that earned his stripes
Posts: 212
Joined: 04 Feb 2005 14:58
Location: Waltham, MA, USA
Contact:

Postby yoann » 19 Jun 2006 17:20

It should be:

Code: Select all

setup camera1 option sout-transcode-vfilter=transform

vlasky
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Apr 2006 02:25

Rotate video 90 degrees on server-side

Postby vlasky » 24 Oct 2006 14:42

It didn't work - have you actually done this yourself?

Based on the changelog, I suspect it will be supported in version 0.9.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Oct 2006 23:23

As i stated in another thread (2 days ago i think), stuff like transform isn't possible yet since it changes the image's dimensions ... which we don't handle in vfilter=. That might change in the future.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 8 guests

cron