tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
400 stars 51 forks source link

Concating video taken with back and front camera flips front side camera video upside down (concating videos with different rotations) #230

Closed bogdanJoca closed 3 years ago

bogdanJoca commented 3 years ago

Description Hy, i am trying to concat video recorded with back camera and one recorded with front using await RNFFmpeg.execute(-f concat -safe 0 -i ${textFile} -c copy ${outputPath}); but the one recorded with front camera is fliped vertically.

Concatation is succesfull when I concat multyple videos which are only front or ones only back camera, but if I mix them front one flips vertically.

I can see from the logs that the back camera rotation: 90 and front is -90, and merged one is 90.

Expected behavior Concating videos recorded with front and back to be rotated as they are recorded.

Current behavior Tring to concat video recorded with back camera and one recorded with front but the one recorded with front camera is fliped vertically.

Environment

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.