Archiv

Artikel Tagged ‘javascript’

PhotoStack Template

18. November 2009 Keine Kommentare

Bianca Series – New Project File

18. November 2009 Keine Kommentare

Only one File. Images embeded with base64. Including Javascript, Stylesheet, Images and Favicon.

background: url("data:image/jpg;base64,<base64code>");
href="data:image/jpg;base64,<base64code>"

If you are looking fo an Base64 Encoder/Decoder visit Base64Online at Motobit.

Extract Audio from MP4 Video Files

[youtube w8iEJ0if0iE]

High Quality (funktioniert nicht mehr!)

javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']}

High Definition (funktioniert nicht mehr!)

javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt=22&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']}

Extract Audio

mplayer -quiet video.mp4 -ao pcm:fast:file=output.wav -vc dummy -vo null -channels 2 -ss 0:00 -endpos 5:00

Update

Bitte die Pfade anpassen und als .cmd oder .bat Datei abspeichern.

@echo off
set str=%~f1
set str=%str:~0,-4%
mplayer.exe "%~f1" -vc null -vo null -ao pcm:fast
lame.exe -V 2 audiodump.wav "%str%.mp3
del audiodump.wav
mplayer.exe "%str%.mp3"