Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 14:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
You2pup-2.5 (Nov 2014) YouTube multi format video downloader
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 9 of 15 Posts_count   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12, 13, 14, 15 Next
Author Message
kostas801

Joined: 10 Jan 2009
Posts: 52
Location: Greece, Athens

PostPosted: Thu 19 Aug 2010, 04:05    Post_subject: youtube downloader 1.3.2 on lupu5.10  

I tried this you2pup-1.3.2.pet on lupu 5.10 linux
but it does not work.
It opens the console window, it finds the youtube.com site,
it locates the file and then the console window closes
and the result is a file of 88kb size (empty film)

any ideas about the problem

kostas
Back to top
View user's profile Send_private_message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Fri 20 Aug 2010, 19:01    Post_subject:  

Don't get bored with a GUI...

open the youtube page with the video and wait till it's fully downloaded,

go to /tmp (works the same in Chrome too), you'll find the video (Flash*),

if you want to save some disk space do:

Code:
ffmpeg -i Flash[press TAB for name completition] Video.mp4


to get an mp4 movie you can play with almost any player.
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 21 Aug 2010, 21:33    Post_subject:  

neurino wrote:
Don't get bored with a GUI...

open the youtube page with the video and wait till it's fully downloaded,

go to /tmp (works the same in Chrome too), you'll find the video (Flash*),

if you want to save some disk space do:

Code:
ffmpeg -i Flash[press TAB for name completition] Video.mp4


to get an mp4 movie you can play with almost any player.

thanks. works for me to get a mp4 playable on my Sony-ericson phone when other mp4 producing things have not.
edit: here are the output specs of the produced movie:
Code:

#ffmpeg -i Video.mp4
..(snip)..
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf52.68.0
  Duration: 00:00:45.20, start: 0.000000, bitrate: 293 kb/s
    Stream #0.0(und): Video: mpeg4, yuv420p, 320x240 [PAR 213:160 DAR 71:40], 262 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1(und): Audio: aac, 16000 Hz, stereo, s16, 28 kb/s
At least one output file must be specified

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 21 Aug 2010, 22:01    Post_subject:  

neurino wrote:
Don't get bored with a GUI...

open the youtube page with the video and wait till it's fully downloaded,

go to /tmp (works the same in Chrome too), you'll find the video (Flash*),

if you want to save some disk space do:

Code:
ffmpeg -i Flash[press TAB for name completition] Video.mp4


to get an mp4 movie you can play with almost any player.

perhaps someone can make a one click gui that does just this? or then also plays the file.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 22 Aug 2010, 05:07    Post_subject:  

Aarf thanks for describing this. I bought a SonyEricson recently. Android thing. So I need such tips on how to get music on it easily from Youtube.

When I do it over Wireless from Dlink router then the music has glitches and hack in it. While using Puppy has no such disruptions.

Now I only need to find a good Directory to put it in on the phone.

Support on SE told me one need to create such a Dir and they told me how but now I forgot how one do it so I fail to tell others how to.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Sun 22 Aug 2010, 08:05    Post_subject:  

aarf wrote:
perhaps someone can make a one click gui that does just this? or then also plays the file.


There's python script youtube-dl (google for it) but I think is overkill since it happens to download the same movie twice, one while opening the page to get the URL by the browser, the second by the script...

I use this little script after opening the youtube page and waiting the video to entirely load.
The only thing I must do after is to hand-rename converted videos.

Code:

#!/bin/bash

#target directory for converted files
vidsdir="/mnt/home/vids/"
[ ! -d "$vidsdir" ] && mkdir "$vidsdir"

#change to tmp folder
cd /tmp
#process each youtube temp video file and save to vidsdir
for vid in FlashXX*
do
    #convert, please consider you could have a quality loss
    #see ffmpeg specs to add correct params to save quality
    ffmpeg -i "$vid" -y "$vidsdir$vid.mp4"
done


The same script is attached here:
convertyoutube.tar.gz
Description 
gz

 Download 
Filename  convertyoutube.tar.gz 
Filesize  365 Bytes 
Downloaded  521 Time(s) 
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 22 Aug 2010, 08:57    Post_subject:  

