(ASK) Aplikasi download video

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
yudha_00
Posts: 47
Joined: 16 Jul 2013, 13:13
Location: yogyakarta, Indonesia

(ASK) Aplikasi download video

Postby yudha_00 » 21 Jul 2013, 22:01

misi gan, mau tanya nih, aplikasi untuk download video dari youtube dan download lain-lain apa ya namanya? kalau bisa sih berbasis gui.. saya pakai ubuntu 12.10. makasih sebelumnya
User avatar
Uchiha_Obito
Posts: 8
Joined: 18 Jul 2013, 02:09
Location: palu

Re: (ASK) Aplikasi download video

Postby Uchiha_Obito » 22 Jul 2013, 04:27

coba xdman mas....mirip idm klw di OS sebelah. syaratnya harus sudah tersinstal java.
User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: (ASK) Aplikasi download video

Postby abu_unaisah » 22 Jul 2013, 10:16

pasang add-ons di firefox
User avatar
Rendi_7936
Posts: 229
Joined: 19 Jan 2013, 15:02
Location: Malang, Indonesia
Contact:

Re: (ASK) Aplikasi download video

Postby Rendi_7936 » 22 Jul 2013, 12:26

Install aja addons 1 click youtube downloader, cma klemahanny gak bsa ngresume coale download d firefox

Alternatif laen tany dbwah sya :D
User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: (ASK) Aplikasi download video

Postby abu_unaisah » 22 Jul 2013, 13:01

kalo untuk youtube, yg paling oke dowload pake youtube-dl lewat terminal
bisa di resume dengan opsi -c
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: (ASK) Aplikasi download video

Postby q_p » 22 Jul 2013, 21:17

abu_unaisah wrote:kalo untuk youtube, yg paling oke dowload pake youtube-dl lewat terminal
bisa di resume dengan opsi -c

Setuju dengan mas Abu. Saya pakai skrip-nya calomel
Tampilkan

Code: Select all

#!/usr/bin/perl -T

use strict;
use warnings;

#
##  Calomel.org  ,:,  Download Youtube videos and music using wget
##    Script Name : youtube_wget_video.pl
##    Version     : 0.33
##    Valid from  : May 2013
##    URL Page    : https://calomel.org/youtube_wget.html
##    OS Support  : Linux, Mac OSX, OpenBSD, FreeBSD or any system with perl
#                `:`
## Two arguments
##    $1 Youtube URL from the browser
##    $2 prefix to the file name of the video (optional)
#

############  options  ##########################################

# Option: what file type do you want to download? The string is used to search
# in the youtube URL so you can choose mp4, webm, avi or flv.  mp4 seems to
# work on the most players like android, ipod, ipad, iphones, vlc and mplayer.
my $fileType = "mp4";

# Option: what visual resolution or quality do you want to download? List
# multiple values just in case the highest quality video is not available, the
# script will look for the next resolution. You can choose "highres" for 4k
# (4096x2304), "hd1080" for 1080p, "hd720" for 720p, "itag=18" which means
# standard definition 640x380 and "itag=17" which is mobile resolution 144p
# (176x144). The script will always prefer to download the highest resolution
# video format from the list if available. Do not download highres 4k content
# unless you have a 4k tv. That would just be silly.
my $resolution = "hd1080,hd720,itag=18";

# Option: How many times should the script retry the download if wget fails for
# any reason? Do not make this too high as a reoccurring error will just hit
# youtube over and over again. A value of 3 to 10 works well.
my $retryTimes = 5;

# Option: do you want the resolution of the video in the file name? zero(0) is
# no and one(1) is yes. This option simply puts "_hd1080.mp4" or similar at the
# end of the file name.
my $resolutionFilename = 0;

# Option: turn on DEBUG mode. Use this to reverse engineering this code if you are
# making changes or you are building your own youtube download script.
my $DEBUG=0;

#################################################################

## clear the environment and set our path
$ENV{ENV} ="";
$ENV{PATH} = "/bin:/usr/bin:/usr/local/bin";

## initialize retry loop and resolution variables
my $prefix = "";
my $retry = 1;
my $retryCounter = 0;
my $resFile = "unknown";
my $user_url = "";
my $user_prefix = "";

## collect the URL from the command line argument and untaint the input
chomp($user_url = $ARGV[0]);
my $url = "$1" if ($user_url =~ m/^([a-zA-Z0-9\-\&\?\=\:\.\/\_]+)$/ or die "\nError: Illegal characters in YouTube URL\n\n" );

