|
2010-06-02
, 05:52
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#822
|
discovered problem has to do with using mp2v codec in n900 profile. when using n8x0 profile (xvid) or tablet browser (flv1) it is working on n900. changed settings in n900 profile in server from video mp2v to xvid and now it is working again.
strange
The Following User Says Thank You to ukki For This Useful Post: | ||
|
2010-06-02
, 14:13
|
Posts: 20 |
Thanked: 7 times |
Joined on Jan 2010
@ Romania
|
#823
|
undefined method `name' for nil:NilClass (erb):16:in `html' (erb):35:in `each_with_index' (erb):15:in `each' (erb):15:in `each_with_index' (erb):15:in `html' ./lib/plugin.rb:168:in `html' (erb):55:in `html' ./lib/plugin.rb:168:in `html' ./plugins/1root.rb:852:in `play' ./lib/plugin.rb:102:in `call' ./lib/plugin.rb:102:in `do_GET' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' knots.rb:44:in `initialize' knots.rb:394:in `new' knots.rb:394
|
2010-06-02
, 15:20
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#824
|
ukki:
I have a new problem.
I added to my playlist a http stream, which is basically a php script that generates a Location() header to an actual stream. This works just fine through normal VLC, but knots crashes. The VLC starts to get the stream for a second or so, then knots stops the stream.
I got this error from the web browser, using the n900 doesn't give any clues.
In case you're wondering, adding to playlist the stream, without redirect, works fine.Code:undefined method `name' for nil:NilClass (erb):16:in `html' (erb):35:in `each_with_index' (erb):15:in `each' (erb):15:in `each_with_index' (erb):15:in `html' ./lib/plugin.rb:168:in `html' (erb):55:in `html' ./lib/plugin.rb:168:in `html' ./plugins/1root.rb:852:in `play' ./lib/plugin.rb:102:in `call' ./lib/plugin.rb:102:in `do_GET' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' knots.rb:44:in `initialize' knots.rb:394:in `new' knots.rb:394
Please test, it's easy to replicate.
The Following User Says Thank You to ukki For This Useful Post: | ||
|
2010-06-02
, 15:24
|
Posts: 20 |
Thanked: 7 times |
Joined on Jan 2010
@ Romania
|
#825
|
[2010-06-02 18:25:31] Welcome to Knots - http://wiki.maemo.org/Knots2 [2010-06-02 18:25:31] Starting Knots in C:/Program Files/Knots with ruby 1.8.6 [2010-06-02 18:25:31] Setting bigger buffer size, ignore the following two warnings [2010-06-02 18:25:31] Inotify not enabled => i386-mswin32 [2010-06-02 18:25:31] Starting VLC with: C:/Program Files/VideoLAN/VLC/vlc.exe -Vdummy --intf=telnet --telnet-host=localhost --telnet-port=4212 --telnet-password=knots --no-qt-privacy-ask --no-qt-error-dialogs [2010-06-02 18:25:31] Waiting for VLC to start [2010-06-02 18:25:32] VLC telnet commands: show [2010-06-02 18:25:32] VLC telnet response: Password: Welcome, Master > show media : ( 0 broadcast - 0 vod ) schedule > [2010-06-02 18:25:32] VLC started properly [2010-06-02 18:25:32] You can access the server with http://localhost:1978 [2010-06-02 18:25:32] Press ctrl-c to close the server [2010-06-02 18:25:40] VLC telnet commands: del 5s4CBgZMnHvd, new 5s4CBgZMnHvd broadcast enabled, setup 5s4CBgZMnHvd option sout-keep, setup 5s4CBgZMnHvd option audio-filter=normalizer, setup 5s4CBgZMnHvd option volume=200, setup 5s4CBgZMnHvd option sub-autodetect-fuzzy=3, setup 5s4CBgZMnHvd option sout-transcode-soverlay, setup 5s4CBgZMnHvd option freetype-font="", setup 5s4CBgZMnHvd option sub-autodetect-path="" [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > del : 5s4CBgZMnHvd: media unknown > > > > > > > > > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs output : options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= instances schedule > [2010-06-02 18:25:40] VLC telnet commands: inputdel 5s4CBgZMnHvd all [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > inputdel : Unknown command > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs output : options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= instances schedule > [2010-06-02 18:25:40] VLC telnet commands: setup 5s4CBgZMnHvd output #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= instances schedule > [2010-06-02 18:25:40] VLC telnet commands: setup 5s4CBgZMnHvd input "http://localhost:5304/itv-stream.php?id=89 " [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs 1 : http://localhost:5304/itv-stream.php?id=89 output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= instances schedule > [2010-06-02 18:25:40] VLC telnet commands: setup 5s4CBgZMnHvd option audio-language=en,any [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:40] VLC telnet commands: setup 5s4CBgZMnHvd option sub-language=en [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:40] VLC telnet commands: control 5s4CBgZMnHvd play [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs 1 : http://localhost:5304/itv-stream.php?id=89 output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= audio-language=en,any sub-language=en instances instance name : default state : stopped position : 0.000000 time : 0 length : 0 rate : 1000 title : 0 chapter : 0 can-seek : 1 playlistindex : 1 schedule > [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet commands: show [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs 1 : http://localhost:5304/itv-stream.php?id=89 output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= audio-language=en,any sub-language=en instances instance name : default state : stopped position : 0.000000 time : 0 length : 0 rate : 1000 title : 0 chapter : 0 can-seek : 1 playlistindex : 1 schedule > [2010-06-02 18:25:40] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs 1 : http://localhost:5304/itv-stream.php?id=89 output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= audio-language=en,any sub-language=en instances instance name : default state : stopped position : 0.000000 time : 0 length : 0 rate : 1000 title : 0 chapter : 0 can-seek : 1 playlistindex : 1 schedule > [2010-06-02 18:25:41] VLC telnet commands: show [2010-06-02 18:25:41] VLC telnet response: Password: Welcome, Master > show media : ( 1 broadcast - 0 vod ) 5s4CBgZMnHvd type : broadcast enabled : yes loop : no inputs 1 : http://localhost:5304/itv-stream.php?id=89 output : #transcode{vfilter=canvas{width=488,height=280},audio-sync,vcodec=h264,vb=600,acodec=mp3,ab=112,channels=2,samplerate=44100,fps=24,venc=x264{profile=baseline,level=1},sout-transcode-threads=4}:gather:std{access=http,dst=:19780/stream.asf,mux=asf} options sout-keep audio-filter=normalizer volume=200 sub-autodetect-fuzzy=3 sout-transcode-soverlay freetype-font= sub-autodetect-path= audio-language=en,any sub-language=en instances instance name : default state : playing position : 0.000000 time : 0 length : -1 rate : 1000 title : 0 chapter : 0 can-seek : 0 playlistindex : 1 schedule > [2010-06-02 18:25:41] Starting stream at http://localhost:19780/stream.asf [2010-06-02 18:25:41] VLC telnet commands: control 5s4CBgZMnHvd stop [2010-06-02 18:25:41] VLC telnet response: Password: Welcome, Master > > [2010-06-02 18:25:41] VLC telnet commands: del 5s4CBgZMnHvd [2010-06-02 18:25:41] VLC telnet response: Password: Welcome, Master > >
|
2010-06-02
, 15:47
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#826
|
I saw VLC getting the stream using a network sniffer, and like I said, adding the normal stream to knots works, adding the redirected stream to knots fails but vlc works.
I guess you're right about the mapping, I analyzed the knots output and that seems to be the problem.
Maybe a small fix so knots fetches the url before giving it to VLC, and get the final url?
|
2010-06-02
, 16:10
|
Posts: 20 |
Thanked: 5 times |
Joined on Jun 2010
|
#828
|
|
2010-06-02
, 16:15
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#829
|
/Applications/VLC.app/Contents/MacOS/VLC --version ruby -v
The Following User Says Thank You to ukki For This Useful Post: | ||
|
2010-06-02
, 16:29
|
Posts: 20 |
Thanked: 5 times |
Joined on Jun 2010
|
#830
|
What OS X version? You need at least Ruby 1.8.6 and VLC 0.9.4 so make sure those are installed. I've never tested Knots on PowerPC so I can't be sure it will work. To see what versions of ruby and VLC you have, try running these two commands in terminal:
Code:/Applications/VLC.app/Contents/MacOS/VLC --version ruby -v
update: discovered I was allready running v 0.3.2
Last edited by messus; 2010-06-01 at 21:13.