iPhone selfies: VLC considers them landscape rather than portrait

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gboc
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2019 09:11

iPhone selfies: VLC considers them landscape rather than portrait

Postby gboc » 12 Aug 2019 11:13

Hello :-)

I shoot selfies with my iPhone then I use VLC to add subtitles and a logo.
VLC has no problem playing the raw videos (.mov).

But when VLC adds subtitles and logo, I get this result:
https://youtu.be/z3vk6ZKmV7Y

It's as if VLC rotated the video, then added subtitles and logo, then rotated the video back :?

The rendered video is still read by VLC in portrait mode, but I noticed that the miniature of the file (in Windows explorer) now shows the video rotated 90° to the left.

Any ideas?

Thanks!

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby InTheWings » 12 Aug 2019 14:10

More or less that's how it works.. the video should be rotated at display time only.

Seems there's either a bug restoring the orientation in one of the filters.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

gboc
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2019 09:11

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby gboc » 12 Aug 2019 14:23

Thanks for your answer!
To me, the video should not be rotated at all...
The only filters I use are logo and subtitle inserts.
I get the same result if I try to add just the logo or the subtitles.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby InTheWings » 12 Aug 2019 17:00

Need to reproduce
Send one 2+Sec sample video and the procedure you are doing for conversion
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

gboc
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2019 09:11

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby gboc » 13 Aug 2019 09:15

Thanks again for your help!

What I do in VLC:

1) Preferences / Video / Subtitles-OSD / Logo overlay: I select this png logo:
https://drive.google.com/file/d/1XO3ul02UKIwpTBK1wdp-yV6MvXLebQFE/view?usp=sharing
X coordinate = 10
Y coordinate = 170
Logo individual image time in ms = 1000
Logo animation # of loops = -1
Opacity = 255
Logo position = bottom left
Save preferences

2) Open media (ctrl+R)
Video (.mov selfie copied from my iPhone): https://drive.google.com/file/d/1j0WslV8x-XVSleuYx6irrft-HEMKn8er/view?usp=sharing
Subtitles file: https://drive.google.com/file/d/1y2D3M_ReJsQ_iHmzKRm-czxPo8hlxPAm/view?usp=sharing
Convert/save
Profile: H.264 + MP3 (MP4)
Little "wrench button" in order to select codec T.140 for Subtitles
Enter destination file name then start.

gboc
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2019 09:11

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby gboc » 20 Aug 2019 07:32

..anyone :wink: ?

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby InTheWings » 20 Aug 2019 18:11

..anyone :wink: ?
need more time for this.

You don't need T.140, you can use MP4 native tx3g
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby InTheWings » 26 Aug 2019 22:56

fix done. Will go on master branch first
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

gboc
New Cone
New Cone
Posts: 5
Joined: 12 Aug 2019 09:11

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby gboc » 27 Aug 2019 18:27

THANKS!!!

keratis
New Cone
New Cone
Posts: 1
Joined: 16 Jun 2020 12:02

Re: iPhone selfies: VLC considers them landscape rather than portrait

Postby keratis » 16 Jun 2020 12:08

Hello

Sorry to reopen this topic but seems i encounter the same problem.

When i add my subtitle file (H.264 + MP3 (MP4)) to my mp4 video, my video stays in portrait but the subtitles are rotated.

Any advices ?

Thanks


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 18 guests