video-streaming

FFMPEG error with avformat_open_input returning -135

南楼画角 提交于 2019-12-05 08:09:53
问题 I have a DLL one of my applications uses to receive video from RTSP cameras. Under the hood, the DLL uses FFMPEG libs from this release zip : ffmpeg-20141022-git-6dc99fd-win64-shared.7z We have a wide variety of cameras in house and most of them work just fine. However, on one particular Pelco Model Number: IXE20DN-OCP, I am unable to connect. I tested the camera and rtsp connection string on VLC and it connects to the camera just fine. I found the connection string here : http://www

how to stream video from internet via nanoHTTPd to VideoView

ぐ巨炮叔叔 提交于 2019-12-05 07:27:43
I want to download and play video files during downloading. Since VideoView is not helping with this matter I decided to work with nanoHTTPd to create a pseudo HTTP server and inside my own server try to download video file and play it afterward but my problem is : 1-How can I flush downloaded part to videoview and download the remaining parts? Following is my source : public class VideoStreamingServer extends NanoHTTPD { public VideoStreamingServer() { // by default listening on port 8080 super(8080); } @Override public Response serve(String URI, Method method, Map header, Map parameters, Map

Android get Video source path from VideoView

倖福魔咒の 提交于 2019-12-05 06:39:52
I have VideoView instance. I need to know video source path from it. Is it possible? Can anybody help me? My code from WebChromeClient class is: @Override public void onShowCustomView(final View view, final CustomViewCallback callback) { super.onShowCustomView(view, callback); if (view instanceof FrameLayout) { final FrameLayout frame = (FrameLayout) view; if (frame.getFocusedChild() instanceof VideoView) { // get video view video = (VideoView) frame.getFocusedChild(); } } } How to get video source path fron video object ? VideoView doesn't have getters for video path/Uri. Your only chance is

Video/Screen Recorder for web application

拥有回忆 提交于 2019-12-05 06:17:42
问题 I am working on Virtual Classroom project (which is developed in flex) in which we have to add a recording function so that end user can get recorded video file of the session at the end. which technology should I use for the same? 回答1: try this : <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="955" height="600" addedToStage="onInit();" frameRate="24" >

Android video stream capture for AR

自闭症网瘾萝莉.ら 提交于 2019-12-05 06:04:06
问题 I would like to be able to capture the video from an android phone camera, and then process this video. Processing involves adding a layer of AR to the live stream. Is this possible on android? Pretty sure it should be. I have looked at the android site [http://developer.android.com/guide/topics/media/index.html] but this seems to be concerned with video capture and storage. I would like to be able to play with the video pre-storage. Thanks, 回答1: Depending on how real-time you want the data

Android App to Stream IP Camera using P2P mode over Mobile port?

僤鯓⒐⒋嵵緔 提交于 2019-12-05 06:03:21
I am trying to stream the video via IP camera on an Android App. I have been successful to get the video using the following: RTSP using Media Player and Surface View. RTSP using Video View. Redirecting to VLC for streaming the video. Redirecting to Native Video Player for streaming the video. Now, all these cases are working but with a lag of 7-8 seconds on average even over the local network. I see some apps that steam without any lag even on remote network, that use mobile port (18600) . This port is normally associated with P2P mode on a camera.(This assumption is purely based on my

Android Video Streaming

元气小坏坏 提交于 2019-12-05 05:06:28
问题 I need HTTP/RTSP Video Streaming with Android. Any Ideas ? Is that possible to go with JMF with Android ? Any Working examples ? Already tried with http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/ Its not working with my case. Are there any specific types of videos that Android can stream ? Thanks. 回答1: You don't necessarily need JMF. Android has built in support for HTTP/RTSP video streaming . Try this: String LINK = "type_here

Combining an audio and video stream using gstreamer [closed]

孤人 提交于 2019-12-05 04:41:31
I am streaming an mp4(mpeg-4) file from one device to another using gstreamer over RTP stream. Basically I am splitting up the mp4 file into its audio and video file and then sending it all to the other device where it gets streamed. Now, I want to save the mp4 file to disk in the other device, but my problem is that I am able to save the audio and video files seperately and it cannot be played individually. I am confused on how to combine both the audio and video rtp streams to form my mp4 file back and save it to a file in the other device. Here are the command line codes : Sender(Server)

how to play online video those are on server

假装没事ソ 提交于 2019-12-05 04:40:07
问题 I have videos on my server. I would like to play those video on iPhone and iPad. Could anyone suggest how to deal with such case? I know how to play video when the same video is in my project using MPMoviePlayerController . 回答1: You can use WebView to play video. In .h file add this code : #import <MediaPlayer/MediaPlayer.h> @interface VideoViewController : UIViewController<UIWebViewDelegate> @property (nonatomic, strong) UIWebView *playerView; And in .m file : @synthesize playerView; - (id

Recording IP Camera stream with FFMPEG

流过昼夜 提交于 2019-12-05 04:29:34
问题 Hey I am trying to record the IP camera stream using FFMPEG . But it is giving me Input/Output error . Here is the command ffmpeg -i http://admin:@ip:81/livestream.cgi E:\Video\my.h264 My camera is H264 encoded. Now Please help how to remove this error . Any Help would be appreciated . 回答1: I am saving my content using this and its working fine. Check if the input is correct or try to put the specifics of the video while receiving the stream. ffmpeg -i http://admin:admin@192.2.2.1:554/dd-a -c