[Libav-user] How to Use FFmpeg Decode Libraries
Myth
286166657 at qq.com
Fri Sep 14 08:02:54 CEST 2012
Who can help me to resolve this issue?
How can I use the libavcodec libraries to decode an h264 video stream.
Regards and Thanks,
Stefan
------------------ Original ------------------
From: "Myth"<286166657 at qq.com>;
Date: Thu, Sep 13, 2012 10:51 AM
To: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter."<libav-user at ffmpeg.org>;
Subject: Re: [Libav-user] How to Use FFmpeg Decode Libraries
I have built the test examples successfully, but when I type the below command, an error occurs:
#./decoding_encoding h264
Encode video file test.h264
codec not found
I also use "./configure --list-encoders" to show all encoders, I don't find h264 codecs.
Can you help me?
Thanks and Regards,
Stefan
------------------ Original ------------------
From: "Stefano Sabatini"<stefasab at gmail.com>;
Date: Wed, Sep 12, 2012 04:13 PM
To: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter."<libav-user at ffmpeg.org>;
Subject: Re: [Libav-user] How to Use FFmpeg Decode Libraries
On date Wednesday 2012-09-12 10:58:59 +0800, Myth encoded:
> Hi All,
>
> I want to use FFmpeg decode libraries to decode an h.264 video
> stream. I found the libavcodec/api-example.c is a test example can
> decode MPEG1VIDEO format video streams. Now I use CODEC_ID_H264
> instead of CODEC_ID_MPEG1VIDEO and build it, then add an argument
> (h.264 encode video stream) when ran the test case, there an error
> occurs. Below is the error log:
>
> #Video decoding
> #[h264 @ 0x8937020]error while decoding MB 14 7, bytestream (-23)
> #[h264 @ 0x8937020]concealing 955 DC, 955 AC, 955 MV errors
> #[h264 @ 0x8937020]no frame!
> #Error while decoding frame 0
>
> Who can help me to resolve this issue?
> Any feedback is appreciated.
Check the updated examples in doc/examples, decoding_encoding.c shows
how to encode H.264 using libx264.
Also check:
http://ffmpeg.org/trac/ffmpeg/wiki/Using%20libav*
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
</:includetail>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120914/5e49eb29/attachment.html>
More information about the Libav-user
mailing list