maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   How To save a YouTube video? (https://talk.maemo.org/showthread.php?t=88835)

Yisroel491 2013-01-28 10:25

How To save a YouTube video?
 
is there an easy way to do this?

soryuuha 2013-01-28 11:31

Re: How To save a YouTube video?
 
cutetube.
.

thedead1440 2013-01-28 12:25

Re: How To save a YouTube video?
 
Use movgrab instead...

Yisroel491 2013-01-28 20:56

Re: How To save a YouTube video?
 
@thedead1440
downloaded and installed. i guess i have to use this via terminal like in the example in the movgrab thread. there isn't any detailed instructions i can read somewhere is there? maybe I'll be able to figure it out.

marxian 2013-01-28 21:02

Re: How To save a YouTube video?
 
If you want a GUI-based downloader, you can try my QDL. It's free and supports downloading of YouTube videos and playlists (plus other sites/filehosts). :)

http://talk.maemo.org/showthread.php?p=1291936

Yisroel491 2013-01-28 21:38

Re: How To save a YouTube video?
 
this movgrab isn't working for me so far. here's what happened:

~ $ -bash-2.05b$ movgrab -T http://m.youtube.co
m/watch?v=X9uk9IcoQ0w#
-/bin/sh: -bash-2.05b$: not found

Artyom 2013-01-28 21:42

mediadownloaderlite

Yisroel491 2013-01-28 21:56

Re: How To save a YouTube video?
 
@marxian
not only does it work, but faster than i could say color me purple pokadots. why is it that the browser doesn't stream so fast?

ladoga 2013-01-29 06:03

Re: How To save a YouTube video?
 
Quote:

Originally Posted by Yisroel491 (Post 1318559)
this movgrab isn't working for me so far. here's what happened:

~ $ -bash-2.05b$ movgrab -T http://m.youtube.co
m/watch?v=X9uk9IcoQ0w#
-/bin/sh: -bash-2.05b$: not found

Are you reading at all what you type? Or giving two thoughts about why and how?

Tip: Run movgrab instead of copy pasting someone's bash prompt.

Yisroel491 2013-01-29 09:43

ok that's why i asked for some instructions.

ladoga 2013-01-29 12:25

Re: How To save a YouTube video?
 
Quote:

Originally Posted by Yisroel491 (Post 1318684)
ok that's why i asked for some instructions.

Sorry for being rude, I should think twice before posting.

$ indicates user's command prompt so it should not be typed. Anything that comes after it is the command. With --help flag most commands will show a help page, which will tell you the syntax to use and some useful command line arguments (aka flags). For example:
Code:

$ movgrab --help
Its output will tell us among other things that -T flag will run movgrab in test mode and show available video formats and resolutions without actually downloading anything.

If you just want to download a file, without specifying a resolution or a format you can just type movgrab followed with an URL to a web page showing the video. For example:
Code:

$ movgrab http://www.youtube.com/watch?v=B2Je1CEPkUM
Movgrab works also for many other sites.

Yisroel491 2013-01-29 12:42

Re: How To save a YouTube video?
 
made a little progress but i still haven't got it.
here is what i got this time:

$ movgrab http://m.youtube.com/watch?v=OzyI52
mb2Io

Formats available for this Movie:webm:854x480
ERROR: 403


Selected format item:3gp:400x240
Segmentation fault
/ $

which is generally the best format to select for playing videos on the phone? the QDL app works fine i just trying the movgrab for fun.

thedead1440 2013-01-29 13:17

Re: How To save a YouTube video?
 
Yisroel491,

Did you read the OP of the thread I linked to? Did you check the options available via --help?

For example we take this youtube link: http://www.youtube.com/watch?v=XSh65...V3g58bFQ-Wvc7Q

First you would do:
Code:

movgrab -T http://www.youtube.com/watch?v=XSh65fT-3Ds&list=UUyEAtrGiSV3g58bFQ-Wvc7Q
The above would give you the formats available; once you decide a format you use the -f flag as follows:

Code:

movgrab -f mp4:1280x720 http://www.youtube.com/watch?v=XSh65fT-3Ds&list=UUyEAtrGiSV3g58bFQ-Wvc7Q
You can add -o "FILE_NAME" too in the above code to save the video to a name you desire...

ladoga 2013-01-29 13:29

Re: How To save a YouTube video?
 
I wonder why it segfaults, must be a bug. I installed the n900 package of movgrab (on N9) and without arguments it downloads the lowest resolution available.

thedead1440 2013-01-29 13:31

Re: How To save a YouTube video?
 
Quote:

Originally Posted by ladoga (Post 1318740)
I wonder why it segfaults, must be a bug. I use the n900 version of movgrab and without arguments it downloads the lowest resolution available.

The lowest resolution is downloaded if no options specified on the Harmattan version too; never seen a seg fault here personally...

Yisroel491 2013-01-29 15:38

Re: How To save a YouTube video?
 
i used the -f flag to select a mp4 480x360 format. it's working but i think it's taking a lot longer than the QDL app would've.

ladoga 2013-01-29 16:25

Re: How To save a YouTube video?
 
Quote:

Originally Posted by Yisroel491 (Post 1318780)
i used the -f flag to select a mp4 480x360 format. it's working but i think it's taking a lot longer than the QDL app would've.

Yes, using graphical download manager is often more convinient, but it's good to have options + more sites covered just in case.

About those video formats/resolutions. Default video player in N9 is quite picky, but kmplayer should play most formats you encounter. As a general rule videos with equal or smaller resolution than n9 display (854 × 480) play very smoothly. x264 baseline encoded 720p videos also play fine, but obiviously you will see them as 480p due to screen resolution.

yaliang 2013-01-29 17:22

Re: How To save a YouTube video?
 
i use this:flvcd.com

jotoco 2013-01-29 17:55

Re: How To save a YouTube video?
 
Quote:

Originally Posted by Yisroel491 (Post 1318568)
@marxian
not only does it work, but faster than i could say color me purple pokadots. why is it that the browser doesn't stream so fast?


I often times ask why Cutetube downloads (and streams) MUCH faster than my desktop or android tablet could ever hope to.

Yisroel491 2013-01-29 21:54

Re: How To save a YouTube video?
 
@ladoga
thanks for the info about the size and resolution. icopied that to my notes for further reference. and don't worry about being rude. you can get away that of you're being helpful at the same time. I'm starting to read up on the stuff that I'm supposed to already know if I'm to dabble in uncertified software ect.. although allot of the info and tutorials on LinuxCommand.org don't exactly apply to MeeGo/Hartmann.


All times are GMT. The time now is 22:54.

vBulletin® Version 3.8.8