Revision [785]

Last edited on 2016-04-27 10:50:12 by CyberKiller [change in flattr buttons]
Deletions:
>>""



"">>


Revision [661]

Edited on 2011-06-19 16:24:02 by CyberKiller [New flattr button]
Additions:

Deletions:



Revision [652]

Edited on 2011-05-09 06:11:20 by CyberKiller [flattr button]
Additions:
>>""



"">>
----::c::
Deletions:
----


Revision [640]

Edited on 2011-02-01 14:14:08 by CyberKiller [minor correction]
Additions:
====The script (version 1.0.3)====
system('ffmpeg -i "' . rtrim($name) . '" -threads 2 "' . substr(rtrim($name),0,-4) . '.webm"');
Deletions:
====The script (version 1.0.2)====
system('ffmpeg -i "./' . rtrim($name) . '" -threads 2 "./' . substr(rtrim($name),0,-4) . '.webm"');


Revision [637]

Edited on 2011-01-27 10:41:31 by CyberKiller [another minor correction]
Additions:
====The script (version 1.0.2)====
system('ls -1 ./*.[a,A][v,V][i,I] > /tmp/list-ckallavi2webm.txt');
$names = file('/tmp/list-ckallavi2webm.txt');
system('rm /tmp/list-ckallavi2webm.txt');
Deletions:
====The script (version 1.0.1)====
system('ls -1 *.[a,A][v,V][i,I] > ./list.txt');
$names = file('./list.txt');
system('rm ./list.txt');


Revision [636]

Edited on 2011-01-27 10:35:43 by CyberKiller [corrected so that it better matches all characters]
Additions:
====The script (version 1.0.1)====
system('ls -1 *.[a,A][v,V][i,I] > ./list.txt');
system('ffmpeg -i "./' . rtrim($name) . '" -threads 2 "./' . substr(rtrim($name),0,-4) . '.webm"');
Deletions:
====The script (version 1.0)====
system('ls -1 *.avi|cut -d. -f1 > ./list.txt');
system('ffmpeg -i "./' . rtrim($name) . '.avi" -threads 2 "./' . rtrim($name) . '.webm"');


Revision [635]

Edited on 2011-01-26 18:39:55 by CyberKiller [removed hyperlinks]
Additions:
======Avi to ""WebM"" convert======
This script converts all avi files (readable by ffmpeg) in the current directory to VP8/Vorbis videos, also known as ""WebM"".
Deletions:
======Avi to WebM convert======
This script converts all avi files (readable by ffmpeg) in the current directory to VP8/Vorbis videos, also known as WebM.


Revision [633]

Edited on 2011-01-26 18:37:51 by CyberKiller [first import]
Additions:
======Avi to WebM convert======
This script converts all avi files (readable by ffmpeg) in the current directory to VP8/Vorbis videos, also known as WebM.
~-ffmpeg (with libvpx and libvorbis support + any other codecs that are going to be read)
~-coreutils
Tested on Linux.
====The script (version 1.0)====
%%(php;1;ckallavi2webm.php)
/*
CkAllAvi2Webm - convert all avi files to webm using ffmpeg
Copyright (C) 2011 Łukasz "Cyber Killer" Korpalski
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
system('ls -1 *.avi|cut -d. -f1 > ./list.txt');
$names = file('./list.txt');
system('rm ./list.txt');
foreach($names as $name)
system('ffmpeg -i "./' . rtrim($name) . '.avi" -threads 2 "./' . rtrim($name) . '.webm"');
This program is under the [[http://www.gnu.org/licenses/gpl.html GNU GPL v3]] or later.
Deletions:
======Jamendo Ogg Vorbis direct downloader======
< This is a shell script that allows you to download music from [[http://jamendo.com jamendo.com]] in Ogg Vorbis format directly and easily (even multiple albums) - all you need to know is the album id.
~-wget
Tested on Linux, probably will work on other platforms supported by php-cli and wget as well.
====The script (version 1.0.1)====
%%(php;1;ckjamendooggdl.php)
if($_SERVER["argc"] > 1)
for($num=1; $num<=($_SERVER["argc"]-1); $num++)
{
$albumid = $_SERVER["argv"][$num];
system("wget http://www.jamendo.com/get/album/id/album/archiverestricted/redirect/" . $albumid . "/?p2pnet=bittorrent\&are=ogg3");
}
else
print("Jamendo Ogg downloader. Version 1.0.1 by Cyber Killer\n");
print("Get the latest version at http://digital.dharkness.info/CkJamendoOggDl\n\n");
print("Usage:\n");
print("ckjamendooggdl.php [albumid] [...]\n");
""

CC-GNU GPL


This program is under the CC-GNU GPL, version 2.0 or later.
""
====Special thanks====
I'd like to thank [[http://identi.ca/zal Karol „Zal” Zalewski]] for [[http://identi.ca/notice/9307143 showing me]] how to force downloading Vorbis files directly from [[http://jamendo.com Jamendo]]. Great thanks to [[http://jamendo.com Jamendo]] for providing such a great service, but you could add an option to download ogg Vorbis files normally ;-P.


Revision [632]

The oldest known version of this page was created on 2011-01-26 18:20:07 by CyberKiller [Cloned from CkJamendoOggDl]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki