Questions tagged [libavcodec]

libavcodec is a free software/open source LGPL-licensed library of codecs for encoding and decoding video and audio data.

509 questions
0
votes
2 answers

Unable to link FFMpeg libraries in Visual studio 2012

I have been trying to link the FFMPEG static libraries to Visual studio 2012 in c++ environment. But i get the following error. Error 1 error LNK1104: cannot open file 'avcodec.lib' C:\Users\username\Documents\Visual…
Pferd
  • 49
  • 1
  • 1
  • 8
0
votes
1 answer

What is the best Library/SDK for Realtime 4k video Encoding?

My requirement is create a encoded video from raw frames in atleast 4k resolution. Presently I am recording videos @1080p using libavcodec (H.264, MPEG4). What will be the best solution for recording these videos @4k? Is it possible to do…
Abhishek Bansal
  • 5,197
  • 4
  • 40
  • 69
0
votes
1 answer

Can the frame size be cropped during decoding using libavcodec?

I've followed Dranger's tutorial for displaying video using libav and FFMPEG. http://dranger.com/ffmpeg/ avcodec_decode_video2 seems to be the slowest part of the video decoding process. I will occasionally have two videos decoding simultaneously…
James491
  • 47
  • 7
0
votes
1 answer

Ffmpeg-Build: Error during build

I am building ffmpeg and stuck in an unusual spot. Inside libavutil we have float_dsp.h and float_dsp.c files. Inside these file there is a declaration of a methond which is: void (*butterflies_float)(float *av_restrict v1, float *av_restrict v2,…
Talha Malik
  • 1,509
  • 3
  • 22
  • 44
0
votes
1 answer

Not able to read audio streams with ffmpeg

I am trying to solve a big problem but stuck with very small issue. I am trying to read audio streams inside a video file with the help of ffmpeg but the loop that should traverse the whole file of streams only runs couple of times. Can not figure…
Talha Malik
  • 1,509
  • 3
  • 22
  • 44
0
votes
1 answer

How to encode with ffmpeg if number of images smaller than GOP size

The code bellow creates mp4 video file from jpeg images. When number of images is greater than GOP size the encoding success and after 10th image gotPacket that returned by avcodec_encode_video2 is > 0. BUT when number of images is smaller than GOP…
theateist
  • 13,879
  • 17
  • 69
  • 109
0
votes
1 answer

FFmpeg streaming: can't see image from h263 stream in flash

I'm using FFmpeg for live rtmp-streaming of my desktop to Wowza. If I publish stream in h264 or flashsv2 codec, everything works fine, but I need h263 support too. The problem is, that I see no images from stream in Flash, if my stream's codec is…
JustLogin
  • 1,822
  • 5
  • 28
  • 50
0
votes
1 answer

how is http live streaming sync between sender and receiver done?

Http live streaming is a sliding window of a video source. what happens if the sender is slightly faster or slower than the receiver? The receiver will hit one end of the sliding window. Does anybody know how this gets prevented? As sender I use a…
Jochen
  • 754
  • 7
  • 21
0
votes
1 answer

How to compile ffmpeg with rm/rmvb support?

I googled around and found no solution. What's the specific arguments to compile the newest version FFMPEG to support rm,rmvb format video? I am new in video proccessing. Thanks for any help.
Treper
  • 3,539
  • 2
  • 26
  • 48
0
votes
1 answer

Using zeranoe libavcodec build in visual studio 2008

I am trying to use libavcoded shared build from zeranoe in visual studio 2008. I have tested my application using libavcodec in debug mode and it is running fine. but when i am trying to build the application through release version then it compiles…
Imrank
  • 1,009
  • 5
  • 15
0
votes
1 answer

libavcodec video decoding not working

I am trying to decode video encoded with H264. I am sending AVPacket's data and its size to decoder code. there I am trying to decode the frame and display it on a GUI. problem is when I am decoding the frame it is returning same number of frame…
Imrank
  • 1,009
  • 5
  • 15
0
votes
1 answer

avformat_write_header produces invalid header (resulting MPG broken)

I am rendering a video file from input pictures that come from a 3D engine at runtime (I don't pass an actual picture file, just RGB memory). This works perfectly when outputting MP4 using CODEC_ID_H264 as video codec. But when I want to create an…
TheSHEEEP
  • 2,961
  • 2
  • 31
  • 57
0
votes
1 answer

encoding direcshow frame buffers by using libavcodec

I am trying to encode a stream buffer of frames grabbed by ISampleGrabber(directshow) by using libavcodec. After encoding those frame I am writing it into a file. But after completion file contains only green frames. hers is code for grabbing…
Imrank
  • 1,009
  • 5
  • 15
0
votes
1 answer

avcodec_decode_video2 always sets got_picture_ptr to 0 while using with live555

I am trying to decode frames using libavcodec. My applications retrieves rtp packets from on rtsp stream using live555. I have searched quite a lot for reasons of avcodec_decode_video setting got_picture_ptr to 0 but haven't been able to find it. …
Richard Macwan
  • 422
  • 1
  • 5
  • 19
0
votes
1 answer

Using std::vector instead of fread() in libav encode/decode example

I am attempting to take the api-example.c which reads in a file using fread to instead use memcpy (or the like) as I have loaded the file I wish to decode & encode into a different codec in a std::vector. (Due to I read it to memory from a…
brad_c6
  • 23
  • 1
  • 6
1 2 3
33
34