From a50f56c68a8b0e7170427358f99d200be0626491 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 20 May 2015 10:59:39 +0200 Subject: cube demo scripts --- voctocore/scripts/av-source-cam2.sh | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'voctocore/scripts/av-source-cam2.sh') diff --git a/voctocore/scripts/av-source-cam2.sh b/voctocore/scripts/av-source-cam2.sh index 139a507..6f39fd0 100755 --- a/voctocore/scripts/av-source-cam2.sh +++ b/voctocore/scripts/av-source-cam2.sh @@ -1,13 +1,9 @@ #!/bin/sh -gst-launch-1.0 -vm \ - videotestsrc pattern=ball !\ - video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \ - timeoverlay valignment=bottom ! \ - mux. \ - \ - audiotestsrc freq=330 !\ - audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ - mux. \ - \ - matroskamux name=mux !\ - tcpclientsrc host=localhost port=10001 +ffmpeg -y \ + -i "$HOME/31c3-sendezentrum-1003-de-Freak_Show_FS147_That_Escalatored_Quickly_hd.mp4" \ + -ac 2 \ + -af aresample=48000 \ + -c:v rawvideo \ + -c:a pcm_s16le \ + -f matroska \ + tcp://localhost:10001 -- cgit v1.2.3