Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Error 0 - Output media files base Height must be a positive integer

8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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

8 years 9 months ago
Licenses:

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

The following user(s) said Thank You: Edward
8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

Yes, it helped...but now I get an "Output media files url could not be parsed"
What does that mean?

Photo uploading seems to be working fine.

Thanks!

8 years 9 months ago
Licenses:

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

The following user(s) said Thank You: Edward
8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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?

8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

Oh, I forgot to mention that the cron job returned "Could not convert video"
But as I said, it is in S3 correctly.

8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

Another update....When I click on the video in the JoomSocial back end I get a blank screen saying "No video with supported format of MIME type found"

8 years 9 months ago
Licenses:

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

The following user(s) said Thank You: Edward
8 years 9 months ago
  • Edward's Avatar
    Topic Author
  • Edward
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Licenses:
JomSocial Active

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!

8 years 9 months ago
Licenses:

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

The following user(s) said Thank You: Edward
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW