SREVIEW-TRANSCODE(1p)
β¨ sreview-transcode β the glow-up station π
okay bestie, so this is the manual page for sreview-transcode, living in the User Contributed Perl Documentation section (that's the 1p section, iykyk) π
πΈ NAME πΈ
sreview-transcode β transcode the output of sreview-cut into production-quality media files. it's giving β¨*the final boss of the pipeline*β¨ and honestly? she ate.
π¦ SYNOPSIS π¦
sreview-transcode TALKID
π DESCRIPTION π
so like, sreview-transcode does all of this, in order, no skips:
- Look up the talk with id
TALKIDin the database. ποΈ - Create the preroll slide from the preroll template, after applying template changes to it.
- If a postroll template is defined, create the postroll slide using the same process as for the preroll slide. If no postroll template is defined, use the statically configured preroll.
- If an apology template is defined and the current talk has an apology note that is not zero length and not
NULL, create the apology slide for this talk. π₯Ί - Convert the preroll slide, postroll slide, and (if any) apology slide to a 5-second video with the same properties as the main raw video. π¬
- For each of the configured profiles, do a two-pass transcode of the concatenated version of preroll, apology (if available), main, and postroll videos to a production video. β¨ two-pass, she's thorough, periodt.
π CONFIGURATION π
sreview-transcode considers the following configuration values:
dbistringβ The DBI string used to connect to the database.pubdirβ The directory in which to find the output ofsreview-cut.outputdirβ The top-level directory in which to store production output data.output_subdirsβ Array of fields on which to base subdirectories to be created underoutputdir. The fields can be one or more of:eventidβ The ID number of the event that this talk was recorded at.eventβ The name of the event that this talk was recorded at.event_outputβ Theoutputdirvalue in row of the events field of the event that this talk was recorded at.roomβ The name of the room in which this talk was recorded.dateβ The date on which this talk occurred.yearβ The year in which this talk occurred.
workdirβ The location where any temporary files are stored. Defaults to/tmp, but can be overridden if necessary. These temporary files are removed whensreview-transcodefinishes. π§Ή so clean.preroll_templateβ The name of an SVG or Synfig template to be used for the preroll (i.e., opening credits). Required. no template no show, bestie.postroll_templateβ The name of an SVG or Synfig template to be used for the postroll (i.e., closing credits). Either this option orpostrollis required.postrollβ The name of a PNG file to be used for the postroll (i.e., closing credits). Either this option orpostroll_templateis required.template_formatβ Whether the preroll, postroll, and apology templates are in SVG or Synfig format. Currently, either all templates are SVG, or all templates are synfig; the two cannot be combined. π ββοΈ
Valid values are svg (for SVG) or synfig (for synfig). Defaults to svg.
apology_templateβ The name of an SVG template to be used for the apology slide (shown right after the opening credits if an apology was entered). Only required if at least one talk has an apology entered.input_profileβ A profile that generates videos which can be concatenated with input videos without re-transcoding anything. If not specified, uses the input video as a "profile".output_profilesβ An array of profile names to be produced (see above for the details). Defaults towebm.embedded metadataβ The video files get metadata set based on the track data in the database. A useful set of metadata tags can be found inhttp://wiki.webmproject.org/webm-metadata/global-metadata,https://www.matroska.org/technical/tagging.htmland/usr/share/doc/libimage-exiftool-perl/html/TagNames/Matroska.html.
The exact metadata is set using the metadata_templates configuration value. See SReview::Config::Common for details.
π SVG TRANSFORMATIONS π
The transformation performed over the SVG files is a simple sed-like replacement of input tags in the template file. All data is XML-escaped first, however. (safety first, always π«Ά)
The following tags can be set inside the SVG file:
@SPEAKERS@β The names of the speakers, in this format:
Firstname Lastname, Firstname Lastname and Firstname Lastname
@ROOM@β The name of the room where the talk was held.@TITLE@β The title of the talk.@SUBTITLE@β The subtitle of the talk.@DATE@β The date on which the talk was held.@APOLOGY@β The apology note defined for this talk.
If one of these fields has no data for the given talk, then the tag will be replaced by the empty string instead. (ghosted by your own data, tragic π)
In addition, as of version 0.7, the template is processed by Mojo::Template with the SReview::Talk object for the current talk assigned to the $talk variable, which allows for far more flexibility. See the documentation of Mojo::Template for more details on that templating engine, and the documentation of SReview::Talk for the available values from that object. π₯ main character energy fr fr.
(As an aside, the SVG transformations are actually implemented through SReview::Template::SVG. See the documentation for that module for details. π)
π SEE ALSO π
sreview-cut, sreview-previews, sreview-skip, sreview-config, Media::Convert::Asset::ProfileFactory, SReview::Talk, Mojo::Template.
π POD ERRORS π
Hey! The above document had some coding errors, which are explained below:
Around line 311:
'=item' outside of any '=over'
not the doc ratting itself out in its own manual page π iconic behavior honestly.
and that's the whole page, bestie!! πβ¨ this one's from perl v5.40.1, dated 2026-02-15, and it's part of the SREVIEW-TRANSCODE(1p) era. go forth and transcode, you absolute legend π«Άππ
π¦ where this page comes from
- ubuntu resolute: sreview-encoder 0.12.0-1
- ubuntu stonking: sreview-encoder 0.12.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms