Page 1 of 1

iPhone selfies: VLC considers them landscape rather than portrait

Posted: 12 Aug 2019 11:13
by gboc
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!

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

Posted: 12 Aug 2019 14:10
by InTheWings
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.

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

Posted: 12 Aug 2019 14:23
by gboc
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.

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

Posted: 12 Aug 2019 17:00
by InTheWings
Need to reproduce
Send one 2+Sec sample video and the procedure you are doing for conversion

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

Posted: 13 Aug 2019 09:15
by gboc
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.

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

Posted: 20 Aug 2019 07:32
by gboc
..anyone :wink: ?

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

Posted: 20 Aug 2019 18:11
by InTheWings
..anyone :wink: ?
need more time for this.

You don't need T.140, you can use MP4 native tx3g

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

Posted: 26 Aug 2019 22:56
by InTheWings
fix done. Will go on master branch first

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

Posted: 27 Aug 2019 18:27
by gboc
THANKS!!!

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

Posted: 16 Jun 2020 12:08
by keratis
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