StreamRecorder
09-29-2013, 03:56 AM
When I try to download UStream live streams, I get HD versions only. rtmpsrv shows the same rtmpdump parameters for both HD and SD versions. Is there any way to download lower quality stream from UStream?
p.s.
I tried http://piscui.webear.net/ustream.php which shows a playlist URL only now and ffmpeg stops after downloading one segment. Sometimes when I relaunch the ffmpeg, it shows videos saying that it tries to detect what video quality is better for me thus not downloading any content itself.
I also tried the https://github.com/kenorb/UStream-recorder , but at the moment all its rtmpdump commands lead to downloading HD videos only.
example link UStream live
StreamRecorder
09-29-2013, 11:33 AM
example link UStream live
PMed the link. Thanks
dublin
09-30-2013, 04:38 AM
Is there any way to download lower quality stream from UStream?
Try Livestreamer (http://livestreamer.tanuki.se/en/latest/).
Usage:
livestreamer.exe "ustream url" "quality" -o "output filename"
quality option can be "best" "worst" "360p" "480p" "720p"
example:
Livestreamer.exe http://www.ustream.tv/sakkfesztival best -o video.mp4
StreamRecorder
10-03-2013, 08:19 AM
Try Livestreamer (http://livestreamer.tanuki.se/en/latest/).
Usage:
livestreamer.exe "ustream url" "quality" -o "output filename"
quality option can be "best" "worst" "360p" "480p" "720p"
example:
Livestreamer.exe http://www.ustream.tv/sakkfesztival best -o video.mp4
Thank you very much for your suggestion!
I haven't been able to use livestreamer with the python-librtmp. I only get the following error when using it:
Failed to load plugin ustreamtv:
File "/usr/local/lib/python2.7/dist-packages/livestreamer/plugins/ustreamtv.py", line 21, in <module>
import librtmp
File "/usr/local/lib/python2.7/dist-packages/librtmp/__init__.py", line 14, in <module>
from librtmp_ffi.binding import librtmp
File "/usr/local/lib/python2.7/dist-packages/librtmp_ffi/binding.py", line 16, in <module>
librtmp = verifier.load_library()
File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 68, in load_library
self.compile_module()
File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 55, in compile_module
self._write_source()
File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 117, in _write_source
file = open(self.sourcefilename, 'w')
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/librtmp_ffi/__pycache__/_binding.c'
However Livestreamer downloads fine for me without the python-librtmp. I can choose quality now without any problem!!!
Will be testing whether it will work with live playlists from UStream or not. Thank you again!
Rancher
11-28-2013, 04:38 PM
I get the following error message:
Traceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 122, in <module>
zipimport.ZipImportError: can't find module '__main__Livestreamer__'
What could be the cause of it?
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.