Encode and broadcast from video file
Hi guys, sorry if this has been asked before I did some quick searches and didn't find anything.
Is there any way to use a static video file as supposed to a camera as the source for the flash media live encoder? This is for the production office I work at - a lot of the videos we make take a long time to encode to flv so it would be great if we could broadcast a video as it is being encoded.
Thanks in advance.
I use the Black Media Intensity Pro Pcie capture card and a Panasonic HDC-SD10 cam. The Black Magic card show up in FMLE so I can play back video from the cam. In fact even my cheap Easycap USB capturecard works to capture my cam, though it does´nt give the same quality as the BM card but still pretty ok.
Similar Messages
-
Is it possible in java to extract audio from video file and ...
Hi,
Is there any API in java for creating DVD video from Normal TV and extract audio from video file and convert MP3 to WMA file. What about java Media Framework and Java 3D API?
If it is notpossible in java which will be the next option. Vc++?
Please help me.
Thanking in advance.
From,
Vinod Alol
If all you want is to create a backup of some file you can do:public class Foo
public static void main(String[] args) {
Foo f = new Foo();
f.createBackup("something.xls");
public void createBackup(String inFile) {
FileInputStream in = null;
FileOutputStream out = null;
try {
in = new FileInputStream(inFile);
out = new FileOutputStream(inFile + ".bak");
int read;
while ((read = in.read()) > -1) {
out.write(read);
out.flush();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
if (in != null) {
try {
in.close();
} catch (IOException e) {
e.printStackTrace();
if (out != null) {
try {
out.close();
} catch (IOException e) {
e.printStackTrace();
} -
I just updated to Adobe Reader 11.0.07 on my Mac OS version 10.6.8 and now the video files don't work. How do I uninstall the update and return to the previous version?
I received a notice from Chris Campbell at Adobe that stated : "....we are aware that Macs created between 2006 and 2008 are currently running into problems using the latest release of Flash Player (version 13)." My question is will the update of Adobe Reader 11.0.07 cause this problem with Flash Player 13 on my Mac? Sometimes when I try to view streaming video I get sound but no video.
> -
I was almost finished editing my video and suddenly my video files just show a black screen and wont play.
MacBook Pro / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better. Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG. However, after much searching, I finally did the steps in order and it worked.
This was after repeatedly downloading Silverlight from the Netflix site without success. So here's what I did:
1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
2. Followed the directions. I felt like such an idiot for not doing it right before.
3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
[also check your Libary/ Internet Plug-ins, but the above search is faster]
4. Drag it all to the trash and empty it.
5. Go back to the Get Silverlight page and click on the Install on that page, not the Netflix site.
6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay! -
Live Streaming from Video File
Hi everyone,,, im newbie in programming streaming video with flash....ater reading documentations i tried the instructions on doc, i got a question that i've not been solved. How to make a "live streaming" from "video file". It likes a live streaming from camera but it uses video file as the source.... many thanks
Do you mean you have video file but you want to publish it as live stream , am i right? If yes following is the solution, but before that let me clarify you will need server to do it , i mean there is no way Flash client (i.e. .swf file running in Flash Player) can publish file from local disk.
Now let me tell you how to do it from server:
Place your video file under "streams" folder of your application i.e. say "myVideo.flv" under <FMS root>/applications/myApp/streams/_definst_
Now write following code in your main.asc file (this file would be under <FMS root>/applications/myApp )
var mystream;
application.onAppStart = function(){
mystream = Stream.get("livestream");
mystream.play("myVideo",0,-1,true);
This will publish "myVideo" file as live stream under name of "livestream". Client would have to subscriber using NetStream and
use ns.play("livestream",-1,-1)
You might have to write some extra code if you want to loop same file else once play of recorded file gets over , live publish will automatically stop.
let me know if this solves your problem -
Why does Quicktime tell me it can't play certain videos created with my Phantom 2 v3 drone ? I fly the drone and switch back and forth from video to still pics and while I may have filmed four videos , sometimes Quicktime tells me that one of them can't be played . Checking the info shows that each of the unplayed videos was saved in the same mp4 format as the playable ones yet some of my most important videos won't play . It's getting very frustrating .
first; I use Perian, that helps even though it is no longer supported, (must have for avi files)
the apple-cores at apple have gotten very sloppy -- quicktime is a bit finicky and flakey.
example, occasionally (when copy file from quad's card to hard drive) the avi will show up as a 'mov' file and qt plays it no problem and no conversion.
but that is very occasionally, most of the time qt won't convert the file, -- iMovie won't open an avi without Perian installed , I don't know how that effects qt.
qt 7"pro" is no good either, (qt 10 does everything it does and for NOT the extra $35)
I have gone to VLC and MPlayerX for direct playback for drones and cameras. -
Create still images from video files?
from http://gadgetwise.blogs.nytimes.com/2009/04/16/5-new-photoshop-tips-for-photographers/ , "You can now preview video in Bridge and create still images from video files."
I just installed the 5.4 Camera Raw Update.
I can preview the AVI files from my Nikon D5000, but have not figured out how I might create a still image ( other than stopping the movie, and dragging to copy ) Have tried searching adobe, this forum, have not found more info ion this.Stop the video at the desired point, press the Shift, Command, and 4 keys, drag the cursor so that the whole picture is highlighted, let go of the button, and open the PNG on the desktop.
(35300) -
How to load date and time from text file to oracle table through sqlloader
hi friends
i need you to show me what i miss to load date and time from text file to oracle table through sqlloader
this is my data in this path (c:\external\my_data.txt)
7369,SMITH,17-NOV-81,09:14:04,CLERK,20
7499,ALLEN,01-MAY-81,17:06:08,SALESMAN,30
7521,WARD,09-JUN-81,17:06:30,SALESMAN,30
7566,JONES,02-APR-81,09:24:10,MANAGER,20
7654,MARTIN,28-SEP-81,17:24:10,SALESMAN,30my table in database emp2
create table emp2 (empno number,
ename varchar2(20),
hiredate date,
etime date,
ejob varchar2(20),
deptno number);the control file code in this path (c:\external\ctrl.ctl)
load data
infile 'C:\external\my_data.txt'
into table emp2
fields terminated by ','
(empno, ename, hiredate, etime, ejob, deptno)this is the error :
C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 5
C:\>any help i greatly appreciated
thanks
Edited by: user10947262 on May 31, 2010 9:47 AMload data
infile 'C:\external\my_data.txt'
into table emp2
fields terminated by ','
(empno, ename, hiredate, etime, ejob, deptno)Try
load data
infile 'C:\external\my_data.txt'
into table emp2
fields terminated by ','
(empno, ename, hiredate, etime "to_date(:etime,'hh24:mi:ss')", ejob, deptno)
this is the error :
C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 5
C:\>
That's not an error, you can see errors within log and bad files. -
i am using for first time the time machine and an external hard drive because I want to erase my macbook and start from zero files. Am i keeping my files in the portable hard disk when I will connect it again with the macbook or the time machine will erase all?
I would like to know if after I erase all my data, empy hard drive inside the macbook, the time machine will erase all my files that I have saved in my "WD "My passport" external hard driveWelcome to Apple Support Communities
Time Machine has to erase the external disk in order to make backups. Before setting Time Machine up, copy the files of your external disk to the hard disk of the Mac in order not to lose them, and then, set up Time Machine. The first backup will start automatically.
If you want more information about Time Machine, read the Pondini's site > http://pondini.org -
How is it posible to get the File name, size and type from a File out the H
How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
form JSP
<form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
File: <input type="file" name="filename"/
Path: <input type="text" readonly="" name="path" value="c:"/
Saveas: <input type="text" name="saveas"/>
<input name="submit" type="submit" value="Upload" />
</form>
proces JSP
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="FileUploadBean" %>
<jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
<%
TheBean.doUpload(request);
%>
BEAN
import java.io.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletInputStream;
public class FileUploadBean {
public void doUpload(HttpServletRequest request) throws IOException
String melding = "";
String filename = request.getParameter("saveas");
String path = request.getParameter("path");
PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
ServletInputStream in = request.getInputStream();
int i = in.read();
System.out.println("filename:"+filename);
System.out.println("path:"+path);
while (i != -1)
pw.print((char) i);
i = in.read();
pw.close();
}Thanks it works great.
Here an excample from my code
import org.apache.commons.fileupload.*;
public class FileUploadBean extends Object implements java.io.Serializable{
String foutmelding = "geen";
String path;
String filename;
public boolean doUpload(HttpServletRequest request) throws IOException
try
// Create a new file upload handler
FileUpload upload = new FileUpload();
// Set upload parameters
upload.setSizeMax(100000);
upload.setSizeThreshold(100000000);
upload.setRepositoryPath("/");
// Parse the request
List items = upload.parseRequest(request);
// Process the uploaded fields
Iterator iter = items.iterator();
while (iter.hasNext())
FileItem item = (FileItem) iter.next();
if (item.isFormField())
String stringitem = item.getString();
else
String filename = "";
int temp = item.getName().lastIndexOf("\\");
filename = item.getName().substring(temp,item.getName().length());
File bestand = new File(path+filename);
if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
FileOutputStream fOut = new FileOutputStream(bestand);
BufferedOutputStream bOut = new BufferedOutputStream(fOut);
int bytesRead =0;
byte[] data = item.get();
bOut.write(data, 0 , data.length);
bOut.close();
catch(Exception e)
System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
foutmelding = "Bestand opsturen is fout gegaan";
return true;
} -
My dowloaded films stopped after a while and disappeared from Video. How come can this happen?
I cant explain it but this bizarre "fix" works many times if your videos "disappear". I have passed this on to a number of people and it has worked for them. You can try it if you like.
Go to your home screen and swipe to the right to bring up the spotlight search feature. Type in the name of the movie that you were watching. If the movie appears in the search, tap on it to begin playing. If it plays, let it go for a few minutes and then hit the done button to stop it. Then go back to the Videos App and see if the movies and TV shows have reappeared. -
How to get string (specified by line and column) from txt file with labview
Hi everyone
How to get string (specified by line and column) from txt file with labview
thx
Solved!
Go to Solution.As far as I know, a text file has no columns. Please be more specific. Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character? You could the Read from Spreadsheet String function and set the delimiter to a space. This will produce a 2D array of strings. Then use index array and give the line number and column number.
- tbob
Inventor of the WORM Global -
Does LabView program behave differently under Traditional Chinese version from regular English version. The program reads in numbers and characters from input files.
Hope this helps,
Ankita -
Open and read from text file into a text box for Windows Store
I wish to open and read from a text file into a text box in C# for the Windows Store using VS Express 2012 for Windows 8.
Can anyone point me to sample code and tutorials specifically for Windows Store using C#.
Is it possible to add a Text file in Windows Store. This option only seems to be available in Visual C#.
Thanks
WendelThis is a simple sample for Read/Load Text file from IsolateStorage and Read file from InstalledLocation (this folder only can be read)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using System.IO;
namespace TextFileDemo
public class TextFileHelper
async public static Task<bool> SaveTextFileToIsolateStorageAsync(string filename, string data)
byte[] fileBytes = System.Text.Encoding.UTF8.GetBytes(data);
StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
var file = await local.CreateFileAsync(filename, CreationCollisionOption.ReplaceExisting);
try
using (var s = await file.OpenStreamForWriteAsync())
s.Write(fileBytes, 0, fileBytes.Length);
return true;
catch
return false;
async public static Task<string> LoadTextFileFormIsolateStorageAsync(string filename)
StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
string returnvalue = string.Empty;
try
var file = await local.OpenStreamForReadAsync(filename);
using (StreamReader streamReader = new StreamReader(file))
returnvalue = streamReader.ReadToEnd();
catch (Exception ex)
// do somthing when exception
return returnvalue;
async public static Task<string> LoadTextFileFormInstalledLocationAsync(string filename)
StorageFolder local = Windows.ApplicationModel.Package.Current.InstalledLocation;
string returnvalue = string.Empty;
try
var file = await local.OpenStreamForReadAsync(filename);
using (StreamReader streamReader = new StreamReader(file))
returnvalue = streamReader.ReadToEnd();
catch (Exception ex)
// do somthing when exception
return returnvalue;
show how to use it as below
async private void Button_Click(object sender, RoutedEventArgs e)
string txt =await TextFileHelper.LoadTextFileFormInstalledLocationAsync("TextFile1.txt");
Debug.WriteLine(txt);
在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。 -
Encoding and playback problem HD files
Hi all,
Currently, I'm using a new HD camcorder and have no problem with importing and playing these files is premiere cs4 pro. However, when I'm using six video track at the same time I experience some playback problems. After rendering, the video's play, but not smooth, they skip frames and playing a few frames back. In other words, it seems that the video playback stutters. The problem still excists when I encode the project to any file (mpeg2-blu ray, avi, etc). When using two video tracks (with two HD video) this problem is not present, even when these video's are in slowmotion. Installing the new update (4.2) did not solve the problem.
Specs of my system:
Quad core Q6600 @3.0GHz (overclocked)
8gb RAM
>200gb free disk space
windows 7, 64-bit
Does anyone have some suggestions to solve this problem? Thanks in advance.
Regards,
JeffreyHarm,
Sorry for not responing for a few days, but I runned the benchmark you'll send me. The main results (dee details attached file):
53,6, secs Total Benchmark Time
6,4, secs AVI Encoding Time
14,2, secs MPEG Elapsed Time
33, secs Rendering Time
Since the potential problem is my hard disk, inaddition, I runned HDtune (hopefully it will help pinpionting the problem):
disk1: avarage transfer rate: 94MB/s, acces time 13.8ms, burst rate 185MB/s
disk2: avarage transfer rate: 85MB/s, acces time 14ms, burst rate 157MB/s
disk3: avarage transfer rate: 73MB/s, acces time 13.9ms, burst rate 183MB/s
Analyzing these results, could the current hard disk configuration cause the problem I have, or is my system to slow anyway to edit AVCHD material?
If the hard disk configuration is the problem, could it be solved by applying your suggestion by removing all partitions? Since, I'm not looking forward of removing all partions(re-installing windows (dual boot win7 and vista), shifting a huge amount of data, etc), but if it would help I will do it.
Thanks inadvance,
Jeffrey
Maybe you are looking for
-
How to tell if iphone user is secretly using the iphone
Ipbone usage -- if somebody was sneaking and hiding what they were doing on their phone ie -- instant message thru email vs phone call or text message which will record on phone bill, or using other apps or ? what ever means one could sneak around w
-
I have a new iPod and cannot get my music loaded on to it. The computer says it's not connected, and then it says it is synced but there's still no mucis on it.
-
Hi today i update my c202 with 7.66 version... I want to know that what are the new feature of this update.. Regardz Solved! Go to Solution.
-
Dear Team, I have my apple id but i cann't access this id because of error is showing while login the internet connection appears to be offine. please help me out for this query. Sumit Agarwal
-
Hi all, I have s form with push_button (SEND TO BACKUP). For this push button - SEND TO BACKUP, i have coded the below for Trigger - WHEN BUTTON PRESSED. DECLARE CNT NUMBER; TEMPDATE DATE; CURSOR C1 IS SELECT MAT_DESC, FRAME, FSIZE, POLES, NUM