Programming :: How To Stream Webpage

Sep 30, 2010

I need to stream a webpage to my application and i tried something like this but i get segmentation faults. Is there any example in c and/or gtk that i can peek on.

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Open A Webpage Which Contains A Quicktime Stream In Firefox 3.6.0?

Sep 25, 2010

I'm trying to open a webpage which contains a quicktime stream in firefox 3.6.0 Some of my friends are viewing the stream correctly in ubuntu, but I'm getting this error:

Code:

TotemEmbedded-Message: Viewer state: STOPPED
** (firefox-bin:2302): DEBUG: SetWindow reply
** (firefox-bin:2302): DEBUG: 0xaea95680: "ViewerReady"

[code]....

View 6 Replies View Related

Programming :: Socket Programming: Insertion Of 0x00 Into The Stream?

Dec 5, 2010

When sending data over the socket, the sending socket includes 0x00 after each sent byte. I wonder how this can be avoided -- I just want to transfer the data in the tx_buffer as it is.

# ./serv &
[1] 6895
# ./EUG 127.0.0.1
EUG: Data to be transmitted: 0x35 0x32 0x30 0xff 0x03 0x31
EUG: Data - #Bytes transmitted: 6
./serv: Here is the message: '5'

[Code]...

View 3 Replies View Related

Programming :: Cannot Extract Webpage For Processing

Aug 25, 2010

I am trying to extract a web page via Google for processing. I am able to create a proper query and test it using cut/paste into the address bar of my firefox browser.

When I attempt to extract the page with wget:
wget -O - -q "$query"
I do not see the information that is present when I used the browser.

View 2 Replies View Related

Programming :: Do A Popup Window On A Webpage?

Mar 2, 2010

I want to do a "gallery" on a webpage, ie. a series of thumbnails, whhich when clicked, will popup a new window of a bigger image of that same things (with more details about it, etc.). How do I do that? (I think it's soemthing to with "window.popup" in Javascript, but how do I use that? Can I do it with <a href="something" target=new>?)

View 12 Replies View Related

Programming :: Download A Webpage Using QtNetwork?

Jun 22, 2010

How to download a web page using QtNetwork? I then plan on extracting data from it with QRegExp.

View 11 Replies View Related

Programming :: Upload .cgi File To Webpage?

Apr 21, 2011

The software Nagios uses .cgi files to show a lot of things.. services, hosts, etc etc. Is there any way to pick up those .cgi files and import them to other web page? how to do it?

View 2 Replies View Related

Programming :: Change The Background Of A Webpage In Ajax?

Jan 22, 2011

when the "Submit" button is clicked on a form in the webpage, I'd like the background tiled image to be changed to another one (downloaded from the server, and "activated"), and the logo that I have there also replaced by another one, which will also have to be downloaded from the server.

View 1 Replies View Related

Programming :: Popup A Box On A Webpage When A Particular Word Is Mouseovered On?

Apr 2, 2010

Just like ContentLink here on LQ itself, how do I popup a little box or something like that, when a particular word is mouseovered on?

View 3 Replies View Related

Programming :: Put A Dotted Line Around A Table On A Webpage (CSS)

Mar 17, 2010

How to put a dotted line around a table on a webpage (CSS)

View 2 Replies View Related

Programming :: Get A Thin Black Line Around Sections Of A Webpage In PHP?

Feb 1, 2010

how to make a site like this one, LinuxQuestions itself - it puts a thin line around each post, to demarcate it - for the website I'm building, I need exactly this functionality. Do I have to use the "gd" library?

View 5 Replies View Related

Programming :: Bash Script For Finding And Replacement In Any Webpage Code?

Feb 19, 2011

I want to write Bourne-shell script that will be to do finding and replacement in any web page code (.htm file) name of the tied folder in which have been saved pictures, .css, .js and other files. This folder create a web browser when we save web page completely and has so name as web page and has ending '_files'. I have many web pages where name of their folder are incorrect. Of course, my web browser shows these web pages without pictures. I can count amount of web pages in a folder (/path) needed for me.

1) find /path -type f -name "*.htm*" -print | grep -c .htm or find /path -type f -name *.htm | wc -l I can get list of web pages.

