Coder Social home page Coder Social logo

Comments (3)

secile avatar secile commented on July 18, 2024

Hello, thank you for your question.
(1) Does AVI file is created by sample program "Encode" function? or your own AVI file?
(2) Always returns null? decoder.Decode(...) may return null if there is not enough data to build the Bitmap.
(3) How many bitmaps you use in encode? If less than three or four, it is too less.

from openh264lib.net.

PhilJenson avatar PhilJenson commented on July 18, 2024
  1. AVI created by Encode function in sample app AND my own AVI
  2. Yes, always.
  3. I used the Encode button on the sample application and selected a single picture. This created an avi file. I then selected the Decode button on the sample application and selected this AVI. A null bitmap was returned.

I am now using FFMPEG so wont be pursuing this further. But thanks for getting back to me.

from openh264lib.net.

secile avatar secile commented on July 18, 2024

Please select a lot of bitmaps, not single file. You can multi select bitmap files in encode dialog. Decord requires a lot of data.

from openh264lib.net.

Related Issues (17)

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.