Giter Site home page Giter Site logo

Comments (6)

imkira avatar imkira commented on July 17, 2024

Yep sorry, not yet supported due to breaking changes in ffmpeg API.
Currently, only 3.0.x is supported but I'm planning on upgrading.
This is being used internally in my company and I'm not sure if we can have 3.3 support that also works with 3.2 and 3.1 without having to develop 3 different branches.
I cannot give you a specific timeline for this, but if you feel like it I welcome you to work on it if you really need it asap. I will leave this open for now until I have more updates.

from go-libav.

martinlindhe avatar martinlindhe commented on July 17, 2024

There is additional warnings about deprecated functions, but I managed to use some parts of this lib with ffmpeg 3.3 to extract media info (#40).
I will continue to push some changes for ffmpeg 3.3 to my branch for now.
I hope we can avoid having multiple branches of this too.

from go-libav.

martinlindhe avatar martinlindhe commented on July 17, 2024

I've been looking into this more.

I am currently trying to resolve api change issues using build tags.

This way we can use a avcodec_30.go naming and // +build ffmpeg30 tag in the source, to build certain parts for ffmpeg 3.0, and others for ffmpeg 3.3.
API's that has been removed in ffmpeg 3.3 will simply not be accessible using build tag "ffmpeg33".

How does this sound?

from go-libav.

NikkyAI avatar NikkyAI commented on July 17, 2024

how do you go get this ? and how would importing from a non master branch work if i want to try this out ?

from go-libav.

martinlindhe avatar martinlindhe commented on July 17, 2024

@NikkyAI how you go get go-libav? as you normally would.

go get github.com/imkira/go-libav

to try out the PR, just add my repo as a remote and check it out, something like this: (you would find my branch name in the PR)

cd go/src/github.com/imkira/go-libav
git remote add martins https://github.com/martinlindhe/go-libav
git fetch martins
git checkout martins/ffmpeg33

from go-libav.

imkira avatar imkira commented on July 17, 2024

@NikkyAI
You would do it as you would normally do, the problem is when go getting, go will also try to build it.
Try like this

go get -u -tags=ffmpeg33 github.com/imkira/go-libav

from go-libav.

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.