jowijo

MPEG-2 Pipline | Gstreamer

May 30th, 2014
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. VIDEOFORMATIN='video/x-raw, format=UYVY, width=1920, height=1080, framerate=60/1, interlaced='true''
  2. gst-launch-1.0 -v videotestsrc do-timestamp=true is-live=true ! $VIDEOFORMATIN \
  3. ! videoconvert ! queue ! \
  4. avenc_mpeg2video bitrate=15000000 rc-max-rate=17000000 rc-min-rate=14000000 rc-buffer-size=300000 \
  5. rc-buffer-aggressivity=0.25 ! \
  6. filesink location=/tmp/video.es
Add Comment
Please, Sign In to add comment