Comments (7)
@bhaveshjethani Same. Any Update?
from transcoder.
Add some delay before starting compress process! like 500 milliseconds.
from transcoder.
Add some delay before starting compress process! like 500 milliseconds.
I am getting same error. and delay didn't work.
from transcoder.
In my case, Transcoder and ExoPlayer were running at the same time. When I play ExoPlayer after the Transcoder is complete, my problem was resolved. I think the problem is caused by them using the MediaCodec class at the same time.
from transcoder.
Transcoder ver - 0.9.1
I am facing this issue in android 11 devices while merging two or more video else below android 11 video merging works fine.
Fatal error while transcoding, this might be invalid format or bug in engine or Android.
java.lang.IllegalStateException: writeSampleData returned an error
at android.media.MediaMuxer.nativeWriteSampleData(Native Method)
at android.media.MediaMuxer.writeSampleData(MediaMuxer.java:722)
at com.otaliastudios.transcoder.sink.DefaultDataSink.writeTrack(DefaultDataSink.java:151)
at com.otaliastudios.transcoder.transcode.BaseTrackTranscoder.drainEncoder(BaseTrackTranscoder.java:288)
at com.otaliastudios.transcoder.transcode.BaseTrackTranscoder.transcode(BaseTrackTranscoder.java:163)
at com.otaliastudios.transcoder.engine.Engine.transcode(Engine.java:373)
at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:150)
at com.otaliastudios.transcoder.Transcoder$1.call(Transcoder.java:140)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
if i am updating the transcoder lib to 0.10.3 then video compression is not working.
from transcoder.
Any update on this issue?
from transcoder.
I don't know if it is same issue however, I was parallelizing multiple conversion at the same time. I made the conversion in serial fashion the issue is gone. It was a problem primarily on huawei devices.
from transcoder.
Related Issues (20)
- Unexpected error while transcoding. android.media.MediaCodec$CodecException: Error 0xffffec77 HOT 1
- MPEG4 movie File Encoding fails(H.264) HOT 1
- Does not transcode when setSpeed(0.5F) or less 1 HOT 1
- java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.otaliastudios.transcoder.source.DataSource.isInitialized()' on a null object reference HOT 5
- aspect ration in merge HOT 1
- BlankAudioDataSource makes transcoding stuck forever. HOT 8
- java.lang.IllegalStateException: Can't stop due to wrong state(INITIALIZED) HOT 1
- java.lang.NullPointerException: buffers.getOutputBuffer(result) must not be null
- How to get demo app?
- Output to a Surface instead of a file HOT 1
- BufferOverflowException (ref #163) #164 is not fixed in implementation 'com.github.jumperson:transcoder:0.10.4.2' HOT 2
- Failed to initialize video/dolby-vision
- Trim and Merge issue
- Update the nuget to the latest version
- HDR Tone Mapping
- [Q] MP4 concatenation with Video PassThroughTrackStrategy does nothing
- Video returns as a 0 bytes file for high quality videos, specifically with videos with HEVC codec
- Will the library be maintained and updated?
- targetSdk = 34 A permission request failure message is always displayed
- 不支持压缩视频功能吗
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 transcoder.