webm

Kurento Media WebRTC to RTP

偶尔善良 提交于 2019-12-01 12:55:26
I am using kurento's master git to make a WebRTC to RTP bridge. MediaPipeline pipeline = kurento.createMediaPipeline(); WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).build(); HttpGetEndpoint httpEndpoint=new HttpGetEndpoint.Builder(pipeline).build(); org.kurento.client.Fraction fr= new org.kurento.client.Fraction(1, 30); VideoCaps vc= new VideoCaps(VideoCodec.H264,fr); httpEndpoint.setVideoFormat(vc); AudioCaps ac= new AudioCaps(AudioCodec.PCMU, 65536); httpEndpoint.setAudioFormat(ac); webRtcEndpoint.connect(httpEndpoint); However inspite of this the output video playing

Kurento Media WebRTC to RTP

亡梦爱人 提交于 2019-12-01 10:16:24
问题 I am using kurento's master git to make a WebRTC to RTP bridge. MediaPipeline pipeline = kurento.createMediaPipeline(); WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).build(); HttpGetEndpoint httpEndpoint=new HttpGetEndpoint.Builder(pipeline).build(); org.kurento.client.Fraction fr= new org.kurento.client.Fraction(1, 30); VideoCaps vc= new VideoCaps(VideoCodec.H264,fr); httpEndpoint.setVideoFormat(vc); AudioCaps ac= new AudioCaps(AudioCodec.PCMU, 65536); httpEndpoint

Send chunks from MediaRecorder to server and play it back in the browser

一世执手 提交于 2019-12-01 09:08:27
问题 With the following code in NodeJS I'm able to play a webm file served from server: app.get('/video', function(req, res){ res.writeHead(200,{ 'Connection': 'close', 'Cache-Control': 'private', 'Content-Type': 'video/webm' }); console.log('Http client connected: Streaming!'); var readStream = fs.createReadStream('./small.webm'); readStream.pipe(res); }); Now I want to get the WebM directly from getUserMedia() API. So I used MediaRecorder within Socket.IO: // Client var mediaRecorder = new

现代浏览器:WebM 格式/网络视频的广泛应用

淺唱寂寞╮ 提交于 2019-11-30 09:27:13
WebM 常常用于很多网站背景的动态视频效果 开放、免费、开源、基于 HTML5 WebM 由 Google 提出,是一个开放、免费的媒体文件格式。 WebM 标准的网络视频更加偏向于开源并且是基于HTML5标准的。 基于 MKV 容器格式,内含 VP8 影片轨和 Ogg Vorbis 音轨 WebM 影片格式其实是以 Matroska(即 MKV)容器格式为基础开发的新容器格式,里面包括了 VP8 影片轨和 Ogg Vorbis 音轨, 其中 Google 将其拥有的 VP8 视频编码技术以类似 BSD 授权开源,Ogg Vorbis 本来就是开放格式。 来源: oschina 链接: https://my.oschina.net/u/2406231/blog/2395859

webm dash encoding… What are the correct ffmpeg parameters?

房东的猫 提交于 2019-11-30 05:32:28
I'm stumped with encoding videos into a dash compliant format. I'm going from .mp4 to .webm Firstly, I am running OS X and ffmpeg 2.5.4. Here's the encoding commands I am using in my test (I got these from here ): ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 25k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_25k.webm ffmpeg -i IMG_0113.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 50k -g 1 -tile-columns 4 -frame-parallel 1 -an -f webm -dash 1 video_160x90_50k.webm ffmpeg -i IMG_0113.mp4 -vn -acodec libvorbis -ab 128k -dash 1 audio_128k.webm ffmpeg -f webm_dash_manifest

MP4视频格式如何快速转换成WEBM格式

