Page MenuHomePhabricator

[native] Use transcodeVideo() from MediaModule instead of ffmpeg
AcceptedPublic

Authored by angelika on Thu, Mar 20, 4:47 AM.
Tags
None
Referenced Files
F5024746: D14480.id.diff
Mon, Mar 24, 1:14 AM
F4994103: D14480.diff
Sun, Mar 23, 5:01 PM
F4974343: D14480.diff
Sun, Mar 23, 1:35 PM
Subscribers

Details

Reviewers
bartek
Summary
Test Plan

Send some videos on some devices and verify they're transcoded correctly

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

angelika held this revision as a draft.
lib/types/media-types.js
107 ↗(On Diff #47491)

I'm returning some basic stats (speed, size and duration) but some are missing compared to ffmpeg implementation because I don't see much sense in collecting them. However I can add them if necessary (should be easy on Android, more complicated on iOS)

118 ↗(On Diff #47491)

We don't have return code anymore but we throw exceptions

Looks much cleaner now

This revision is now accepted and ready to land.Sun, Mar 23, 11:44 PM