
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/nowardev/kde-peace-settings/tree/master/kde-services-menu/kde-service-menu-video-dl
video demo
http://www.youtube.com/watch?v=qBWzLGr1jfM
Service menu for konqueror lovers that let you to download videos and extract audio track
INSTALLATION
i use kde 5 but i have konqueror : ./install kde4
i use kde 4 : ./install
Methods :
for website not supported from youtube-dl the methos is based on lsof method.
for
CollegeHumor, Comedy Central, Dailymotion, Facebook, Metacafe,yVideo, Photobucket, The Escapist,Vimeo,Yahoo!, YouTube, blip.tv, depositfiles.com, video.google.com,xvideos, Soundcloud, InfoQ, Mixcloud, OpenClassRoom.
the service menu will work with youtube-dl
Dependences
mawk youtube-dl ffmpeg ffprobe
kde-service-menu-video-dl
Options :
-l : Allow to download a video from terminal , you need to specify a link
-p : play Flash video with ffplay
-s : saves Flash Video , files will be copied in /tmp folder
-y : download the video from youtube with youtube-dl
-yq : download the video from youtube with youtube-dl choosign video quality
-mp3 : download the video from youtube and convert it on mp3
-mp3q : download the video from youtube and convert it on mp3 but select the video quality
-e : download the video from youtube and extract audio track
-eq : download the video from youtube and extract audio track selecting before video quality
-v : print version
-h : print this help
function detect flash based on:
array=("/proc/$(lsof -n | awk ' /Flash/{print ; exit}')/fd/$(ls -l "/proc/$(lsof -n | awk ' /Flash/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}')")
for firefox :
array=("/proc/$(lsof -n | awk ' /plugin-co/{print ; exit}')/fd/$(ls -l "/proc/$(lsof -n | awk ' /plugin-co/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}')")
thanks to Vincenzo Tibullo for the big help with progressbar and bash code :) crazy stuff in free time :P that maybe none will use
upgraded installer 4 years ago
upgraded installer
upgraded installer 4 years ago
upgraded installer
6 years ago
0.3.4
fix bug , if 2 flash are detected in the main detect function but 0 are detected in the firefox fucntion this script will not work properly
removed set -x from the script
improved detect players function , no more errors but just echos
0.3.3
fix problem when there are 2 flash with the same name
---------------------------------------
0.3.2
fix double flash in save video flash function
now if vlc is choosen like player it will be started without asking for flash paths , every flash will be loaded.
0.3.1
fix double flash issue
vlc will load every flash that lsof will detect no matter what you select.
--------------------------------------
0.3.0
------------------------------------
new lsof function for firefox buffered videos :)
new quality menus
exctract mp3 best quality
exctract original track
download best quality video
cancel button should work now
----------------------------------------
0.1.1
--------------------------------------
youtube function fix for video
: service menu download and extract audio track instead to download the video
koko2k
7 years ago
Report
nowardev
7 years ago
Report