projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e270e1
)
Port gst-fdsrc-and-videoparse.sh to GStreamer 1.0
author
Antonio Ospite <ospite@studenti.unina.it>
Thu, 24 Oct 2013 11:38:03 +0000
(13:38 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Thu, 24 Oct 2013 11:38:03 +0000
(13:38 +0200)
gst-fdsrc-and-videoparse.sh
patch
|
blob
|
history
diff --git
a/gst-fdsrc-and-videoparse.sh
b/gst-fdsrc-and-videoparse.sh
index
f356c7b
..
1b01a10
100755
(executable)
--- a/
gst-fdsrc-and-videoparse.sh
+++ b/
gst-fdsrc-and-videoparse.sh
@@
-5,8
+5,9
@@
set -e
# This is a very flexible way to read raw video data from the standard input
# when the image size, pixelformat and the framerate are known.
# This is a very flexible way to read raw video data from the standard input
# when the image size, pixelformat and the framerate are known.
-gst-launch-0.10 \
+cat /dev/urandom |
+gst-launch-1.0 \
fdsrc blocksize=$((800*480*4)) ! \
fdsrc blocksize=$((800*480*4)) ! \
- videoparse format="bgra" width=800 height=480 framerate=
30
! \
- queue min-threshold-buffers=
30
! \
-
ffmpegcolorspace
! videorate ! autovideosink
+ videoparse format="bgra" width=800 height=480 framerate=
5
! \
+ queue min-threshold-buffers=
5
! \
+
videoconvert
! videorate ! autovideosink