webm

Combining implementation of autobahn websockets, gstreamers and html5 mediaSource API

无人久伴 提交于 2020-01-02 16:24:09
问题 I am running a websocket server using autobahn|python. on the server side, I also have a gstreamer pipeline running which I am using to capture webm frames using "appsink". The gstreamer pipeline that is implemented is: gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! videoconvert ! vp8enc ! webmmux ! appsink name="sink" Everytime, I receive a buffer in the appsink, I send it over a websocket as a binary "message" using sendMessage. def on_new_buffer(appsink): global once gstsample

How come HTML5 video plays inconsistently in Firefox 11?

眉间皱痕 提交于 2020-01-02 03:34:05
问题 I have the following HTML5 video code on my homepage and it acts strange in Firefox 11. <video width="900" height="508" autoplay="autoplay" controls="controls"> <source type="video/webm" src="http://www.mysite.com/MovieClip.webm"></source> <source type="video/mp4" src="http://www.mysite.com/MovieClip.mp4"></source> </video> When the homepage on my site loads, I see in the place of the video the following error message: "No video with supported format and MIME type found." However, when I open

Webm (VP8 / Opus) file read and write back

十年热恋 提交于 2019-12-25 16:54:37
问题 I am trying to develop a webrtc simulator in C/C++. For media handling, I plan to use libav . I am thinking of below steps to realize media exchange between two webrtc simulator. Say I have two webrtc simulators A and B . Read media at A from a input webm file using av_read_frame api. I assume I will get the encoded media (audio / video) data, am I correct here? Send the encoded media data to simulator B over a UDP socket. Simulator B receives the media data in UDP socket as RTP packets.

How to extract small video chunk with ffmpeg?

末鹿安然 提交于 2019-12-25 09:58:05
问题 I'm writing a script to split a video in multiple small files based on subtitles timing . Each chunk illustrated how to sign a word LSF (French Sign Language). However, some file are blank once extracted and when converted to webm they are 0kb . Timing data I extract the timing from a .ass file to get this kind of file 0:00:01.01 0:00:04.07 0:00:04.09 0:00:07.00 0:00:07.00 0:00:10.36 0:00:10.36 0:00:13.28 First column is start_time , second is end_time Extraction extract_word_chunk() { ffmpeg

How does video on demand work in Youtube?

喜你入骨 提交于 2019-12-24 07:26:27
问题 I am trying to understand how Video On Demand works on Youtube. I found out that my browser is downloading many WebM files. When I download one of the WebM video chunk and try to play it on Chrome it does not play. Can you explain how WebM works with youtube? I read that there needs to be initialization and clusters. What is the file extension for the initialization file for WebM videos? Does cluster refer to many .webm files? From my basic understanding, Click on a youtube video -> Youtube

WebRTC: Is it supported in Safari & IE browsers?

▼魔方 西西 提交于 2019-12-24 06:38:20
问题 I would to develop video streaming usign WebRTC. I have not heard about the browser compatibilities. Does it work in IE & MAC systems? Please advice the pros & cons of it. 回答1: It works great on Mac systems using Firefox or Chrome. Safari doesn't support WebRTC yet. IE doesn't support WebRTC also. Nevertheless, Microsoft claimed that IE will support WebRTC when standard had been finalized. Regarding IE, take a look here, also: Which version of Microsoft Internet Explorer support WebRTC? 回答2:

WebM Alpha only displayed in Chrome?

心不动则不痛 提交于 2019-12-24 04:35:23
问题 I've implemented a WebM video with the video tag. The alpha channel is displayed correctly in Chrome but not in Firefox nor Edge - there's a black background. I thought those browsers had good support for WebM? Am I missing something? Markup looks like this: <video autoplay loop muted poster="example.jpg"> <source src="video.webm" type="video/webm"> </video> Thanks in advance! :) //EDIT I got alpha channel working with Firefox: Used VP8 instead of VP9 codec. Edge is still a mystery. 来源: https

How to Convert animated .gif into .webm format in Python?

喜欢而已 提交于 2019-12-24 03:25:59
问题 I have a web application built on Django where images and animated Gif can be uploaded. However GIF takes long time to load. I was thinking of converting all uploaded gif into webm format and show it on the frontend using HTML5 video tag. I searched a lot for doing this in Python but could not find specific solution. I found this solution. But I want to know is it possible to convert gif into webm while uploading in python or is there any library in python from which this conversion can be

Recording cross-platform (H.264?) videos using WebRTC MediaRecorder

感情迁移 提交于 2019-12-23 07:32:03
问题 I have the following specified with my MediaRecorder implementation: const getMediaRecorderOptions = function () { var options = { mimeType: "video/webm;codecs=vp8" }; // 9 was lagggy, cpu-intensive if (!MediaRecorder.isTypeSupported(options.mimeType)) { logger.recorderLog(options.mimeType + " is not Supported"); options = { mimeType: "video/webm;codecs=vp8" }; if (!MediaRecorder.isTypeSupported(options.mimeType)) { logger.recorderLog(options.mimeType + " is not Supported"); options = {

VLC stream to MP4 WEBM and Flash

只愿长相守 提交于 2019-12-22 20:51:10
问题 I am trying to stream video from a IP Cam to my my Wordpress site. I would like my stream to be available via common devices Windows, Mac, Android and IOS. Currently I am using VLC to stream,but I can only get a flash stream to work but I would like to do FLV, MP4 and webm. What player should I use to display the MP4 and webm video on the site? Also I don't think the calls to VLC are correct cause I can't open the MP4 and webm stream in VLC on another computer, but I can open the flv stream.