video-streaming

Live streaming dash content using mp4box

空扰寡人 提交于 2019-12-17 08:54:22
问题 I'm trying to live stream H.264 content to HTML5 using the media source extensions API. The following method works pretty well: ffmpeg -i rtsp://10.50.1.29/media/video1 -vcodec copy -f mp4 -reset_timestamps 1 -movflags frag_keyframe+empty_moov -loglevel quiet out.mp4 and then: mp4box -dash 1000 -frag 1000 -frag-rap out.mp4 I can take the MP4Box output ( out_dashinit.mp4 ) and send it through Web Sockets, chunk by chunk, to a JavaScript client that feeds it to the media source API. However,

Google Drive - Video Streaming

主宰稳场 提交于 2019-12-17 07:27:53
问题 How does Google Drive video streaming work ? Internally how does it stream the video, does it use HTTP based streaming or other protocols? I am very new to this, and I was wondering if Google Drive could be used as a demo server to just get a stream of video and display on the webpage. If anyone could give me information about this, it would be very helpful. 回答1: OK, I've just managed to get this working as follows - In google drive I placed the video file in a publicly shared folder then

Google Drive - Video Streaming

假装没事ソ 提交于 2019-12-17 07:27:09
问题 How does Google Drive video streaming work ? Internally how does it stream the video, does it use HTTP based streaming or other protocols? I am very new to this, and I was wondering if Google Drive could be used as a demo server to just get a stream of video and display on the webpage. If anyone could give me information about this, it would be very helpful. 回答1: OK, I've just managed to get this working as follows - In google drive I placed the video file in a publicly shared folder then

Firebase Storage Video Streaming

a 夏天 提交于 2019-12-17 07:01:49
问题 I'm working on an app that has video streaming functionality. I'm using firebase database and firebase storage. I'm trying to find some documentation on how firebase storage handles video files, but can't really find much. There's mentioning in the docs that firebase storage works with other google app services to allow for CDN and video streaming, but all searches seem to lead to a dead end. Any advice? 回答1: I think there are several types of video streaming, which could change our answer

Encoding H.264 from camera with Android MediaCodec

霸气de小男生 提交于 2019-12-17 06:24:15
问题 I'm trying to get this to work on Android 4.1 (using an upgraded Asus Transformer tablet). Thanks to Alex's response to my previous question, I already was able to write some raw H.264 data to a file, but this file is only playable with ffplay -f h264 , and it seems like it's lost all information regarding the framerate (extremely fast playback). Also the color-space looks incorrect (atm using the camera's default on encoder's side). public class AvcEncoder { private MediaCodec mediaCodec;

Post processing in ffmpeg to move 'moov atom' in MP4 files (qt-faststart)

淺唱寂寞╮ 提交于 2019-12-17 03:38:10
问题 Is it possible to run ffmpeg from the command line which will either place the 'moov atom' metadata in the beginning of the MP4 file or run the qt-faststart as a post processing operation in ffmpeg so the generated file is stream-able through the internet? I can of course run it as a separate command, but would prefer it to be something as an option within ffmpeg, or as part of a post conversion, command line option when converting the video files via ffmpeg Edit 1 http://ffmpeg.org/ffmpeg

Streaming video from Android camera to server

好久不见. 提交于 2019-12-17 02:02:10
问题 I've seen plenty of info about how to stream video from the server to an android device, but not much about the other way, ala Qik. Could someone point me in the right direction here, or give me some advice on how to approach this? 回答1: I have hosted a open source project to enabling Android phone to IP camera: http://code.google.com/p/ipcamera-for-android The raw video data is fetched from LocalSocket, and the MDAT MOOV of MP4 was checked first before streaming. The live video is packed as

navigator.mediaDevices.enumerateDevices() not display device label on firefox

╄→尐↘猪︶ㄣ 提交于 2019-12-14 03:49:00
问题 I am working on media control functionality. I am displaying device name to select from a dropdown and it's working fine on chrome but on firefox it will not fetching label or device name. 回答1: navigator.mediaDevices.enumerateDevices() will return an empty label attribute value in the media device info if the respective permissions are not granted. To make it work, I placed this function after all of the media permissions have been granted so it returns a label attribute value as well. 回答2:

GStreamer How to extract video frame from the flow?

五迷三道 提交于 2019-12-14 03:42:49
问题 This is python code for capturing streaming video from server. but I need to write a function to extract one frame from the flow. It will be a button. On click it will show current frame. I have no ideas. Can anyone help me with this??? self.player = gst.Pipeline("player") self.source = gst.element_factory_make("uridecodebin", "video-source") #self.source = gst.element_factory_make("playbin2", "video-source") sink = gst.element_factory_make("xvimagesink", "video-output") colorspace = gst

How to store HLS/m3u8 Formatted video offline (on browser) to play when internet is not available?

此生再无相见时 提交于 2019-12-14 03:08:30
问题 Goal To build a feature to make videos available offline. A feature like youtube offline videos but on browser. Problem Is it possible to make HLS formatted (also known as .m3u8 ) videos available to user offline on there browsers? Is it possible to store HLS video in users browser (in Indexed db etc) and then play directly from there (At least for a short term period)? I have crawled web and searched for a solution but found nothing and now I am putting my problem before the amazing SOF