NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 30 31 32 33 34 … 56 Next »
webStreamer - an integrated Web streaming solution

 
  • 0 Vote(s) - 0 Average
webStreamer - an integrated Web streaming solution
86atc250r
Offline

Member

Posts: 128
Threads: 19
Joined: Nov 2005
#201
2006-04-01, 11:22 PM (This post was last modified: 2006-04-02, 12:06 AM by 86atc250r.)
Nice little project -

I was not able to get it to work with VLC embedded in a webpage - can't get IE to allow me to install the activeX, even if I put it in my "local intranet" or "trusted sites" - just tells me it blocked it - thank you, drive thru.... No option to go ahead and install with confirmation or anything - regardless of any settings I try in IE...

Even tried it on three individual systems, including the local machine - same result - all XPSP2

WMP works fine though.

----- update

I was able to get VLC to work if I install the ActiveX component in the installer

Question - Anyone had any luck with h.264?

Thanks
freebird
Offline

Junior Member

Posts: 9
Threads: 1
Joined: Dec 2005
#202
2006-04-02, 04:03 AM
Thanks fering.
I didn't originally suspect comclean because GB handled the videos fine. But after you mentioned the different versions of comclean, I remembered seeing that at the website. Sure enough, I was using the "quick and dirty" version. I haven't had a chance to test the other versions, but will soon and report my findings.
Again, thanks for the tip.
Anjo
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Mar 2006
#203
2006-04-02, 02:49 PM
zero Wrote:im sure you didnt mean it - but your post seems a little on the tetchy side!

Remember that the lovely, lovely people who develop these things do it for free, in their own time!
Zero, didn't mean to sound tetchy but to the point. However reading my original post I can see how it can be construed to appear as such. Sorry, no offense meant.

As for people doing this kind of stuff on their own time, I know. I've done some MythTV coding myself on my spare time. My point regarding the source was simply that the more people who can access it, the more "hands to lend" will be available and the faster the progress of a piece of software.

