Giter VIP home page Giter VIP logo

Comments (8)

oneam avatar oneam commented on July 20, 2024

I've had the same issue. I was forced to compile in 32bit mode. It appears that the decoder library is not 64bit compatible.

The main h264bsd libraries are pulled directly from the Android source. Specifically frameworks/av/media/libstagefright/codecs/on2/h264dec with some modifications. There are too many changes to name here but they're not major (some find/replace and new methods for FFI integration)

When I get a chance I'll see if there are any changes between my version and Android.

from h264bsd.

oneam avatar oneam commented on July 20, 2024

The git logs indicate that the h264bsd library from Android was updated with 64bit support last year. I'll upgrade the sources sometime this week.

from h264bsd.

soliton4 avatar soliton4 commented on July 20, 2024

i found the originals too and pulled from
https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/codecs/on2/h264dec/

i got the decoder running in a 64 bit build on linux
https://github.com/soliton4/h264bsd/tree/sourceUpdate

now i am working on integrating them

what git logs are you refering to?

from h264bsd.

oneam avatar oneam commented on July 20, 2024

Extracted from Android git log:

commit 377b2ec9a2885f9b6405b07ba900a9e3f4349c38
Author: Kévin PETIT <[email protected]>
Date:   Mon Feb 3 12:35:36 2014 +0000

Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <[email protected]>
Signed-off-by: Kévin PETIT <[email protected]>
Signed-off-by: Ashok Bhat <[email protected]>
Signed-off-by: Marcus Oakland <[email protected]>

Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43

from h264bsd.

soliton4 avatar soliton4 commented on July 20, 2024

how do you get access to this log?
can you post a link?

from h264bsd.

oneam avatar oneam commented on July 20, 2024

This should be easier to grab:
https://android.googlesource.com/platform/frameworks/av/+log/master/media/libstagefright/codecs/on2/h264dec/source

from h264bsd.

oneam avatar oneam commented on July 20, 2024

I've updated the source to incorporate the 64bit changes from the Android source. Unfortunately, I've only done limited testing (non-visual posix test and js test)

Let me know if you notice any strange behavior.

from h264bsd.

soliton4 avatar soliton4 commented on July 20, 2024

i have created my own build from the android sources. but thanks for taking care of it.
i am afraid i dont have the time to do a lot of testing now.

from h264bsd.

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.