Skip to content

WIP: video transcoding & camera full hd resolution

Martin Santangelo requested to merge feat/video-transcode into release/4.24.0

Ticket(s) / Related Merge Requests

#4190 (closed) #4124 (closed)

Summary of Changes

Local video transcoding was added in order to improve the upload speed and the transcoding time on the backend

  • Transcode videos selected from the gallery before uploading (to FullHD 1920x1080)
  • Added support for rotated videos to the transcoding logic
  • Changes the camera video resolution to FullHD so no transcoding is necessary when capturing videos from the app
  • Adds type checking to the attachment store and attachment service
  • Removes the react-native-convert-ph-asse package (not longer necessary)

Testing Considerations

It should be tested on both platforms with different types/sizes of videos

attaching

  • Open composer
  • Attach a video
  • Submit
  • Post should be created a video must be correct

cancel

  • Open composer
  • Attach a video
  • Cancel
  • Attachment must be removed

Regression Scope

All media attachments may be affected

Platform Affected (web, mobile, etc)

Both

Developer Testing Completed

Tested on both platforms with different video resolutions/sizes

Screenshots

There are no changes on the UI side

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Merge request reports