Git Product home page Git Product logo

Comments (7)

charlieaboumoussa avatar charlieaboumoussa commented on August 20, 2024

@bhaveshjethani Same. Any Update?

from transcoder.

bhaveshjethani avatar bhaveshjethani commented on August 20, 2024

Add some delay before starting compress process! like 500 milliseconds.

from transcoder.

halilozdemr avatar halilozdemr commented on August 20, 2024

Add some delay before starting compress process! like 500 milliseconds.

I am getting same error. and delay didn't work.

from transcoder.

halilozdemr avatar halilozdemr commented on August 20, 2024

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.

pawan972019 avatar pawan972019 commented on August 20, 2024

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.

dode2121 avatar dode2121 commented on August 20, 2024

Any update on this issue?

from transcoder.

NikolaDespotoski avatar NikolaDespotoski commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.