Page MenuHomePhabricator

[native] Remove ffmpeg dependency
AcceptedPublic

Authored by angelika on Thu, Mar 20, 4:48 AM.
Tags
None
Referenced Files
F5025402: D14481.diff
Mon, Mar 24, 5:30 AM
F5024518: D14481.diff
Mon, Mar 24, 12:18 AM
F4976172: D14481.id47492.diff
Sun, Mar 23, 2:05 PM
F4974349: D14481.diff
Sun, Mar 23, 1:36 PM
Unknown Object (File)
Sun, Mar 23, 4:25 AM
Unknown Object (File)
Sun, Mar 23, 2:08 AM
Unknown Object (File)
Sat, Mar 22, 12:39 AM
Subscribers

Details

Reviewers
bartek
Summary

https://linear.app/comm/issue/ENG-10314/migrate-comm-app-to-use-new-media-module

  • got rid of ffmpeg dependency
  • renamed ffmpeg.js to mediaProcessingQueue.js because the main feature of this file is the queue and wrapping functions from the media module
  • reanamed FFmpegStatistics and video_ffmpeg_transcode step

Depends on D14480

Test Plan

Compile the app and verify sending videos still work

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

angelika held this revision as a draft.

Wondering how much smaller our binaries will be without ffmpeg 😀

This revision is now accepted and ready to land.Fri, Mar 21, 8:57 AM
native/media/media-processing-queue.js
31 ↗(On Diff #47503)

Do we still need this synchronous queue? We previously had it because of limitations in ffmpeg-kit, but it reduces performance when a user uploads multiple media in a single message

native/media/media-processing-queue.js
31 ↗(On Diff #47503)

I was thinking about this too, but I have a suspicion that mobile devices can struggle with processing multiple videos simultaneously and CPU performance will be a limiting factor