Jump to content

d-shade

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

d-shade's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I just tried uploading a file created with the Flash 8 Video Encoder the one bundled with Flash 8 and I am still losing the metadata. So Im kinda even more stuck
  2. i can't use FFMpeg on my server. which is why I have the FLV upload form. but it seems to delete the metadata on upload. So the flv wont stream. If i upload the flv using ftp they work fine its just when using the form the flv doesn't work. So I was thinking there is something wrong with the method I am uploading the file or maybe there is another way to upload the file and not lose the metadata
  3. Well I have been trying to get flv files working on my site. This is what I have for my Form <FORM ENCTYPE="multipart/form-data" METHOD="POST" ACTION="upload_video_handler.php"> <TABLE width="100%" border="0" cellpadding="2" cellspacing="0"> <TR> <TD width="62" align="left">Title:</TD> <TD colspan="2" align="left"><INPUT TYPE="text" NAME="Name" size="75" maxlength="40"></TD> </TR> <TR> <TD width="62" align="left">Author:</TD> <TD align="left" colspan="2"><INPUT TYPE="text" NAME="creator" size="75" maxlength="40"></TD> </TR> <TR> <TD align="left">File:</TD> <TD align="left"><INPUT TYPE="file" NAME="File"></TD> <td align="right"><INPUT TYPE="submit" VALUE="Submit"></td> </TR> </TABLE> </FORM> and this is what I am using on the PHP end $Name = addslashes($Name); $creator = addslashes($creator); $nameoffile = $newid . basename($_FILES['File']['name']); $uploadfile = 'videos/'.$nameoffile.''; move_uploaded_file($_FILES['File']['tmp_name'], $uploadfile); I didn't include any of the code for the mysql end since its a problem with the file its self. The problem I am having is when I upload the file using the Form above the flv player will not play the flv files. If I download the file using ftp and run the flv fix(which injects the metadata) and upload the file using ftp the files work. The files downloaded will play in zoomplayer without any problem. Is there something I am doing wrong or is there another method I should use? I am using RivaEncoder to create the FLV file and using Buraks FLVMDI to inject the metadata. The flash video player i am using is from http://www.jeroenwijering.com there is also a article on creating flv files on that site as well
  4. alright thanks. Ill try it out Update: It worked out great! Finally got all the images off the mysql database.
  5. Hello Ive been using a modified photo gallery script that saves images into the mysql database. I didn't have too much of an issue at first but now that database is starting to get pretty big and thought maybe I would start running into problem. So im wondering if there is a way i can make some sort of automated script to go through all the table and dump all the images into folders and also create a new table. with all the info put into it. these are the feilds im using in my table Id, Views, Bytes, Format, Caption, Comment, ShotAt, PublishedAt, Width, Height, Image, Thumbnail the biggest problem im having right now is trying to get the images saved onto the server. the Image and Thumbnails are both blob feilds and both contain image data.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.