summaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-12-06 18:52:48 +0100
committerMaZderMind <git@mazdermind.de>2015-12-06 18:52:48 +0100
commitea071cf057a00ebe0e20d0787dab59c863fbba6c (patch)
treee58cd4f69e6c9aa390247766194e60c0777b4439 /example-scripts
parent8396196a69a4c43a65081d8139f8c057d7f12818 (diff)
[voctocore][example-scripts] change default colorspace vom I420 (4:2:0 subsampling) to UYVY (4:2:2), fixes #33
Diffstat (limited to 'example-scripts')
-rwxr-xr-xexample-scripts/av-source-avsync-ffmpeg-noloop.sh1
-rwxr-xr-xexample-scripts/av-source-avsync-ffmpeg.sh1
-rwxr-xr-xexample-scripts/av-source-avsync.sh2
-rwxr-xr-xexample-scripts/av-source-background-loop.sh1
-rwxr-xr-xexample-scripts/av-source-background.sh2
-rwxr-xr-xexample-scripts/av-source-bmd-cam1.sh2
-rwxr-xr-xexample-scripts/av-source-bmd-cam2.sh2
-rwxr-xr-xexample-scripts/av-source-cam1.sh1
-rwxr-xr-xexample-scripts/av-source-cam2.sh1
-rwxr-xr-xexample-scripts/av-source-eevblog-ffmpeg.sh1
-rwxr-xr-xexample-scripts/av-source-eevblog.sh2
-rwxr-xr-xexample-scripts/av-source-grabber.sh1
12 files changed, 12 insertions, 5 deletions
diff --git a/example-scripts/av-source-avsync-ffmpeg-noloop.sh b/example-scripts/av-source-avsync-ffmpeg-noloop.sh
index 2183f35..61aed59 100755
--- a/example-scripts/av-source-avsync-ffmpeg-noloop.sh
+++ b/example-scripts/av-source-avsync-ffmpeg-noloop.sh
@@ -4,5 +4,6 @@ ffmpeg -y \
-vf scale=1920x1080 \
-c:v rawvideo \
-c:a pcm_s16le \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:10000
diff --git a/example-scripts/av-source-avsync-ffmpeg.sh b/example-scripts/av-source-avsync-ffmpeg.sh
index d4e848b..3f9a06e 100755
--- a/example-scripts/av-source-avsync-ffmpeg.sh
+++ b/example-scripts/av-source-avsync-ffmpeg.sh
@@ -4,5 +4,6 @@
-vf scale=1920x1080 \
-c:v rawvideo \
-c:a pcm_s16le \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:10000
diff --git a/example-scripts/av-source-avsync.sh b/example-scripts/av-source-avsync.sh
index 208e9c0..1e8d1eb 100755
--- a/example-scripts/av-source-avsync.sh
+++ b/example-scripts/av-source-avsync.sh
@@ -8,7 +8,7 @@ gst-launch-1.0 \
queue !\
videoconvert !\
videoscale !\
- video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ video/x-raw,format=UYVY,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
mux. \
\
src. !\
diff --git a/example-scripts/av-source-background-loop.sh b/example-scripts/av-source-background-loop.sh
index 8b16487..6a269f4 100755
--- a/example-scripts/av-source-background-loop.sh
+++ b/example-scripts/av-source-background-loop.sh
@@ -2,5 +2,6 @@ while true; do cat ~/bg.ts || exit 1; done |\
ffmpeg -re -i - \
-map 0:v \
-c:v rawvideo \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:16000
diff --git a/example-scripts/av-source-background.sh b/example-scripts/av-source-background.sh
index d978135..94dc978 100755
--- a/example-scripts/av-source-background.sh
+++ b/example-scripts/av-source-background.sh
@@ -1,6 +1,6 @@
#!/bin/sh
gst-launch-1.0 \
videotestsrc pattern=ball !\
- video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\
+ video/x-raw,format=UYVY,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\
matroskamux !\
tcpclientsink host=localhost port=16000
diff --git a/example-scripts/av-source-bmd-cam1.sh b/example-scripts/av-source-bmd-cam1.sh
index 600a0b7..f964cc6 100755
--- a/example-scripts/av-source-bmd-cam1.sh
+++ b/example-scripts/av-source-bmd-cam1.sh
@@ -3,6 +3,6 @@ ffmpeg -y \
-f decklink \
-i 'DeckLink Mini Recorder (1)@11' \
-c:v rawvideo -c:a pcm_s16le \
- -pix_fmt yuv420p \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:10000
diff --git a/example-scripts/av-source-bmd-cam2.sh b/example-scripts/av-source-bmd-cam2.sh
index 3682663..f7d5d12 100755
--- a/example-scripts/av-source-bmd-cam2.sh
+++ b/example-scripts/av-source-bmd-cam2.sh
@@ -3,6 +3,6 @@ ffmpeg -y \
-f decklink \
-i 'DeckLink Mini Recorder (2)@11' \
-c:v rawvideo -c:a pcm_s16le \
- -pix_fmt yuv420p \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:10001
diff --git a/example-scripts/av-source-cam1.sh b/example-scripts/av-source-cam1.sh
index 22b61f5..e61f336 100755
--- a/example-scripts/av-source-cam1.sh
+++ b/example-scripts/av-source-cam1.sh
@@ -3,6 +3,7 @@ ffmpeg -y \
-i "$HOME/31c3-sendezentrum-1013-de-Methodisch_inkorrekt_Die_falsche_42_hd.mp4" \
-ac 2 \
-af aresample=48000 \
+ -pix_fmt uyvy422 \
-c:v rawvideo \
-c:a pcm_s16le \
-f matroska \
diff --git a/example-scripts/av-source-cam2.sh b/example-scripts/av-source-cam2.sh
index 6f39fd0..d7da5a8 100755
--- a/example-scripts/av-source-cam2.sh
+++ b/example-scripts/av-source-cam2.sh
@@ -3,6 +3,7 @@ ffmpeg -y \
-i "$HOME/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 \
diff --git a/example-scripts/av-source-eevblog-ffmpeg.sh b/example-scripts/av-source-eevblog-ffmpeg.sh
index 3c3aab9..20cbe1c 100755
--- a/example-scripts/av-source-eevblog-ffmpeg.sh
+++ b/example-scripts/av-source-eevblog-ffmpeg.sh
@@ -3,6 +3,7 @@ ffmpeg -y \
-i $HOME/eevblog.mp4 \
-c:v rawvideo \
-c:a pcm_s16le \
+ -pix_fmt uyvy422 \
-af aresample=48000 \
-f matroska \
tcp://localhost:10000
diff --git a/example-scripts/av-source-eevblog.sh b/example-scripts/av-source-eevblog.sh
index 0ed237d..8a7a10f 100755
--- a/example-scripts/av-source-eevblog.sh
+++ b/example-scripts/av-source-eevblog.sh
@@ -7,7 +7,7 @@ gst-launch-1.0 \
queue !\
videoconvert !\
videoscale !\
- video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ video/x-raw,format=UYVY,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
mux. \
\
src. !\
diff --git a/example-scripts/av-source-grabber.sh b/example-scripts/av-source-grabber.sh
index 2d646a9..038a870 100755
--- a/example-scripts/av-source-grabber.sh
+++ b/example-scripts/av-source-grabber.sh
@@ -6,5 +6,6 @@ ffmpeg -y \
-map "[a]" \
-c:a pcm_s16le \
-c:v rawvideo \
+ -pix_fmt uyvy422 \
-f matroska \
tcp://localhost:10002