video-streaming

Exoplayer how to know which URL to be played with custom video view

核能气质少年 提交于 2019-12-02 10:14:34
问题 I am first time working on online Video player, I am using TextureVideoViewMute extends TextureView implements TextureView.SurfaceTextureListener custom class as custom video player. I am having two urls in my response source_url (main url) and dash_url .Now I wanted to use ExomediaPlayer for this but I have following questions. 1.How to categories which url to be played? 2.Or Whether this will be decided by player itself while playing? 3.Or We need to use single url player automatically do

C++ LibVLC Create Stream from Frames/Images

ぐ巨炮叔叔 提交于 2019-12-02 09:51:11
I want to use LibVLC for creating a Video from Images. As for now I have no experience with LibVLC. I already Implemented a test Project like here ( A simple C program to play mp3 using libvlc ). Is there any Way to create an Instance of "libvlc_media_t" and put images to it instead of calling "libvlc_media_new_path" to load a Video from a File? Or are there any other Possibilities? Create a media list and media play list in addition to a media player: media_list_ = libvlc_media_list_new(vlc_instance_); media_list_player_ = libvlc_media_list_player_new(vlc_instance_); libvlc_media_list_player

Converting html5 video - what software to use

孤者浪人 提交于 2019-12-02 09:43:29
we're planning to use a fullscreen html5 video on a website. I've read that MPEG-4/H.264 might be the best format at the moment. I have the video file available as 1080p mp4 … it's 41.2mb in size. Since the video should play in "relative" good quality and stream really fast, how can i optimize the video file. Any tips, tricks for me? is 1080p needed for a fullscreen video on desktop or is 720p enough? What should the output size of a fullscreen video for desktop be? Regards, matt a lot will depend on the intended audience and their connectivity. If they've got good connections and a big

How to play video with cookies content in iOS using AVPlayer in Swift?

…衆ロ難τιáo~ 提交于 2019-12-02 08:53:20
I have used the below implementation to play a video with cookies content from the server, but it shows play icon with cross line. I have refer the link and do following implementation in swift. but I didn't get any output :( func showVideo(url: String) { let videoURL = NSURL(string: url) var cookiesArray = [HTTPCookie]() guard let cookieArray = UserDefaults.standard.array(forKey: Constants.Object.kCookie) as? [[HTTPCookiePropertyKey: Any]] else { return } for cookieProperties in cookieArray { if let cookie = HTTPCookie(properties: cookieProperties) { cookiesArray.append(cookie) } } let

How to relay h.264 stream?

荒凉一梦 提交于 2019-12-02 07:09:32
问题 I have 2 servers, server2 can receive h.264 stream from server1. I need my iPad can play the h.264 stream, and my ipad and server2 are in the same local area network, but can not connect to server1, so I need server2 relay the h.264 stream to my ipad, who has one good solution ? thanks! 回答1: Your question is rather vague. If you are playing via HLS then you could install an HTTP proxy on server2. Apache even has a proxy module which lets you make a URL on server1 appear as if it was hosted by

How to relay h.264 stream?

房东的猫 提交于 2019-12-02 06:57:06
I have 2 servers, server2 can receive h.264 stream from server1. I need my iPad can play the h.264 stream, and my ipad and server2 are in the same local area network, but can not connect to server1, so I need server2 relay the h.264 stream to my ipad, who has one good solution ? thanks! Your question is rather vague. If you are playing via HLS then you could install an HTTP proxy on server2. Apache even has a proxy module which lets you make a URL on server1 appear as if it was hosted by server2 without having to configure your iPad to use server2 as its proxy. http://httpd.apache.org/docs/2.2

Is it possible to overlay some views on YouTube Android Player?

二次信任 提交于 2019-12-02 05:08:46
问题 I want to use my media controller instead of build-in one of YouTube Android Player. So, I have put some views overlapped YouTube Android Player. However, I got a problem which is it always pauses automatically after played one second. Therefore, is it possible to overlay some views on YouTube Android Player? 回答1: Youtube deliberately prevent any attempt at displaying anything on top of their player. As soon as it detects this the playback will pause. This blocks the growth of a whole

how to decode the byte array (.h264 format) in to video in android?

送分小仙女□ 提交于 2019-12-02 04:58:18
In My App, I have to decode the bytearray (that is in .h264 format) in to video and the byte array coming from live steaming. The code is below: static final int VIDEO_BUF_SIZE = 100000; static final int FRAME_INFO_SIZE = 16; byte[] frameInfo = new byte[FRAME_INFO_SIZE]; byte[] videoBuffer = new byte[VIDEO_BUF_SIZE]; File SDFile = android.os.Environment.getExternalStorageDirectory(); File destDir = new File(SDFile.getAbsolutePath() + "/test.h264"); //avRecvFrameData returns the length of the frame and stores it in ret. int ret = av.avRecvFrameData(avIndex, videoBuffer, VIDEO_BUF_SIZE,

red5 media server and protect video from being embeded?

久未见 提交于 2019-12-02 04:43:33
I'm trying to protect my videos the most possible way, so I know putting them up on a red5 media server will make them streaming so the flv file won't be downloaded to users cache but the main concern I have is that possible to protect the video from being embeded? so it will run only from domains that I specify? and also, is it possible to somehow encrypt a streaming video file? and encrypt it down in my flash player when it's downloading? To secure your streams you can edit the file: red5-web.properties (in $red5/webapps/$your-app/WEB-INF/) webapp.virtualHosts=*,localhost, 127.0.0.1 webapp

Exoplayer how to know which URL to be played with custom video view

六眼飞鱼酱① 提交于 2019-12-02 04:37:37
I am first time working on online Video player, I am using TextureVideoViewMute extends TextureView implements TextureView.SurfaceTextureListener custom class as custom video player. I am having two urls in my response source_url (main url) and dash_url .Now I wanted to use ExomediaPlayer for this but I have following questions. 1.How to categories which url to be played? 2.Or Whether this will be decided by player itself while playing? 3.Or We need to use single url player automatically do his work? 4.Or is it possible combination of custom video surfaceview and SimpleExoPlayer ? The main