tuxmartin

Untitled

Jul 29th, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! capsfilter name=mycapsfilter caps='video/x-raw,format=YUY2,width=1280,height=720' ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  2.  
  3.  
  4.  
  5. /usr/bin/python2.7 /home/martin/PycharmProjects/gstreamer/e.py
  6. Traceback (most recent call last):
  7. File "/home/martin/PycharmProjects/gstreamer/e.py", line 10, in <module>
  8. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! capsfilter name=mycapsfilter caps='video/x-raw,format=YUY2,width=1280,height=720' ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  9. GLib.Error: gst_parse_error: could not set property "caps" in element "mycapsfilter" to "'video/x-raw,format=YUY2,width=1280,height=720'" (4)
  10.  
  11. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment