Advertisement
tuxmartin

Untitled

Jul 29th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! 'video/x-raw,format=YUY2,width=1280,height=720,name=X' ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  2.  
  3.  
  4. (python2.7:28815): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
  5. Traceback (most recent call last):
  6. File "/home/martin/PycharmProjects/gstreamer/e.py", line 10, in <module>
  7. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! 'video/x-raw,format=YUY2,width=1280,height=720,name=X' ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  8. GLib.Error: gst_parse_error: syntax error (0)
  9.  
  10. Process finished with exit code 1
  11.  
  12.  
  13. -----------------------------------------------
  14.  
  15. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! 'video/x-raw,format=YUY2,width=1280,height=720' name=X ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  16.  
  17. /usr/bin/python2.7 /home/martin/PycharmProjects/gstreamer/e.py
  18.  
  19. (python2.7:28861): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
  20. Traceback (most recent call last):
  21. File "/home/martin/PycharmProjects/gstreamer/e.py", line 10, in <module>
  22. pipeline = Gst.parse_launch("v4l2src device=/dev/video0 ! 'video/x-raw,format=YUY2,width=1280,height=720' name=X ! x264enc tune=zerolatency ! mp4mux ! filesink location=/tmp/file.mp4")
  23. GLib.Error: gst_parse_error: syntax error (0)
  24.  
  25. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement