Closed memco closed 10 years ago
The correct command line to use caching is:
livestreamer http://www.twitch.tv/peaches__ 360p --player "/Applications/VLC.app/Contents/MacOS/VLC --file-caching 5000"
Note the complete player command should be within quotes otherwise the parameters will be passed to livestreamer instead of the player.
You can also save the parameters in your ~/.livestreamerrc like this (no quotes needed here):
player=/Applications/VLC.app/Contents/MacOS/VLC --file-caching 5000
Do you get any clues about why the player misbehaves in the console output? (Use --verbose-player to show player output if you are using livestreamer from git).
Thanks, that worked. As a side note, I was only able to get VLC to work when using the 32 bit version. The 64 bit version just displays a loading bar indefinitely.
same as @memco vlc displays loading bar indefinitely for twitch.tv streams (240p, 360p, 480p, 720p, 720p+) but it works for mobile streams (mobile_high, mobile_low) osx 10.8.3 vlc 2.0.6 64
same as @memco vlc displays loading bar indefinitely for twitch.tv streams (240p, 360p, 480p, 720p, 720p+) but it works for mobile streams (mobile_high, mobile_low) osx 10.8.3 vlc 2.0.6 64
Very odd that it would refuse to play only some streams, maybe you can get some more clues why VLC refuses to play with this command:
livestreamer -p "vlc -vvv" --verbose-player url quality
i tried with option "/Applications/VLC.app/Contents/MacOS/VLC -vvv" and when I double click fd://0 stream in vlc only thing I gett on stdout is
[0x10245eb00] avcodec demux debug: trying url: fd://0 [0x10245eb00] avcodec demux debug: detected format: flv Truncating packet of size 1540 to 1146 [h264 @ 0x103801820] AVC: nal size 1536 [h264 @ 0x103801820] no frame!
edit: full gist https://gist.github.com/ibeex/5568501 edit: saving stream with -o video.flv and playing it later in VLC works for bad streams
I have been able to watch streams using mplayer for a few seconds before it hangs (beachball of death on Mac). Using vlc the player opens, but the simply puts "fd://0" in the playlist; if I hit play, I get a never ending progress bar. I tried to include the caching parameters, but those didn't work for me either. As an example, I type
livestreamer http://www.twitch.tv/peaches__ 360p --player "/Applications/VLC.app/Contents/MacOS/VLC" --file-caching 5000
and getlivestreamer: error: unrecognized arguments: --file-caching=5000
. This is using latest livestream and latest rtmpdump. Any suggestions on what I can do?