Jump to content

Recommended Posts

Posted

We have Hue visualisers running on 1809 LTSC. Teachers use the camera app with them but a common complaint is they would like the image rotated and as VLC is already installed I thought I would quickly knock up a script that can be added to the start menu that opens VLC and rotates the image but although the script opens VLC it doesn't rotate the image.

 

Any ideas? 

 

vlc dshow:// :dshow-vdev="HUE HD Camera" --transform-type={vflip}

 

 

Posted (edited)

Found it 

vlc dshow:// :dshow-vdev="HUE HD Camera" --video-filter=transform --transform-type=180

 

Edited by Jobos
  • 2 months later...
Posted

Further to my posts above I have found the rotated image is not as clear as the non-rotated image. I have tried a number of different filters but nothing is working to clean up the image. This is what I have so far.

 

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="HUE HD Camera" :vout-filter=transform --transform-type=180 --video-filter "transform{true}"

 

The images are with and without being rotated but look to dark here but fine on the screen.

 

image.png.23e92373c9c855b2d42e3765f26cb045.png

 

Capture2.PNG.05a7db8b7d31cfb8c7d7be94daebed61.PNG

 

Any ideas?

Posted

Can you rotate it in the Camera settings? 

and does it then look ok? 

Send them a Guide to hopefully do it once and then VLC Just opens normally?

image.thumb.png.18a7a1ea1ed381fedef20ebd7b4f7f73.png

Posted

Only the admin machines are running Win 11, the teaching machines are still running LTSC 1809 so might not have the ability to change the rotation but I will check.

Posted (edited)
21 hours ago, Jobos said:

Only the admin machines are running Win 11, the teaching machines are still running LTSC 1809 so might not have the ability to change the rotation but I will check.


Just as I thought, the camera app on LTSC 1809 is too old to rotate the image. 

Edited by Jobos
Typo
  • Like 1
Posted
On 04/10/2025 at 15:02, andy_b said:

Does straight ffmpeg do a better option?

 

ffplay -f dshow -i video="HUE HD Camera" -vf vflip

 

 

Yes it does and without distortion. I just had to edit the arguments a little so it is now

 

ffplay.exe -f dshow -i video="HUE HD Camera" -vf "transpose=2,transpose=2"

   

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...