Screencasting & Video streaming - Printable Version +- nixers (https://nixers.net) +-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics) +--- Forum: Unix Related Arts & Image Manipulation Software (https://nixers.net/Forum-Unix-Related-Arts-Image-Manipulation-Software) +--- Thread: Screencasting & Video streaming (/Thread-Screencasting-Video-streaming) |
Screencasting & Video streaming - z3bra - 17-07-2016 I've been recently searching for a way to stream my desktop on the web, with good quality and as few latency as possible. It turns out that video encoding sounds like black magic to me... I'm using ffserver + ffmpeg + alsa. Pretty simple setup. But I'm struggling to get less than 10 seconds latency, egen with libx264's zerolatency setting. I've read posts like this: http://stackoverflow.com/questions/12020430/look-for-fastest-video-encoder-with-least-lag-to-stream-webcam-streaming-to-ipad/12085571#12085571, that helped, but not thst much as I don't understand some terms. What are your experiences with video encoding and streaming? Would you have some hints about hiw to improve latencies, or user-friendliness of the tools involved? RE: Screencasting & Video streaming - josuah - 18-07-2016 This worked very nice while you shew <code>sick(1)</code>. Only latency, but I do not know video codecs, so I doubt I can help with this. Maybe one could use vlc to play it, without even requiring command line interaction (File > Open Network Stream, or CTRL + N) so it is user friendly enough this way? I do not know if it works with your feed, though... RE: Screencasting & Video streaming - z3bra - 18-07-2016 Good to know! Thanks for the input. Due to the latency, I'll have to send the audio through the stream. I have no idea which codec would be best for it. I kind of figured some good enough presets for the video (x264 + zerolatency + 512K bitrate), but on the audio sofe, I'm totally lost... If anyone has an idea, please tell me! For VLC, it can totally play the stream! Best is to disable caching to get the lowest latency possible. I personallucioles use "mplayer -nocache" for that. I know that "ffplay" also does a good job at playing those streams. RE: Screencasting & Video streaming - z3bra - 19-07-2016 For reference, here are my encoding settings: Code: Format flv Still trying to figure out the best option for audio... RE: Screencasting & Video streaming - josuah - 19-07-2016 ffmpeg is such a nice tool! It compile very well (much time, though) without requiring libraries (or some that were already on my OS. With good documentation, and And ffplay is a tool built along with ffmpeg, but I dan't know it well enough yet. It still can be used to play in the linux framebuffer ('in tty'), so thanks to you, we can even watch live streaming in the TTY week. RE: Screencasting & Video streaming - w0ne - 20-07-2016 I have always used Open Brodcast Software RE: Screencasting & Video streaming - venam - 20-07-2016 (20-07-2016, 02:14 AM)w0ne Wrote: I have always used Open Brodcast SoftwareThis one: https://obsproject.com/ ? RE: Screencasting & Video streaming - w0ne - 20-07-2016 Yea that one, and it's also cross-platform :D RE: Screencasting & Video streaming - z3bra - 20-07-2016 Sounds pretty neat! Does it also handle the server part? RE: Screencasting & Video streaming - josuah - 19-08-2016 http://hisham.hm/htop/ is using video streaming for its background (actually a gif. Someone else did it, though). At the bottom of the page: Quote:Thanks to Alexander Waldeck for the idea of having htop itself as the page background! His page actually presents a live htop session -- mine is just an animated gif with a few frames stolen from his page. :-) It does not looks like a real video stream, more like hacks to get TTY displayed 'live'. RE: Screencasting & Video streaming - aah - 15-10-2016 Cant you just use ffmpeg for recording the video and audacity for the audio then put the 2 tracks together in a video editor or muxer software? I suppose I must be missing something as usual. RE: Screencasting & Video streaming - z3bra - 15-10-2016 It's possible, but adds an extra complexity layer as you'll have to resynchronise and reencide the video RE: Screencasting & Video streaming - venam - 08-02-2021 Since we're on a multimedia tone this week, let's bump this thread and broaden the topic a bit. What do you use for screencasting, or video recording in general? OBS is probably the go-to solution, but are you using something else? RE: Screencasting & Video streaming - venam - 25-02-2021 I remembered this project called the olive-editor. I haven't tried it yet but it seems interesting. RE: Screencasting & Video streaming - TheAnachron - 25-02-2021 I rarely record my video but when I do I just use ffmpeg with relevant parameters. Screen sharing is done via a ffserver as well. The initial idea/setup is from https://blog.z3bra.org/2016/08/desktop-streaming.html but I found a ton of other scripts and configs all around github and the internet that I incorporated. I would use OBS-Studio if I were to use a more flexible and customizable system. |