## declare the user defined file name prefix if specified and untaint the input
if (defined($ARGV[1])) {
   chomp($user_prefix = $ARGV[1]);
   $prefix = "$1" if ($user_prefix =~ m/^([a-zA-Z0-9\_\-\.\ ]+)$/ or die "\nError: Illegal characters in filename prefix\n\n" );
}

## retry getting the video if the script fails for any reason
while ( $retry != 0 && $retryCounter < $retryTimes ) {

## download the html code from the youtube page suppling the page title and the
## video url. The page title will be used for the local video file name and the
## url will be sanitized and passed to wget for the download.
my $html = `wget -Ncq -e convert-links=off --keep-session-cookies --save-cookies /dev/null --no-check-certificate "$url" -O-`  or die  "\nThere was a problem downloading the HTML file or the video is not open to the public.\n\n";

## format the title of the page to use as the file name
my ($title) = $html =~ m/<title>(.+)<\/title>/si;
$title =~ s/[^\w\d]+/_/g or die "\nError: title of the HTML page not found. Check the URL.\n\n";
$title =~ s/_youtube//ig;
$title =~ s/^_//ig;
$title = lc ($title);
$title =~ s/_amp//ig;

## collect the URL of the video from the HTML page
my ($download) = $html =~ /"url_encoded_fmt_stream_map"(.*)/ig;

# Print all of the separated strings in the HTML page
print "\n$download\n\n" if ($DEBUG == 1);

# This is where we look through the HTML code and select the file type and
# video quality.
my @urls = split(',', $download);
OUTERLOOP:
foreach my $val (@urls) {
#   print "\n$val\n\n";

    if ( $val =~ /$fileType/ ) {
       my @res = split(',', $resolution);
       foreach my $ress (@res) {
         if ( $val =~ /$ress/ ) {
         print "\n\nGOOD\n\n" if ($DEBUG == 1);
         print "$val\n" if ($DEBUG == 1);
         $resFile = $ress;
         $resFile = "sd640" if ( $ress =~ /itag=18/ );
         $resFile = "mb144" if ( $ress =~ /itag=17/ );
         $download = $val;
         last OUTERLOOP;
         }
       }
    }
}

## clean up the url by translating unicode and removing unwanted strings
$download =~ s/\:\ \"//;
$download =~ s/%3A/:/g;
$download =~ s/%2F/\//g;
$download =~ s/%3F/\?/g;
$download =~ s/%3D/\=/g;
$download =~ s/%252C/%2C/g;
$download =~ s/%26/\&/g;
$download =~ s/sig=/signature=/g;
$download =~ s/\\u0026/\&/g;
$download =~ s/(type=[^&]+)//g;
$download =~ s/(fallback_host=[^&]+)//g;
$download =~ s/(quality=[^&]+)//g;

## collect the url and sig since the html page randomizes their order
my ($signature) = $download =~ /(signature=[^&]+)/;
my ($youtubeurl) = $download =~ /(http?:.+)/;
$youtubeurl =~ s/&signature.+$//;

## combine the url and sig in order
$download = "$youtubeurl\&$signature";

## a bit more cleanup as youtube
$download =~ s/&+/&/g;
$download =~ s/&itag=\d+&signature=/&signature=/g;

## combine file variables into the full file name
my $filename = "unknown";
if ( $resolutionFilename == 1 ) {
   $filename = "$prefix$title\_$resFile.$fileType";
  } else {
   $filename = "$prefix$title.$fileType";
}

## Process check: Are we currently downloading this exact same video? Two of the
## same wget processes will overwrite themselves and corrupt the video.
my $running = `ps auwww | grep [w]get | grep -c "$filename"`;
print "\nNumber of the same wgets running: $running\n" if ($DEBUG == 1);
if ($running >= 1)
  {
   print "\nAlready downloading the same filename, exiting: $filename\n";
   exit 0;
  };

## Print the long, sanitized youtube url for testing and debugging
print "\n$download\n" if ($DEBUG == 1);

## print the file name of the video collected from the web page title for us to see on the cli
print "\n Download: $filename\n\n";

## Background the script. Use "ps" if you need to look for the process
## running or use "ls -al" to look at the file size and date.
fork and exit;

## Download the video
system("wget", "-Ncq", "-e", "convert-links=off", "--load-cookies", "/dev/null", "--tries=200", "--timeout=20", "--no-check-certificate", "$download", "-O", "$filename");

## Print the error code of wget
print "     error code: $?\n" if ($DEBUG == 1);

## Exit Status: Check if the file exists and we received the correct error code
## from system call. If the download experienced any problems the script will run again and try
## continue the download till the file is downloaded.

if( $? == 0 && -e "$filename" && ! -z "$filename" )
   {
      print " Finished: $filename\n\n" if ($DEBUG == 1);
      $retry = 0;
   }
 else
   {
     print STDERR "\n FAILED: $filename\n\n" if ($DEBUG == 1);
    $retry = 1;
    $retryCounter++;
    sleep $retryCounter;
   }
}

