Upload videos to create custom video posts. With FFMPEG installed, it encodes and creates splash image.
Q: I get a "Page not found" error when I view my new video post. Why is this happening? A: With any new custom post type being registered with WordPress, the permalinks need to be updated. The solution is go to the 'Settings'->'Permalinks' and save your current links structure again.
Q: I'm running WordPress multisite and I get the message that says something about the file type not being supported. How do I fix that? A: If you are using WordPress multisite, then you need to manually list the type of video formats to allow for upload. This is done by logging in to the wp-admin, and going to 'My Site' => 'Network Admin', then click on 'Settings' => 'Network Settings'. Scroll down to the Upload Settings section of the network settings page and add the format in the Upload file types list.
Q: I'm using the plugin but I do not have FFMPEG installed on my server. How can I create my own default splash image and have it display rather than the default image supplied with the plugin? A: You can create an image with the dimensions you want and upload it to your server to override our default_image.png located in the /wp-content/plugins/wp-video-posts/images/ directory.
Q: How do I install FFMPEG if I have root access on my server? A: If you have either CentOS, RedHat or Fedora you can follow these steps: 1. First you would need to install the DAG RPM repositories which contains huge amount of rpm packages:
For Linux 5 / x86_64 (please, Google commands for other versions of Linux): Type the following on the command line: rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm 2. Type the following on the command line: yum install ffmpeg ffmpeg-devel 3. Restart Apache. An example for CentOS would be: Type the following on the command line: sudo /etc/init.d/httpd restart
Q: I have ffmpeg on the server but encoding of the video doesn't work for me A: 1. Check what version of ffmpeg is installed. We usually recommend FFmpeg version 0.6.5 (currently, the latest stable) with the following configuration:
configuration: --prefix=/usr --enable-gpl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-version3 --enable-libfaac --enable-nonfree
ffmpeg -codecs | less
As of now Debian ffmpeg repository distribution DOES NOT include libx264. You will have to compile ffmpeg yourself from source. There are a lot of good tutorials on web how to install ffmpeg on Debian with libx264 support.
You must Install ffmpeg on your server.
If you do not have ffmpeg support on your server, this plugin will simply ignore the conversion and proceed with the rest of the process. The supported file formats without ffmpeg installed would only be FLV and MP4. In addition, the splash image will not be generated either and the default image will be displayed.
You can convert your video manually by using online resources or programs on your computer. One online resource is this: http://video.online-convert.com/convert-to-flv