video-streaming

Video streaming over websockets using JavaScript

时间秒杀一切 提交于 2020-01-18 11:09:26
问题 What is the fastest way to stream live video using JavaScript? Is WebSockets over TCP a fast enough protocol to stream a video of, say, 30fps? 回答1: Is WebSockets over TCP a fast enough protocol to stream a video of, say, 30fps? Yes.. it is, take a look at this project. Websockets can easily handle HD videostreaming.. However, you should go for Adaptive Streaming. I explain here how you could implement it. Currently we're working on a webbased instant messaging application with chat,

stream video from iPhone

一世执手 提交于 2020-01-17 01:29:25
问题 I have some video files in iPhone library and I am developing iPhone app to stream video from my iPhone to another device. I have already server developed at iPhone side. My question is how can I stream this video files to another device or server from iPhone. Another question is I have done video segment by apples mediafilesegmenter and generate ts and m3u8 files.I am wondering what is different between if I give link to m3u8 file(which is called http streaming may be) or link to the direct

Play local video from web browser [closed]

可紊 提交于 2020-01-16 18:16:12
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . How can I play a video that is on a user's local hard drive when they go to my website? Also I want to sync the video with controls on the website. 回答1: This would be a massive security hole on the part of the

Play local video from web browser [closed]

旧城冷巷雨未停 提交于 2020-01-16 18:16:10
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . How can I play a video that is on a user's local hard drive when they go to my website? Also I want to sync the video with controls on the website. 回答1: This would be a massive security hole on the part of the

Merge 2 image outputs (HDMI, DVI, VGA, or other) on one screen

[亡魂溺海] 提交于 2020-01-15 14:11:11
问题 I am looking for something uncommon: A device that would allow to merge the image coming from 2 outputs (HDMI, DVI, VGA or any other type of image output) into one final image displayed onscreen. The outputs can be of the same type (e.g. 2 HDMIs) or different, anything that works would do. In case that isn't clear, here is a simple schema: It could work in different ways, for example with a system of priority (e.g. output 1 write its image and the output 2 overwrite non transparent pixels),

Android video decoder not drawing to gles surface on lollipop only

不问归期 提交于 2020-01-15 12:17:11
问题 Briefly, I'm combining two open source apps into a new VR app, so this only runs on the Note 4 and S6 using the GearVR headset. My app works on kitkat, but the video is black on lollipop. The two source apps both work fine on lollipop. I have a surface created from a gl texture: glGenTextures( 1, &textureId ); glBindTexture(GL_TEXTURE_EXTERNAL_OES, textureId); glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameterf(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG

How to perform an image stream preview to a Delphi 6 frame or form from a background thread efficiently?

微笑、不失礼 提交于 2020-01-14 12:37:12
问题 I have a Delphi 6 application that receives and processes an image stream from an external camera. I have the code on a background thread since it is CPU heavy and I don't want it interfering with with the user interface code that runs on the main thread. I want to update a rectangular area on a form or frame with the TBitmaps I create from the camera's JPEG frames that are received at a rate of 25 frames per second. I want to know what method will give me the best performance and what

How to perform an image stream preview to a Delphi 6 frame or form from a background thread efficiently?

痞子三分冷 提交于 2020-01-14 12:36:23
问题 I have a Delphi 6 application that receives and processes an image stream from an external camera. I have the code on a background thread since it is CPU heavy and I don't want it interfering with with the user interface code that runs on the main thread. I want to update a rectangular area on a form or frame with the TBitmaps I create from the camera's JPEG frames that are received at a rate of 25 frames per second. I want to know what method will give me the best performance and what

Video upload and display in PHP?

我的未来我决定 提交于 2020-01-14 06:19:58
问题 I want to upload video to server and then display it on web page using some player (like youtube) using PHP. My client ask: "Videos must be no longer than 2 minutes and in either Quicktime, WMV, Mp4 or FLV format." Is there any opensource script which help me to upload a video with client requirements and then an opensource player which plays that video? Please help! Thanks 回答1: This is my favourite solution: http://flowplayer.org/ It enables to control the video quite a lot: it uses

H264 WebRTC video streamed from ffmpeg through Janus is very choppy on playback

余生长醉 提交于 2020-01-13 19:14:08
问题 Trying to stream video through following chain: h264/mp4 file on local instance storage (AWS)->ffmpeg->rtp->Janus on same instance->WebRTC playback (Chrome/mac). Resulting video is choppy even as none of the resources seem overloaded (CPU/memory/network bandwidth on any of the systems involved). I also use a Coturn TURN server, it is also not loaded at all and bandwidth is plentiful. Tried switching codecs and it didn't help apart from vp8 which while worked (kind of - choppiness was still