The time now is Thu 23 May 2013, 03:26
All times are UTC - 4 |
|
Page 9 of 13 [193 Posts] |
Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12, 13 Next |
| Author |
Message |
kostas801
Joined: 10 Jan 2009 Posts: 51 Location: Greece, Athens
|
Posted: 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
|
|
 |
neurino

Joined: 15 Oct 2009 Posts: 360
|
Posted: 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
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: 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
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Last edited by aarf on Sat 21 Aug 2010, 23:19; edited 2 times in total
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: 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
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9387 Location: SwedenEurope
|
Posted: 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'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
neurino

Joined: 15 Oct 2009 Posts: 360
|
Posted: 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:
| Description |
|

Download |
| Filename |
convertyoutube.tar.gz |
| Filesize |
365 Bytes |
| Downloaded |
399 Time(s) |
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: 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
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: 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
|
|
 |
neurino

Joined: 15 Oct 2009 Posts: 360
|
Posted: 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" |
|
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 2855 Location: West Lothian, Scotland, UK
|
Posted: 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
|
|
 |
neurino

Joined: 15 Oct 2009 Posts: 360
|
Posted: 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
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: 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
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 2855 Location: West Lothian, Scotland, UK
|
Posted: 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
|
|
 |
neurino

Joined: 15 Oct 2009 Posts: 360
|
Posted: 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
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Wed 16 Feb 2011, 05:17 Post subject:
New Version You2pup-2.0 Subject description: 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
| Description |
NEW!! FEB 2011 |
| Filesize |
41.01 KB |
| Viewed |
1014 Time(s) |

|
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
|
|
Page 9 of 13 [193 Posts] |
Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12, 13 Next |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|