Skip to content

Commit

Permalink
🐛 Add own specifier for record file name
Browse files Browse the repository at this point in the history
closes #12
  • Loading branch information
Poeschl committed Jun 9, 2023
1 parent a05d4fa commit d97c6f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ disable_video_recording=false
# The streaming bitrate which is outputed from gstreamer to OwnCast. The output from OwnCast needs to be configured via
# the web admin UI to the wanted web output.
stream_bitrate=6000
# An identifier for the record files
# I must not contain any critifal symbol for the file system. So use only letters, numbers and '-'
record_file_identifier=pixelflut-record
4 changes: 2 additions & 2 deletions docker-compose.monitoring-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ services:
rfbsrc host=host.pixelflut port=5901 shared=false view-only=true !
videoconvert ! x264enc speed-preset=veryfast tune=zerolatency bitrate=${stream_bitrate} !
tee name=videoSplit ! queue !
flvmux name=mux metadatacreator=${pixelflut_description} encoder="Pixelflut VNC Bridge" ! queue !
flvmux name=mux metadatacreator="${record_file_identifier}" encoder="Pixelflut VNC Bridge" ! queue !
rtmpsink location='rtmp://owncast:1935/live/${streaming_key}'
audiotestsrc wave=silence ! avenc_aac ! mux.
videoSplit. ! queue ! valve drop=${disable_video_recording} !
matroskamux writing-app="Pixelflut VNC Bridge" !
filesink location="/record/${pixelflut_description}-$$(date +%Y-%m-%d_%H-%M).mkv"'
filesink location="/record/${record_file_identifier}-$$(date +%Y-%m-%d_%H-%M).mkv"'
networks:
proxy:
Expand Down

0 comments on commit d97c6f8

Please sign in to comment.