Comments (7)
Same issue here
from ffmpeg-ios.
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.
@chrisballinger How do I do that? I compiled ffmpeg with h264 codec.
What should I change?
from ffmpeg-ios.
@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.
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.
+1
from ffmpeg-ios.
I've also built it with H264 and having the same 'cannot find codec' issue.
from ffmpeg-ios.
Related Issues (15)
- cocoapods, I was wondering why I download the repository, and "pod package", the *.a files are not included in the framework
- Unable to play videos with https
- Support for FFPlay?
- Unrecognized type at line 27
- Video is rotating while conversion .
- How do I convert a flac file to wav? HOT 2
- Converting an HLS (m3u8) to MP4
- how to convert .m4a to .mp3 or .wav ??
- ERROR: librtmp not found HOT 5
- rtsp support? HOT 1
- Trimming remote file
- Dynamic Libs? HOT 1
- Support Mac OS APP? HOT 1
- Crash while encoding audio frame
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-ios.