More eye-balls on a target means better quality as well (e.g. that's why the security community insists on publishing all their algorithms, for the purpose of peer reviews).
Anjo
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Mar 2006
#204
2006-04-02, 03:10 PM (This post was last modified: 2006-04-02, 03:43 PM by Anjo.)
sgilani Wrote:normanr is right, it just can't find VLC installed on your PC. Either manually edit the webStreamer.xml file, or hit the Settings button at the bottom of the streamer page.

..

and anjo, yes the source is "omitted" from the zip. I'm actually a fan of open source, but I see no benefit from releasing badly disorganized code of a beta version that no one would understand but me. When things are finally settled down, I'll clean up the code, add comments, and probably have the source go out as well.

sgilani and normanr, thanks for the constructive replies!
I can't believe I missed the VLC path configuration in the XML file! I wonder if I might have downloaded some old file set earlier :-) Downloading the zip attached in the first message of this thead got the streamer working without a hitch.

As for the source, I understand your argument. Perhaps one perculiar aspect with regards to open source is that as a developer one often gets a bit *vain*. Contrary to proprietary / closed source software, much more attention is given on the code quality since it's obvious others will be looking at the code. However, I hope this is something we can all eventually be able to get over (the vain part), so that we can get stuff *out there* faster and together with others refactor as needed until the object model and interfaces are arranged in a natural way. But I totally respect your decision in this case, since I've also suffered from the same feeling on numerous occasions Rolleyes

The one part I was trying to add was a pure "streaming" aspect (w.o. transcoding) since my PVR is running on very weak hardware and I'd like to set up a VLC daemon on a more powerful box to do the transcode. The changes I was looking to do was adding a config item or two to the config file so that the WEB-UI could reference a URL on another machine for delivering video to the VLC browser plugin (aside from the addition of a pure streaming profile w.o. transcoding of course).

E.g. Two machines referred to as P (PVR) and T (Transcoder).
1. A request arrives to P for streaming a video file.
2. VLC is started on P for streaming the requested video file to the configured destination on T ( e.g. TTongueORT ).
3. The VLC daemon on T intercepts the network stream, transcodes it and makes it available for clients on TTongueORT
4. P renders the web UI with a reference to TTongueORT as the source for the VLC plugin.

Pretty simple scheme which would off-load the expensive transcoding work from the PVR to another (likely more powerful) machine.

If it would not be too much bother, do you think you could squeeze these minor changes in? Otherwise I'll just wait until you've done your cleanup Smile
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#205
2006-04-02, 03:22 PM
Unfortunatly too many times I've seen 'beta' products being released, and then the dev ends up with no time to get it up to 'production' quality. So the community is stuck with a half done output, and no code. I'd rather see the code out there from the start, so that the dev can start accepting patches, etc. I won't deny that sanitising patches can be a pain, but the dev time is cut down.

Pure streaming is available via the EWA at the moment, or are you actually looking for the ability to do the VLC transcoding on the other machine? That sounds quite tricky, because I think you need to launch VLC on the transcoding machine. What about installing a second copy of EWA+webStreamer on the second machine and pointing it to the PVR? That way you have two interfaces, and the high end machine does the transcoding.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#206
2006-04-02, 03:32 PM
normanr Wrote:What about installing a second copy of EWA+webStreamer on the second machine and pointing it to the PVR? That way you have two interfaces, and the high end machine does the transcoding.

You read my mind Smile I understand what Anjo was saying with using a daemon on the transcoding machine, but that's quite an involved setup.. what normanr is suggesting is much more straightforward, more efficient, and will get the job done.

And don't worry guys, the source code will be out before you know it. Smile
Anjo
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Mar 2006
#207
2006-04-02, 03:41 PM (This post was last modified: 2006-04-02, 04:49 PM by Anjo.)
I'm looking to do transcoding on a separate machine.
Regarding "EWA+webstreamer", excuse my ignorance, but what is EWA?

Any suggestion which can accomplish the same result (offloading the responsibility of transcoding from the PVR machine) with less effort than the proposed one would naturally be preferable. So if this "EWA+webStreamer" solution is easier than just starting VLC on a separate machine, noone is more satisfied than me Smile

Edit:
The proposed change wasn't *that* involved. Let me exemplify even further.

First, on the transcoder machine, a VLC process is started (e.g. as a service or startup folder in windows) like
Code:
vlc udp://@:%PORT% :sout=#transcode{vcodec=%VCODEC%,vb=%VBR%,scale=%SCALE%,acodec=mp3,ab=%ABR%,channels=2}:duplicate{dst=std{access=http,mux=ts,url=:1234}}

Then, for each client request on the PVR, webStreamer would simply spawn a process like the following command line.
Code:
vlc %SOURCE_FILE% :sout=#duplicate{dst=std{access=rtp,mux=ts,url=%TRANSCODER%:%PORT%}}

The client would then simply connect to the stream through the plugin in the browser or via a stand-alone VLC instance like
Code:
vlc -vvv [url=http://%TRANSCODER_MACHINE%:1234]http://%TRANSCODER_MACHINE%:1234[/url]

Edit: Just found out about the code tag which avoids destroying input code examples..
elite
Offline

Senior Member

Posts: 700
Threads: 26
Joined: Sep 2004
#208
2006-04-02, 05:47 PM
Anjo Wrote:I'm looking to do transcoding on a separate machine.
Regarding "EWA+webstreamer", excuse my ignorance, but what is EWA?

Enhanced Web Admin I believe - (bleeding edge web admin for gbpvr)
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#209
2006-04-02, 11:26 PM
Anjo Wrote:The proposed change wasn't *that* involved.

Yes, your description is what I assumed you meant... but now you're starting an instance of VLC on your PVR machine to do nothing but push an RTP stream of the video to your transcoder box, which then does the transcoding for the client. This really would disrupt the code quite a bit as I would now have to worry about two machines, rather than just the one with GBPVR. And to be honest with you, the vast majority of people will not have a separate machine being utilized to transcode, so I don't think it's worth coding up a new feature/setting to accomplish such a task, especially when there's a much more straightforward solution to the problem.

If you went the route with installing EWA and webStreamer on the transcoding box, then everything just falls into place, and you eliminate the step of needlessly using VLC just to get the file to the transcoding box.
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#210
2006-04-08, 01:00 PM
I have webstreamer working nicely trough the built in cassini webserver. I however access the webadmin trough apache for performance reasons (video stutter on the server when accessing the built in webadmin) and would like to do the same with the webstreamer.

The webstreamer main page displays OK, the child window comes on OK but clicking on the start button does not produce the video.
On the server the VLC transcode process is not started eighther. This part of the appache log might tell you guys something:

VLC media player 0.8.4a Janus
[00000268] main interface: creating httpd
[00000000] main root error: option sub-original-fps does not exist
[00000285] subtitle demuxer error: failed to recognize subtitle type
[00000271] main input error: no suitable demux module for `/subtitle://\\server\video\Mr. Bean\Mr. Bean_20060225_20302105.txt'
[00000000] main root error: option sub-original-fps does not exist
[00000288] subtitle demuxer error: failed to recognize subtitle type
[00000271] main input error: no suitable demux module for `/subtitle://\\server\video\Mr. Bean\Mr. Bean_20060225_20302105.logo.txt'

I guess it has someting to do with the .txt extension.

Any help is greatly appreciated.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (36): « Previous 1 … 19 20 21 22 23 … 36 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PSP Streaming from GBPVR psycik 11 4,871 2008-06-03, 11:58 AM
Last Post: fuzzweed
  Comskip 0.79 build 30: DVR-MS fully works, integrated demux to support editing erik 2 2,104 2006-03-31, 09:34 PM
Last Post: zaldwaik
  Comskip 0.77 has an integrated mpeg viewer erik 3 2,554 2005-09-27, 02:12 PM
Last Post: erik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode