bitmovin / bitmovin-php Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED: PHP client for the Bitmovin API, see https://github.com/bitmovin/bitmovin-api-sdk-php
DEPRECATED: PHP client for the Bitmovin API, see https://github.com/bitmovin/bitmovin-api-sdk-php
Hi,
I can't find the live statistics function in the PHP SDK:
https://api.bitmovin.com/v1/encoding/statistics/encodings/encoding_id/live-statistics
Kind regards,
Erik
can you please upgrade the dependencies?
i tried to do a PR, but somehow running tests, is a nightmare. (#88)
what is the current way to run, tests?
In the previus API¹ I could get the existing profiles² with:
use bitcodin\EncodingProfile;
public function getProfiles(){
$encodingProfiles = EncodingProfile::getList()->profiles;
return $encodingProfiles;
}
I did not found a way to do it in this new API, all the examples shows how to create the profiles, but none how to get a existing one.
¹ https://github.com/bitmovin/bitcodin-php
² https://app.bitmovin.com/encoding-profiles
How does this project compare with https://github.com/bitmovin/bitcodin-php ?
Confused....
Hi,
Is there any reason why there's a dependency on a specific version of "guzzlehttp/guzzle": "6.2.x"? https://github.com/bitmovin/bitmovin-php/blob/master/composer.json#L33
I've forked the repo as I'm using Drupal 8.4-dev which is using 6.3 so I've changed composer to "guzzlehttp/guzzle": "^6.0" in order to test a bitmovin integration.
I want to encode a small part of a larger video, but the trim settings are not having any effect.
I ran the code exactly as it appears in the example EncodingWithS3InputAndS3OutputAndOffsetAndDuration.php
.
The encoding works (and I can play the resulting manifests), but the offset and duration are completely ignored, and the encoding started at the beginning of the file.
Hi,
I have a problem with the manifest, I removed subtitules and HLS. Error: Error with the manifest, maybe MPD is not valid.
XML:
{
"name": "stream.mpd",
"bucket": "prueba-ott.appspot.com",
"generation": "1530521806949461",
"metageneration": "2",
"contentType": "application/dash+xml",
"timeCreated": "2018-07-02T08:56:46.949Z",
"updated": "2018-07-02T08:59:43.887Z",
"storageClass": "STANDARD",
"size": "1544",
"md5Hash": "kp9kd/hZjTM47HeXOXS8Ww==",
"contentEncoding": "identity",
"crc32c": "XKMFqg==",
"etag": "CNWY/4SGgNwCEAI=",
"downloadTokens": "4a190606-08e8-4fef-94cf-a46302e8085a",
"metadata": {
"md5-hash": "929f6477f8598d3338ec77973974bc5b"
}
}
We're using the PHP S3-to-S3 example. We're encountering an error in the following lines:
// CREATE API CLIENT
$apiClient = new ApiClient('<our-API-key>');
// CREATE ENCODING
$encoding = new Encoding('A Name for your encoding');
$encoding->setCloudRegion(CloudRegion::AWS_US_EAST_1);
$encoding = $apiClient->encodings()->create($encoding);
We don't have an actual error message because this is being run within a Laravel project; the error we get is a fatal throwable exception, which tells us nothing.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.