summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-12-06 20:28:02 +0100
committerMaZderMind <git@mazdermind.de>2015-12-06 20:28:57 +0100
commit39c8cb3a0e3813ef77c61c601d0028281c04ad2d (patch)
tree8e4798e9b70732f1c28f180457e962c63f1a20ec /example-scripts/ffmpeg/source-testvideo-as-cam2.sh
parentb2b0e458a59ef8ede58b369a5d5194939021165d (diff)
[example-scripts] overhaul and test all example scripts, fixes #5
Diffstat (limited to 'example-scripts/ffmpeg/source-testvideo-as-cam2.sh')
-rwxr-xr-xexample-scripts/ffmpeg/source-testvideo-as-cam2.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/source-testvideo-as-cam2.sh b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
new file mode 100755
index 0000000..b9adc82
--- /dev/null
+++ b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+ffmpeg -y \
+ -i "http://ftp.uni-erlangen.de/cdn.media.ccc.de/broadcast/sendezentrum/h264-hd/31c3-sendezentrum-1003-de-Freak_Show_FS147_That_Escalatored_Quickly_hd.mp4" \
+ -ac 2 \
+ -af aresample=48000 \
+ -pix_fmt uyvy422 \
+ -c:v rawvideo \
+ -c:a pcm_s16le \
+ -f matroska \
+ tcp://localhost:10001