-
Notifications
You must be signed in to change notification settings - Fork 10
/
notes.txt
25 lines (16 loc) · 1.59 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--src examples
same as voctomix-ingest (test sources):
voctomix-ingest --src "videotestsrc name=videosrc ! videoconvert ! videorate ! videoscale ! video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 ! mux. audiotestsrc wave=ticks freq=330 name=audiosrc ! audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 ! tee name=audio_tee audio_tee.! queue ! mux. matroskamux name=mux !"
some webcam:
--src "v4l2src ! queue ! videoconvert ! videorate ! videoscale ! {videocaps} ! mux. audiotestsrc wave=ticks freq=330 ! {audiocaps} ! queue ! matroskamux name=mux !"
if --monoitor throws
ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstVaapiSink:autovideosink0-actual-sink-vaapi: Internal error: could not render surface
vaapi/gstvaapisink.c(1467): gst_vaapisink_show_frame_unlocked (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstVaapiSink:autovideosink0-actual-sink-vaapi
--monitor fpsdisplaysink --debug shows:
tee name=t \! queue \! videoconvert \! fpsdisplaysink sync=false t.
# add vaapipostproc before the videosink:
vaapipostproc ! autovideosink
# retult:
voctomix-ingest --src "videotestsrc name=videosrc ! tee name=t \! queue \! videoconvert \! fpsdisplaysink sync=false t. ! videoconvert ! videorate ! videoscale ! video/x-raw,format=I420,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 ! mux. audiotestsrc wave=ticks freq=330 name=audiosrc ! audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 ! tee name=audio_tee audio_tee.! queue ! mux. matroskamux name=mux !"
To run on Wayland:
GDK_BACKEND=x11