Giter Club home page Giter Club logo

Comments (7)

toptierlabs avatar toptierlabs commented on July 29, 2024

Same issue here

from ffmpeg-ios.

chrisballinger avatar chrisballinger commented on July 29, 2024

That's actually not an error. You should only use the H.264 hardware
encoder via VideoToolbox.framework.

On Mon, Aug 17, 2015 at 3:41 PM, toptierlabs [email protected]
wrote:

Same issue here


Reply to this email directly or view it on GitHub
#6 (comment)
.

from ffmpeg-ios.

VicenteFava avatar VicenteFava commented on July 29, 2024

@chrisballinger How do I do that? I compiled ffmpeg with h264 codec.
What should I change?

from ffmpeg-ios.

demianardus avatar demianardus commented on July 29, 2024

@chrisballinger @VicenteFava I was having the same problem and i made the following change to FFOutputStream:

AVCodec *codec = avcodec_find_encoder_by_name([outputCodec UTF8String]);
For:
AVCodec *codec = avcodec_find_encoder(AV_CODEC_ID_H264);

Now that message is gone, and the codec is properly assigned, but I'm getting the following error when writing a packet into the file at this line:

int writeFrameValue = av_interleaved_write_frame(self.formatContext, packet);

Encoder did not produce proper pts, making some up.

Any ideas?

from ffmpeg-ios.

VicenteFava avatar VicenteFava commented on July 29, 2024

I don't think that is the problem, the problem that I'm having with av_interleaved_write_frame is an arithmetic issue.

In that line I have the following error

EXC_ARITHMETIC(code=EXC_1386_DIV, subcode=0x0)

I think it's because is trying to do a division by zero

from ffmpeg-ios.

zman0225 avatar zman0225 commented on July 29, 2024

+1

from ffmpeg-ios.

fzakaria avatar fzakaria commented on July 29, 2024

I've also built it with H264 and having the same 'cannot find codec' issue.

from ffmpeg-ios.

Related Issues (15)

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.