Skip to content
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

S3 Directory Name #35

Closed
MarcelMattern opened this issue Mar 23, 2017 · 1 comment
Closed

S3 Directory Name #35

MarcelMattern opened this issue Mar 23, 2017 · 1 comment

Comments

@MarcelMattern
Copy link

Hi there,
Can you tell me how I use Amazon S3 can specify a folder name in the API?

I use: $outputConfig->prefix = "/streams_neu/"

There he should create the video in the folder Video_XY. Unfortunately, he always creates a hash value as a folder name.

I need this to update videos.

Unfortunately, I find no function.

Hope you can help me.
Thank you.

@SInCE
Copy link
Contributor

SInCE commented Apr 4, 2017

Hi CellePelle,

this issue doesn't relate to the bitmovin-php API Client, which can be used with our new Bitmovin API only [1], but to the bitcodin-php API Client [2].

In order to prevent the creation of the sub-folder, you can set the option createSubDirectory=false [3], when creating a new Output. Then, that automatically created sub-folder won't be created. Please see [4] for an example with the bitcodin-php API Client [2].

[1] https://bitmovin.com/bitmovins-video-api/
[2] https://github.com/bitmovin/bitcodin-php
[3] https://bitmovin.com/encoding-documentation/encoder-api-reference-documentation/#/reference/outputs/create-an-s3-output
[4] https://github.com/bitmovin/bitcodin-php/blob/develop/examples/createOutputProfileWithoutAdditionalFolder.php

@SInCE SInCE closed this as completed May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants