Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
thebiochemic3019356dit's also not like the camera sensor configuration changes aswell. Best you can do is to just disable screen rotation entirely.
-
exerceo1192356d@thebiochemic With disabled orientation, the default is vertical. The camera software has its internal rotation system too.
If poorly implemented, the system rotation and the camera software internal rotation interfere with each other. This happened in the Galaxy S6 to S8 era (2015-2017). -
Lensflare16995356dI remember someone here suggesting to add this to the camera UI:
"You are holding your phone vertically. Rotate it, you idiot!"
😄 -
exerceo1192356d@Lensflare Whoever suggested it, that is a nice idea!
The problem is that a camera application might save the video vertically even if the phone was held horizontally since the beginning.
Detecting the rotation duration would fix it, regardless of how the phone was held in the beginning of the recording. -
Parzi8833356d@exerceo You can change resolutions mid-stream for most containers, you could just... flip the video in real-time based on gyro sensors? It'll look weird on desktops, but it would probably work. I know VLC will also honor EXIF data and rotate the video as needed, so that may also be of use.
-
c3r38r1703769356dOr, a message saying "you filmed most of your video vertically, want us to make it that way for the whole video? Yes / No, thanks / No, don't remind me again", and let the user decide.
-
exerceo1192355d@c3r38r170 If it can change the metadata of the video without having to rewrite the entire video file to storage, then sure.
If it has to rewrite the entire video file, it temporarily needs as much free space as the video file is in size, and needlessly wears down the flash storage chip. For a quarter-hour 2160p 4K video, that's several gigabytes already. -
gitstashio298354d@c3r38r170 I think they realized most smartphone users will not even understand what that message means and press Yes by default
Related Rants
-
HelloUglyWorld12This will definitely trigger some people. New smartphone releases aren't 'tech news'. An implementation of a...
-
exerceo17> "Just keep your battery charge between 25% and 75%, bro! It will slow the wearing of your non-replaceable ba...
-
exerceo10> "Just use power saving mode, bro! It will extend the life of your non-replaceable battery!" Of course I bo...
I am sick of misrotated videos.
Sometimes, the phone camera software saves a video vertically because the user hits "record" before the software has detected that the user is holding the smartphone horizontally, because the software stupidly launches in vertical orientation by default.
So the software wants the user to wait until it has finally detected horizontal orientation, which causes the user to miss out on a moment.
How about the camera software actually saves the video in the orientation it was recorded in for the most time, rather than only the beginning of the video?
If I can think of this idea, billion-dollar companies surely can.
In the meantime, misrotated videos can be fixed using this ffmpeg command on Linux or Windows:
ffmpeg -i input_file.mp4 -metadata:s:v rotate="0" -c copy output_file.mp4
And if the phone was held with the home button to the left side:
ffmpeg -i input_file.mp4 -metadata:s:v rotate="180" -c copy output_file.mp4
This solution is superior compared to using -vf (video filters) because it only touches the metadata of the video. No re-encoding. This means no quality loss and no CPU/GPU power needed to process the video again. It just passes through.
rant
smartphones