Zum Inhalt springen

Gstreamer One Liners: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
KKeine Bearbeitungszusammenfassung
Amir (Diskussion | Beiträge)
Zeile 110: Zeile 110:


<pre>
<pre>
gst-launch-0.10 -v \
gst-launch-0.10 -v\
\ # V4l2: Open \
\ # V4l2: Open\
v4l2src device=/dev/video0 ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480, framerate=(fraction)15/2' ! \
v4l2src device=/dev/video0 ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480, framerate=(fraction)15/2' !\
\ # v4l2: Apply alpha \
\ # v4l2: Apply alpha\
ffmpegcolorspace ! alpha method=custom target-r=0 target-g=255 target-b=0 angle=40 ! \
ffmpegcolorspace ! alpha method=custom target-r=0 target-g=255 target-b=0 angle=40 !\
\ # v4l2: mix \
\ # v4l2: mix\
videomixer name=mix ! \
videomixer name=mix !\
\ # Mixer: display \
\ # Mixer: display\
ffmpegcolorspace ! xvimagesink \
ffmpegcolorspace ! xvimagesink\
\ # Background: open \
\ # Background: open\
filesrc location=bg.avi ! decodebin ! \
filesrc location=bg.avi ! decodebin !\
\ # Background: mix \
\ # Background: mix\
ffmpegcolorspace ! mix.
ffmpegcolorspace ! mix.
</pre>
</pre>