ISSUE SUMMARY: I get this error from the cron job whenever it tries to process videos...Error 0 - Output media files base Height must be a positive integer.
I have this set up for Amazon S3 and Zencoder and believe I followed all the steps in the videos
STEPS TO REPLICATE:
1 - login to front end of site
2 - select videos -> my videos
3 - Add Video
4 - upload an MP4 video
5 - run cron job
RESULT - Error 0 - Output media files base Height must be a positive integer
EXPECTED RESULT - video converted
BROWSER - Firefox
Hi,
please goto jomsocial backend > videos > video settings, and changing Video Size at any size as long not using "maintain aspect ratio"
because zencoder not allowing it.
Regards
Hi,
please goto jomscoial backend > configuration > remote storage.
and changing Region to valid region. e.g: us-east-1
to find what valid region, please open your AWS console and browse to bucket. have a look at bucket URL.
you can see the region "code". put that region onto jomsocial config.
Regards
Thank you, we are getting closer.
The video was now converted and stored on S3.
However, I can play the video directly from S3, I see video thumbnail in JomSocial, but when I click the video, I get a blank screen.
Further ideas?
Corollary question, does the S3 region change depending on where the person using the site is?
Hi,
please check it. it's fixed.
I disabled Pseudo Streaming from jomsocial video settings.
"S3 region change depending on where the person using the site is?"
not person using the site. but that related with S3 server region located.
"Could not convert video"
you can ignoring this, becuase zencoder doesn't have return status of converting video.
Regards
Yes it is fixed...thank you so much!
Related question....when the JomSocial cron job moves the files from the local server to S3, does it delete the file on the local server?
If not, are there any files that I set up to be stored on S3 need to be kept on the local server? For example the image files in the avatar directory.
Also, if we are using S3 does the PHP parameter upload_max_size still come into play?
Thanks again!
Hi,
the cron job will put the files to S3 directly, but for video that using zencoder: zencoder download the video to they server > convert it > send it to S3.
the files at local server will be deleted. but not with original files, you need to enable it from backend settings (delete original files at photos/videos setting).
upload_max_size still important, because before the files arrive at S3, the files need to uploading at server first.
Regards