video corrupted when downloaded from server
tareq_tawaiha
tareq_tawaiha at yahoo.com
Tue Sep 29 11:38:10 EDT 2009
I am trying to download ".avi" videos from a ftp server. When i use an ftp
client like "filezilla" , i can download any avi and no problems occur.
However when i try to download it using RunRev it gets corrupted. It either
plays the video choppy , with green screen, with no screen, with a black
background or with audio only.
The avi files i am testing with are no larger than 10 MB, this number might
go up to 50 MB .
here is the code i am using
put fld "ftp folder" of card "ftpcommandG" of stack "studentWork" into
tServer
(this will put the server connection ftp://USER:Pass@site.com)
if tFile ends with curTimeT&".avi" then
put tFile into tMovieFileName
put tServer & tMovieFileName into tServerPath
put tFolder &tMoviefilename into tFolderPathMovie
put URL tServerPath into URL tFolderPathMovie
wait for messages
the movie file does get downloaded, but problems occur when trying to play
it. I also tried the libURLDownloadToFile
downloadURL,filePath[,callbackMessage] and it would not download anything or
give back a call message.
I uploaded 2 images and an example of a corrupted .avi
I created these movies using runrev, and they upload to a server with no
problems, only upon downloading them do they get corrupted.
http://www.nabble.com/file/p25665382/9.28.20099.28.2009%2B14-21-03.avi
9.28.20099.28.2009+14-21-03.avi <spaaaaaaace>
http://www.nabble.com/file/p25665382/Picture%2B1.png <spaaaaaaace>
http://www.nabble.com/file/p25665382/Picture%2B2.png <spaaaaaaace>
anyone have an idea of why this is happening or has a suggestion for a
different method of download the files ?
--
View this message in context: http://www.nabble.com/video-corrupted-when-downloaded-from-server-tp25665382p25665382.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list