Active Topics

 



Notices


Reply
Thread Tools
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#11
For the distribution currently running on my vdr machine (mandriva 2007.1) I only have available ruby 1.8.5 and vlc 0.8.6d.
Will that possibly work or should I not even bother?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#12
It will not work, sorry. If it did, I could have released Knots ages ago Ruby version should be ok though.

EDIT: I think I could actually make it work with few changes but you would lose the ability to follow stream progress which means you would need to press stop manually after stream ends. You could actually seek but the progress would always show 0 percent. Also I would have to kill all VLC processes when you press stop.

EDIT2: does this help? http://www.videolan.org/vlc/download-mandriva.html

Last edited by ukki; 2008-10-11 at 18:34.
 

The Following User Says Thank You to ukki For This Useful Post:
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#13
Originally Posted by ukki View Post
EDIT2: does this help? http://www.videolan.org/vlc/download-mandriva.html
Not really, since is in that repository that the latest version available is 0.8.6d.
I'll try to build from the source rpm.
edit: mmh, actually many of the required libs also aren't available, so it would probably less painful to upgrade to 2009.0, and since this is a headless and diskless machine I won't do that right away, it'll have to wait.

Last edited by luca; 2008-10-11 at 21:32.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#14
Well you can test how badly the server fails without VLC too I'm pretty sure it will die on an xml error if not sooner.
 

The Following User Says Thank You to ukki For This Useful Post:
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#15
Originally Posted by Jaffa View Post
That's not true. Things like mediaserv (on Linux), or Orb etc (on Windows) all allow you to run something once on your PC and then access the videos through a web interface and the built-in Media Player or mplayer.
Andrew,
I'm on Mac, I have tried 2 or 3 UPnP servers available, and it never worked properly for videos. I'd be glad to check out the alternative solution tho, so if you know something for Mac (as a server) that'd work please do let me know.
Thanks!
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#16
Originally Posted by stangri View Post
Andrew,
I'm on Mac, I have tried 2 or 3 UPnP servers available, and it never worked properly for videos. I'd be glad to check out the alternative solution tho, so if you know something for Mac (as a server) that'd work please do let me know.
Thanks!
mediaserv should work on a Mac, FWIW. As should knots.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#17
Andrew, thanks, I'll try it, it'll just take a bit longer (than trying out Knots) since I don't have Perl installed and not sure how'd the RSS:XML installation will go on Mac.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#18
Well, I managed to compile from the source rpm for vlc 0.9.3 (there's no 0.9.4 for mandriva), after disabling various options (mainly qt4, I don't need a gui) to avoid installing 900megs of required libraries (I managed with only a couple hundred megs, funny how a linux distribution bit rots in a couple of years while windows relative stagnation allows me to grab an exe and install it in a 10 years old os, but I digress).

After modifying a bit the setup script (my vdr binary isn't in the path) and creating the ~/.config directory (otherwise the setup script would simply tell me "configuration not saved"), I managed to create a configuration file and starting the server.

The client just stays black after telling me it connected to the server, and this is what I see in the log (maybe it really needs 1.8.6?):
Code:
[2008-10-13-19:24:41] Starting Knots 0.2.4 at 192.168.10.13:4212
[2008-10-13-19:25:15] Revealed to 192.168.10.12:49309
[2008-10-13-19:25:18] Request: /config/preferences?client_id=fe0161ebe712a8ebbf42c6da127ccf1a&locale=es_ES from ventosino.ventoso.local:58516
[2008-10-13-19:25:19] Request: /scanner/scan?client_id=fe0161ebe712a8ebbf42c6da127ccf1a&locale=es_ES&dir=%2F from ventosino.ventoso.local:58517
[2008-10-13-19:25:19] Error: undefined method `[]' for nil:NilClass

Backtrace:

/home/vdr/kserver/lib/components/locale.rb:14:in `text'
/home/vdr/kserver/lib/components/scanner.rb:22:in `scan'
/home/vdr/kserver/lib/components/scanner.rb:21:in `each'
/home/vdr/kserver/lib/components/scanner.rb:21:in `scan'
./lib/server.rb:39:in `call'
./lib/server.rb:39:in `serve'
/usr/lib/ruby/1.8/gserver.rb:211:in `start'
/usr/lib/ruby/1.8/gserver.rb:208:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:208:in `new'
/usr/lib/ruby/1.8/gserver.rb:208:in `start'
/usr/lib/ruby/1.8/gserver.rb:198:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:198:in `new'
/usr/lib/ruby/1.8/gserver.rb:198:in `start'
/home/vdr/kserver/knots:20:in `start'
/home/vdr/kserver/knots:12:in `detach'
/home/vdr/kserver/knots:10:in `fork'
/home/vdr/kserver/knots:10:in `detach'
/home/vdr/kserver/knots:70
This is my config:

Code:
---
vlc:
  tmpdir: /var/tmp
  port_range: 4213-4243
  path: /usr/bin/vlc
media:
  extensions: avi,mpg,mpeg,wmv,vdr,img,iso,mkv,vob,flv
  avfs_extensions: tgz,gz,bz2,zip,rar,arj,uha,lha
  subtitles: sub,srt
categories:
  Television:
  - vdr
  Vdr recordings:
  - /home/vdr/video
transcoding:
  770:
    audio_format: mpga
    resolution: 352x288
    video_bitrate: 500
    audio_channels: 2
    audio_bitrate: 96
    video_format: xvid
  N810:
    audio_format: mpga
    resolution: 400x240
    video_bitrate: 800
    audio_channels: 2
    audio_bitrate: 128
    video_format: xvid
  fullres:
    audio_format: mpga
    resolution: 800x480
    video_bitrate: 800
    audio_channels: 2
    audio_bitrate: 128
    video_format: xvid
  N800:
    audio_format: mpga
    resolution: 400x240
    video_bitrate: 800
    audio_channels: 2
    audio_bitrate: 128
    video_format: xvid
server:
  name: Knots Server
  vdr_streamdev: 3000
  os: linux
  port: 4212
  bind: eth0
  vdr_svdrp: 2001
  service_discovery: 4212
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#19
Hmm, I have no spanish locale so it should default to english one, but maybe I broke it somehow. Try editing ~/.config/config.yaml on your nit and change locale: es_ES to force_locale: en_US
 

The Following User Says Thank You to ukki For This Useful Post:
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#20
I copied the en_US locale to es_ES and now I see something
 
Reply

Tags
knots, linux, os x, streaming, video


 
Forum Jump


All times are GMT. The time now is 15:06.