Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (23 sloc) 671 Bytes
#!/bin/bash
if [ $1 ]
then
echo casting to $1
gst-launch-0.10 avimux name=mux \
! filesink location=$1 \
ximagesrc name=videosource use-damage=false startx=1 starty=1 endx=641 endy=481 \
! video/x-raw-rgb,framerate=10/1 \
! videorate \
! ffmpegcolorspace \
! videoscale method=1 \
! video/x-raw-yuv,width=640,height=480,framerate=10/1 \
! ffenc_huffyuv \
! queue \
! mux. \
jackaudiosrc connect=0 name=audiosource \
! audio/x-raw-float,rate=44100,channels=2,depth=16 \
! audioconvert \
! queue \
! mux.
else
echo But where to cast to?
fi