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 =
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
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
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
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)
{
……
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
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
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
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