Go Back   Dynamic Drive Forums > General Coding > Other
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-20-2006, 06:49 PM
jasm jasm is offline
Junior Coders
 
Join Date: Apr 2006
Location: Australia
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default video file

I have uploaded a video clip to the following webpage:
http://testing.freeownhost.com/

Eventhough I have disabled the right click function, the source of the video file can still be viewed in "properties" when I move the cursor to the "window media player" screen on the webpage and anyone can download the video file using the URL. Someone has suggested that I convert the video file from "wmv" to "asf" and it worked fine the previous time, ie when I copy and paste the URL (http://testing.freeownhost.com/z3_wangbodong2.asf) , the web page will open up as "no such page", but now it will trigger Window Media Player to open up the file and allow anyone to download the ASF file like the wmv file.

I wonder how I can protect the video file? (I know people can still use screen shot to capture the video but it is not as easy as downloading from the site straight away)

Will "webpage with the video screen open up as a pop up" help?
May I know what code to use for such a pop up ? Javascript or.......?

Thank you.
Reply With Quote
  #2  
Old 04-20-2006, 06:59 PM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 19,000
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
Default

You can't.
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
  #3  
Old 04-20-2006, 07:51 PM
jasm jasm is offline
Junior Coders
 
Join Date: Apr 2006
Location: Australia
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Professor jscheuer1,
Thank you very much for your response.

I have seen in another site which is currently under reconstruction and thus unavailable where the video file screen pop up and there is no way to trace the source of the file.

The site below is one that has the same concept though is an AUDIO one.
http://www.real2000.org/web/real/real_11694.htm

When I click on the WMA link, a screen pop up and the source of the WMA file cannot be traced.

I would appreciate your advice.
Reply With Quote
  #4  
Old 04-20-2006, 08:58 PM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 19,000
Thanks: 19
Thanked 1,135 Times in 1,121 Posts
Blog Entries: 3
Default

Quote:
Originally Posted by jasm
I have seen in another site which is currently under reconstruction and thus unavailable where the video file screen pop up and there is no way to trace the source of the file.
That you can see.
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
  #5  
Old 04-20-2006, 09:37 PM
djr33's Avatar
djr33 djr33 is offline
Global Moderator
 
Join Date: Mar 2006
Location: N. California, USA
Posts: 6,408
Thanks: 11
Thanked 82 Times in 82 Posts
Default

Link us, we'll get the source quickly.


It's one of the "big questions" that there really is no answer for. not gonna happen.


edit: just saw the link to the real audio page... real is stupid, and not compatible. it also has weird streaming abilities, so it might actually be possible to hide it, but I also think that someone who knows about real format (I don't, even though I do video work... use QT mostly), it would be easy enough to get into.
Reply With Quote
  #6  
Old 04-20-2006, 10:14 PM
Twey's Avatar
Twey Twey is offline
Modtoreador
 
Join Date: Jun 2005
Location: 英国
Posts: 11,933
Thanks: 1
Thanked 180 Times in 172 Posts
Blog Entries: 2
Default

mms://220.168.208.149/20031101/ylh/klrs/11bjnmdosuoagagadga.wma
__________________
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Reply With Quote
  #7  
Old 04-21-2006, 03:37 AM
jasm jasm is offline
Junior Coders
 
Join Date: Apr 2006
Location: Australia
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Many thanks to all of you for your kind responses to my queries.

I thought of 2 options:

1) May I know if I can hide the video file in "js" file?

2) This is the source code of a video file http://play.rbn.com/mactv/mactv/dema...4150930300k.rm
that I got from a TV station :
http://www.mactv.com.tw/mactv/main_vod01.php

Is it possible for one to download and save the RM video file to one's computer? I can't find the "save" button. If not, I thought of doing the same for my WMV file. (Sorry, I am not familiar with REAL MEDIA PLAYER.)

Last edited by jasm; 04-21-2006 at 03:44 AM.
Reply With Quote
  #8  
Old 04-21-2006, 04:08 AM
djr33's Avatar
djr33 djr33 is offline
Global Moderator
 
