<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 10/10/2013 4:34 PM, Bruce Wheaton
wrote:<br>
</div>
<blockquote
cite="mid:E23F83B6-4A52-46B8-BB11-42303C24750C@spearmorgan.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>
<div>On Oct 9, 2013, at 7:29 AM, James Board <<a
moz-do-not-send="true" href="mailto:jpboard2@yahoo.com">jpboard2@yahoo.com</a>>
wrote:</div>
<blockquote type="cite">
<div>
<div style="background-color: rgb(255, 255, 255);
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 12pt;
position: static; z-index: auto; ">
<div><br>
</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; ">Really? The title of the mailing list is <a
moz-do-not-send="true"
href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>.</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; ">I'm asking whether libav can be used in C++
programs, if anyone</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; ">uses libav in C++ programs, and what I need to
do in order to</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; ">use libav in C++ programs. How can that be
inappropriate?</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>That is confusing. The libraries that make up ffmpeg
include libavcodec, libavformat etc. Hence the list - it's for
users of the libraries, not the ffmpeg binary. To confuse
matters, there was a fork, and they called that project LibAV.</div>
<div><br>
</div>
<div>So - you're using libavformat, libavcodec etc. But - are
you using source code obtained from the ffmpeg project, or the
libav project? This list is specific to the ffmpeg project.</div>
<div><br>
</div>
<blockquote type="cite">
<div>
<div style="background-color: rgb(255, 255, 255);
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 12pt;
position: static; z-index: auto; ">
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; "><br>
</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; ">Anyway, don't bother. I give up. You win.<br>
</div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal; "><br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
<div>LOL. I feel your pain. Sadly, a certain amount of chaff comes
with using FOSS systems (nothing personal to the chaff providers
on this thread). Lots of personalities. The upside outweighs the
cost in humility that is required. </div>
<div><br>
</div>
<div>Anyway... LibAV, I have no idea. FFmpeg, yes, you can compile
and use it from C++ with very little problems - just the
packaging around the headers so the compiler knows they are C,
not C++. </div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div style="font-family: HelveticaNeue, 'Helvetica Neue',
Helvetica, Arial, 'Lucida Grande', sans-serif; font-size:
16px; ">When I compile demuxing.c with g++ it gives me the
same errors as when I add libav calls to my C++ app and then
try to compile that with g++. So, if we can figure out why
demuxing.c won't compile with g++, then we will probably
figure out why my C++ app won't compile with g++. <br
clear="none">
</div>
</blockquote>
<div><br>
</div>
<div>This: just wrong. The fact that one C based example does or
does not compile offers no evidence as to what your actual
problem is.</div>
<div><br>
</div>
<div>Bruce</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
Hello,<br>
<br>
I did just fine with my c++ app and even with a c++ dll that exposed
a simplified set of av_codec compression functions. <br>
<br>
As someone mentioned earlier, it was as easy as: <br>
<br>
extern "C" {<br>
#include <avcodec.h><br>
#include <avformat.h><br>
#include <swscale.h><br>
#include <imgutils.h><br>
}<br>
<br>
<br>
Have Fun!<br>
</body>
</html>