#### EOF #####
Cara pakainya
Tampilkan

Code: Select all

## Example 1: Here we just pass the youtube URL
#
user@machine$ ./youtube_wget.pl http://www.youtube.com/watch?v=ejkm5uGoxs4

     Download: radscorpion.mp4


## Example 2: Here we pass the Youtube URL and the file name prefix "toby_"
#
user@machine$ ./youtube_wget.pl http://www.youtube.com/watch?v=ejkm5uGoxs4 toby_

     Download: toby_radscorpion.mp4

reff = https://calomel.org/youtube_wget.html
User avatar
RawOne
Posts: 128
Joined: 07 Jan 2013, 12:28
Location: /indonesia/aceh/tamiang

Re: (ASK) Aplikasi download video

Postby RawOne » 23 Jul 2013, 01:42

ane biasa pake add-ons flashgot di firefox download diarahkan pakai axel
User avatar
Rendi_7936
Posts: 229
Joined: 19 Jan 2013, 15:02
Location: Malang, Indonesia
Contact:

Re: (ASK) Aplikasi download video

Postby Rendi_7936 » 23 Jul 2013, 03:17

Mas, itu kalo download pake flashgot ad plihan ga?
kya jenis video sma kualitas video (720p, dll) seperti idm?
User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: (ASK) Aplikasi download video

Postby abu_unaisah » 23 Jul 2013, 08:46

downloadhelper bisa pilih kualitas video

youtube-dl juga bisa
-f FMT, --format=FMT
Specify the video format (quality) in which to download the video.
For youtube.com, in particular, the meaning of the format codes is given as:

WebM video at 480p: 43
WebM video at 720p: 45
H264 video in MP4 container at 480p: 18
H264 video in MP4 container at 720p: 22
H264 video in MP4 container at 1080p: 37
H264 video in FLV container at 360p: 34
H264 video in FLV container at 480p: 35
H263 video at 240p: 5
3GP video: 17
User avatar
yudha_00
Posts: 47
Joined: 16 Jul 2013, 13:13
Location: yogyakarta, Indonesia

Re: (ASK) Aplikasi download video

Postby yudha_00 » 25 Jul 2013, 08:02

waaaaaa. jujur aja gan, saya masih bingung sama penjelasan agan-agan sekalian... maklum masih pemula..
mohon bantuannya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: (ASK) Aplikasi download video

Postby q_p » 25 Jul 2013, 08:35

Podho mas ...
Mari kita jamaah :)

Paling gampang pakai ad-on browser. Coba pakai mozilla, klik ad-on. Search di situ dengan keyword download-helper.
User avatar
timut
Posts: 31
Joined: 11 Jun 2013, 15:02
Location: Rangkasbitung, Indonesia
Contact:

Re: (ASK) Aplikasi download video

Postby timut » 25 Jul 2013, 09:53

saya pakai downloadhelper, add-ons di mozilla, tinggal pilih videonya, ada pilihan mau di save format/jenis file dan kualitas videonya :)
User avatar
Arunaru
Posts: 326
Joined: 19 Jan 2011, 13:44
Contact:

Re: (ASK) Aplikasi download video

Postby Arunaru » 25 Jul 2013, 12:52

kalau ane biasanya pakai flash downloader atau easy youtube downloader yang ada di mozilla
:yay: :yay: :yay:
User avatar
yudha_00
Posts: 47
Joined: 16 Jul 2013, 13:13
Location: yogyakarta, Indonesia

Re: (ASK) Aplikasi download video

Postby yudha_00 » 27 Jul 2013, 07:57

saya udah nyoba uGet, tapi bisanya cuma bisa download yang dari youtube saja, video yang dari luar youtube saya nggak tau cara downloadnya, soalnya nggak muncul icon kaya IDM(Windows). mohon bantuannya
User avatar
23Pstars
Posts: 170
Joined: 14 Apr 2010, 18:57
Location: Mataram
Contact:

Re: (ASK) Aplikasi download video

Postby 23Pstars » 12 Aug 2013, 09:25

kalo dulu masih pake firefox biasa pake downloadhelper, tp skrg prefer pake chrome, kira2 ada ndak plugin mirip downloadhelper untuk chrome?

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 4 guests