This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Überwachter Ordner
#11
Das liegt daran, dass die Video nicht wirklich Hochformat sind sondern Querformat sind und dann per Flag dem Player gesagt wurde sie sollen gedreht werden und beim Reencoden ist dieses Flag verloren gegangen.
Was war denn der Container des Inputs und der Container des Outputs.
Wenn beides mp4 ist sollte Hybrid das Flag eigentlich behalten. (Config->Output-Mp4 Settings->Passthrough rotation tag' ist standardmäßig an und war mal für solche Fälle geschrieben)
Falls das nicht klappt bräuchte ich mal ein kleines Sample von so einem Input (ein paar Sekunden reichen) mit dem ich das antesten kann.

Cu Selur
Reply
#12
Input ist .mp4 und output .mkv weil ich alle Audiostreams als Opus haben will.

Hier der Link zu nem Sample Video: Hochformat
Reply
#13
Okay, dann ist klar warum das nicht geht. Smile
mkv hat kein Rotations flag wie .mp4, ich könnte vermutlich was schreiben, damit Hybrid in solchen Fällen das Video dann wirklich rotiert beim Reencoden, aber aktuell kann Hybrid das nicht.
Oh sehe gerade, mkv hat mittlerweile so flags:
  • --projection-type TID:method
    Sets the video projection method used. Valid values are 0 (rectangular projection), 1 (equirectangular projection), 2 (cubemap projection) and 3 (mesh projection).
  • --projection-private TID:data
    Sets private data that only applies to a specific projection. Data must be given as hex numbers with or without the "0x" prefix, with or without spaces.
  • --projection-pose-yaw TID:float
    Specifies a yaw rotation to the projection.
  • --projection-pose-pitch TID:float
    Specifies a pitch rotation to the projection.
  • --projection-pose-roll TID:float
    Specifies a roll rotation to the projection.
siehe: https://mkvtoolnix.download/doc/mkvmerge.html
Frage ist allerdings ob irgendwelche Player die Flags auch unterstützen.

Cu Selur
Reply
#14
Ich hab leider keine Ahnung wenn es um sowas geht, aber wenn das Flag im Video der Grund ist warum der Output gedreht wurde, könnte man dann nicht "einfach" den Wert entfernen oder so abändern dass die Rotation zu verhindert wird?   Big Grin jaja wenns so einfach wäre
Reply
#15
Zur Erklärung:
Die hochkant Videos werden z.B. mit 1080x1920 (Breite x Höhe) abgespielt, werden aber in Wirklichkeit 1920x1080 und haben ein Flag für die Wiedergabe, was festlegt, dass das Video bei der Wiedergabe um 90° gedreht werden soll.

Hybrid muss:
1. das Flag im Input entdecken
2. entscheiden was es mit dem Flag macht
a. ignorieren
b. auch am Output Container setzten
c. verwerfen, aber das Video rotieren

Momentan macht Hybrid bei mkv Output a. , da b. aber an sich auch möglich ist, schaue ich mal ob z.B. MPC-HC so ein Flag überhaupt wahrnimmt oder ob der es einfach ignoriert.

Cu Selur
Reply
#16
Hab gerade mal getestet, scheint leider als ob MPC-HC die Rotations Flags an mpv nicht unterstützt.
-> ich schau mal ob ich was schreiben kann, damit c. möglich ist

Cu Selur
Reply
#17
Hab mal ein Video was ich mit:
mkvmerge --ui-language en -o "E:\Output\source with rotation flag.mkv" --global-tags "E:\Temp\source with rotation flag_08_56_54_1010__06.xml" -d 0 --default-track 0:yes --projection-type 0:0 --projection-pose-roll 0:90 --track-name 0:"VideoHandle" --language 0:en --default-duration 0:2984100/100000fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles --timecodes 0:"E:\Temp\timecodeV2_08_56_54_1010.tc" "E:\Temp\08_56_54_1010_03.264"
erstellt habe angehängt.
'--projection-type 0:0 --projection-pose-roll 0:90' sollte eine Rotation um 90° beim Playback zur Folge haben, aber zumindest in meinem MPC-HC wird das Video nicht rotiert.

Cu Selur


Attached Files
.zip   source with rotation flag.zip (Size: 721,33 KB / Downloads: 155)
Reply
#18
Danke für die Erklärung, soweit hab ichs jetzt verstanden. Wär hammer wenn das funktionieren würde. 

Btw, gibts ne andere Möglichkeit für eine Donation als PayPal? Ich hasse PP und leider ist hier eine Donation mit einer PP Accounterstellung verbunden.
Reply
#19
Ich schau mal drauf.
Donation kann man über PayPal entweder mit einem PayPalAccount oder einer Kreditkarte machen, sprich wenn man eine Kreditkarte hat geht es auch ohn PayPalAccount.

Cu Selur
Reply
#20
Hab ich versucht, leider kann ich die Zahlung nicht tätigen ohne mir einen Account anzulegen. Nicht das erste mal bei PP und einer der Gründe warum ich die meide. Liegt evtl daran dass ich in der Schweiz wohne? 

Ich versuche mich möglichst nicht doof zu stellen, aber ich hab keine Ahnung wo die Parameter --projection-type 0:0 --projection-pose-roll 0:90 eingetragen werden müssen. Wenn ich sie bei Config->Mkv Settings->mkvmerge command line addition eintrage, ist das Video wieder gedreht.  Huh Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)