-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to store long duration Videos in my server. #224
Comments
Its a common case on all PHP default installations. You should define following values in ".htaccess" file if you've root-level privileges.
Above technique rarely works on Amazon EC2. You need to login as root-user to the terminal; then search for all "php.ini" files:
There should be "php.ini" file located in your appache installation directory. Its location varies for each installation that's why you should check all "php.ini" files.
Above command will open editing mode; then you should search and edit following values:
Each line is searching a specific string. Note: Above command may work in "replace" mode instead of "insert" mode. You should change default values to:
Remember, NEVER forget "max_execution_time" because usually ffmpeg execution process takes time to transcode and merge webm. Though, in your demo, you're not using ffmpeg.
Note: You can navigate between "insert" and "replace" modes by simply pressing "insert" key. Please don't forget to set a temporary PHP page where you can check PHP-info: <?php
// Show all information, defaults to INFO_ALL
phpinfo();
?> Now, open that PHP page and search for all above values e.g. P.S. Sometimes you need to manually set read/write access for directories like "uploads" however your demo has privileges to read/write WAV/WebM files in uploads directory. |
I think I already answered a similar question.
Maybe we should choose indexed-db or other solutions to write DataURLs to disk and when Or otherwise, need to chunkify/fragmentify recordings and make list of blobs accordingly. This solution will provide an additional advantage, which is that we can check recorded blob-size prior to calling |
Thanks for the information Muaz. As per your first reply.. I updated all the required things in the php.ini and checked in the php info page for confirmation http://tvisha.com/phpinfo.php . Issue I am facing is after recording the video is showing the total length of the video but when I am playing, it get stop just after 27 seconds. 90% video is saving please check the 18 min video linked here.. it's stopping after 30 secs Thanks!! |
while trying the video recording in the link given below
https://www.webrtc-experiment.com/RecordRTC/PHP/
the video recording and storing is running successfully.
But when I am trying in my shared server I am unable to store more than 3 min video.
Here is the link of my hostserver
http://tvisha.com/votocrat/recorder_php/RecordRTC/RecordRTC-to-PHP/
Uncaught RangeError: Invalid array buffer length RecordRTC.js:695
mergeBuffers RecordRTC.js:695
onRecordingStopped
Please advice me to get recording of more than 10 to 15 min.
Thanks!
The text was updated successfully, but these errors were encountered: