It seems not the case with network-caching, or my VLC (3.0.17.4, Windows 10) contains a bug here. setting a 10s buffer: VLC shall wait first 10s before starts playback, then it should start playback from buffer's begin, while it should keep receiving to buffer's end. You can change either, or both (in which case the. One is permanent, the other is temporary and resets after each stream. How can I convince VLC to really use the buffer on network stream? I.e. There are two methods for changing the streaming buffer in VLC Player. I tried to increase VLC's :network-caching=10000, but it's not causing any noticable improvements (almost better to use lower values, like 500 for some weird reason). This was a not-too-long sample (75s), and it contained 8 I-frames, so it's matching with my experiment on the VLC side: stuttering once per 10s, if this is caused by I-frames.Īnd indeed, network bandwidth between VLC and transcoded stream has a maximum throughput of 20MBps, but it needs many seconds (~5) to reach that, so it's not instantly available. Are there anyone can help me to force vlc streaming rtp over tcp protocol. X265 : frame I: 8, Avg QP:26.63 kb/s: 22492.08 Im trying to stream a video via rtp with vlc, the default protocol is UDP, but its performance is very low (bitrate, resolution, smooth.) So, I want to use vlc with rtp to stream video over tcp protocol to gain higher performance. However I realized something at the end of this conversion: video:22144kB audio:1469kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.257809% I did a little test: save the transcoded stream to mp4 locally: it's perfect, no stuttering. My only concern is that the stream is occasionally (depends on many factors, but at least once per 10 second) audio stutters while video plays, sometimes video stutters while audio plays, and sometimes both are stuck, having then hard time to get back in shape. The stream is live, transcoded from h264 to h265 by ffmpeg. But the video at the receiver looks fairly. So 300ms means in a second, it can transmit 3-4 frames. In the vlc streaming manual, it is given that Caching time refers to the time vlc has to wait before transmitting a frame. VLC streaming capabilities are quite mature and through transcoding, you can stream almost any video file.I can watch my RTSP stream with VLC almost perfectly. In Show more options under Stream, there is an option for setting Caching time which is set to 300ms by default. sout-x264-preset fast -sout-x264-tune film \ But actually, you don’t need an external tool. In the previous example, I used ffmpeg to transcode a video from my HDD recorder. codec:v libx264 -preset fast -tune film \ o stream.raw # Transcode the stream from my HDD using `ffmpeg` I find that way more “batch friendly”: # Download raw stream data from my HDD Is this an issue with my HDD recorder or a VLC limitation? I can’t tell for sure- by the way, if you have some more information about that, don’t hesitate to share that with me using the comment section at the bottom of this article!Īs an extra trick, since my HDD recorder uses HTTP as the transport layer, I find it most useful to use VLC to explore the HDD hierarchy, and then to use some command line tool to actually download and/or process the stream. I must admit on my system, it works only for recorded videos, and not for live streams. Sometimes it is not obvious because that capability is rebranded as DLNA - but for our purpose, it mostly covers the same things. The reason I mention that is many consumer grade audio-video devices do now support UPnP. UPnP aims at making network devices plug’n’play in order to ease adoption by non-technical oriented users. Universal Plug and Play (UPnP) is a set of protocols allowing connected devices to discover each other presence on the network. Using VLC to import videos from an UPnP deviceīefore talking about the UPnP support build into VLC, maybe it worth taking some time to explain in few words what is UPnP. In fact, for the desktop, VLC is much more than just a tool to play videos stored on your hard drive! So, stay with me for a tour of the lesser known features of that great software. There are MacOS and Windows versions too and even versions for your phone/pad/watch running iOS or Android. Do you know VLC, the ubiquitous media player, flagship of the VideoLAN project? VLC is a cross-platform tool and you can easily install VLC on Ubuntu or other Linux distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |