Re: [Libav-user] ffmpeg @ 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread André Anjos
After some more investigation and a good debugging session, it seems the problem comes from the initialisation of the AVFrame rather than the AVCodecContext (as one may misunderstand from the thread). To fix the example code, one has to insert 3 lines of code *just after* the frame =

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread Carl Eugen Hoyos
André Anjos andre.dos.anjos@... writes: Could anyone fix the example code in ffmpeg so it reflects these modifications? Please send a patch (made with git format-patch) to the ffmpeg-devel mailing list. Please do not top (neither here not there), it is considered rude. Carl Eugen

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread André Anjos
Thanks, I will. Please do not top (neither here not there), it is considered rude. I'm not sure I understand this recommendation. In no sense I meant to top anyone with my comments. André ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread Carl Eugen Hoyos
André Anjos andre.dos.anjos@... writes: Please do not top (neither here not there), it is considered rude. Please do not top-post on all ffmpeg mailing lists. Sorry, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

[Libav-user] what's the extradata should be when using ffmpeg+libstagefright?

2013-10-25 Thread ahqzy
Hi all, To using hardware decoding, I compiled ffmpeg(0.10) with andorid libstagefright successfully. When I call it, in the Stagefright_init(AVCodecContext *avctx), the extradata must be specified as below in the source: static av_cold int Stagefright_init(AVCodecContext *avctx) { ……

Re: [Libav-user] Problem Generating B-Frames Using libavcodec/libx264

2013-10-25 Thread Robert Schmidt
i have your same goal, also I am writing a an application that encodes incoming video in H.264 using libavcodec and libx264. I don't know the solution for yuor problem, because i do not know how to encode. i have a avi or mp4 file as input. The *avcodec_encode_video2* function takes input raw

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-25 Thread Paul B Mahol
On 10/20/13, Robert Krueger krue...@lesspain.de wrote: Hi, I have AVCHD files from a camera (Panasonic Lumix GH1) that demux and decode with libavformat/libavcodec detecting no other keyframe but the first (both, the first video packet and video frame are marked as keyframe), which is not

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-25 Thread Robert Krüger
On Fri, Oct 25, 2013 at 5:59 PM, Paul B Mahol one...@gmail.com wrote: On 10/20/13, Robert Krueger krue...@lesspain.de wrote: Hi, I have AVCHD files from a camera (Panasonic Lumix GH1) that demux and decode with libavformat/libavcodec detecting no other keyframe but the first (both, the first

[Libav-user] A/V synchronization for an emulator movie recording feature

2013-10-25 Thread Ulf Magnusson
Hello, I'm adding a movie recording feature to an emulator I'm working on. I have the video part working, but since I'm new to movie encoding I'm unsure what the best practices are when it comes to audio/video synchronization. I'm aware of these two approaches: (1) Set PTS values on video and/or