fftools/graphprint: Add execution graph printing
The key benefits are:
- Different to other graph printing methods, this is outputting:
- all graphs with runtime state
(including auto-inserted filters)
- each graph with its inputs and outputs
- all filters with their in- and output pads
- all connections between all input- and output pads
- for each connection:
- the runtime-negotiated format and media type
- the hw context
- if video hw context, both: hw pixfmt + sw pixfmt
- Output can either be printed to stdout or written to specified file
- Output is machine-readable
- Use the same output implementation as ffprobe, supporting multiple
formats
Signed-off-by: softworkz <softworkz@hotmail.com>
This commit is contained in:
parent
50fcc0ce5f
commit
45926bc09a
12 changed files with 1922 additions and 2 deletions
|
|
@ -9,6 +9,8 @@ AVBASENAMES = ffmpeg ffplay ffprobe
|
|||
ALLAVPROGS = $(AVBASENAMES:%=%$(PROGSSUF)$(EXESUF))
|
||||
ALLAVPROGS_G = $(AVBASENAMES:%=%$(PROGSSUF)_g$(EXESUF))
|
||||
|
||||
include $(SRC_PATH)/fftools/resources/Makefile
|
||||
|
||||
OBJS-ffmpeg += \
|
||||
fftools/ffmpeg_dec.o \
|
||||
fftools/ffmpeg_demux.o \
|
||||
|
|
@ -19,8 +21,21 @@ OBJS-ffmpeg += \
|
|||
fftools/ffmpeg_mux_init.o \
|
||||
fftools/ffmpeg_opt.o \
|
||||
fftools/ffmpeg_sched.o \
|
||||
fftools/graph/graphprint.o \
|
||||
fftools/sync_queue.o \
|
||||
fftools/thread_queue.o \
|
||||
fftools/textformat/avtextformat.o \
|
||||
fftools/textformat/tf_compact.o \
|
||||
fftools/textformat/tf_default.o \
|
||||
fftools/textformat/tf_flat.o \
|
||||
fftools/textformat/tf_ini.o \
|
||||
fftools/textformat/tf_json.o \
|
||||
fftools/textformat/tf_mermaid.o \
|
||||
fftools/textformat/tf_xml.o \
|
||||
fftools/textformat/tw_avio.o \
|
||||
fftools/textformat/tw_buffer.o \
|
||||
fftools/textformat/tw_stdout.o \
|
||||
$(OBJS-resman) \
|
||||
|
||||
OBJS-ffprobe += \
|
||||
fftools/textformat/avtextformat.o \
|
||||
|
|
@ -29,10 +44,12 @@ OBJS-ffprobe += \
|
|||
fftools/textformat/tf_flat.o \
|
||||
fftools/textformat/tf_ini.o \
|
||||
fftools/textformat/tf_json.o \
|
||||
fftools/textformat/tf_mermaid.o \
|
||||
fftools/textformat/tf_xml.o \
|
||||
fftools/textformat/tw_avio.o \
|
||||
fftools/textformat/tw_buffer.o \
|
||||
fftools/textformat/tw_stdout.o \
|
||||
$(OBJS-resman) \
|
||||
|
||||
OBJS-ffplay += fftools/ffplay_renderer.o
|
||||
|
||||
|
|
@ -42,7 +59,7 @@ ifdef HAVE_GNU_WINDRES
|
|||
OBJS-$(1) += fftools/fftoolsres.o
|
||||
endif
|
||||
$(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1))
|
||||
$$(OBJS-$(1)): | fftools fftools/textformat fftools/resources
|
||||
$$(OBJS-$(1)): | fftools fftools/textformat fftools/resources fftools/graph
|
||||
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
|
||||
$(1)$(PROGSSUF)_g$(EXESUF): LDFLAGS += $(LDFLAGS-$(1))
|
||||
$(1)$(PROGSSUF)_g$(EXESUF): FF_EXTRALIBS += $(EXTRALIBS-$(1))
|
||||
|
|
@ -57,6 +74,7 @@ fftools/ffprobe.o fftools/cmdutils.o: libavutil/ffversion.h | fftools
|
|||
OUTDIRS += fftools
|
||||
OUTDIRS += fftools/textformat
|
||||
OUTDIRS += fftools/resources
|
||||
OUTDIRS += fftools/graph
|
||||
|
||||
ifdef AVPROGS
|
||||
install: install-progs install-data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue