Created
September 3, 2013 01:40
-
-
Save AstraLuma/6418823 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo modprobe v4l2loopback | |
# This works just fine, w/o sound | |
#gst-launch-0.10 filesrc location=$1 ! decodebin ! v4l2sink device=/dev/video0 | |
# This fails to play | |
gst-launch-0.10 filesrc location=$1 ! decodebin name=decoder \ | |
decoder. ! audioconvert ! alsasink \ | |
decoder. ! videoconvert ! v4l2sink device=/dev/video0 \ | |
# decoder. ! xvimagesink \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment