Live Video Streaming From CCTV Camera In Application?
Dec 26, 2013I am developing some application in Java. The need is to continuously do a video streaming in the software. I am new to this and want to know how to do it.
View RepliesI am developing some application in Java. The need is to continuously do a video streaming in the software. I am new to this and want to know how to do it.
View RepliesI am going to to develop an app for my final year project. basically the app is to show live video streaming on android phone from remote CCTV . The project is just in design phase i know the networking part i.e static ip for dvr etc but i dnt know how to get stream of data from dvr and how to control the CCTV camera i.e camera movement....
View Replies View RelatedI was testing my JavaFX2.2.7 based media player code in a current Java 6 application when I discovered that HTTP Live Streaming does not seem to work. I can play a local file of the supported format (Sintel trailor mp4 h264) but when I try and use an HTTP Live Stream instead, nothing plays. (for example [URL] ). I end up with a blank player, and no exceptions or errors.
private static final String MEDIA_URL = "http://download.oracle.com/otndocs/products/javafx/JavaRap/prog_index.m3u8";
Media media = new Media(MEDIA_URL);
MediaException ex = media.getError();
if (ex != null){
System.out.println("Media Error" + ex.getMessage());
} else{
System.out.println("No Media Error");
}
Program console output: "No Media Error"
I thought it was something wrong with my player code, so as a last resort, I went to JavaFX 2 - Ensemble and copied the source and put it directly into my application and ran it... Unfortunately the same result occurs. The player runs, but simply shows a blank video window. The controls are available, but no video plays.
Based on the Release notes for Java 2.2.7 I was under the impression that HLS was supported. Am I incorrect?
I cannot upgrade to Java 7 as I am firmly stuck with Java 1.6.0.32 due to project constraints.
I am doing project on Video streaming using java.
How to convert video file into RTP packets....?
I am new to java and i want to create an application which detect an image which took from camera and to process it so that it can be verified ..for example number plate of the vehicle ..if i need to extract the numbers from the image ..
View Replies View RelatedHow to insert and play a video or a music background in a java application. Let me explain better... I need to develop a game where sometime I need to show picture, or play videos and also, if is possible, add a music in background... I work with eclipse and I know quite good the main concept of java's language...
View Replies View RelatedI am writing a java application that can play youtube video by given URL. first i tried with JPaneleditor, then now i am trying google youtube api, but maybe api is abit too tough for me.
I am using netbeans....
How to make video chat possible in java web application??
View Replies View RelatedI want to develop an application for client server play the Video On Demand (VOD).i am new for working on video player. Which library will suitable for this and what methods have to fallow.
View Replies View RelatedI am trying to develop a live score webpage using ONLY JSP.
View Replies View RelatedI finally made the app to draw 10x10 map out of 50x50 pixel blocks.Now I can't imagine how to make a camera and lock it on character. I know how to make a character, but I just want to understand how locking the camera on character would look.
package tiled;
import org.newdawn.slick.*;
import org.newdawn.slick.state.*;
public class play extends BasicGameState {
int xSize = 10;
int ySize = 10;
[code]....
I want to do face detection on the camera.
View Replies View RelatedI have datatable with live scrolling enabled.The columns are not getting sorted fully.When one of the columns is sorted,for example "insured" in the image shown below, all the records seem to have sorted but when i reach the end of scroll and next set of records get loaded i see other records in unsorted order as indicated in the image ,when i try to see the column in descending order.So because of this i am not getting the sorting feature accurately done(All records are not getting sorted at a single stretch)
My JSF code snippet
<p:dataTable id="workSpaceList" var="data"
value="#{workSpaceBean.lazylpId}" widgetVar="multiSelection"
selection="#{workSpaceBean.selectedRows}" resizableColumns="true"
liveScroll="true" scrollRows="15" scrollWidth="100%"
scrollHeight="75%" styleClass=".ui-datatable-hor-scroll"
[Code] ....
Where can I find tutorials about how you like have a big image, bigger than the specified screen, for the map of a game, and then you have camera view, the image is being printed on the screen continously as the character moves in different areas depending on what area of the map the character is in?
NOTE!!! I don't want to move objects around, I just want a camera view on a large image!
1: 3D space. How do i define the space where i will make my world? Is there a certain point that i will define as 0,0,0 or is there some other way.
2: Camera positioning. When i have the 3D space, how to i make it so that the camera will show that what i want it to show. Lets say il define its lokatios 30,50,100 and direction is NW, then how to i make it so that is see the SW direction from the point 30,50,100?
Whenever i perform any operation in my application Live Bytes of a particular Instance of a class increases by 1000.Although i perform the same operation everytime it always increases by 100 or 1000.Is this a memory leak or does these instances increase everytime we perform an operation.
View Replies View RelatedI have a primefaces datatable with about 52000 records to be fetched.Since it is a large dataset,i tried using live scrolling feature of primefaces with scroll rows equal to 20.THe number of columns is 53.The table also has filtering and sorting feature on its each column.Still i am not satisfied with the performance of the table.It takes about 15 secs for the page to load,worst thing is that it takes about 65 secs for the next set of 20 records to be loaded on reaching the end of scrolling.
Just for testing i reduced the total number of records to 25000 and the preformance improves with scroll time of 29 secs.I am really not able to understand why it is taking this much time when i am displaying only 20 records at a time.The total number of records should not have affected the performance.
My JSF code snippet
<p:dataTable id="arcRecList" var="data"
value="#{archivedRecordBean.archiveItems}"
tableStyle="table-layout:auto; width:80%;" styleClass="datatable"
scrollable="true" scrollWidth="84%" scrollHeight="69%"
columnClasses="columnwidth" liveScroll="true" scrollRows="20"
filteredValue="#{archivedRecordBean.filteredArchiveItems}">
[Code] ....
I want to make a service like Spotify, where I can stream music that I have stored on my computer (in this case server) to my laptop or phone.
* What would be a suitable format for this?
* How would I actually stream it? I want to stream, not download and then play, I want to play the music while downloading.
i want to know when i have to use Flush in java , i saw alot of code that used it IO streaming , but i cannt understand how can i use it , or when i have to use it
View Replies View RelatedI have a very big string that I am returning from servlet to javascript. I am using PrintWriter.
PrintWriter out = response.getWriter();
out.print(bigString);
But as the string is very big my code is not working. My browser just hangs.
Also is it possible to stream the output? i.e instead of sending entire string, can I send small part of string at a time. So that my browser will not hang. I don't want to handle streaming manually I am just looking for an IO class which will do the streaming automatically.
I've been experiencing problems with the JMF extension when used in an Applet on the web. The program has worked fine previously but not returns the following error...
PackageManager: error reading registry
javax.media.NoPlayerException: Cannot find a Player for : [filename]
at javax.media.Manager.createPlayerForContent(Manager .java:1412)
at javax.media.Manager.createPlayer(Manager.java:417)
[Code] .....
However the program works fine in Eclipse with no errors. I have tried reinstalling the JMF package and setting the CLASSPATH and JMFHOME but it still does not work. I am using the jmf-2_1_1e-alljava version. I have also tried putting the player code in an AccessController.doPrivileged() block but this still does not seem to work.
My code for the player is as follows....
private void play(final String track) {
Thread dispatch = new Thread() {
public void run() {
try {
if(player!=null)
player.close();
[Code] .....
I am working on a Java Streaming Networking ( Client Serve ) project , among remote client can:
1 ) chat,
2 ) Share files,
3 ) Share Screen live streaming,
4 ) Access the remote system.
All are working well faster & live on networking. But if i host on the Hosting server the all process are working but in deadly slow streaming is not live..,
I worked on this simple client server chat app and it worked now for my project i needed to work on client server audio streaming broadcast but i dont really know much bout audio api and methods on java...
View Replies View RelatedHow do I correct this problem… The first video wil cancel out the second one. Can it be stopped?
<script language="Javascript" type="text/javascript">
function reload()
{
setTimeout('reloadImg("refresh")',1000)
};
function reloadImg(id)
[code]....
I have panel = window(new frame) and its used to render a video image on, i need to pickup a touchscreen press change of event but not sure which event listener to use and on which component. Is it a panel, window or frame event? and which listener would detect a focus change or a mouse press
I know mouse listener and focus listener and window listeners are available but not sure they would be able to detect the screen press on the video rendered image...
So I'm doing a project for my CS class where we have to create a snowman doing something. My picture is of Vince Young in the 2005 Rose Bowl. I'm trying to make the actual video clip from Youtube (do I need to download it? If so I can do that) appear on the scoreboard, but how.
import java.awt.*;
import java.awt.event.*;
import java.awt.Font.*;
class snowBackground
{
public static void drawField(Graphics g, Color field)
[code]....
There are 3 other files that make the actual Snowmen.Also, would I need to download the mp3 sound file seperately and play that, or will inserting the video do both?