How can I improve stream buffering from the command line?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
JimmyRcom
Blank Cone
Blank Cone
Posts: 16
Joined: 02 Aug 2007 17:43

How can I improve stream buffering from the command line?

Postby JimmyRcom » 11 Jan 2009 21:40

Whenever I open a video file with VLC from the command line, it starts playing instantly and the frame freezes and skips often. I want it to download like 3mb or download for a few seconds before starting to play. Also it could work if the vid continued to download after clicking pause. I'm trying to stream an MKV from my server using http request.

I've tried the following options below and none of them seem to help. I know they're in milliseconds / kilobytes but even at high values for all I can't get it to wait before playing even for a second.

--sout-ffmpeg-rc-buffer-size= --sout-mux-caching= --mms-caching= --sout-udp-caching= --tcp-caching= --udp-caching=

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How can I improve stream buffering from the command line?

Postby Jean-Baptiste Kempf » 12 Jan 2009 20:50

what is your input?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

JimmyRcom
Blank Cone
Blank Cone
Posts: 16
Joined: 02 Aug 2007 17:43

Re: How can I improve stream buffering from the command line?

Postby JimmyRcom » 13 Jan 2009 18:46

I can't give you a good example because it seems to happen when the download rate on the video keeps wavering, eg 1minute it's going 200KB/s then 50KB/s back and forth. Is there a setting so I can manually set how much of the video it should load before resuming to maximize uninterrupted playback?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How can I improve stream buffering from the command line?

Postby Rémi Denis-Courmont » 13 Jan 2009 22:19

It's --http-caching
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JimmyRcom
Blank Cone
Blank Cone
Posts: 16
Joined: 02 Aug 2007 17:43

Re: How can I improve stream buffering from the command line?

Postby JimmyRcom » 14 Jan 2009 03:24

Thanks!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests