If you need further details I made a post about my findings. The most responsive client was ffplay, VLC introduced too much latency even with its network cache set to zero - with such cache it actually got worse, since it tried to 'resync' the stream too often. It might be doable, I just didn't figured out how. Go to Tools > Preferences CTRL + P Click on Video Select Off, Automatic, or On under Video > Deinterlacing. I was unable to get such low latencies when streaming audio as well. Mind you that none of those options will stream sound. see the stream with VLC player: VLC setup (on FFmpeg is a software widely used for. At the bottom-left of the Settings window click the All bullet to display additional settings. Not sure if this is the right place to ask this question but I'll do it anyways :P. If running Windows use dshow in place of x11grab. Using FFmpeg decoding, the data transfer process can be summarized as. Launch VLC and open Tools > Preferences or press the keyboard shortcut (Ctrl + P). Or $ ffmpeg -f x11grab -s 1600x900 -r 50 -vcodec libx264 -preset ultrafast -tune zerolatency -crf 18 -f mpegts udp://192.168.0.10:1234Īdjust for screen resolution ( -s ), refresh rate ( -r ), bandwidth ( -b:v ), quality ( -crf 18 or -qp 18, the lower the better), and target ip:port. Educators, politicians, and businesses use video blogs and video podcasts to. If youre using Windows Firewall, then when you launch VLC, Windows will ask. On Linux try one of the following commands: $ ffmpeg -f x11grab -s 1600x900 -r 50 -vcodec mpeg2video -b:v 8000 -f rtp rtp://192.168.0.10:1234 Windows Media Player is a popular media player, through which you can. University accommodation via the Universitys JANET Internet connection. The server will be under a heavy workload and latency will be noticeable - at least on Linux, don't know about windows. The popular free media player VLC has many different characteristics that make it attractive to many users, including that it can play almost any media file. ![]() I hope these lines will help someone else. ![]() The player will play video or audio files stored locally. ![]() I only got x264 working with UDP, but there must be a way to do it with RTP. In any case to see the stream correctly you need to have a connection bandwidth sufficiently bigger than what required to play that stream (say, at least 30), so to see the 6.4 Mbps you need at least of 8 Mbps. The VLC streaming player from the VideoLAN Organization is an open-source audio and video player. Moving to x264 improves quality in exchange for a bit more latency, but that really depends on how much dynamic content is there and how fast the CPU is. Mpeg2video and UPD provided the best results, RTP latency felt a bit worse but very close. FFmpeg did wonders and finally provided a latency bellow 1 second. I have also tried the same with VLC and couldn't ever get latency bellow 3 seconds.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |