Adjust Video upload size?

Where does one adjust the maximum file upload sizes for video in D7RC?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

If you have a php.ini file in the root of your dolphin directory, you can try adding this to it:

upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M

If you don't, then just copy that into notepad and save it as php.ini then upload it to your root directory of dolphin.

You can check to see if it worked by going into your admin panel>tools>host tools and check the php configuration from there.

Chris

Nothing to see here
Quote · 23 Nov 2009

Thank you. I need to make the upload size rather large. 1.5 gigs. You see any problems with that?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

Thank you. I need to make the upload size rather large. 1.5 gigs. You see any problems with that?

Yes, that means someone could upload a nice gig file using your disk space.  If you have a moderate amount of users and they constantly upload 100-200m videos (an average size for a good length hd video) your HD will eat fast.

But lets think more than hd space, to serve that file to users takes your bandwitdh.  If you have unlimited bandwidth your fine, if not then  you need to take that into consideration.


One step further, if you allow people to embed your links and videos to other sites, your site could become a dumping groudn of videos streamed to other sites, eating up all your resources.

Quote · 23 Nov 2009

Thank you. I need to make the upload size rather large. 1.5 gigs. You see any problems with that?

You mean other than taking 2 days to upload 3-4 days for processing?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2009

no no no! I need to upload one that size. Once it's done, I'll remove the capability!  I can't seem to upload the php.ini file to the server, me thinks it's blocked. I will have to get hold of tech support....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

I would be willing to bet that the RMS will choke on a 1.5 GB upload.  I guess there's only one way to find out.  Trouble is, it may take a long, long time to find out.  Is it something you could break up into several smaller parts?

Just curious... how long is the video in minutes, and whats the resolution?  The format?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2009

It's about 10 minutes, very HD (1280 X 720) 22,900 kbps bit rate audio, 24 bit video. Wanted to see what I could get away with. Why isn't it possible to adjust upload maximums from within the admin area? That seems like a major oversight to me.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

Ten minutes?   I thought we were talking about something two hours long.  You really need to compress that a bit.  What format is it currently in?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 23 Nov 2009

LOL! I know it was large. I wanted to press the RMS to its breaking point and see what happened. I gave up. I am reducing it to about 160 megs as we speak. If someone wants a full copy, I'll just send em a CD.

 

I am trying to see just how good it compresses for web viewing. Youtube videos really suck, even in HD mode and I was hoping for something a little better. I've already maxxed the settings in the flash admin (set it to 80% compression though). We'll see what happens. I took the video using my Flip ultraHD cam. It really does a fantastic job for what it is.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

A better way to do that is to set the number of simultaneous encoding to 20, then in 4 different browsers use the flash uploader to upload 5 videos at one time and wait till they're all uploaded.  Then submit all videos across the browsers and they will all be placed in the RMS processing que and since you set your limit to 20 the server will try to encode all 20 at one time.  Not much of the RMS breaking as your server :)

Quote · 23 Nov 2009

LOL!Sealed

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

Where does one adjust the maximum file upload sizes for video in D7RC?

/administration/flash.php

video player / settings

Quote · 23 Nov 2009

My screen looks just like yours except there is no file size adjustment as in yours. What version is that?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 23 Nov 2009

I too do not have that settings via the settings there.  Are you using the beta rms or something else?

Quote · 23 Nov 2009

My screen looks just like yours except there is no file size adjustment as in yours. What version is that?

files to edit /flash/modules/video/xml

open config

and replace the code inside with this one

<items><item key="fileSize"><![CDATA[20]]></item><item key="fileMaxSize"><![CDATA[#fileMaxSize#]]><item key="player_height"><![CDATA[400]]></item><item key="listSource"><![CDATA[Top]]></item><item key="listCount"><![CDATA[10]]></item><item key="filesUrl"><![CDATA[#filesUrl#]]></item><item key="autoPlay"><![CDATA[false]]></item><item key="save"><![CDATA[true]]></item><item key="saveMobile"><![CDATA[true]]></item><item key="sameQuality"><![CDATA[false]]></item><item key="serverUrl"><![CDATA[#serverUrl#]]></item><item key="autoApprove"><![CDATA[true]]></item><item key="processCount"><![CDATA[2]]></item><item key="failedTimeout"><![CDATA[1]]></item><item key="hideControls"><![CDATA[false]]></item><item key="quality"><![CDATA[75]]></item><item key="fps"><![CDATA[15]]></item><item key="micRate"><![CDATA[44]]></item></items>

open setting

and replace the code inside with this one

<items><item type="number" key="fileSize" default="10" range="0"><caption><![CDATA[File size]]></caption><comment><![CDATA[Maximum available size of file for uploading (in megabytes).]]></comment></item><item type="number" key="player_height" default="330" range="330:600"><caption><![CDATA[Video Player height (px)]]></caption></item><item type="select" key="listSource" default="Top" range="Top,Related,Member"><caption><![CDATA[Videos List Source]]></caption></item><item type="number" key="listCount" default="10" range="1:30"><caption><![CDATA[Maximum number of Video List]]></caption></item><item type="boolean" key="save" default="true" range=""><caption><![CDATA[Enable files downloading]]></caption></item><item type="boolean" key="saveMobile" default="true" range=""><caption><![CDATA[Enable mobile video files playing]]></caption></item><item type="boolean" key="autoPlay" default="true" range=""><caption><![CDATA[Autoplay]]></caption><comment><![CDATA[Enable autoplay of video file.]]></comment></item><item type="boolean" key="autoApprove" default="true" range=""><caption><![CDATA[Files auto approving]]></caption></item><item type="boolean" key="sameQuality" default="true" range=""><caption><![CDATA[Save video original quality while converting]]></caption></item><item type="number" key="processCount" default="2" range="1:10"><caption><![CDATA[Maximum number of processing files]]></caption></item><item type="number" key="failedTimeout" default="1" range="1:7"><caption><![CDATA[Failure timeout for converting files (days)]]></caption></item><item type="boolean" key="hideControls" default="false" range=""><caption><![CDATA[Enable Controls autohiding]]></caption></item><item type="number" key="quality" default="75" range="0:100"><caption><![CDATA[Recording quality (0-100)]]></caption></item><item type="number" key="fps" default="15" range="10:25"><caption><![CDATA[Recording FPS (10-25)]]></caption></item><item type="select" key="micRate" default="44" range="5,8,11,22,44"><caption><![CDATA[Microphone Rate kHz]]></caption></item></items>

now the option should show up ;)

Quote · 23 Nov 2009

Thats a nice change, something you customized?

Quote · 24 Nov 2009

yup just did it :)

and if you need it for the audio upload let me know i have that one also

Quote · 24 Nov 2009

Of course we want it!

 

I set it to 300 megs, then tried the upload again. the file is 152 megs wmv. It never completes, it just hangs and eventually the browser locks up. I have been trying in ie, going to go try in ff and see if I can get it to finish.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009

Ok, a little testing has revealed that your changes do not work. I can no longer make changes to anything below that extra line in the xml files. You can't adjust the percentage or the frame rate, it won't save and is stuck at the default levels. I have also had no luck uploading the 152 meg file even with your new admin screen set at 300 megs. I'm going to revert back to the original files....

 

ps, I tested it in FF and IE, both acted the same and would not save the changes. I have a sneaking suspicion it's because you added a field the application doesn't actually support.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009

Yup. Changing the files back solved the problem. I'm not a big coder but I do know that xml is very strict in it's application. If an item type doesn't exist, it just gives up and doesn't complete. Nothing after the new item type would save. Changing back to the default file solved the problem.

 

Now, I am back where I started. How does one adjust the file upload size the correct way?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009

by hand in your php.ini file.  Post_max_size and upload_max_size

Quote · 24 Nov 2009

Remember my second post??

upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M

Change the 300M to whatever you want.

Nothing to see here
Quote · 24 Nov 2009

Quote · 24 Nov 2009

I did not have a php.ini file to manually edit and I was having trouble uploading one I created earlier. (not used to working with someone else's server) I have resolved that problem and was able to upload it into the root directory successfully just a few minutes ago. I am uploading that same large file now as a test.

 

Boy, it sure would be neat if the uploader would give you some idea of what was going on during the upload process, especially with larger files (wink wink!)

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009

 

by hand in your php.ini file.  Post_max_size and upload_max_size

 upload_max_size or upload_max_filesize? Getting tired and confused now. Smaller files upload and work fine so the cron job and everything else seems to be setup ok.

 

Yell

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009

Never mind, I found the problem. My new host has a 100 meg upload limit set.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.