video-streaming

writing an iPhone application with embedded video

人盡茶涼 提交于 2019-12-03 13:55:14
问题 I am researching video streaming for an iPhone application that I may have to write in the near future. The application does a whole lot other than stream video, but video aspect is the part that I have no experience with. Anyone know of any good articles on writing streaming video apps? Google seems to inundate me with links that have everything not to do what I seek. Thanks, m 回答1: Apple provide good documentation on the media framework i ntheir docs. Search for MPMoviePlayerController. The

Online encrypted streaming video files with AES in exoplayer android

让人想犯罪 __ 提交于 2019-12-03 13:40:49
问题 I have video files encrypted with AES stored on server. How to stream them online in exoplayer? I don't want to download the file and decrypt it: waiting for the download to complete and then play decrypted file. 回答1: I would suggest taking a look at the UriDataSource or the DataSource interface. You can derive from DataSource and provide an implementation very similar to UriDataSource and pass that into ExoPlayer. That class has access to the read() method which all the bytes pass through.

Stream video with rtmp and videojs

旧城冷巷雨未停 提交于 2019-12-03 13:05:47
问题 I looking for a way to stream play videos with rtmp. I use video-js but it doesn't work. Firebug return an error : L'attribut « type » spécifié sur « video/flash » n'est pas géré. Le chargement de la ressource média rtmp://server.com/vod/mp4:foo/bar/my_video.mp4 a échoué. VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this video. MediaError { code=4, message="No compatible source was found for this video." HTML code : <!doctype html> <html lang="fr"

App removed from Google Play because of Youtube API problems

痴心易碎 提交于 2019-12-03 12:42:26
I have developed an application for Android that displays video from my channel on YouTube using YouTube API. I show the video directly through YouTubePlayerView class. I don't use authorization of users on YouTube, just show video in player from my channel. I also use video ad in the same Activity. I show video ad before YouTube video. But I'm not sure that this is so important. Also I have another activity that show list of videos from my channel. For list item I use title of video and thumbnail. I take title and thumbnail from YouTube site using: http://img.youtube.com/vi/" + url + "

Play video in Android from a bytes stream

给你一囗甜甜゛ 提交于 2019-12-03 12:41:02
Is there any way to play a video from a bytes stream in Android? I'm using an specific communications middleware so I can't just pass the http/rtsp link to the MediaPlayer object. I was wondering if I can wrap my stream with a local http/rtsp link so I can play the stream instead of waiting until the file is downloaded to play it. My middleware works over TCP so I've also thought that I can wrap my rtsp datagrams with a tcp datagram and interpret them on the client somehow, after removing the TCP headers. I'm really surprised that I can't just pass a bytes stream to the MediaPlayer. Thanks in

Play embedded video resource as stream

99封情书 提交于 2019-12-03 12:40:37
问题 EDIT : I changed my question to better clarify the issue. How is it possible to play a video from a byte array (taken from embedded resource) using DirectShow.Net library? Since I'm going to prevent users from accessing the video file, I need to embed the video file as resource and play it. Thanks in advance. 回答1: It's a bit non-standard, but you could use something like WCF to self-host an endpoint inside your desktop application. Then set the source of the video input to be the "URL" to

Video Streaming using Python

懵懂的女人 提交于 2019-12-03 11:49:44
Is there any library (or) application available in Python to support Video Streaming? It has to read the file and needs to stream over the web. Check out Flumotion It's a streaming media server implemented in Python. 来源: https://stackoverflow.com/questions/5336643/video-streaming-using-python

Video files in opencv

你离开我真会死。 提交于 2019-12-03 11:21:18
问题 I want to read video file(.avi or .mov) and detect motion and edges using Opencv.Can u help me with code?I want to create a GUI in which we can select the video file,then we can carry out image processing functions in opencv? 回答1: How to read a video file : Read video file and display it on a window (C API) Read video file and display it on a window (C++ API) Read video file, convert it to grayscale then display it on a window (C API) How to track/detect motion : Opencv Motion detection with

NodeJS, OpenCV and Streaming Images Using Net Socket

孤人 提交于 2019-12-03 10:05:25
问题 My end goal is to stream video from my laptop to a server. I'm trying to accomplish this by using NodeJs on the laptop & the server. I use the OpenCV library to capture the video on the laptop and save it to a jpg file. I then read the file and convert it to base64 so that I can transport it using the Net.socket module in Node. This is a continous process: capture, encode, and send. Here is the server code for just transmitting one jpg file: var cv = require('opencv'); var fs = require('fs');

DXGI Desktop Duplication: encoding frames to send them over the network

…衆ロ難τιáo~ 提交于 2019-12-03 09:59:08
问题 I'm trying to write an app which will capture a video stream of the screen and send it to a remote client. I've found out that the best way to capture a screen on Windows is to use DXGI Desktop Duplication API (available since Windows 8). Microsoft provides a neat sample which streams duplicated frames to screen. Now, I've been wondering what is the easiest, but still relatively fast way to encode those frames and send them over the network. The frames come from AcquireNextFrame with a