[wp-trac] [WordPress Trac] #56217: Add video rotation info in wp_read_video_metadata() (was: Missing item in wp_read_video_metadata())

WordPress Trac noreply at wordpress.org
Thu Jul 14 07:56:44 UTC 2022


#56217: Add video rotation info in wp_read_video_metadata()
---------------------------+------------------------------
 Reporter:  opajaap        |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Media          |     Version:  6.0
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:
---------------------------+------------------------------
Changes (by martin.krcho):

 * keywords:   => needs-testing


Comment:

 Thank you for your ticket, @opajaap.

 Your suggestion sounds very reasonable. I checked the getids3 library and
 I can confirm that the `rotate` meta info is supported for the QuickTime
 video at the moment.
 https://github.com/JamesHeinrich/getID3/blob/master/getid3/module.audio-
 video.quicktime.php#L1400-L1402

 Would you be able to provide a sample video and some instructions for
 testings this? Calling the function `wp_read_video_metadata()` and
 checking the response would obviously be the easiest check :) However, do
 the height and width appear swapped somewhere in the UI? Is the video
 displayed incorrectly after upload?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56217#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list