I'd like to add video conversion capabilities to a program I'm writing. FFmpeg's command line interface for doing this is simply ffmpeg -i InputFile OutputFile, but is there a way to make use of it as a library, so I can do something like ffmpeg_convert(InputFile, OutputFile)?
I'm hoping I won't have to use libavcodec directly, as I ima...
I'm using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac
(libfaac support enabled). I do this by calling avcodec_encode_audio
repeatedly with codec_context->frame_size samples each time. The first four
calls return successfully, but the fifth call never returns. When I use gdb
to break, the stack is corrupt.
If I use a...
I have a project using libavcodec (ffmpeg). I'm using it to encode MPEG-2 video at 4:2:2 Profile, Main Level. I have the pixel format PIX_FMT_YUV422P selected in the AVCodecContext, however the video output I'm getting has all the colours wrong, and looks to me like the encoder is incorrectly reading the buffers as though it thinks it is...
Hello
I'm developing a DirectShow filter which has 2 input pins (1 for audio, 1 for video). I'm using libavcodec/libavformat/libavutil of FFMpeg for encoding the video to H264, audio to AAC and mux it/stream using RTP. So far I was able to encode video and audio correctly using libavcodec but now I see that FFMpeg seems to support RTP mu...
I have an Objective-C class (although I don't believe this is anything Obj-C specific) that I am using to write a video out to disk from a series of CGImages. (The code I am using at the top to get the pixel data comes right from Apple: http://developer.apple.com/mac/library/qa/qa2007/qa1509.html). I successfully create the codec and con...
I run Ubuntu and try to use the ffmpeg wrapper in Java from here:
http://code.google.com/p/javacv/
It seems to work fine on other systems, but in Ubuntu the project crashes
with the following mistake:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up
function 'avcodec_decode_video2': /usr/lib/i686/cmov/libavcod...
Hi all,
This is my first post on stack overflow, but i have visited this great site lots of times! I did a lot of googling before i posted this, I'm really desperate...
The problem is that I am trying to get the av_seek_frame() function to go to a byte position I specify. I am implementing a frame accurate seeking mechanism for my appl...
Hello,
I see here an c example of libavcodec http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/api-example_8c-source.html
This is encoding/decoding audio and video (frame by frame).
I intend to something like this but in php.
I want to convert a video in same time of uploading.
Ex: User upload a 100mb video. When server receive first d...
I'm working on an application that will read in file paths and play audio files. I'm trying to keep this as simple as possible--by using existing codecs and free/open utilities. I'd like some suggestions on the best way to do this. I've had two ideas, both involving FFmpeg:
Create a simple GUI that allows the user to read pass in fi...
I set profile_idc, level_idc, extradata et extradata_size of AvCodecContext with the profile-level-id et sprop-parameter-set of the SDP.
I separate the decoding of Coded Slice, SPS, PPS and NAL_IDR_SLICE packet :
Init:
uint8_t start_sequence[]= {0, 0, 1};
int size= recv(id_de_la_socket,(char*) rtpReceive,65535,0);
Coded Slice :
cha...
hey guys i'm getting and error when compile VLC from source using ubuntu lucid
configure: error: Could not find libavcodec or libavutil.
I have isntall both of the -dev packages for the requeired libs but still get the same error
...
I am attempting to encode video using libavcodec/libavformat. Audio works great, but when I try to encode video I get the following errors:
[libx264 @ 0x10182a000]broken ffmpeg default settings detected
[libx264 @ 0x10182a000]use an encoding preset (vpre)
easy to fix using the command line ffmpeg, but I am trying to do this in C.
...
Hi,
I'm trying to write a program that takes in a PCap dump, detects whether there is an flv stream in it, extracts the bitrate, and infers from the packet times the streaming performance (how long it took to download vs how long the video was). Ideally this should be in C on Linux, but I'd be happy if I can get a prototype working in ...
I'm looking for a cross-platform C/C++ library for creating and reading video files with multiple internal streams. My current implementation uses the WIN32 VfW interface for creating an AVI video file with an additional TEXT stream.
This TEXT stream can store any binary data. However, VfW is an old API, not supported by newer codec, and...
I'm currently looking to access libavutil, libavformat and libavcodec (all part of FFMpeg) from .NET.
Currently, I'm getting the libraries from the automated builds of the shared FFMpeg package performed every night for Windows 32-bit.
I am also using the code from the ffmpeg-sharp project. In that project, I have removed a number of ...
Hi,
I'm trying to use libavcodec (ffmpeg) to encode raw pixel data to mp4 format. Every thing goes well and I'm getting .avi file with decent quality but some times the codec gives "encoded frame too large" warning. And when ever it does that, a part of some frames (usually bottom portion of the frame) look garbled or all mixed up. Can ...
Hello Experts,
I am working on audio/video app & looking for a H263Plus (not H263) decoder to be used in the project(C++ based)
Regards,
Chuks
...