0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs/makefile.am
jp9000 29b7d3621c Add preliminary output/encoder interface
- First, I redid the output interface for libobs.  I feel like it's
  going in a pretty good direction in terms of design.

  Right now, the design is so that outputs and encoders are separate.
  One or more outputs can connect to a specific encoder to receive its
  data, or the output can connect directly to raw data from libobs
  output itself, if the output doesn't want to use a designated encoder.
  Data is received via callbacks set when you connect to the encoder or
  raw output.  Multiple outputs can receive the data from a single
  encoder context if need be (such as for streaming to multiple channels
  at once, and/or recording with the same data).

  When an encoder is first connected to, it will connect to raw output,
  and start encoding.  Additional connections will receive that same
  data being encoded as well after that.  When the last encoder has
  disconnected, it will stop encoding.  If for some reason the encoder
  needs to stop, it will use the callback with NULL to signal that
  encoding has stopped.  Some of these things may be subject to change
  in the future, though it feels pretty good with this design so far.
  Will have to see how well it works out in practice versus theory.

- Second, Started adding preliminary RTMP/x264 output plugin code.

  To speed things up, I might just make a direct raw->FFmpeg output to
  create a quick output plugin that we can start using for testing all
  the subsystems.
2014-01-16 22:34:51 -07:00

74 lines
1.6 KiB
Plaintext

AUTOMAKE_OPTIONS = subdir-objects
if OS_WIN
if ARCH_X86
libobsdir = ../build/bin/32bit
else
libobsdir = ../build/bin/64bit
endif
else
libobsdir = $(libdir)
endif
libobs_LTLIBRARIES = libobs.la
libobs_la_LDFLAGS = -no-undefined --version-info 0:0:0
if OS_WIN
libobs_la_LDFLAGS += -avoid-version
endif
libobs_la_SOURCES = obs.c \
obs-display.c \
obs-module.c \
obs-output.c \
obs-scene.c \
obs-source.c \
obs-encoder.c \
obs-video.c \
util/base.c \
util/bmem.c \
util/cf-lexer.c \
util/cf-parser.c \
util/config-file.c \
util/dstr.c \
util/lexer.c \
util/platform.c \
util/text-lookup.c \
util/utf8.c \
media-io/audio-io.c \
media-io/format-conversion.c \
media-io/audio-resampler-ffmpeg.c \
media-io/video-io.c \
graphics/axisang.c \
graphics/bounds.c \
graphics/effect.c \
graphics/effect-parser.c \
graphics/graphics.c \
graphics/graphics-imports.c \
graphics/math-extra.c \
graphics/matrix3.c \
graphics/matrix4.c \
graphics/plane.c \
graphics/quat.c \
graphics/shader-parser.c \
graphics/texture-render.c \
graphics/vec2.c \
graphics/vec3.c \
graphics/vec4.c \
callback/calldata.c \
callback/proc.c \
callback/signal.c
if OS_WIN
libobs_la_SOURCES += util/platform-windows.c obs-windows.c
endif
if OS_OSX
libobs_la_SOURCES += util/platform-cocoa.m obs-cocoa.c
libobs_la_OBJCFLAGS = -fobjc-arc
endif
if OS_NIX
libobs_la_SOURCES += util/platform-nix.c obs-nix.c
endif