kylegilman / video-embed-thumbnail-generator

A WordPress plugin that generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG or LIBAV for encoding.
http://wordpress.org/plugins/video-embed-thumbnail-generator/
GNU General Public License v2.0
48 stars 27 forks source link

Extension: VOD Streaming (Wowza Media Server) #277

Closed benhartwich closed 8 years ago

benhartwich commented 8 years ago

Hi,

we use the wowza media server to stream videos. A colleague has extended your plugin to this functionality: If it´s activated all videos are stored at one location under wp-content - on this way all videos can be synced via rsync to the vod folder at the wowza media server after all videos are encoded through your plugin. All embed codes except the embedding code for the video itself at the player are rewrited to the wowza streaming integration. Also dash.js etc. is activated: the three encoded qualities are streamed dynamically with the wowza transcoder engine.

You can have a look at: https://develop.intelec.uni-passau.de/gitlab/medien/vod-streaming

We would appreciate, if you can integrate this functionality to your plugin.

Regards,

kylegilman commented 8 years ago

I'm happy to add the necessary filter to the plugin, but not enthusiastic about adding specific support for a commercial streaming service. Once the filter is added you can continue to use your extension and shouldn't have to edit the core plugin file every time you upgrade.

kylegilman commented 8 years ago

I added a modified filter. I changed the filter name to kgvid_single_video_code, and it's not necessary to pass the $options array, so I eliminated it. The filter function can get the $options array using a command like this:

if ( function_exists('kgvid_get_options') ) { $options = kgvid_get_options(); }

n0risc commented 8 years ago

Hello @benhartwich . Thanks for your code implementing this. With this also work with .m3u8 manifests for dynamic streaming from AMS 5.x ?

benhartwich commented 8 years ago

Hi @n0risc please it supports all modern browser, also mobile. Just try it out, but only normal vod applications from wowza.

benhartwich commented 8 years ago

It works, thanks @kylegilman

kylegilman commented 8 years ago

Be advised, I just revised this filter in 7231a6b3c798c6e119ba021f899f3639829da7fb