Version Description
Download this release
Release Info
Developer | kylegilman |
Plugin | Video Embed & Thumbnail Generator |
Version | 0.2.1 |
Comparing to | |
See all releases |
Code changes from version 0.2 to 0.2.1
- kg_callffmpeg.php +2 -1
- readme.txt +4 -6
- video-embed-thumbnail-generator.php +1 -1
kg_callffmpeg.php
CHANGED
@@ -169,7 +169,8 @@ if ($action == generate || $action == encode ) {
|
|
169 |
$ogvfilepath = $encodepath.$moviefilebasename.".ogv";
|
170 |
|
171 |
if ( ! file_exists($ipodfilepath) ) {
|
172 |
-
$ipod_movie_height = strval(round(floatval($movie_height) / floatval($movie_width) * 640));
|
|
|
173 |
if ( strpos($movie_info['configuration'], 'enable-libfaac') && strpos($movie_info['configuration'], 'enable-libx264') ) {
|
174 |
$ffmpeg_ipod_options = " -acodec libfaac -ab 128k -s 640x".$ipod_movie_height." -vcodec libx264 -vpre slow -vpre ipod640 -b 800k -bt 800k -threads 0 -f ipod ".$ipodfilepath;
|
175 |
echo "<strong> Encoding iPod... </strong>";
|
169 |
$ogvfilepath = $encodepath.$moviefilebasename.".ogv";
|
170 |
|
171 |
if ( ! file_exists($ipodfilepath) ) {
|
172 |
+
$ipod_movie_height = strval(round(floatval($movie_height) / floatval($movie_width) * 640));
|
173 |
+
if ($ipod_movie_height % 2 != 0) { $ipod_movie_height++; }
|
174 |
if ( strpos($movie_info['configuration'], 'enable-libfaac') && strpos($movie_info['configuration'], 'enable-libx264') ) {
|
175 |
$ffmpeg_ipod_options = " -acodec libfaac -ab 128k -s 640x".$ipod_movie_height." -vcodec libx264 -vpre slow -vpre ipod640 -b 800k -bt 800k -threads 0 -f ipod ".$ipodfilepath;
|
176 |
echo "<strong> Encoding iPod... </strong>";
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: kylegilman
|
3 |
-
Tags: video, html5, shortcode, thumbnail
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.2.1
|
6 |
-
Stable tag: 0.2
|
7 |
|
8 |
Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes.
|
9 |
|
@@ -49,10 +49,6 @@ I’m not really a software developer. I’m just a film editor with some time o
|
|
49 |
|
50 |
Some of it will work without FFMPEG. You can generate embed codes for your videos on any host because that part of the plugin is JavaScript running in your browser. Without FFMPEG you won't be able to generate thumbnails or generate HTML5 videos. There is no way around this. A program has to read the video files in order to generate the thumbnails, and FFMPEG is the best one I've found to do that.
|
51 |
|
52 |
-
= Why do I have to upload the video separately and then copy and paste the URL? =
|
53 |
-
|
54 |
-
Because I am not a great programmer, and this was too much for me to figure out. In the future I'm hoping to integrate the plugin with the upload dialog box to streamline the process.
|
55 |
-
|
56 |
== Screenshots ==
|
57 |
|
58 |
1. The button added to the visual editor.
|
@@ -61,4 +57,6 @@ Because I am not a great programmer, and this was too much for me to figure out.
|
|
61 |
|
62 |
== Changelog ==
|
63 |
|
|
|
|
|
64 |
0.2 First Release
|
1 |
=== Plugin Name ===
|
2 |
Contributors: kylegilman
|
3 |
+
Tags: video, html5, shortcode, thumbnail, ffmpeg
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.2.1
|
6 |
+
Stable tag: 0.2.1
|
7 |
|
8 |
Generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG for thumbnails and encodes.
|
9 |
|
49 |
|
50 |
Some of it will work without FFMPEG. You can generate embed codes for your videos on any host because that part of the plugin is JavaScript running in your browser. Without FFMPEG you won't be able to generate thumbnails or generate HTML5 videos. There is no way around this. A program has to read the video files in order to generate the thumbnails, and FFMPEG is the best one I've found to do that.
|
51 |
|
|
|
|
|
|
|
|
|
52 |
== Screenshots ==
|
53 |
|
54 |
1. The button added to the visual editor.
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
0.2.1 Check made to ensure iPhone/iPod/Android compatible encode video height is an even number when HTML5 video encodes are made.
|
61 |
+
|
62 |
0.2 First Release
|
video-embed-thumbnail-generator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generate video thumbnails, HTML5-compliant videos, and video embed shortcodes. Some functions require FFMPEG.
|
6 |
-
Version: 0.2
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|
3 |
Plugin Name: Video Embed & Thumbnail Generator
|
4 |
Plugin URI: http://www.kylegilman.net/2011/01/18/video-embed-thumbnail-generator-wordpress-plugin/
|
5 |
Description: Generate video thumbnails, HTML5-compliant videos, and video embed shortcodes. Some functions require FFMPEG.
|
6 |
+
Version: 0.2.1
|
7 |
Author: Kyle Gilman
|
8 |
Author URI: http://www.kylegilman.net/
|
9 |
|