[Libav-user] hevc/h264 decoding example C

Anshul anshul.ffmpeg at gmail.com
Wed Apr 2 17:53:32 CEST 2014



"Szeifert Dániel" <dsna at outlook.com> wrote:
>
>Actually, for a little extension:  I only need to decode raw, hevc
>video streams, so no demuxing needed. I would like to avoid using
>avformat_open_inpupt() and would like to use a pure fopen() to open my
>file. The latter is essential for me.The reason I added this, because
>the demuxing_decoding.c example is working for me, but I'd like to
>bring the decoding function to an embedded platform (standalone), this
>is why I'd like to use a simple fopen() first to open the file on PC,
>because it will be easier for me to modify in the future.
>I would appreciate any help you can provide!
>Daniel
>From: dsna at outlook.com
>To: libav-user at ffmpeg.org
>Date: Wed, 2 Apr 2014 11:12:20 +0200
>Subject: [Libav-user] hevc/h264 decoding example C
>
>
>
>
>Hello Everyone!Please, somebody could give me a working C example which
>simply decodes a raw HEVC stream from file and save it to a .yuv file
>(h264 would be OK too, I guess)? I've tried using the example provided
>by ffmpeg, but I guess it's not working because it is tailored for a
>stream based decoder like mpegvideo.
>I would be thankful if anyone could help me out!
>Best regards,Daniel 		 	   		  
>
>_______________________________________________
>Libav-user mailing list
>Libav-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/libav-user 		 	   		  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libav-user mailing list
>Libav-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/libav-user


There is an example for that, just look more.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Libav-user mailing list