root/misc/gst-pip.sh

Revision 101487233bef68b4c66c47115e6e3c959e61b134, 1.2 kB (checked in by Robin Gareus <robin@…>, 2 years ago)

some script updates.

  • Property mode set to 100644
Line 
1
2FLT1=" "
3SRC1=" souphttpsrc location=http://io.rg42.org:8002/example1.ogv is-live=true ! oggdemux ! theoradec"
4SRC1=" souphttpsrc location=http://io.rg42.org:8002/example1.ogv ! oggdemux ! theoradec"
5SRC1=" souphttpsrc location=http://theartcollider.net:8002/pau2.ogv ! oggdemux ! theoradec"
6#FLT1+=" ! videocrop top=70 bottom=70 left=70 right=70"
7FLT1+=" ! videocrop top=150 bottom=100 left=200 right=200" 
8#FLT1+=" ! videorate silent=false"
9#FLT1+=" ! video/x-raw-yuv, framerate=(fraction)5/1"
10FLT1+=" ! ffmpegcolorspace"
11FLT1+=" ! agingtv"
12FLT1+=" ! ffmpegcolorspace"
13FLT1+=" ! videobox border-alpha=0 alpha=1 top=-70 left=-70"
14
15FLT2=" "
16SRC2=" souphttpsrc location=http://io.rg42.org:8002/example1.ogv ! oggdemux ! theoradec"
17SRC2=" souphttpsrc location=http://theartcollider.net:8002/pau2.ogv ! oggdemux ! theoradec"
18FLT2+=" ! videocrop top=150 bottom=100 left=200 right=200" 
19#FLT2+=" ! ffmpegcolorspace ! videoscale ! videorate "
20#FLT2+=" ! ffmpegcolorspace"
21#FLT2+=" ! videoscale"
22FLT2+=" ! videorate"
23#FLT2+=" ! video/x-raw-yuv, framerate=(fraction)5/1, width=320, height=240"
24#FLT2+=" ! ffmpegcolorspace"
25FLT2+=" ! alpha alpha=1"
26
27gst-launch \
28 $SRC1 $FLT1 \
29 ! videomixer name=mix ! ffmpegcolorspace ! xvimagesink  \
30\
31 $SRC2 $FLT2 \
32 ! mix.
Note: See TracBrowser for help on using the browser.