Skip to content

[BUG] Boomerang processing on iOS, portrait video issue. #202

Closed
@Craigtut

Description

@Craigtut

Currently 2 issues with Boomerang processing on iOS: portrait video & exported file compatibility. I've spent hours trying to figure it out but having zero experience with swift or video processing I'm stuck at this point. I've tried implementing video orientation from here - raywenderlich - without much success.

I'd be very appreciative if someone with better experience could take a look at it.

Current Behavior

When using the boomerang processing on iOS, portrait orientation video is processed into a 90 degree rotated landscape video. It also doesn't play fully on any device but apple devices (the example video plays fine on Apple devices but won't in the browser)

Example of current iOS processing (This was a portrait video prior to processing):
https://firebasestorage.googleapis.com/v0/b/app-836pm.appspot.com/o/posts%2FaLiK84OPI7SxFLPYEJOUUKRpUo92%2FbDieykplBBQjB8qP450cIrJduov8WS%2F2018-12-16T08:30:49.210Z.mp4?alt=media&token=c0eaf5b6-7b44-41be-b8ad-3e0c4cf128bf

Expected Behavior

Expected to follow Android's behavior and process and export portrait video back into a portrait orientation that is playable on all devices.

Example of Android processing:
https://firebasestorage.googleapis.com/v0/b/app-836pm.appspot.com/o/posts%2FtvUWC2so22QhVfaNlHH2ielPrjB3%2FSXsyfT5O8yjG98rqf2h8RKotqKcqSB%2F2018-12-16T10%3A13%3A59.468Z.mp4?alt=media&token=49a4bc8b-4752-4769-93da-fff8be69475c

Your Environment

iOS 11 & 12

software version
react-native-video-processing 1.7.1
react-native 0.57.3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions