Giter Site home page Giter Site logo

ffmpeg-d's People

Contributors

aferust avatar davidbennettpio avatar donglei avatar gitter-badger avatar ichordev avatar langhao2010 avatar ljubobratovicrelja avatar sumo avatar timotheecour avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

ffmpeg-d's Issues

When linking with this depended on, LD fails.

ld: unknown option: -pthread
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--- errorlevel 1

That's what happens on my MBA 2013 running OS X 10.11.2.
Here's my LD version.

ld -v
@(#)PROGRAM:ld  PROJECT:ld64-253.9
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: Apple LLVM 7.0.2 (clang-700.1.81)

I did some research. Apparently pthread is not supported everywhere. It is hard to find info on. Perhaps that is true for OS X too?

This only happens when depending on ffmpeg-d.

ffmpeg-d project versioning

Hey, I've started work on porting the headers over from 3.0.2 and I was just wondering what should happen with the version of this project. I don’t really was to push a breaking change to master right now for obvious reasons.

I think we should be matching the major.minor but have our own patch from ffmpeg so users know what to use and can set the correct version in dub.

Also it would be nice to have separate branches in this repo for each version so we can add changes to older releases. (2.8 will probably hang around for a while)

So what I propose is matching the main ffmpeg repo by adding these branches added to this repo:

  • release/2.8
  • release/3.0
  • release/3.1

And then in the readme for each branch state what version it applies to and the fact that other branches are available with a code snipit on how to add to dub and lock the major.minor version.

So something like this:

NOTE: This branch is compatible with ffmpeg 3.0.x, for other versions please see the other branches for usage information.

To include ffmpeg-d in your dub project add the following dependency to your dub.json file.

"ffmpeg-d": "~>3.0.0"

What are your thoughts?

Also, feel free to have a read through my 3.0.2 port at DavidBennettPIO@ccb16d2 I still need to test this out well, If I have time I might even write some simple examples.

Thanks!

sws_scale reports null value

if(rawFrame.data.ptr == null || rawFrame.linesize.ptr == null || convertedFrame.data.ptr == null || convertedFrame.linesize.ptr == null) return;
                    sws_scale(imageConversionContext, (cast(AVPicture*)rawFrame).data, (cast(AVPicture*)rawFrame).linesize, 0, cameraCodecContext.height, (cast(AVPicture *)convertedFrame).data, (cast(AVPicture *)convertedFrame).linesize);

As you can see, the code checks for any null values.

[swscaler @ 0x7f9bc10ba000] One of the input parameters to sws_scale() is NULL, please check the calling code

Why is this happening? Thanks in advance.

FFMPEG version 2.7.6

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.