html5-video

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 to port Qt4.6 Phonon based media-application to Qt 5.1?

左心房为你撑大大i 提交于 2020-01-02 07:10:17
问题 I have a Qt 4.6 based application which use QtWebView to load a HTML page with tag inside to play a network multimedia source on Windows platform. Instead of using the default PHONON playback engine i build another PHONON back-end engine to handle the media download, demuxer,decoder, rendering etc. It works pretty well. However i need to update to Qt 5.1 to benefit the improvement and bug fix in latest QtWebView. From Qt 4.8 PHONON was dropped and when porting to Qt 5.1 my self implemented

Do html 5 videos buffer on page load or only when playing the video?

时光总嘲笑我的痴心妄想 提交于 2020-01-02 05:33:25
问题 If I wanted to embed 20 videos on a page will they all start buffering on page load or will they wait until they are played/interacted with for the first time? If they buffer on load how could I circumvent this until I want to display the video? I don't want a user to be buffering 20 videos when they may only be watching one or even none at all. 回答1: You are looking at the preload attribute of HTML5 video tag. Here is the doc. Basically there are three options : auto - when browser should

Displaying vertical videos with html5 on chrome

好久不见. 提交于 2020-01-02 05:23:11
问题 I'm building a simple page to display videos uploaded from my iphone using the html5 video tag. if you're watching it with chrome you probably see this video is presented horizontal, although it's not- try to download it or watching it from safari (haven't tried another browsers). I havne't found anything on the net mention this problem, is it a known chrome bug? does this tag any attribute that I can change to display it properly? Thanks. Edit: looks like this also happen in IE 回答1: It's an

Video streaming to ipad does not work with Tapestry5

女生的网名这么多〃 提交于 2020-01-02 02:43:06
问题 I want to stream a video to my IPad via the HTML5 video tag with tapestry5 (5.3.5) on the backend. Usually the serverside framework shouldn't even play a role in this but somehow it does. Anyway, hopefully someone here can help me out. Please keep in mind that my project is very much a prototype and that what I describe is simplified / reduced to the relevant parts. I would very much appreciate it if people didn't respond with the obligatory "you want to do the wrong thing" or security

html5 videos not showing controls on android once loaded

雨燕双飞 提交于 2020-01-01 19:29:13
问题 Good day. I am currently working on a hybrid app using framework7 which has an html5 video. The video works fine and loads just ok but whenever the video goes on fullscreen or the controls disappear from the video player interface it wont show up again when I press the video playing. I am using <video width="100%" height="auto" controls </video> . Would there be a way to fix this or is this a limitation on the hybrid app itself? Thank you for your help. 回答1: That issue is caused by fastclick.

Javascript event listener to start video at certain time and stop video after certain duration

好久不见. 提交于 2020-01-01 19:01:41
问题 I'm trying to get my video (locally hosted, not streamed) to start after a certain time and stop after a certain duration. Someone here helped me out here with Javascript, but it's not working for me -- no effect on time of playback at all. So, in my header, I've called the javascript like this: <script src="Backend/build/Timer.js"></script> And the actual javascript looks like this: // JavaScript Document var starttime = 2000; // start at 2 seconds var endtime = 4000; // stop at 4 seconds

Playing Video with Django and html5 tag

℡╲_俬逩灬. 提交于 2020-01-01 16:46:48
问题 I am trying to play a video by using django with html5 video tag but couldn't. The main problem is that the server cannot get a video file. I got this error: [06/Jan/2014 23:52:07] "GET absolute_path_of_media/sample.mp4 HTTP/1.1" 404 2422 and in inspect elements: Here, I will show you my code. templates/videoplay.html: {% extends "app/base.html" %} {% block contents %} <video name='demo' controls autoplay width='50%' height='40%'> <source src="{{media}}/sample.mp4" type="video/mp4"></source>

HTML5 video player: dynamically loading videos

China☆狼群 提交于 2020-01-01 04:21:05
问题 So, using a HTML 5 compliant video player, (like Video JS) how would one go about loading a video dynamically, without having to reload the entire page? Imagine, a list of links (something like a playlist), and each link points to a video. When clicking the link, I want to load the selected video into player. Currently, I'm using an Iframe that holds the video player, so basically a I pass a variable on to the Iframe, and reload it. I don't think this is ideal, for a few reasons; it doesn't

cross-origin video in Safari

余生长醉 提交于 2020-01-01 03:28:06
问题 Does anyone know if Safari supports crossorigin attribute on the HTML5 <video> tag? I serve video from a server that responds with all needed CORS headers, and I use the markup below to embed the video to my page. The page is served from a different domain. <video controls crossorigin="anonymous" src="http://example.com/movie.mp4"> I then draw the video to a canvas and get the image from the canvas using toDataURL API. This works in Chrome and Firefox, but Safari throws the security error as