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 Mon 01 Sep 2014, 09:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
You2pup-2.1.4 - YouTube multi format video downloader
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 14 [196 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, 13, 14 Next
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3364
Location: Oregon

PostPosted: Wed 16 Feb 2011, 10:31    Post subject:  

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.
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 16 Feb 2011, 10:38    Post subject:  

@8bit:

Hmm...just tried to download several short (1 minute) youtube movies though ... they all downloaded correctly ...

Haven't tried with longer movies ....

Downloading now ... a song ... so far so good .... (5 minutes movie)
Back to top
View user's profile Send private message 
trio


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

PostPosted: Wed 16 Feb 2011, 10:59    Post subject:  

Downloaded a 5 minute Video fine

Downloading a 15 minute Video now

EDIT: Yup a 15 minute video's downloaded fine

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3364
Location: Oregon

PostPosted: Wed 16 Feb 2011, 22:04    Post subject:  

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.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Wed 23 Feb 2011, 23:45    Post subject: 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

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
trio


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

PostPosted: Thu 24 Feb 2011, 00:37    Post subject:  

gcmartin

Well, 1'm 99% sure that this won't work with any other tube sites ... unless those sites have exactly the same html page structure (how they put the video url) as youtube.

regards

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


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

PostPosted: Fri 25 Feb 2011, 12:37    Post subject:  

Updated - Download at main post

Version 2.1 - MULTI FORMAT DOWNLOAD ABILITY, took out the conversion and play functions (back to basic), no need to spesify name (auto-naming) - Thanks to Mr. Arif AGAIN!! http://arif.suparlan.com/2011/02/23/download-youtube-video-dengan-shell-script

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


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

PostPosted: Mon 28 Feb 2011, 02:20    Post subject:  

Version 2.1.1 - Change gxmessage with Xdialog for warnings, use /tmp folder for tmp file, a bit cosmetics when in rxvt
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


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

PostPosted: Mon 28 Feb 2011, 03:56    Post subject:  

Version 2.1.2 - rxvt now embeded in you2pup window, option to abort (see picture), non-resizable window
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Mon 28 Feb 2011, 07:47    Post subject:  

Thanks to a PM now I know and the embarrassing thing is that I knew this a week ago and then forgot all about it.

I remember that somebody gave example on another site that they made a link to and there described how one could save even streaming video that was not Flash related.

They use CLI or Console or Terminal code to copy and change a cache file into a working file to be played by Mplayer or VLC.

I lost the link I was in another OS at the time.

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Tue 01 Mar 2011, 07:08; edited 1 time in total
Back to top
View user's profile Send private message 
trio


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

PostPosted: Tue 01 Mar 2011, 02:23    Post subject:  

Maybe somebody using puppy version older than Lupu can help me check if rxvt can be embedded in the you2pup window? does it still work even if it isn't embbedded or it doesn't work at all

thanks

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Tue 01 Mar 2011, 08:38    Post subject:  

trio wrote:
Maybe somebody using puppy version older than Lupu can help me check if rxvt can be embedded in the you2pup window? does it still work even if it isn't embbedded or it doesn't work at all

thanks

I'm using puppy 4.2 (or at least, a derivative of it, which no changes to rxvt)... And my rxvt does not have the embed option, it is unrecognised - and so your new "you2pup" and "Pet Maker" scripts halt and exit when trying to load rxvt..

(So the GUIs appear to do nothing when you click 'Download' or 'Create PET'...)

So, I edited the scripts, to remove the "-embed" option and they work fine.
I even compiled the latest rxvt, with lots of stuff enabled, so that the binary was 200kb! But still not working..

(Not sure which option enabled embedding though, did not see it listed explicitly.... )

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
trio


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

PostPosted: Tue 01 Mar 2011, 09:12    Post subject:  

Version 2.1.2 - Only for LUPU 520, rxvt now embeded in you2pup window, option to abort (see picture), non-resizable window
Version 2.1.1 - For general puppies, Change gxmessage with Xdialog for warnings, use /tmp folder for tmp file, a bit cosmetics when in rxvt

Thanks scottman, and the real name of the console in lupu is actually urxvt ...

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Tue 01 Mar 2011, 09:53    Post subject:  

trio wrote:
Thanks scottman, and the real name of the console in lupu is actually urxvt ...

I'll compile that one then! I thought it only had utf support added, but seems it has other things as well... Thanks Trio.

Love the tools by the way, especially the new you2pup, I love being able to choose mp4, as my system won't play youtube (or similar) flvs... forgot to say that earlier...
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Tue 01 Mar 2011, 17:30    Post subject:  

sc0ttman wrote:
I love being able to choose mp4, as my system won't play youtube (or similar) flvs... forgot to say that earlier...

The newer flash files are not very different from the mp4... it's just the wrapper that needs changing. I have a script named F4V2MP4 which just contains the following command:
Code:
ffmpeg -i "$1" -acodec copy -vcodec copy "${1%.f4v}.mp4"

which converts it to mp4 (note that it does not re-encode the video -- it's just a trivial wrapper conversion from f4v to mp4...)

Trio: your friend could have made the loop parsing the maps a little more elegant, without the arbitrary 10-iteration limit...
For example:
Code:
Tmp=$(grep -o "'PLAYER_CONFIG': {.*}" $TmpFile)

declare -a Url_array Geom_array

UrlMap=${Tmp#*\"fmt_url_map\": \"}
UrlMap=${UrlMap%%\"*}

GeomMap=${Tmp#*\"fmt_map\": \"}
GeomMap=${GeomMap%%\"*}

FmtList=""

for i in ${UrlMap//,/ } ; do
   Fmt=${i%%|*}
   Url=${i#*|} ; Url=${Url%%|*}
   Url_array[$Fmt]=$Url
   FmtList="$FmtList $Fmt"
done

for i in ${GeomMap//,/ } ; do
   Fmt=${i%%\\*}
   Geom=${i#*/} ; Geom=${Geom%%\\*}
   Geom_array[$Fmt]="$Geom"
done

for i in $FmtList ; do
   echo "fmt:$i geom:${Geom_array[$i]} url:${Url_array[$i]}"
done

This way you create sparse arrays with the data and use the format as the index...

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 14 [196 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, 13, 14 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:  

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
[ Time: 0.0858s ][ Queries: 13 (0.0105s) ][ GZIP on ]