mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
FFMPEG transcode by QSV ,the video autorotated #2194
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#2194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HuoDaxia on GitHub (Oct 9, 2024).
The same problem as this issue.https://github.com/photoprism/photoprism/issues/4403
I configured transcoding by QSV,it‘s so fast but the video played rotered 90 degrees.
Config transcode by QSV as https://docs.photoprism.app/getting-started/advanced/transcoding/ ,and enable FFMPEG transcode.
Play a video form smartphone by portrait mode.
I think we need an option can chose if use -noautorotate option when FFMPEG running.
First.When smartphone filming vedio by portrait mode,the video will tag totated.
Second.When FFMPEG working ,autorotate is default option,if we don‘t need it should add -noautorotate opt.

Third.Transcode by FFMPEG didn‘t have -noautorotate opt, and we can't change it.

https://github.com/user-attachments/assets/2dd470d2-cc33-4d35-892f-12bfa52fd2bb
(a) PhotoPrism Architecture & Build Number: AMD64, Build [240915-e1280b2fb]
(b) Database Type & Version: MariaDB, 11.5.2
(c) Operating System Types & Versions: Linux
(d) Browser Types & Versions: Firefox, Chrome, Safari on iPhone,... ALL
(e) Ad Blockers, Browser Plugins, and/or Firewall Software? Na
This is especially important if you are reporting a performance, import, or indexing issue. You can skip this if you're reporting a problem you found in our public demo, or if it's a completely unrelated issue, such as incorrect page layout.
(a) Device / Processor Type: Synology NAS/Intel® Celeron® Processor 3867U
(b) Physical Memory & Swap Space in 8GB
(c) Storage Type: SSD, RAID
@lastzero commented on GitHub (Oct 13, 2024):
Since we already have two issues regarding the same problem, I am closing this one as duplicate:
I have also already tried the noautorotate flag:
You are welcome to repeat the tests and let us know if you were successful!
@HuoDaxia commented on GitHub (Oct 25, 2024):
I‘ve tried encoding by software,it's optput the right result as default video
But I still not understood how to add -noautorotate opt when I'm transcoding by QSV
Software encoding use too much system resources ,It’s an important function for low power host
@lastzero commented on GitHub (Oct 25, 2024):
To change the command parameters for QSV transcoding, you will have to edit them and build from source. This is how I tested the noautorotate flag, just to find that it didn't resolve the issue. However, you can also test it by manually running the ffmpeg command in a terminal.