Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to play a captured stream
To play a captured stream directly, execute glc-play [stream file]
ESC stops playback (closing window just closes a video stream), f toggles fullscreen and Right seeks forward.
Play using mplayer
Exporting audio and video streams to pipes it is possible to play stream directly using mplayer.
To play just video, execute glc-play [stream file] -y 1 -o - | mplayer -demuxer y4m -
To play audio, execute glc-play [stream file] -a 1 -o - | mplayer -demuxer lavf -
Using fifos it is possible to play both streams simultaneously. mkfifo audio.fifo mkfifo video.fifo
glc-play [stream file] -o audio.fifo -a 1 & glc-play [stream file] -o video.fifo -y 1 & mplayer -audio-demuxer 35 -audiofile audio.fifo video.fifo