Hi there,
I'm looking into using VLC for an Java application which I am developing & have already set up the vlcj library to enable me to play the video in a Java app which is working fine. The problem is that the application will be displayed in a portrait orientation but all the videos are in landscape, no problem I thought as I can just pass the option in to rotate the video but that parameter just doesn't work properly.
Currently I am using the RTSP protocol ( streamed via the VLC app ) & while the application receives the stream, in the process of rotating the video, it crops the sides. Initially I assumed I had a problem with vlcj or Java itself but when I run another instance of VLC from the command line with the rotate flag set & connect to the stream, it also crops stream.
It also crops the video if I pass in a file, is there anything I can do about this, or is there something I am doing wrong?
The command line options I am using are: --video-filter=rotate --rotate-angle=90
I am streaming the file using RTSP without transcoding.
Thanks in advance,
James
EDIT
Just realised that it doesn't work with files either so edited post accordingly.