VLC Transform-Type Option With Images

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

VLC Transform-Type Option With Images

Postby ph0rce » 28 Apr 2015 13:46

Morning,

For a while now I have successfully been using the command line parameters to rotate videos via:

--video-filter=transform --transform-type=270

However I am now using VLC to display images as well as video files & have found that the above option doesn't work.

Is there any way to rotate an image via the command line?

Thanks,

James

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Transform-Type Option With Images

Postby Rémi Denis-Courmont » 28 Apr 2015 13:52

VLC treats images as still video. There is no difference. Maybe the pixel format cannot be rotated.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 28 Apr 2015 14:05

It seems as though it cannot rotate JPG files, it actually works fine with PNG files.

No chance of this being fixed in the future I assume?

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 28 Apr 2015 14:12

Scratch that, it works with *some* png files & seemingly no JPG files, certainly not that I've got. :(

Is there anyway to tell what pixel format I need an image to be in for it to be rotatable?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Transform-Type Option With Images

Postby Jean-Baptiste Kempf » 03 May 2015 18:53

Waht version of VLC?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 07 May 2015 11:08

2.2.0 Weatherwax

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Transform-Type Option With Images

Postby Jean-Baptiste Kempf » 07 May 2015 17:26

Please share the logs....
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 08 May 2015 11:26

This what you are looking for ( I believe ):

Code: Select all

core debug: looking for video filter2 module matching "any": 58 candidates swscale debug: 450x450 (450x450) chroma: RV24 -> 450x450 (450x450) chroma: RV32 with scaling using Bicubic (good quality) core debug: using video filter2 module "swscale" core debug: Filter 'Swscale' (0000000004e93f10) appended to chain core debug: original format sz 450x450, of (0,0), vsz 450x450, 4cc RV24, sar 1:1, msk r0xff g0xff00 b0xff0000 core debug: Adding 'transform' as interactive core debug: looking for video filter2 module matching "transform": 58 candidates transform error: Unsupported pixel size 3 (chroma RV24) core debug: no video filter2 modules matched core error: Failed to create video filter2 'transform' core error: Failed to add filter 'transform'
So as you said, it is a problem with the pixel size, rather than VLC.

Do you know what pixel size is accepted by VLC for rotation, and, off topic, how on earth I can change the pixel size of an image?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC Transform-Type Option With Images

Postby Jean-Baptiste Kempf » 08 May 2015 14:11

transform error: Unsupported pixel size 3 (chroma RV24)

That is the reason. What format is your image?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 08 May 2015 17:23

Not sure how best to upload it, is this any good:

http://we.tl/TFXQuPr9aa

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 19 May 2015 10:48

Any ideas as to what I need to be doing to my images in order to get them to rotate?

If not, please could you give me a sample image which does rotate correctly so I can try to compare the differences?

Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Transform-Type Option With Images

Postby Rémi Denis-Courmont » 19 May 2015 11:42

There is nothing really wrong with the video. In this case, VLC should rotate the video after pixel format conversion, but that was never implemented.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ph0rce
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2011 13:52

Re: VLC Transform-Type Option With Images

Postby ph0rce » 21 May 2015 17:18

Clearly there is something wrong, as I am still unable to rotate images using VLC! :)

Are you not able to tell me what pixel format(s) VLC does support ( as far as rotation goes ), or simply provide me with a working example of an image which does rotate so I can try to compare it with the ones I have?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests