aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-cam1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/scripts/av-source-cam1.sh')
-rwxr-xr-xvoctocore/scripts/av-source-cam1.sh20
1 files changed, 8 insertions, 12 deletions
diff --git a/voctocore/scripts/av-source-cam1.sh b/voctocore/scripts/av-source-cam1.sh
index 11b9663..22b61f5 100755
--- a/voctocore/scripts/av-source-cam1.sh
+++ b/voctocore/scripts/av-source-cam1.sh
@@ -1,13 +1,9 @@
#!/bin/sh
-gst-launch-1.0 -vm \
- videotestsrc pattern=smpte !\
- video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
- timeoverlay valignment=bottom ! \
- mux. \
- \
- audiotestsrc freq=440 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
- mux. \
- \
- matroskamux name=mux !\
- tcpclientsrc host=localhost port=10000
+ffmpeg -y \
+ -i "$HOME/31c3-sendezentrum-1013-de-Methodisch_inkorrekt_Die_falsche_42_hd.mp4" \
+ -ac 2 \
+ -af aresample=48000 \
+ -c:v rawvideo \
+ -c:a pcm_s16le \
+ -f matroska \
+ tcp://localhost:10000