[Libav-user] [h264] RTP: missed X packets: corrupted images

2013-10-11 Thread Rafa Lopez
Hi all I'm using the latest version of libav (2.0.2). I'm writing a simple code test (attached with .pro file) for camera streaming. My libav is compiled by me in debian squeeze amd64 (./configure --prefix=/opt/ffmpeg/ --enable-shared make make install) If my simple code test is compiled

Re: [Libav-user] Extract frames in raw RGB formats

2013-10-11 Thread Carl Eugen Hoyos
Amir Hossein Rouhi amir.rouhi@... writes: What the bellow command line generate is a raw image but in YUV 4:2:0 format. what i want is RGB raw image. I know there is a formula to convert YUV to RGB but i need pure RGB in the file. even i tried to use -pix_fmt but could not find any

[Libav-user] [libav-user] avcodec_open2 cannot open h264 codec

2013-10-11 Thread Marika Marszalkowski
Hello everyone, I am trying to encode an .mkv file from jpeg images. Opening the codec with avcodec_open2 fails with the following error: [libx264 @ 0x7fffb8003200] broken ffmpeg default settings detected [libx264 @ 0x7fffb8003200] use an encoding preset (e.g. -vpre medium) [libx264 @

Re: [Libav-user] [libav-user] avcodec_open2 cannot open h264 codec

2013-10-11 Thread Bakhtiyarov Dmitriy
Hello, Marika. I think you should set some additional parameters. For example, you should select profile of h264(High, Baseline or any another). And you can use some preset options and modify it. I use libx264 for encoding and I use this code for set options: m_params = new x264_param_t;

Re: [Libav-user] Fwd: Problems with RTMP streams on FFMpeg

2013-10-11 Thread fkwatson
Li, This is typical for any streaming application. The server is sending packets at rate Rs ffmpeg is playing at Rf. For streaming content these rates will only be equal if the sender and receiver are using the same clock source. Apparently Rf Rs, so you keep running out of packets. I