LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2010, 12:45 PM   #1
bandito40
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
xawtv web browser


Hi,

Does anyone know if xawtv will work within a web page?

Thanks
 
Old 01-10-2010, 12:52 PM   #2
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
Xawtv is an X application. It will not "work within a webpage".

You'll need to explain more about what you actually want to do.
 
Old 01-10-2010, 02:02 PM   #3
bandito40
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
I wanted to stream video from a capture card (in my case a bt878) into my web browser. It's an application I am working on. Can't really say more about why I am doing this. Anyhow, I am using linux. Tried vlc, mplayer, ffmpeg, and a whole bunch more but only xawtv seams to work. That's is why I was hoping that xawtv would work in a web page. I tried java media frame work and java 4 video 4 linux but I couldn't understand the api.

Thanks
 
Old 01-10-2010, 02:58 PM   #4
MrChilly0
Member
 
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
Just so I understand, what you're going for is a web page that has a streaming video playing...so hypothetically you want to hook up the card to the tv and stream tv on your site without the need for a media player on the other side? At the least you'll need flash...the easiest way I've found to do this (no tv at work) is to use vlc without any encoding and just stream the raw mp4 from my tv card onto a specified port. Then I just open the url in win media player and presto! I'm watching the hockey network from my cubicle

To embed into a webpage is a bit more of an undertaking. My tv card and the server were never the same machine, but I'd think if they were, you could have a soft link from a media player on the website to the /dev/video0. Not sure about how secure that'd be...I wouldn't think it'd be a big deal

Last edited by MrChilly0; 01-10-2010 at 03:05 PM.
 
Old 01-10-2010, 03:52 PM   #5
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
VLC + VLC plugin would work. You just need to configure them correctly. VLC can act a a server and stream your v4l content as an asx or other kind of stream, then mplayerplugins or vlcplugins will capture the stream and display it.

You apparently lack the understanding of the client/server model and the whole inner working of applications in general. The only way to embed an x app into a web browser in creating a xembeded plugins for netscape or using a java VNC client, but are totally terrible solutions.
 
Old 01-10-2010, 04:47 PM   #6
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by bandito40 View Post
I wanted to stream video from a capture card (in my case a bt878) into my web browser. It's an application I am working on. Can't really say more about why I am doing this. Anyhow, I am using linux. Tried vlc, mplayer, ffmpeg, and a whole bunch more but only xawtv seams to work. That's is why I was hoping that xawtv would work in a web page. I tried java media frame work and java 4 video 4 linux but I couldn't understand the api.

Thanks
I think the bt878 is an analogue tuner card. That makes things somewhat tricky. You will need to encode the video into a digital format on-the-fly, and make a stream available on a web server. (Assuming you intend your solution to work when the capture card is on a different computer to the web browser). Then you will need to create a web page with some sort of viewer for the stream. (Flash, Java, or just rely on the browser to have an appropriate plugin.) I don't know too much about the details, although you may find either mencoder or vlc can handle creating the stream.
 
Old 01-11-2010, 06:18 PM   #7
bandito40
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Just to make things more clear, here is no actual website. What I need to do is somehow attach the stream from a capture card to a web browser on a single machine. I can even use java or flash for that matter. I can't really elaborate on what I am doing as it would break the confidentiality between me and my client. I think I got the idea anyhow but if anyone would like to contribute anything else I am more than willing to listen. I guess one thing that could make things easier would be to get a digital capture card. Can anyone recommend a good not to expensive capture card? Also why is it that I can use Xawtv without problems and vlc seams to work like once in a blue moon?

By the way I would like to thank everyone for their replies.

Last edited by bandito40; 01-11-2010 at 06:52 PM.
 
Old 01-11-2010, 07:44 PM   #8
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Because you have not configured VLC correctly, but VLC is the solution here. It is the easiest one and the only decent one. Forget Java or Flash, just install vlc firefox plugin as a client and stream using vlc as a server.
 
Old 01-11-2010, 08:30 PM   #9
bandito40
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks agian Elv13 for the reply. I agree. I think the best way is to use vlc but I cannot get it to work. I did get this ffserver/ffmpeg/browser example working on my computer. http://wiki.goodrobot.com/wiki/WebcamStreamingFlash

Could you give me some insight on to use vlc especially with the web browser.

Thanks,

Carl
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion Web Access Will Not Allow Me To Log In With My Web Browser jc_cpu Linux - Server 4 04-11-2011 02:01 PM
Failed to launch VMware Web Access: unable to find a graphical web browser. rob0t Linux - Server 0 03-18-2009 02:32 PM
Can ping web page from telnet, but can't open it in web browser a.ilic Linux - Networking 1 04-01-2008 10:29 AM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM
public web browser aka web kiosk xmnemonic Linux - Software 6 06-14-2004 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration