switched 2 q1 and was able to play the previously download video. thanks.panzerpuppy wrote:Gnome MPlayer (included in Quirky) plays the Train Fail video perfectlyaarf wrote:puppeeer1: http://www.youtube.com/watch?v=yHXwIywGxFs
GXine is a great audio and internet radio stream player, but it sucks ass for video.
You2pup works (June 2016) YouTube downloader
Panzer, that is so cool. Finally a usage for Opera browser then
Typical of me to fail something. Very good but behave in peculiar way.
Sound fails for me on the mp4 if Opera is running. Have to shut down opera and the sound comes back.
Another bug is that Opera fails to pause the video. It just goes on playing but download of temp works anyway so thanks indeed for describing this way to save things on yt.
Wonder if they come up with ways to stop that one too. They are at it I guess.
Fun while it work
Edit after more testing
I used opera in Q21 to download a tmp file of Dizzy Miss lizzy Larry Williams.
Reminded me of when I was 13 years old and loved the Little Richard screaming.
It played in Q21 but did not play in Lupu 499.
Firefox can also save youtube files that way. You look into root/tmp and when all is downloaded make a copy of it to your home partition so it doesn't go away.
Then rename it to one name like DizzyMisslizzyLarryWilliams.mp4 and quirky can play it off line. YT maybe do't like it and plug the ability sooner or later.
But you guys already knows this I am a Johnny come lately I guess
Typical of me to fail something. Very good but behave in peculiar way.
Sound fails for me on the mp4 if Opera is running. Have to shut down opera and the sound comes back.
Another bug is that Opera fails to pause the video. It just goes on playing but download of temp works anyway so thanks indeed for describing this way to save things on yt.
Wonder if they come up with ways to stop that one too. They are at it I guess.
Fun while it work
Edit after more testing
I used opera in Q21 to download a tmp file of Dizzy Miss lizzy Larry Williams.
Reminded me of when I was 13 years old and loved the Little Richard screaming.
It played in Q21 but did not play in Lupu 499.
Firefox can also save youtube files that way. You look into root/tmp and when all is downloaded make a copy of it to your home partition so it doesn't go away.
Then rename it to one name like DizzyMisslizzyLarryWilliams.mp4 and quirky can play it off line. YT maybe do't like it and plug the ability sooner or later.
But you guys already knows this I am a Johnny come lately I guess
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
-
- Posts: 632
- Joined: Tue 02 Oct 2007, 07:39
OK, there is a way to bypass the locked file problem in Windows 7 by using an app called YouTube Downloader, but there are still issues with that app: there's no way to download 1080p (Full HD) videos and no option for downloading normal quality (480p) videos. When you download an SD video with the app,it downloads the crappy 360p version.
So, a Puppy Live CD is still useful even if you use Windows 7 as your main OS
So, a Puppy Live CD is still useful even if you use Windows 7 as your main OS
Turbopup Tech Support
it WORKS...at he moment
Few days ago I posted a change to youtube.sh and now it looks like it really works. I tested it several times and running fine.
My work now is working
but please test it!!!!
Greets
My work now is working
but please test it!!!!
Greets
- Attachments
-
- youtube.png
- (9.09 KiB) Downloaded 2767 times
Re: it WORKS...at he moment
this one i guess http://www.murga-linux.com/puppy/viewto ... 630#409630soliver wrote:Few days ago I posted a change to youtube.sh and now it looks like it really works. I tested it several times and running fine.
My work now is working
but please test it!!!!
Greets
failed but with this mod as well it works on my unusual wifi proxy internet connection
Code: Select all
wget -4 -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off $url > $filename
edit: worked for 1 file but failed the next try on the train and lobster1 links as posted before-above.
edit; worked 1 time only then failed on the one it previously succeeded on downloading the first time.
You2pup version 1.4 for Quirky and Puppy:
-------------------------------------------------------------
- Brand new logo
- Improved user interface, popups and descriptions to make it more user friendly
- Includes the patch by soliver so it works with the latest YouTube changes
Download You2pup v1.4 from here:
http://stashbox.org/v/894983/you2pup-1.4.pet
-------------------------------------------------------------
- Brand new logo
- Improved user interface, popups and descriptions to make it more user friendly
- Includes the patch by soliver so it works with the latest YouTube changes
Download You2pup v1.4 from here:
http://stashbox.org/v/894983/you2pup-1.4.pet
video settings
I forward this from Quirky 1.1 bug report.
By panzerpuppy,
You2Pup downloads the 480p version of any YouTube video (link) you drag into the URL box.
Attaching a '&fmt=xx' string after the URL will not override You2Pup's 'hardcoded' 480p download.
If you want higher or lower quality videos, you'll have to edit the script manually.
NOTE: if you change the fmt value to 22 or 37 in the download script to download HD videos, you won't be able to download 80% of the YouTube videos out there. Most videos are still in 360p or 480p format.
Someone needs to edit that script and add a quality selection box that changes (overrides) the fmt value for that session only.
fmt=18 for 480p
fmt=22 for 720p
fmt=37 for 1080p
and fmt=?? for 360p
We need to make You2Pup as good as (or even better better than) the 'YouTube Video Downloader' for Windows. It's a sad thing to see that it's much easier to do stuff under Windows.
- Sit Heel Speak
- Posts: 2595
- Joined: Fri 31 Mar 2006, 03:22
- Location: downwind
You2Pup 1.4
synth's You2pup version 1.4 for Quirky and Puppy:
- Attachments
-
- you2pup-1.4.pet
- You2Pup-1.4.pet
- (13.85 KiB) Downloaded 927 times
Last edited by bigpup on Mon 24 May 2010, 16:38, edited 1 time in total.
you2pup mirror
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]
youtube.sh
Hello there
changed the youtube.sh code. Now there is a -q option for quality setting.
Try it out and see the pictures below.
here is the code:
tx to bigpup and panzerpuppy for the idea!!
POST YOUR FEEDBACK!!
thanks and take care
please have a look at pcrypt and pdircrypt
changed the youtube.sh code. Now there is a -q option for quality setting.
Try it out and see the pictures below.
here is the code:
Code: Select all
#!/bin/bash
# YouTube download script by John Lawrence (http://blog.johnlawrence.net)
#Modified for puppy by trio - 2009
#100514 soliver: fix youtube.com change may 2010.
#100526 soliver: add quality settings
use_err() {
echo "Usage: `basename $0` [-f savefile] video_id [-q quality]"
echo "Quality: `basename $0` -q 5,18,34,35 the higher the better and 13,17 for 3gpp"
echo "Quality: You'll have to try out what's working for your vid."
echo "Example: `basename $0` -f Rick oHg5SJYRHA0 -q 18"
echo " Saves video with id oHg5SJYRHA0 to Rick.flv in your current directory"
echo " with good quality."
echo
exit 65
}
if [ ! $1 ]; then use_err; fi
while getopts ":f:" Option
do
case $Option in
f ) fn=$OPTARG;;
* ) use_err;;
esac
done
shift $(($OPTIND - 1))
if [ -z $1 ]; then use_err; fi
if [ -z $fn ]; then fn=$1; fi
vidID=$1
filename=$fn".mp4"
while getopts ":q:" Option
do
case $Option in
q ) q=$OPTARG;;
* ) use_err;;
esac
done
shift $(($OPTIND - 2))
if [ -z $2 ]; then use_err; fi
if [ -z $q ]; then q=$2; fi
quality=$2
qsetting=$q
geturl() { echo "GET $1 HTTP/1.1";echo "Host: $2";echo;echo;sleep 2;echo '^C'; }
echo "Finding hostname"
#100514 soliver: fix youtube.com change may 2010...
#hostl=`geturl /watch youtube.com | nc youtube.com 80 | grep Location | sed 's|Location: http://\([^/]*\)/.*|\1|' | tr -d '\r\n'`
hostl=`geturl /href youtube.com | nc youtube.com 80 | grep Location | sed 's|Location: http://\([^/]*\)/.*|\1|' | tr -d '\r\n'`
echo "Connecting to "$hostl
watch="/watch?v="$vidID
tid=`geturl $watch $hostl | nc youtube.com 80 | grep '"t":' | sed 's/.*"t": "\([^"]*\)".*/\1/'`
echo "Locating video file"
get_video="/get_video?video_id="$vidID"&t="$tid"&el=detailpage&ps=&fmt="$qsetting""
url=`geturl $get_video $hostl | nc youtube.com 80 | grep Location | sed 's/Location: \(.*\)$/\1/' | tr -d '\r\n'`
wget -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off $url > $filename
tx to bigpup and panzerpuppy for the idea!!
POST YOUR FEEDBACK!!
thanks and take care
please have a look at pcrypt and pdircrypt
you2pup-1.4.1
Hello there
Made a new you2pup with the above quality-settings.
Please test it and post your feedback.
synth: feel free to change the source, should only be an example.
Take care
Made a new you2pup with the above quality-settings.
Please test it and post your feedback.
synth: feel free to change the source, should only be an example.
Take care
- Attachments
-
- you2pup-1.4.1.pet
- (14.07 KiB) Downloaded 851 times
-
- you2pup.png
- (11.47 KiB) Downloaded 2645 times
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
you2pup
Thanks abushcrafter for replying.
The problem of spaces in filenames is not new. I made my own you2pup and there is a message for that.
I don't know how to change the script, so that the right file format is written.
Most of the time you can download mp4. If I change the ending to flv the 3gpp files are not right. Hmm. Hope somebody can help.
Take care
The problem of spaces in filenames is not new. I made my own you2pup and there is a message for that.
I don't know how to change the script, so that the right file format is written.
Most of the time you can download mp4. If I change the ending to flv the 3gpp files are not right. Hmm. Hope somebody can help.
Take care
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Bingo! . I have fixed the file names with spaces issue . Here is how:
Another issue is that Gxine in 431/2v3 can't play quality 34(...and some others.). However this the build of mplayer can: Puppy Linux Discussion Forum :: View topic - Mplayer with Multi-core support (09/2009) + gnome frontend. On some quality settings "Mplayer with Multi-core support (09/2009)" can't play them too but MPlayer-1.0rc2 + mencoder Feb 2008 can.
- Open the file: "/usr/sbin/youtube.sh".
- On line 68.
- Put the variable "$filename" in quotes. I used double quotes.
Code: Select all
wget -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off $url > "$filename"
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Made a new pet.
Version=1.4.2
Changes:
File Deleted! See "1.4.3".
Version=1.4.2
Changes:
- Removed the .mp4 renaming.
- File names with spaces fix.
- Edited the menu entry to how I like it.
File Deleted! See "1.4.3".
Last edited by abushcrafter on Mon 31 May 2010, 20:41, edited 3 times in total.