2) ls /path *.htm > out-list But I don't know how to assign the value from out-list (2) or result commands from pipeline (1) to a variable. Then I want to do next:

3)

var="1"
# where variable 'list' is an amount of web pages
while [ $var -le $list ]

[code]....

4)assign the 1st (then 2nd , etc. ) value from out-list (2) to variable 'webfile'
sed -n $var,+0p out-spisok

5)find the 1st string value '_files' in the 'webfile' grep -m1 _files $webfile

6)For example, 'abracadabra_files' is an incorrect folder in the 'webfile' I must to know start and end position 'abracadabra' without ending '_files', "cut" name of the incorrect folder and assign it to the variable 'finder' finder = 'abracadabra' BTW, name of a folder before '_files' is between '="' and '_files' in any web page code.

7)foldernew = $webfile (without '.htm')' foldernew' is equal with name of the tied folder without ending '_files' in the folder '/path'

8)find and replace in the 'webfile' and save result in the 'webfile-out'sed s/$finder/$foldernew/g $webfile > $webfile-out

View 5 Replies View Related

Programming :: Invoking UNIX Shell Commands From HTML Webpage

May 11, 2010

I have a few questions regarding HTML, UNIX and Javascript. I've been tasked with creating a fairly simple webpage that takes a few inputs. Each input must correspond to an argument in a UNIX command running on a server.On a UNIX server we have a script (.ksh) that takes 3 arguments. The result of the script is a data file which is FTP'ed to an external server. Let's forget about the FTP portion for now. I would like to know where I should begin.What I know so far:

1) I will need HTML to create the webpage. Skill level is high
2) I will need Javascript to make my webpage more interactive. Skill level is high.
3) I will need to understand the UNIX environment. Skill level is high.

View 8 Replies View Related

Programming :: Need To Determine Bitrate Of Stream?

Dec 3, 2009

I'm new to gStreamer and need to determine the bitrate of a stream. Has anyone here worked with this before and does anyone know how to do it?

View 1 Replies View Related

Programming :: Use Quotation Marks In C++ Stream?

Jul 27, 2011

I'm writing some code to speed up some code writing, basically it produces some code I use in every project. I produce the outputs with fstream filestr;, open a file and write to some data to it. However some code has quote marks that I need to output, however I can't use quote marks.
EG: filestr<<"#include "Header.h""<<endl;I get round this with some awful filestr.put ('"');However I'm sure there must be a straight forward way to do this. Can anyone advise?

View 3 Replies View Related

Programming :: Display Live Stream From One Of IP Cameras?

Sep 11, 2010

I've written a simple web page and I want it to display live stream from one of my IP cameras. I admit I've never been interested in HTML ... How should I go about this? I can see the stream in browser using following link [URL]

View 4 Replies View Related

Programming :: Checking If A Icecast Stream Is Active

Apr 20, 2010

I run my own icecast2 server. In the near future it looks like, I will be doing some shows. I would like to beable to change my link, so if I am broadcasting, to go to the stream if not pop a box for my schedule.Now from when I was checking to see if my webcam was up or not, i used this.does anyone know haw to change my code for this? I know when I'm not stream it generates a 404 error, in winamp (on windows)

View 3 Replies View Related

Programming :: How Do You List Processes - Get A Process's Std - In|out|err - Stream

Jun 3, 2011

How do you list processes, get a process's std(in|out|err) stream, or wait until a process is finished in C?

View 3 Replies View Related

Programming :: Stream Editing Inside The While Loop?

Mar 10, 2010

I have a fallowing ASCII text file:

Code:
Fa0/2 - server1 / testing
Fa0/4 - server2 / production

[code]....

View 7 Replies View Related

Programming :: Write A Stream Inserter For A Template Class?

Mar 28, 2011

I had some trouble doing this but finally figured it out. Here is a general solution:

Code:
#include <iostream>
using namespace std;

[code]....

View 1 Replies View Related

Programming :: Low Level Program To Save Mjpeg Stream

Jun 26, 2009

