quicktime

How to password protect streaming videos with php

 ̄綄美尐妖づ 提交于 2019-11-28 00:10:52
What is the best way to password protect quicktime streaming videos using php/.htaccess. They are being streamed using rtsp, but I can use other formats if necessary. I know how to do authentication with php, but I'm not sure how to setup authentication so that will protect the streaming files urls so that a user can't just copy the url and share it. Or am I overthinking this and I can just use a normal authentication scheme and place the files in a protected directory? Both nginx and lighttpd web servers have X-Send-File headers you can return from PHP. So you can do your checks in PHP and

generating MIDI in javascript [closed]

江枫思渺然 提交于 2019-11-27 14:19:33
问题 I'd like to generate a sequence of MIDI notes in javascript and then play it. Many plugins support MIDI, but I'm not aware of any supporting "data:" URL. Generating MIDI content is not a big deal - but feeding this content into player is. Anyone knows how this can be done - if not in general, then at least for specific plugin like QuickTime? 回答1: Very neat problem. I've been working a lot lately with base64-encoded images and have regularly been using http://www.greywyvern.com/code/php

iOS AVFoundation: Setting Orientation of Video

亡梦爱人 提交于 2019-11-27 07:55:17
I've been struggling with several dimensions to the problem of controlling video orientation during and after capture on an iOS device. Thanks to previous answers and documentation from Apple I've been able to figure it out. However, now that I want to push some video to a web site, I'm running into particular problems. I've outlined this problem in particular in this question , and the proposed solution turns out to require orientation options to be set during video encoding. That may be, but I have no clue how to go about doing this. The documentation around setting orientation is in respect

iOS AVFoundation: Setting Orientation of Video

不羁岁月 提交于 2019-11-26 13:54:32
问题 I've been struggling with several dimensions to the problem of controlling video orientation during and after capture on an iOS device. Thanks to previous answers and documentation from Apple I've been able to figure it out. However, now that I want to push some video to a web site, I'm running into particular problems. I've outlined this problem in particular in this question, and the proposed solution turns out to require orientation options to be set during video encoding. That may be, but