You2pup works (June 2016) YouTube downloader
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
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
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:
to get an mp4 movie you can play with almost any player.
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: Select all
ffmpeg -i Flash[press TAB for name completition] Video.mp4
thanks. works for me to get a mp4 playable on my Sony-ericson phone when other mp4 producing things have not.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:
to get an mp4 movie you can play with almost any player.Code: Select all
ffmpeg -i Flash[press TAB for name completition] Video.mp4
edit: here are the output specs of the produced movie:
Code: Select all
#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
Last edited by aarf on Sun 22 Aug 2010, 03:19, edited 2 times in total.
perhaps someone can make a one click gui that does just this? or then also plays the file.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:
to get an mp4 movie you can play with almost any player.Code: Select all
ffmpeg -i Flash[press TAB for name completition] Video.mp4
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.
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
not an ideal solution though
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...aarf wrote: perhaps someone can make a one click gui that does just this? or then also plays the file.
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: Select all
#!/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
- Attachments
-
- convertyoutube.tar.gz
- (365 Bytes) Downloaded 758 times
thanks neurino, the script works for me.neurino wrote: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...aarf wrote: perhaps someone can make a one click gui that does just this? or then also plays the file.
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.
The same script is attached here:Code: Select all
#!/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
change the ffmpeg line to this if you wish (as I do) to play your vids in a (almost old) table Divx playeraarf wrote:thanks neurino, the script works for me.
Code: Select all
ffmpeg -i "$vid" -y -f avi -vtag divx -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k "$vidsdir$vid.avi"
@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.
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.
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
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
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.
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.
New Version You2pup-2.0
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
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
- Attachments
-
- you2pup-2.0.jpg
- NEW!! FEB 2011
- (41.01 KiB) Downloaded 1345 times
I do not know if this has anything to do with download failures, but I have noticed on Youtube and Hulu that both have changed in that part of a movie is played and then a commercial is played which then takes one back to the movie.
The downloader sees an erronious end to the movie and assumes it is done when in fact, one only has part of the movie downloaded.
The downloader sees an erronious end to the movie and assumes it is done when in fact, one only has part of the movie downloaded.
trio,
I do not think there is anything wrong with your application.
What I was getting at, is that Youtube and Hulu have started a practice of showing commercials at different times and then the movie continues.
When the movie pauses to play the commercial, it makes an app that looks for a stream end to think the movie has completed when in fact it has not.
As an example, not on the internet, but using PupRadio/Telly, I went to play a cartoon channel that showed cartoons one after another.
when a cartoon would end, the app assumed the stream had ended and shut it down.
I could then immediately restart the stream and the next cartoon would play and then shut down the stram again.
It is not a big thing, and the providers may do these things for copyright protection.
I do not think there is anything wrong with your application.
What I was getting at, is that Youtube and Hulu have started a practice of showing commercials at different times and then the movie continues.
When the movie pauses to play the commercial, it makes an app that looks for a stream end to think the movie has completed when in fact it has not.
As an example, not on the internet, but using PupRadio/Telly, I went to play a cartoon channel that showed cartoons one after another.
when a cartoon would end, the app assumed the stream had ended and shut it down.
I could then immediately restart the stream and the next cartoon would play and then shut down the stram again.
It is not a big thing, and the providers may do these things for copyright protection.
You2PUP save from any other Video sites?
Saw this and wanted to know if this tool will save from any other sites, as well.
FF/SeaMonkey have a plug-in tool (several, in fact) that will do similar downloads from Youtube and other sites. I assume this is a replacement tool that can be run from the desktop. Is that correct?
Thanks in advance
FF/SeaMonkey have a plug-in tool (several, in fact) that will do similar downloads from Youtube and other sites. I assume this is a replacement tool that can be run from the desktop. Is that correct?
Thanks in advance