Comments (3)
Hello and thanks for reporting,
I'm going to post a workaround that should keep the video format as-is:
(1) specify videoExportPreset
in options, with the value Passthrough
(2) read the result from uri
, as seen in this image
We're going to provide an improved solution - use the workaround in the mean time.
How this works: in transcodeVideoAsync this will return the vide url unchanged - so whatever file you select, it'll return its copy without transcoding it.
Thank you 🙂
from expo.
Hello and thanks for reporting, I'm going to post a workaround that should keep the video format as-is:
(1) specify
videoExportPreset
in options, with the valuePassthrough
(2) read the result from
uri
, as seen in this imageWe're going to provide an improved solution - use the workaround in the mean time.
How this works: in transcodeVideoAsync this will return the vide url unchanged - so whatever file you select, it'll return its copy without transcoding it.
Thank you 🙂
Hello @vonovak ,
Thank you very much for taking the time to respond and for replicating the issue I'm experiencing. However, I noticed that in your response, while the filename is in .mp4, the URI is still in .mov format. My expected behavior is for the URI to also be in .mp4 format, matching the format selected from the library
Thank you again for your help
from expo.
Hello, apologies, the above screenshot was for a mov
file. The one below is for an mp4
file.
So the provided workaround should work.
from expo.
Related Issues (20)
- How to detect what types of cameras (front/back) a device supports? HOT 1
- Can't get Read SMS Permission with expo HOT 1
- How can I debug Hot Module Replacement in my project? HOT 1
- Expo CLI suddenly started giving 401 errors and can't npx expo login anymore. HOT 1
- Unable to navigate back to the correct page in Tab navigator
- getPermissionsAsync returns denied instead of undetermined on Android
- `expo-image` - `onLoad` reports incorrect intrinsic size on Android HOT 1
- [Camera] takePictureAsync got 'Received 1 arguments, but 2 was expected' error HOT 3
- Expo fonts only loading first font on development build on iOS
- Error: Cannot find native module 'ExpoVideo' HOT 1
- [expo-av] Crash when playing video on new arch
- [expo-video] Crash when error thrown in listener callback
- expo-video breaks on Android (Error: Cannot find native module 'ExpoVideo' #29994) HOT 2
- Websocket [ws] browser error on mobile apps HOT 3
- [expo-video] UIBackgroundModes audio key added by default HOT 2
- > Task :expo-dev-launcher:compileReleaseWithDevLauncherKotlin FAILED HOT 1
- Old graphql dependency HOT 1
- @expo/fingerprint changes hash after setting runtime version
- Function getExpoPushTokenAsync hangs indefinitely with standalone builds on iphone simulator
- Pressable elements not working on native android devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.