neurino wrote:
aarf wrote:
perhaps someone can make a one click gui that does just this? or then also plays the file.


There's python script youtube-dl (google for it) but I think is overkill since it happens to download the same movie twice, one while opening the page to get the URL by the browser, the second by the script...

I use this little script after opening the youtube page and waiting the video to entirely load.
The only thing I must do after is to hand-rename converted videos.

Code:

#!/bin/bash

#target directory for converted files
vidsdir="/mnt/home/vids/"
[ ! -d "$vidsdir" ] && mkdir "$vidsdir"

#change to tmp folder
cd /tmp
#process each youtube temp video file and save to vidsdir
for vid in FlashXX*
do
    #convert, please consider you could have a quality loss
    #see ffmpeg specs to add correct params to save quality
    ffmpeg -i "$vid" -y "$vidsdir$vid.mp4"
done


The same script is attached here:

thanks neurino, the script works for me.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 22 Aug 2010, 09:03    Post_subject:  

@nooby my SE phone is not android so may be different. i bluetooth the videos in with puppeee1, then videos go to the correct video directory automatically.
kdenlive also has a render to android specifications if it is needed for your phone.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Sun 22 Aug 2010, 09:33    Post_subject:  

aarf wrote:
thanks neurino, the script works for me.


change the ffmpeg line to this if you wish (as I do) to play your vids in a (almost old) table Divx player

Code:
ffmpeg -i "$vid" -y -f avi -vtag divx -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k "$vidsdir$vid.avi"


Cool
Back to top
View user's profile Send_private_message 
Sylvander

Joined: 15 Dec 2008
Posts: 3555
Location: West Lothian, Scotland, UK

PostPosted: Sun 09 Jan 2011, 14:18    Post_subject:  

@neurino [or anyone]
1. My tmp folder is on my Puppy filesystem inside a pupsave file, so the space is limited for holding the FlashXX... file,and the converted mp4 file.

2. Is it possible to move the tmp folder off the Puppy filesystem, and symlink back to its home location?
So as to give it much more space to hold bigger movie files.
Back to top
View user's profile Send_private_message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Tue 18 Jan 2011, 18:21    Post_subject:  

well youtube vids are not that big...

if you look at the convertyoutube script I linked above you'll see it saves converted videos to "/mnt/home/vids/"

this to say no one forces ffmpeg to save converted files in the same folder

about symlinking I guess it should work but not sure about its contents are deleted on shutdown
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 18 Jan 2011, 21:04    Post_subject:  

Perhaps a new additional big save file on external media to boot into when you are going to be needing it.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
Sylvander

Joined: 15 Dec 2008
Posts: 3555
Location: West Lothian, Scotland, UK

PostPosted: Wed 19 Jan 2011, 14:59    Post_subject:  

1. "Perhaps a new additional big save file on external media to boot into when you are going to be needing it"
Hmmm, possible, but not an elegant solution!
All my pupsave files are already quite big at around 1GB.
I'm looking to decrease them rather than increase.

2. "well youtube vids are not that big"
I asked, because some of the videos were full size movies.
Back to top
View user's profile Send_private_message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Wed 19 Jan 2011, 16:41    Post_subject:  

Sylvander wrote:
2. "well youtube vids are not that big"
I asked, because some of the videos were full size movies.


If you can watch 'em from start to end then they fit your temp folder.

I may not want to keep 20 tabs open with a HD video each...
Back to top
View user's profile Send_private_message 
trio


Joined: 21 Dec 2008
Posts: 1951
Location: अनुमोदना

PostPosted: Wed 16 Feb 2011, 05:17    Post_subject: New Version You2pup-2.0
Sub_title: Works as per February 2011
 

Hi,

Thanks all for your interest and contribution to this little project. I am now using a new engine that works as per Feb 2011. Download at MAIN POST. I am not really "back", just got a little time to spare.....

Thanks all .. Cheers
you2pup-2.0.jpg
 Description   NEW!! FEB 2011
 Filesize   41.01 KB
 Viewed   1210 Time(s)

you2pup-2.0.jpg


_________________
My apps
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 9 of 15 Posts_count   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12, 13, 14, 15 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1132s ][ Queries: 12 (0.0271s) ][ GZIP on ]