You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/02/27 11:22:49 UTC
[GitHub] [cordova-plugin-media-capture] indraraj26 opened a new issue #163:
[Android 10 | 9] Transcode Error
indraraj26 opened a new issue #163: [Android 10 | 9] Transcode Error
URL: https://github.com/apache/cordova-plugin-media-capture/issues/163
# Bug Report
## Problem
### What is expected to happen?
It should not throw error and compress successfully.
### What does actually happen?
```
net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: Non-baseline AVC video profile is not supported by Android OS, actual profile_idc: 100
```
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
```
this._videoEditor.transcodeVideo({
fileUri: file,
outputFileName: 'video-output-' + new Date().getTime().toString(),
saveToLibrary: false,
optimizeForNetworkUse: this._videoEditor.OptimizeForNetworkUse.YES,
outputFileType: this._videoEditor.OutputFileType.MPEG4
}).then((fileUri: string) => {
this._shared.Loader.hide();
setTimeout(() => {
this.uploadFile(fileUri, 'video');
}, 500);
})
```
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
Device: Moto one power android 10
Device: Real me pro android 9
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
```
Ionic:
Ionic CLI : 5.4.15 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.2
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, (and 20 other plugins)
Utility:
cordova-res (update available: 0.9.0) : 0.8.1
native-run : 0.3.0
System:
Android SDK Tools : 26.1.1 (/home/infini/Android/Sdk)
NodeJS : v12.13.1 (/usr/local/bin/node)
npm : 6.13.7
OS : Linux 4.15
```
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [X] I searched for existing GitHub issues
- [X] I updated all Cordova tooling to most recent version
- [X] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org