So I’ve added in the Video for Everybody HTML code block for graceful JavaScript fallback. JavaScript is used to detect if there are enough capabilities of the browser to support the custom JavaScript HTML5 video controls, but JavaScript is not required.
Grab it while it is hot!
http://video.braydon.com/wp-univers-0.2.tar.gz
http://video.braydon.com/wp-univers-0.2.zip
i just noticed there is no flv encoded lol its mp4 and thus flvtool2 is useless.
i find web interface for wget !
http://irodov.nm.ru/wget4web/index.htm
http://irodov.nm.ru/wget4web/screen.htm
looking good
found something interesting
http://wordpress.org/extend/plugins/add-from-server/
it looks like its working for me, when I import using this plug-in or maybe it works due to me clicking the edit btn ?
i just noticed there is no flv encoded lol its mp4 and thus flvtool2 is useless.
http://wordpress.org/extend/plugins/add-from-server/
That looks like a great plugin, we would just need one that would be “Add for URL”
i find web interface for wget !
Looks like it’s written in Perl, so it would be difficult to get working in WordPress (PHP) maybe….
maybe curl ?
http://curl.netmirror.org/docs/manual.html
im reading it can do things such as wget and curl can be accessed from php ?
Thanks for the links and code.
Should come in handy.
hmm i wonder your sh script can it also encode everything inside the upload folder ? what i have in mind is using sh to automate the encoding inside the uploads folder, so anything that gets uploaded will be encoded and sent to the right place, i have this bash script which few others helped me with
#!/bin/bash
# ffmpeg and mencoder script
# Grab thumb from avi, start encoding to ITU h264 using mencoder, ffmpeg is doing thumb processing
# Bash script for operating system Ubuntu 8.10
# packages used : FFMPEG, MENCODER ,MPLAYER ENCODING ENGINE
# VIDEO CODEC ITU H264 AUDIO MP3
# Written by FakeOutdoorsman and updated by mysoogal
# Attribution-Noncommercial 3.0 Unported
# http://creativecommons.org/licenses/by-nc/3.0/deed.en
# trackback http://ubuntuforums.org/showthread.php?t=960627
# Location of source videos
sourcelocation=”/home/yugo/Desktop/video/”
# Extension of source videos
sourceext=”avi”
# grab thumbs hehehe ! yahhoo hope this works!
find ${sourcelocation} -iname “*${sourceext}” -exec ffmpeg -v 0 -y -i {} -vframes 1 -ss 90 -vcodec mjpeg -f rawvideo -s 286×160 -aspect 16:9 {}.jpg \;
# Check to see if videos were encoded, then delete source vids and shutdown
if [ -e "${sourcelocation}*.ogm" ] && [ -e "${sourcelocation}*.jpg" ]; then
# Delete videos
rm ${sourcelocation}*.ogm
# Sleep for 10 seconds before shutting down
sleep 10
# Shutdown computer
# sudo shutdown -h now
else
echo “Encoding FAILED”
fi
# Convert all video clips to ITU H264 OGM video container
find ${sourcelocation} -iname “*${sourceext}” -exec mencoder {} -o {}.ogm -af volume=10 -aspect 16:9 -of avi -noodml -ovc x264 -x264encopts bitrate=300:level_idc=41:bframes=3:frameref=2: nopsnr: nossim: pass=1: threads=auto -oac mp3lame \;
exit
it automates the video encoding process and gets jpg then sends to some other folder or etc i wonder if this can be used instead, this way you have many methods to upload to wordpress, it could be ftp, curl,wget etc the file just needs to be in the uploads folder. hmm this way remote uploads and other limiting factors are taken out
makes any sense,
Hm. I like the idea of a script going through the videos uploaded to see what has been uploaded and checking to make sure everything is encoded. This way it can be run after something is uploaded, I’d like to see it have some sort of queue so that if there are a lot of videos they don’t all try to encode at once.
This would decouple the encoding from the WordPress plugin, which would be great to do. That way it doesn’t really matter how the videos get there. Would be extra awesome if the Media Library would show any videos in the upload folder, so you could FTP them yourself, and they would show up in WordPress’ Media Library…
Something else I’ve been wanting to do is find a way to have a webservice setup to be able to encode videos, that way they don’t need to install FFMPEG. Also I am thinking about having an option to manually upload the files, so no encoding on the server is necessary.
What do you think?
” webservice setup ” you mean paid encoding service ? or local encoding service anyways
encoding.com has API, heywatch.com has API but you know these things are so expensive for a normal user,
” script going through the videos uploaded to see what has been uploaded ”
would be nice, i figured in the plug-in if i change the width height videos will all be re-encoded
doesn’t plug-in already provide that ” some sort of queue ” ?
“This would decouple the encoding from the WordPress plugin”
just like my idea ! i was thinking to remove the need for WP in order to encode or upload, i was thinking to somehow take that plug-in process outside and do it under some type of system service setup then we can just upload or ftp whatever into that folder and when completes we can view that in Media Library, from there we can just post as normal,
i think a service setup is pretty much good
i think this could probably be done on python or bash scripting im reading bash can also use mysql so inserting new records i think for encoding should work :O
http://www.edlsystems.com/shellsql/
p2p video encoding for Linux , and Windows
local encoding service ?
http://codergrid.de/
[...] Die Lösung funktioniert auch mit dem iPhone. Da der Code etwas umgangreich ist, gibt es auch ein Plugin für Wordpress und ein Python-Modul für Django, CherryPy und andere. Notiz an mich: Testen! [Peter van I. per [...]
Hey,
would you add your plugin to the wordpress plugin codex? Or is it too advanced for that?
Would be nice to be able to install it right from inside WP. :-9
@Odin / Velmont
It’s not ready for the plugin codex. Would still like to work out a few issues before that. The difficulty with FFMPEG right now is one of the hang-ups. There also isn’t a configuration page, everything is done by modifying the code, which is the wrong way to do it. I would like to get it to the wordpress plugin codex sometime though.