video-streaming

How to stream video over rtsp protocol for Live555 server on web browser

血红的双手。 提交于 2019-12-01 11:36:45
问题 I am already using rtsp protocol to stream video on windows application and Silver-light web application. I have built rtsp server using Live555 library , which connects with video source and multicast with different users(clients). But now I want to stream video source in web browser to replace silver-light component. So please some one can help me to do this on web browser. Is there any standard way/solution to do rtsp video streaming on web browser? Please help me for video streaming over

Capturing a Multicast UDP Video stream using OpenCV

我怕爱的太早我们不能终老 提交于 2019-12-01 11:25:54
I have a multi-cast UDP Video stream that I need my OPenCV (Emgu ) 2.4.x app to capture and process ("client"). On the client, I can capture the stream using VLC (udp://xx.yy.zz.aaa:1234, However the my app fails to capture this udp stream. My code is quite simple ( Capture cap = new Capture ("udp://@212.1.1.1:1234"); p.s. I have tried with and 2/o the @ also tried rtp on that address. No luck :-/ Does OpenCV directly allow "capture" of UDP streams? or do I need to run VLC on the client to re-stream the video as rtp or http or some other....? Thanks. I finally figured this out and sharing in

ffmpeg transcode to live stream

て烟熏妆下的殇ゞ 提交于 2019-12-01 11:12:39
I need to display a ip camera stream in an html video tag, i have figured out how to transcode to a file from the rtsp stream like this ffmpeg -i "rtsp://user:password@ip" -s 640x480 /tmp/output.mp4 now i need to be able to be able to live stream the rtsp input in a video tag like this <video id="video" src="http://domain:port/output.mp4" autoplay="autoplay" /> I was trying to do something like this in my server (an ubuntu micro instance on amazon) in order to reproduce the video in the video tag but didn't work ffmpeg -i "rtsp://user:password@ip" -s 640x480 http://localhost:8080/stream.mp4

getting PVMFErrContentInvalidForProgressivePlayback error while playing mp4 files on samsung devices

本小妞迷上赌 提交于 2019-12-01 11:07:46
I'm using classic VideoView implementation to play video on Android. Same mp4 file url works fine on HTC Desire. However it doesn't work on Samsung devices. Samsung Galaxy S1 and Samsung Galaxy Tab say: "Cannot play video. Unable to play video. Invalid streaming data" Samsung 5110 says: "Cannot play video. Sorry this video is not valid for streaming to this device" When I looked at mp4 file with a text editor, I realized that mdat tag is before moov . My question is how does it work on HTC whereas it doesn't on samsung devices. And I dont have any chances to change the format of mp4 files, so

How to record a video clip in ipad app and store it in documents folder

回眸只為那壹抹淺笑 提交于 2019-12-01 11:07:39
问题 I have training app i want that when user click recordVideo button camera should launch to record video, is there any way to do this in ipad app.I have done audio recording already i need to do video recording. 回答1: //for video.. #import <MobileCoreServices/MobileCoreServices.h> #import <AVFoundation/AVFoundation.h> #import <MediaPlayer/Mediaplayer.h> #import <CoreMedia/CoreMedia.h> UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; if (

ITuner::put_TuneRequest() call ignored

独自空忆成欢 提交于 2019-12-01 11:07:23
I have a DirectShow graph with a "Microsoft DVBT Network Provider", "AVerMedia BDA DVBT Tuner", "AVerMEdia BDA Digital Capture", "Sample Grabber" and "NULL Renderer". These filters are connected. Beside that I also have an "MPEG-2 Demultiplexer" and a "BDA MPEG2 Transport Information Filter", but these two filters are NOT connected! It seems like they have to be here in order to run the graph. When I start the graph, I'm receiving TS data, but no matter what I do, I'm not able to put the tuning request. I can only capture the MUX data from the last tuned frequency with some other application

converting byte array to video file

只谈情不闲聊 提交于 2019-12-01 09:43:01
问题 How can I convert a byte array to a video file? like mp4 Given the following code dbConnection connection=new dbConnection(getApplicationContext()); SQLiteDatabase db=connection.getReadableDatabase(); unhideCursor=db.query(dbConnection.TABLE_VIDEOS, new String[]{dbConnection.VIDEO_DATA}, dbConnection.VIDEO_TITLE+"=?", new String[]{videoTitle}, null, null,null); byte[]videoData=unhideCursor.getBlob(unhideCursor.getColumnIndex(dbConnection.VIDEO_DATA)); 回答1: If the byte array is already a video

ITuner::put_TuneRequest() call ignored

我的梦境 提交于 2019-12-01 09:32:23
问题 I have a DirectShow graph with a "Microsoft DVBT Network Provider", "AVerMedia BDA DVBT Tuner", "AVerMEdia BDA Digital Capture", "Sample Grabber" and "NULL Renderer". These filters are connected. Beside that I also have an "MPEG-2 Demultiplexer" and a "BDA MPEG2 Transport Information Filter", but these two filters are NOT connected! It seems like they have to be here in order to run the graph. When I start the graph, I'm receiving TS data, but no matter what I do, I'm not able to put the

getting PVMFErrContentInvalidForProgressivePlayback error while playing mp4 files on samsung devices

两盒软妹~` 提交于 2019-12-01 08:38:47
问题 I'm using classic VideoView implementation to play video on Android. Same mp4 file url works fine on HTC Desire. However it doesn't work on Samsung devices. Samsung Galaxy S1 and Samsung Galaxy Tab say: "Cannot play video. Unable to play video. Invalid streaming data" Samsung 5110 says: "Cannot play video. Sorry this video is not valid for streaming to this device" When I looked at mp4 file with a text editor, I realized that mdat tag is before moov . My question is how does it work on HTC

Playing an InputStream video in Blackberry JDE

最后都变了- 提交于 2019-12-01 07:38:29
I think I'm using InputStream incorrectly with a Blackberry 9000 simulator: I found some sample code, http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To_-_Play_video_within_a_BlackBerry_smartphone_application.html?nodeid=1383173&vernum=0 that lets you play video from within a Blackberry App. The code claims it can handle HTTP, but it's taken some fandangling to get it to actually approach doing so: http://pastie.org/609491 Specifically, I'm doing: StreamConnection s = null; s = (StreamConnection)Connector.open("http://10.252.9.15/eggs.3gp");