On Wed, Jan 3, 2018 at 2:48 AM, Eugene Iceman <
eugene...@gmail.com> wrote:
> Hello!
> My application streams a video from webcam and/or screen to server. The
> server sould write streams to disk and share on request a url of the video
> for the browser.
> I had some experience with libx264, but the Chomium browsers does not
> support h264 codec, so I need to stream vp9 and write down webm on server's
> hdd.
> I've build libvpx using mingw-w64 toolchain and got a libvpx.a file and nine
> includes - vp8.h, vp8cx.h, vp8dx.h, vpx_codec.h, vpx_decoder.h,
> vpx_encoder.h, vpx_frame_buffer.h, vpx_image.h, vpx_integer.h.
> The libvpx is more complicated for me after x264 - I can't understand what
> data should I send to server, and how to write it to webm wideo on server
> side.
> Of course I saw an examples that comes with libvpx sources, but there are to
> many *.c and *.h files which not included directly to library, so I'm not
> shure what to do with all of that... and no streaming examples at all.
> If to drop all examples not related to build result, how to use the rest -
> lib file and nine includes? What can it do, what data will I receive on
> output?
encode process. The main encode calls are vpx_codec_encode() [1] and
vpx_codec_get_cx_data() [2]. libvpx returns full frames which can then