LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-12-2010, 10:25 AM   #1
puneeth bhat
Member
 
Registered: Jan 2010
Posts: 30

Rep: Reputation: 15
Question Http browser


can any one help me what is the efficient way to display jpeg images in browsers using c programming.....any links or any sample code which helps me out.Thank u in advance.
 
Old 05-12-2010, 10:32 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
What do you mean "display jpeg images in browsers using c programming"?

Do you mean opening a jpeg image in a browser from your C program?
 
Old 05-12-2010, 10:35 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
You will need to supply some more information. For examply, are you talking about putting images on a web site, or just displaying with the browser?

Firefox, e.g., will open a jpeg directly. e.g. you can do this from a terminal: "firefox filename"

With all this in mind, what exacty to you want to do in C?
 
Old 05-13-2010, 01:02 AM   #4
puneeth bhat
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 15
http browser

Quote:
Originally Posted by puneeth bhat View Post
can any one help me what is the efficient way to display jpeg images in browsers using c programming.....any links or any sample code which helps me out.Thank u in advance.
i want to pass continous jpeg images which is captured from a camera and diplay it on a browser....just as if u r watching a live video on a browser...i have already done it with MIME, able to display it on browser,i m not able to display it by using mplayer...how can i display it using mplayer.
 
Old 05-13-2010, 01:19 AM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by puneeth bhat View Post
i want to pass continous jpeg images which is captured from a camera and diplay it on a browser....just as if u r watching a live video on a browser...i have already done it with MIME, able to display it on browser,i m not able to display it by using mplayer...how can i display it using mplayer.
If you want to display something with 'mplayer', you need to provide 'mplayer' with input stream it understands/supports. Have investigated which input streams are supported by 'mplayer' ?
 
Old 05-13-2010, 02:05 AM   #6
puneeth bhat
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Sergei Steshenko View Post
If you want to display something with 'mplayer', you need to provide 'mplayer' with input stream it understands/supports. Have investigated which input streams are supported by 'mplayer' ?
No i didnt check....so i have to specify input stream in mplayer..can u explain little more clear so i can try with that..
 
Old 05-13-2010, 03:08 AM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by puneeth bhat View Post
No i didnt check....so i have to specify input stream in mplayer..can u explain little more clear so i can try with that..
First read

man mplayer
.
 
  


Reply

Tags
browsers, http


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Ubuntu Server edition 9.10, http://localhost/phpmyadmin = blank white page in browser VipX1 Linux - Server 13 12-19-2009 10:29 AM
watching tv on web browser at http://oftheworld.tv/ aus9 Linux - General 1 09-13-2008 01:18 AM
http.conf - comment or uncomment AddType since html files not showing in browser? praisehim Linux - Newbie 1 11-28-2007 10:38 AM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM
can't load http://localhost:631 in browser cragwolf Slackware 2 09-06-2004 06:43 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration