[Libav-user] hevc/h264 decoding example C

Anshul anshul.ffmpeg at gmail.com
Wed Apr 2 23:05:03 CEST 2014



"Szeifert Dániel" <dsna at outlook.com> wrote:
>Please, can you provide me a link for that? I searched but didn't find
>it.Or if you are referring to the decoding_encoding_example.c
>(http://ffmpeg.org/doxygen/trunk/doc_2examples_2decoding_encoding_8c-example.html),
>can you tell me what is need to be done otherwise in case of a hevc
>decoder? As the example is using mpegvideo and tells that in case of a
>frame based decoder, the process is different..
>Thank You,Daniel
>
>> From: anshul.ffmpeg at gmail.com
>> Date: Wed, 2 Apr 2014 21:23:32 +0530
>> To: libav-user at ffmpeg.org
>> Subject: Re: [Libav-user] hevc/h264 decoding example C
>> 
>> 
>> 
>> "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.
>> _______________________________________________
>> 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

Please please dont top post

https://www.ffmpeg.org/doxygen/trunk/avio_reading_8c-example.html
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Libav-user mailing list