<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>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.<div>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.</div><div><br></div><div>I would appreciate any help you can provide!</div><div><br></div><div>Daniel</div><div><br><div><hr id="stopSpelling">From: dsna@outlook.com<br>To: libav-user@ffmpeg.org<br>Date: Wed, 2 Apr 2014 11:12:20 +0200<br>Subject: [Libav-user] hevc/h264 decoding example C<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><span style="color:rgb(68, 68, 68);font-size:15px;line-height:21.299999237060547px;">Hello Everyone!</span><br style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;"><br style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;"><span style="color:rgb(68, 68, 68);font-size:15px;line-height:21.299999237060547px;">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.</span><div style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;"><br></div><div style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;">I would be thankful if anyone could help me out!</div><div style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;"><br></div><div style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;">Best regards,</div><div style="line-height:21.299999237060547px;color:rgb(68, 68, 68);font-size:15px;">Daniel</div> </div>
<br>_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user</div></div> </div></body>
</html>