Commit graph

65 commits

Author SHA1 Message Date
Manfred Stock
af310d7e3e Add --audio-streams flag to configure number of audio streams for .ts output
Since videos with translations appear to require at least as many audio
streams in the intro/outro as there are audio streams in the main video,
this allows to create intro/outro files for videos with more than one
translation (so far, the code already created 2 streams).
2022-08-27 15:34:13 +02:00
Manfred Stock
7dd51d08b6 Don't use temporary file for SVG data when rendering with Inkscape
This was already suggested in #22. In addition to potentially being a
little more efficient, this also avoids the problem of files referenced
from the SVG not being found, since the SVG is now rendered while in the
artwork directory, so relative paths inside the SVG are still correct.

Please note that the pipe functionality of Inkscape requires a relatively
new version of Inkscape, i.e. the version from Debian Buster is not
sufficient (the Buster backport from Debian should be though).

Unfortunately, the same does not work when using ImageMagick, since it
seems like they use different delegates/libraries to render the SVG based
on how it is passed, i.e. when passed as file, it got rendered with
Inkscape on my machine, when passing it as blob, it seemed to be some
internal library or another delegate which did not seem to support the
same feature set as Inkscape, which resulted in inferior output. Therefore,
a temporary file is still used for ImageMagick. However, the issue of
included images that could be solved for Inkscape with these changes
still persists, since at least when using the Inkscape delegate,
ImageMagick seems to create a temporary symbolic link in /tmp, which
prevents that the Inkscape delegate finds included images.
2022-08-27 15:34:09 +02:00
derchris
19f3cb7b05 Merge branch 'master' of git.c3voc.de:intro-outro-generator 2022-05-20 22:07:24 +02:00
Sophie Schiller
454197fc18 gpn20: improve intros 2022-05-17 21:46:53 +02:00
derchris
ff01cff7c1 wip: new inkscape version 2021-11-15 19:54:31 +01:00
derchris
b1318aaa07 fix renderlib for empty speaker in schedule 2020-12-26 05:48:20 +01:00
Daniel Molkentin
f1da7544cb Cache Schedule downloading 2019-12-14 22:50:03 +01:00
Daniel Molkentin
b4ced563ef renderlib: fix rendering of single frame images 2019-12-14 21:34:17 +01:00
Daniel Molkentin
2e569321a8 Inserts for Datengarten 2019-12-10 17:12:02 +01:00
Florian Zeitz
51d0765ed8 renderlib: Don't depend on attributes optional in schedule.xml 2019-11-07 17:52:42 +01:00
Daniel Molkentin
bb6a9a432b Hack to fix randomly appended fragments
This breaks a more rarely used feature, and needs a proper fix
2019-09-12 13:27:20 +02:00
Daniel Molkentin
4c7f481634 Fix refactoring errors 2019-08-28 09:21:54 +02:00
Daniel Molkentin
1b3892a984 Refactor svgtemplate into a neat context class SVGTemplate 2019-08-28 00:14:01 +02:00
Daniel Molkentin
7a915605d3 refactor svgtemplate into seperate file 2019-08-28 00:14:01 +02:00
Daniel Molkentin
8eeca3485d refactor renderlib to allow for single frame rendering 2019-08-28 00:14:01 +02:00
derchris
0419e5889f Merge branch 'master' of git.c3voc.de:intro-outro-generator 2019-07-18 17:52:19 +02:00
derchris
095ddda2eb add day attribute 2019-07-18 17:52:09 +02:00
Daniel Molkentin
710af86231 Allow rendering inserts
Includes an example from Forum Open Education 2019
2019-07-17 20:56:37 +02:00
Thorsten Fleck
e98cc4a81c Add Schedule-XML-Tag <url> in variable $url in renderlib.py 2019-03-08 22:00:32 +01:00
derchris
f3b8deb63b add option to render using imagemagick 2019-01-20 06:41:57 +01:00
derchris
43f08547f0 flake8 code cleanup, minor fixes 2019-01-20 06:15:57 +01:00
derchris
560e141a2b check .frames folder exists before trying to remove it 2018-10-25 12:48:27 +02:00
derchris
6bfaf0296d fix outro frames in intro render 2018-10-20 01:13:04 +02:00
Bjoern Riemer
6b192081e7 ignore warnings from inkscape 2018-10-18 00:10:15 +02:00
v0tti
e318ac1570 added audio 2018-09-01 12:09:28 +01:00
v0tti
65b98b277f HD for .mov 2018-08-31 16:42:10 +01:00
v0tti
36cf7ed7fa emfcamp changes 2018-08-29 13:23:14 +02:00
v0tti
2080da3590 add patch to support alpha-channel for intros 2018-08-23 15:11:39 +02:00
Daniel Molkentin
41c5119887 Always use max quality
We have seen really ugly intro as result of q 5
2018-01-26 16:44:11 +01:00
Daniel Molkentin
eea5ce7461 renderlib: $subtitle is not mandatory 2018-01-26 16:43:39 +01:00
Andreas Hubel
7760bc9b66 remove subtitle node when parameter empty 2017-10-27 14:43:21 +02:00
voc
7e2e236ba9 add filter for track 2017-10-27 13:58:31 +02:00
Andreas Hubel
cce8790270 first steps towards frame reuse 2017-10-26 22:42:59 +02:00
Andreas Hubel
f1d511b97f add command line option to render one specific frame, e.g. titles for debugging 2017-10-26 22:41:40 +02:00
Andreas Hubel
d851c1d989 add command line options to skip inkscape rendering 2017-10-24 19:51:58 +02:00
Andreas Hubel
c593a0dd07 add support for background audio during intro 2017-10-24 18:12:10 +02:00
Daniel Molkentin
be90f37a1d disable overlong string protection, breaks larger inline images 2017-09-01 15:37:37 +02:00
Peter Körner
47019a6406 remove reference to pentabarf 2017-08-05 14:34:38 +02:00
MaZderMind
c23c8b9dfe force export-size 2016-08-20 13:36:22 +02:00
Matt Gray
e659b8437f renderlib changed to use full directory names for inkscape to make it work on mac 2016-07-31 16:30:46 +01:00
Florian Larysch
925c0b31f4 only print information about cache hits if debugging is on 2015-11-12 00:54:26 +01:00
Florian Larysch
ec1ae7d951 add frame caching 2015-11-11 23:54:23 +01:00
MaZderMind
38d3c80483 squash multiple whitespace chars into one 2015-11-08 23:33:19 +01:00
MaZderMind
38f39506f1 pass room-name to tasks-handler 2015-08-22 11:05:48 +02:00
MaZderMind
a2f1ae8d3c fix ffmpeg. one time more 2015-08-14 16:09:14 +02:00
MaZderMind
0532f186f0 fix dual audio embedding 2015-08-13 18:51:47 +02:00
MaZderMind
ae790c31ab create two silence streams 2015-08-13 15:47:12 +02:00
MaZderMind
df4cc82d0a re-enable .frames folder 2015-07-31 22:04:51 +02:00
MaZderMind
2e82c4d1a0 extract easings into file, complete the list 2015-07-30 17:57:26 +02:00
MaZderMind
c1bf3aa080 do not fail with empty/missing title 2015-05-28 14:20:54 +02:00