Read functions for conversion

alt=
DannyA
@dannya
9 years ago
584 posts
We are in the process of moving over to s3 We have gotten the media upload to write directly to our s3 bucket. However, now we want the the media processing tools to read and write the files directly to s3.

Where do I find the functions for this?
I think its just FFPEG and SOX. Are there any other functions I should be looking for?

Any other suggestions welcome
updated by @dannya: 01/27/15 10:07:29PM
brian
@brian
9 years ago
10,148 posts
DannyA:
We are in the process of moving over to s3 We have gotten the media upload to write directly to our s3 bucket. However, now we want the the media processing tools to read and write the files directly to s3.

Where do I find the functions for this?
I think its just FFPEG and SOX. Are there any other functions I should be looking for?

Any other suggestions welcome

You will want to look in the jrAudio/include.php file at the following functions:

jrAudio_convert_file()
jrAudio_create_sample()
jrAudio_get_apic_image()
jrAudio_tag_audio_file()

as well as inside the jrCore/lib/media.php file:

jrCore_get_media_file_metadata()

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
9 years ago
584 posts
Great start.Thanks!
alt=
DannyA
@dannya
9 years ago
584 posts
Guys, I'm getting a bit frustrated here.

It's been a week and a half and my developers can't seem to figure out how to read/write images to s3.

They cannot find any documentation showing how to override those core modules without breaking on upgrade.

They cannot find which functions are used to write images on media upload.
They cannot find which functions to modify to read images from s3. They think they have to modify every template where media image is displayed. I know it's not that hard.

If you can provide some best practices for tracking down and overriding those functions, it would be very helpful. I'm concerned that they will break the functionality of the existing modules if they update the wrong functions.

They have already integrated the s3 sdk and we can connect, but the lack of familiarity with Jamroom is slowing things down dramatically.
brian
@brian
9 years ago
10,148 posts
We've taken this offline to email - I'm going to go ahead and close this.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags