problem about libavformat-Collection of common programming errors


  • Alexandr R
    ffmpeg h.264 rtmp libavcodec libavformat
    Have a nice day to you, people!I am writing an application for Windows that will capture the screen and send the stream to Wowza server by rtmp (for broadcasting). My application use ffmpeg and Qt. I capture the screen with WinApi, convert a buffer to YUV444(because it’s simplest) and encode frame as described at the file decoding_encoding.c (from FFmpeg examples)://///////////////////////// //Encoder initialization /////////////////////////// avcodec_register_all(); codec=avcodec_find_encoder(A

  • Juneyoung Oh
    video ffmpeg metadata dump libavformat
    I am working with ffmpeg.The only function that I needed is just extract duration of video on memory, not console.to do this, I realized that I have to redesign dump_format() functionwitch defined in avformat.h.below is the original source and especially what I need is dump_formatthat located in line 3063.http://ffmpeg.org/doxygen/0.6/libavformat_2utils_8c-source.html#l03063when I use dump_format, it returns everything fine but except duration.duration always returns 00:00:00.below is my test co

  • Kapil Vats
    android android-ndk ffmpeg libavcodec libavformat
    I am using this project as a reference : The code is avaiable at http://roman10.net/src/affmpeg.zip.I am trying to compile this project with ffmpeg with different configuration than the project suggests. I’ve compiled a new libffmpeg.so and added it to the project. However, now i’m getting an “UnsatisfiedLinkError”02-24 11:05:45.644: D/dalvikvm(11363): Trying to load lib /data/data/roman10.media.ffmpeg/lib/libffmpeg.so 0x47b0ec70 02-24 11:05:45.680: D/dalvikvm(11363): Added shared lib /data/data

  • KaiK
    ffmpeg video-encoding x264 mpeg-4 libavformat
    I’ve been trying to set a H264 video stream created from images, into an MPEG4 container. I’ve been able to get the video stream from images successfully. But when muxing it in the container, I must do something wrong because no player is able to reproduce it, despite ffplay – that plays the video until the end and after that, the image gets frozen until the eternity -.The ffplay cannot identify Duration neither bitrate, so I supose it might be an issue related with dts and pts, but I’ve searche

  • Veger
    c osx libav libavformat
    I am working on a project where I have to create a simple C program that makes use of libavformat to convert a file from one format to another.I am working on OS X (10.8.3) and have installed libav through the following steps.First, install dependancies using Homebrew:brew install yasm zlib faac lame speex libogg libvorbis theora libvpx x264 XviD openjpeg opencore-amr freetypeNext, download libav from here: http://libav.org/download.html (using the libav 9 “plain 9” release)Finally, configure wi

Web site is in building