I'll just say I am a complete Linux beginner, but I have done vbs, js, php, html web type stuff so I'm not a complete beginner to programming.However I've been trying to learn C and python but it's not making a huge amount of sense.I am wanting to make a simple low level program that copies an image from a mjpeg stream on 192.168.0.1/videostream.cgi for example to a variable then save that variable to a file on my system.I am aware that there are programs out there that would do this but I still want to make my own.

View 1 Replies View Related

Programming :: Embedding Flash To Html Pages For An Rtmp Stream

Aug 2, 2010

I am having a streaming server Red5 running on localhost. I have a few HTML pages which should be serving those streams.

I read documentation given here [url] and [url]and the swfobject.js and player.swf are on same directory where the test.html page I created is present.

Following is the HTML code
Red5 is working on localhost.

Code:

View 9 Replies View Related

Programming :: Sending Video Stream From Webcam To Online Computer

Mar 16, 2009

How could I (using c++ language on linux machine) put media stream (like mpeg4 movie) into the udp packets and send it to other computer in the network?

View 1 Replies View Related

Programming :: Obtain The Audio Stream That Hear In Speaker System Or In Earphones?

Sep 26, 2010

Let assume that we have the following situation: we have a sound in the speaker systems or in earphones, maybe we play an audio CD, some mp3's or maybe a movie, etc.

All I know is that the sound goes through sound card to speaker system or in earphones, no matter the source.

How can I obtain the audio stream that I hear in speaker system or in earphones?

I would like to write an application that record and analyze the audio stream that I hear in my speaker system or in earphones. My OS is Ubuntu 10.04.

If you have a recommendation like "try to use ALSA", please provide more details like "in alsa-utils you have a class Class_Name, with the following function Funcation1, etc. Try to use the Function5 as in the following example".

View 1 Replies View Related

Programming :: Php Pear Installation / Failed To Open Stream: No Such File Or Directory?

Jan 15, 2010

I was attempting the pear installation as per the instructions given here:url

I think i got the installation correct.

Then i tried this program

<?php
require_once 'System/Folders.php';
$sf = new System_Folders();
$home = $sf->getHome();
echo "$home
";
?>

and compiled it as follows:-

php spear.php

to get the results as

Warning: require_once(System/Folders.php): failed to open stream: No such file or directory in /var/www/spear.php on line 3
Fatal error: require_once(): Failed opening required 'System/Folders.php' (include_path='.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear') in /var/www/spear.php on line 3

how should i correctly set the path in /etc/php5/apache2/php.ini

or how correct is my path statement

include_path = ".:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear"

in /etc/php5/apache2/php.ini

View 1 Replies View Related

Programming :: Java Code To Implement "wget" To Save A Webpage

Feb 24, 2010

This is the code i used, there is no error in execution but no file is bein saved in the working directory. I'm new in java,so just started learning.

public class Hel
{
public static void main(String args[])
throws IOException

[code]....

View 5 Replies View Related

Programming :: LINUX "hacx": Click On A Button Of PHP Webpage?

Jul 18, 2010

I am working on a piece of html/php code. With a specific moment of the week, I would like that linux click on the button : RESET

( indicated with
Code:
<INPUT type="submit" name="bsubmit" value="Reset">

[code]....

View 1 Replies View Related

Software :: Not Able To Stream / Connect To Stream Using Vlc

Dec 26, 2010

It seems I might be having an issue that's a non-issue. I am not able to stream/ connect to a stream using vlc.I've looked at a few walk-throughs; I follow the steps and as often as not I get no error messages but cannot connect to a stream.

View 1 Replies View Related

Programming :: Get The "Next" Button On A Webpage In PHP And MySQL?

Feb 3, 2010

I have a table full of stuff which I want to print on screen 5 at a time, with a "next" button for the next page - how do I do this?

The list for each page is obtained with a: SELECT NAME FROM table LIMIT $start, 5;

which is simple enough, then I think I need to do a :

SELECT count (*) FROM table ;, and check if there will BE a "next" page, and then generate the link for that at the bottom of the page - how do I do this?

View 1 Replies View Related

Programming :: Fading In/fading Out Of Pics On A Webpage Done?

Mar 15, 2010

For example this page:I thought it was Flash, but a right click on the image doesn't reveal so.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved