GithubHelp home page GithubHelp logo

mediacodecdemo's People

Contributors

cedricfung avatar zddhub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediacodecdemo's Issues

MediaExtractor doesnt work for an HTTP url

The code works fine for a video loaded from sd-card, but it fails with the following error when i try to load a video from a URL. One of the URLs i tried is this
http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4

I am running the code on Android M.

14646-14765/io.vec.demo.mediacodec I/MediaHTTPConnection: proxyName: 0.0.0.0 0
 E/NuCachedSource2: source returned error -1, 0 retries left
14646-14752/io.vec.demo.mediacodec E/QComExtractorFactory: Sniff FAIL :: coundn't pull enough data for sniffing
14646-14752/io.vec.demo.mediacodec W/System.err: java.io.IOException: Failed to instantiate extractor.
14646-14752/io.vec.demo.mediacodec W/System.err:     at android.media.MediaExtractor.nativeSetDataSource(Native Method)
14646-14752/io.vec.demo.mediacodec W/System.err:     at android.media.MediaExtractor.setDataSource(MediaExtractor.java:182)
14646-14752/io.vec.demo.mediacodec W/System.err:     at io.vec.demo.mediacodec.DecodeActivity$PlayerThread.run(DecodeActivity.java:65)

视频旋转问题

你好请问用mediacodec 压缩本地的mp4文件 会导致视频旋转 ,这是什么引起的呢?

Not working on Intel Chipset

02-19 19:21:38.108 186 4580 I MixVBP : SPS header is parsed.

02-19 19:21:38.108 186 4580 W VideoDecoder: Can't start VA as either SPS or PPS is still not available.

02-19 19:21:38.108 186 4580 I OMXVideoDecoder: Buffer has OMX_BUFFERFLAG_CODECCONFIG flag.

02-19 19:21:38.108 186 4580 I MixVBP : PPS header is parsed.

02-19 19:21:37.748 186 4574 W VideoDecoder: handleNewSequence failed. status = 2

02-19 19:21:37.748 186 4574 W OMXVideoDecoder: Video format is changed.

02-19 19:21:37.748 186 4574 W OMXVideoDecoder: Change of portsetting is not reported as size is not changed.

02-19 19:21:37.748 186 4574 I OMXVideoDecoder: Buffer has OMX_BUFFERFLAG_CODECCONFIG flag.

02-19 19:21:37.748 186 4574 I MixVBP : PPS header is parsed.

02-19 19:21:37.748 186 4574 I VideoDecoder: No slice available for decoding.

HLS Streaming?

Does it works with HLS adaptive bitrate streaming?

Got a m3u8 with its .ts file chunks to play on android. Thanks

How to pass byte array to decoder in mediacodec class?

I download your's mediacodec project from github and it is good.In this passing the video.mp4 file to the extractor.But my requirement is,

    Is there any way to send a byte[] array to the Decoder? for example if i like to use onPreviewFrame(byte[] frame) ,from the camera.

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.