Join Date: Mar 2006
Location: N. California, USA
Posts: 6,408
Thanks: 11
Thanked 82 Times in 82 Posts
Default

Hiding in JS is a joke. You can just look at the source. that's what view>source does. Or, look at the source, find the url of the external js file (if ext), then open that, check url.
done.

You can't "hide" it in a js file... just put it there. Not gonna do much.

I said this above. I hate real media player. It's proprietary, you need a special player, and I've never seen anything in it that looks decent. Then again, I uninstalled it a while ago after getting fed up with its stupidity.
So... no clue on that question.

Just for the record, that source file is nothing...
Code:
rtsp://rx-wes-sea167.rbn.com/farm/*/mactv/mactv/demand/200604150930300k.rm
--stop--
pnm://rx-wes-sea167.rbn.com/farm/*/mactv/mactv/demand/200604150930300k.rm
I have no clue what that means... it just links to itself.

EDIT: Ah! Nevermind. the link you gave is slightly different. Looks to me like it changes the domain name, adds "/farm/*/" to it, then changes from http to rtsp and pnm, which is, clearly some weird RM format link... meaning that's your source file... just dunno if you can get to it to easily.


EDIT again: The first link, rtsp://rx-wes-sea167.rbn.com/farm/*/...4150930300k.rm opens some file, presumably the right one, in QT (default player for .rm, it seems) even though it's not http.
The second gives an error. not sure what that one does.
Anyway, there's your source file.
However, I get a message "unsupported transport" when QT opens it. It does scale to a small size (not default) and set the timebar at the bottom to a certain length, so it seems to have recognized some of it.
Furthermore, I can ONLY get it to open in QT, and it won't save to my harddrive with any browser using right click save as.
Ugly link.

However, even though this does appear to be fairly secure (I can't crack it, but i'm sure others can), it's a bad trade for using such a bad format.
Also, you surely don't have access to a server that will let you use rtsp:// and such. heh.

Last edited by djr33; 04-21-2006 at 04:17 AM.
Reply With Quote
  #9  
Old 04-21-2006, 04:57 AM
jasm jasm is offline
Junior Coders
 
Join Date: Apr 2006
Location: Australia
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

djr33 many thanks for your detailed reply.

Yes, I believe the TV station must be able to protect their video file, otherwise viewers can easily download all the video files. That's what I thought of trying to achieve with WMV file too

I wonder if anyone know how?

I hope to retain WMV format because it would be too tedious to convert all. I have a total of almost 200 wmv files on my site.

I will check if "rtsp://" is supported.

EDIT: A google check on "rtsp://" shows that it is for RM file. It would not be applicable if I am retaining the WMV format.

Last edited by jasm; 04-21-2006 at 05:05 AM.
Reply With Quote
  #10  
Old 04-21-2006, 05:01 AM
djr33's Avatar
djr33 djr33 is offline
Global Moderator
 
Join Date: Mar 2006
Location: N. California, USA
Posts: 6,408
Thanks: 11
Thanked 82 Times in 82 Posts
Default

Quote:
Yes, I believe the TV station must be able to protect their video file, otherwise viewers can easily download all the video files. That's what I thought of trying to achieve with WMV file too
Umm... still not protected. It's not possible to stop people from having access while still letting them view it. Really. Believe this. You can make it hard, but not impossible.

WMV may work... don't like that format too much msyelf, but it's pretty good for compression and compatible with all (ONLY) PCs.... so... pretty good.

I'm not suggesting that rtsp:// would be supported... I think it might be an entirely different server... or, eh, i dunno. I have no clue what that means.

I suppose you can have ftp:// and http:// among other things, so that would probly mean you can use rtsp:// and whatever else as well, but I wouldn't have any idea as to how you'd set that up.
And... you'd need a LOT of knowledge of RM before trying that... remember, you had to ask us to find the url for you... that's nothing compared to coding it yourself.
I don't think it's worth pursuing the rtsp:// or RM thing at all. Your choice though.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:09 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.