独自空忆成欢 提交于 2019-11-29 07:28:27
现在网络上都有很多查找视频资源的网站和工具,而且大部分网站和工具都是提供MKV视频格式和MP4视频格式的。网上还会出现一种一种视频格式,WEBM视频格式。这个WEBM格式画面清晰而且比特率也比较低。也就是说同样参数的视频文件,可能WEBM格式的视频会占用更小的内存。所以今天教大家如何把MP4视频格式快速转换成WEBM视频。 下面使用两种方法转换视频格式: 第一种:修改后缀名 1、最简单的方法就是直接修改名称。但是这个方法并不是所以的格式都可以这么做,有些修改后会打不开。选择MP4视频然后右键重命名将MP4格式改成WEBM格式即可。 第二种:专业的视频转换器 1、在使用专业的视频转换器之前还是需要先安装软件的。在迅捷视频官网中把迅捷视频转换器的安装文件下载到本地,然后需要设置安装的位置,然后就可以点击立即安装了。不然就会安装到C:\Program Files (x86)\videconverter路径中。 2、然后就是打开软件进行下一步的操作了。可以看到有很多的功能提供给我们使用和操作的。不过这里需要转换视频的格式,所以直接点击视频转换,然后进入其对应的转换页面中。至于其他的功能之后可以使用的。 3、然后就可以看到空白一片的操作界面,现在就需要把MP4视频添加到软件中了。点击添加文件按钮然后选择下载完成的MP4视频导入其中。或者使用添加文件夹的方法以及拖拽视频也能够完美导入视频文件。

Is it possible to merge multiple webm blobs/clips into one sequential video clientside?

戏子无情 提交于 2019-11-28 22:07:28
I already looked at this question - Concatenate parts of two or more webm video blobs And tried the sample code here - https://developer.mozilla.org/en-US/docs/Web/API/MediaSource -- (without modifications) in hopes of transforming the blobs into arraybuffers and appending those to a sourcebuffer for the MediaSource WebAPI, but even the sample code wasn't working on my chrome browser for which it is said to be compatible. The crux of my problem is that I can't combine multiple blob webm clips into one without incorrect playback after the first time it plays. To go straight to the problem

webm to mp4 conversion using ffmpeg

一曲冷凌霜 提交于 2019-11-28 15:53:40
When I try to convert a webm file to mp4 the output is very very choppy and it appears as if many frames have been dropped by ffmpeg I used the following commands to convert ffmpeg -i movie.webm movie.mp4 ffmpeg -i movie.webm -vcodec libx264 movie.mp4 ffmpeg -i movie.webm -vcodec libx264 -qscale 0 movie.mp4 All of them have the same problem. When I use ffprobe it seems to show the frames more or less properly. UPDATE: built on Jun 14 2013 14:31:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1) configuration: --prefix=/home/user2/ffmpeg_build --extra-cflags=-I/home/user2/ffmpeg_build/include -

How to (feature) detect if browser supports WebM alpha transparency?

一世执手 提交于 2019-11-28 12:49:45
I'm integrating a *.webm Video with alpha transparency. At the moment, the transparency is only supported in Chrome and Opera. (Demo: http://simpl.info/videoalpha/ ) Firefox for example plays the video as it supports the WebM format, but instead of the transparency, there's a black background. My plan is to display the video poster image instead of the video, if the browser does not support alpha transparency. So the video should only play, if the browser supports WebM alpha transparency. I know how to detect the browser or the rendering engine and therefore play the video (see code below) -

Encoding FFMPEG to MPEG-DASH – or WebM with Keyframe Clusters – for MediaSource API

柔情痞子 提交于 2019-11-28 04:34:30
I'm currently sending a video stream to Chrome, to play via the MediaSource API. As I understand it, MediaSource only supports MP4 files encoded with MPEG-DASH, or WebM files that have clusters beginning with keyframes (otherwise it raises the error: Media segment did not begin with keyframe). Is there any way to encode in MPEG-DASH or keyframed WebM formats with FFMPEG in real-time? Edit: I just tried it with ffmpeg ... -f webm -vcodec vp8 -g 1 so that every frame is a keyframe. Not the ideal solution. It does work with MediaStream now though. Any way to sync up the segments with the