voc / voctomix

Full-HD Software Live-Video-Mixer in python
https://c3voc.de/
MIT License
573 stars 104 forks source link

voctocore: output gstreamer debug message on pipeline error #315

Closed sophieschi closed 2 months ago

sophieschi commented 2 months ago

Just a very small change, but should improve pipeline debuggability by outputting the actual debug message and not only a nondescriptive summary.

   DEBUG Pipeline: ../gst/matroska/matroska-mux.c(1130): gst_matroska_mux_video_pad_setcaps (): /GstPipeline:pipeline0/GstBin:AVRawOutput-mix/GstMatroskaMux:mux-mix:
Caps changes are not supported by Matroska
Current: `video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-site=(string)jpeg, colori
metry=(string)bt601`
New: `video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-site=(string)mpeg2, colorimet
ry=(string)bt709`
   ERROR Pipeline: GStreamer pipeline element 'mux-mix' signaled an error #10: Could not multiplex stream.

Previously only the ERROR-Line was printed, now, the accompnying more verbose DEBUG-line too if verbosity is at triple-v.