spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


<< Start < Previous 1 2 Next > End >>
Re: Ticket #82 (transcoding unsupported formats) - 2008/02/19 09:30 since SwissCenter and MTP Center are the only projekts still developed for syabas clients i thought of switching from Oxyl to Swiss.

I was working on a VLC plugin for Oxyl and also made tests with Swiss.
So i added to video_selected.php:
// Play VLC

$menu->add_item( str('PLAY_VLC'......
and thought of where would be the best point to add a vlc_stream.php.
maybe a new "media type" and make the desition in function play_dir( $media_type, $dir ) in playlist.php...
but i was looking for the constants and could not locate them ... dunno.

now that i have found this thread heare i see that other ppl and also the creator of SwissCenter is working on this i maybe could help a little.

What Robert says is true - a php script will not notice when a user stops viewing the vlc stream and when to turn off the vlc player.
So only thing i wanted to do is a stop button for the stream.
In linux this is done simple - "ps aux | grep vlc" and you will get a list of players running - then look in string for the played file and you get the right streaming player with pid and you can kill that.

Windows well - before i have read this i have not thought about windows
dealing with windows api is not so hard but in php?
we could write .exe files that do the job for us or maybe a .dll
http://at.php.net/manual/en/ref.w32api.php
directly using the winapi in php is a not that easy i think - but writing a .dll file and importing the needed functions could work ok.

instead of using exec or shell_exec maybe "http://at2.php.net/manual/en/function.proc-open.php" will work good.
With that it should be possible to close the vlc stream.

about the running process created by php.
maybe make a tiny info lable if an external process has been started.
write this down to config file (maybe sql ) and display this all the time in swisscenter.
( if the stream is running we could check with socket connection )
you can then use a button at ir to check the running vlc and close it manualy if the user has not noticed that he has to close the stream.
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/01 15:48 hi again
not much interest on this it seems.
well i have written a lets call it "work in progress" plugin for oxyl that streams
files over vlc
inet tv with vlc
and live tv with vlc

its an example how usability could be done with this.

main menu:
choose livetv - filestream - inettv
filestream:
-a browser to choose file
- starts vlc
- a page to choose connect stream or kill stream
at this page you cannot go back until you stoped the stream.
livetv:
- a page to choose the channel
there is a config file "channels.conf" that looks like this:
BBC 265250 - means channelname and frequency.
only v4l source is used at the moment.
- starts vlc
- also the connect page where you kill stream or connect to stream with sc.

intetv: same like livetv.

if you enter the vlc plugin you see if a stream is running and you can stop it any time.
i would have done this for swiss center but i have not found a good way to make a plugin or something - only a new media type could arrange this. (changeing core sources )

This is done for linux only - doing this for windows would need an external program that uses winapi to start and stop stream.
this also could be done.

so i think this is the best way to have control over vlc streams and you do not have to fear that a stream is running and you do not know about.

the plugin is available here:
http://rapidshare.com/files/96025012/Vlc.tar.gz

well i just write this, because maybe someone is interested to work together on things like this.
if not - well then i use what i have done now - for my personal usage its finished.

cu
Arnulf
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/01 18:18 >>>not much interest on this it seems

I have a LOT of interest in this topic and if I could code anything more than a batch file to run nightly mainentance, I would jump at the chance to work with and/or assist you.

I would just love for VLC to work seamlessly with Swiss but I do need a Windows solution.
Showcenters 1000g/200/250HD Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP Simese 2.07 running latest SVN
NAS Server IBM NetVista 900Mhz/256RAM


  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/02 12:29 its still my first php project but i have done this now for windows too.

its still an oxyl plugin - but it shows the way to go i think

http://rapidshare.com/files/101976280/Vlc.zip

rapidshare delted my files ??
dunno...

fixed the link.

cu
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/13 12:25 Arnulf,

The interest for showing, for example, live TV is quite low here at Swiss. I can't understand why since this is a feature I really long for. I think that this is one of the most important features that Swiss needs to have. The implementation of such a feature would raise the Swiss to next level of "completeness"!!!
As I understand, you have been working with this in Qxygen, and with your experience it would probably be quite easy to implement this.
So, my question is: Please, please, please:
Is it possible for you to put some work on this? I love to be a beta user!

Thanks for your interest,

/Peter
Player: Showcenter 200, LAN Connected
Server: Fedora C6, Celeron 2Ghz, 2GB RAM, 620GByte HD, Twinhan DVB-T, MythTV Backend.
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/24 10:46 my experence with this:
1. vlc stream is very slow ( 25-30 seconds ) while startup.
so there will be no swithing channels ( just a list to choose ).

2. you can only use tv cards that are supported by vlc and it will be some work für a generic method to choose the right tv card at client.
video4linux will cover most tv cards but dvb-t is different.
so it will not work for everyone just from install.
the user needs to apply special settings to vlc.
my example only uses a bttv analog tv card in linux.

3. it is still a problem that the vlc stream does not stop when you turn off your showcenter.
i covered this with pid's stored in a file.
if you start a stream the pid (process id) will be stored in a PID file. if you start the plugin again it will recognice the file and tells that a stream might be running - this is done for both - windows and linux.
a vlc_control.php page will give you the ability to join the stream or stop it.

anyway what i have done is giving an example in linux and windows to make livetv, internettv, and file streams available.
its only an example - i have not spend much time in bugfixing or creating beatyfull code.

i would have done a plugin for swiss too but swiss is not created to build plugins. - there are some hook points to integrate this but the creator of swiss must give programmers the entry point or the ability to put this in.
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/24 10:52 Arnulf wrote:
i would have done a plugin for swiss too but swiss is not created to build plugins. - there are some hook points to integrate this but the creator of swiss must give programmers the entry point or the ability to put this in.

????

SwissCenter is an open source project.
Showcenters 1000g/200/250HD Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP Simese 2.07 running latest SVN
NAS Server IBM NetVista 900Mhz/256RAM


  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/24 15:10 that is not what i mean.
you need an integration point - where you can plugin your code.
if i change the original sources of swiss you will not be able to update your swiss center until i have done the changes in new update too.

at last im not the best php coder - i prefer c++, delphi or java.

lg
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/03/24 15:17 >>>if i change the original sources of swiss you will not be able to update

Rob is always looking for folks willing to get their hands dirty with the code. If you find it necessary to make modifications to the code for a plug in to work, you can always submit those modifications for inclusion.
Showcenters 1000g/200/250HD Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP Simese 2.07 running latest SVN
NAS Server IBM NetVista 900Mhz/256RAM


  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/08/29 01:32 hi

Internet TV Streaming:

trying to stream following the steps by stu2j, but for unknown reason my showcenter 250 HD picks up http://www.swisscenter.co.uk/%22http://192.168.254.6:8080/livestuff/index.php as address. dont know where the http://www.swisscenter.co.uk/%22 is coming from. same thing happens in my browser also (IE7). ihave taken to swisscenter site instead of SDTV - Streaming TV page.

Local Streaming:

trying to stream local live TV/ CAM through video capture card using VLC. need help in procedure to get the stream to Swiss center.

in VLC:
file->Open Capture device - >selected video, audio capture device-> selected stream/save option -> clicked settings beside streams -> clicked play locally->clicked http->address as localhost and prot 1234-> codec mpeg TS -> got

out=#duplicate{dst=display,dst=std{access=http,mux=ts,dst=localhost:1234}}

as MRL- clicked ok->ok to close the open dialogue.

got the stream playing in VLC but when i enter URL=http://localhost:1234 as web address in Swisscenter under media location, getting error "I'm sorry, the directory you specified does not exist".

pl help
Showcenter 250
Swisscenter
Simese server1.45
Win Xp SP2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/08/29 23:29 solved inet TV stream -shortcut had this entry. got the streams playing in SC250 but takes ages to come on. still testing it.

anybody can help me on Live TV streaming?? or i'm in wrong tread??
Showcenter 250
Swisscenter
Simese server1.45
Win Xp SP2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/08/29 23:40 This was all experimental. It does take ages to start and I had problems with audio/visual sync.

Keep hoping someone will take this ball and run with it...
Showcenters 1000g/200/250HD Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP Simese 2.07 running latest SVN
NAS Server IBM NetVista 900Mhz/256RAM


  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/08/29 23:50 same audio video sync problem with me. let's hope.

can you help me on live tv stream. can't figure out how to get the stream from VLC to SC250
Showcenter 250
Swisscenter
Simese server1.45
Win Xp SP2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/08/30 20:47 I want to apologize to all for dropping the ball on this. It happened because,
A. I made an updated version for myself that tricked my player to allow for things like pausing and even scanning to some extent. B. I don't know php for squat and haven't had time to learn it ( oh and the more php I learn the more it seems there's a million ways to do everything and nobody agrees on best practices ) and C. The damn thing was working great..... accent on the WAS.
As you may recall, this adventure started because of my fanatical need to catch washington journal in the mornings on Cspan. And I have been doing that happily for months ever since I got sdtv up and running; however, I now have my video and audio not syncing and other streaming issues. I believe it is a VLC issue. In the meantime I got TVersity working like a dream, for now.

Windows XP SP2 - 1gb RAM
Avel Linkplayer2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/09/08 10:03 got the problem solved. VLC is using port 8080 as the port for HTTP streaming. this is same default port number for Semese also. changed the semese port to 8081 and i could able to get the live TV stream on the network!!. but not stable. doing more testing Showcenter 250
Swisscenter
Simese server1.45
Win Xp SP2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/09/17 12:24 shdxb are you using the streaming solution that was posted in this thread? Beacause I set all the streams to play on port 1234 not on 8080. If you download the package just read one of the bat files and you'll see all the settings for getting a stream up and running correctly.

p.s. to all
The solution I used to enable pausing and the like is to create a 'dummy' mpg file. That is to say that the stream is advertising as http://ip_of_your_server:1234/filename.mpg and that seems to fool my player into being able to better handle the stream. (before if I hit any button on the remote it killed the stream, now I can pause streams which is cool)

XPsp3 1Gb RAM dual core pentium
Avel Linkplayer2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/09/19 03:46 sorry which streaming solution you are refering to? can you pl direct me to correct thread where i can find the solution?

VLC is having an poorly documneted option under settings->add interface-> web interface which was using port 8080. even if you set your stream to port 1234, from port 8080 you can control VLC. once i changed Semese port to other than 8080, the stream statrt appearing on SC250but still no sound!
Showcenter 250
Swisscenter
Simese server1.45
Win Xp SP2
  | | The administrator has disabled public write access.
Re: Ticket #82 (transcoding unsupported formats) - 2008/09/22 22:00 The solution to which I am referring is the one that I posted earlier in the thread. It is a simple web page that calls batch files to kill and then start an instance of vlc to load silently and stream on port 1234.
download the package and check out the batch files for clues to controlling vlc throught the command line.
As far as using the web controls and playlist functions in VLC, this is simply a no go for me and for anybody using a SYABAS based system as it relies heavily on javascript which cannot be rendered in a SYSABAS browser. It would simplify things immensely if it did accept javascript, but it doesn't and there you have it.
  | | The administrator has disabled public write access.
<< Start < Previous 1 2 Next > End >>
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer