Comments (4)
If you have local video files, it's really easy to use the Opencast API directly. There is no need for pyCA. For example, this will upload a single media file to the public test server:
curl -i -u admin:opencast https://develop.opencast.org/ingest/addMediaPackage \
-F 'flavor=presentation/source' \
-F 'BODY=@sintel_trailer-1080p.mp4' \
-F title="Some title" \
-F creator="J. Doe"
You can get more information in the REST docs at:
There are also a bunch of example script partly doing more complex stuff here:
from pyca.
Hi lkiesow,
Thank you very much for the help. This method worked only for .mp4 files
Can't we use other file types such as .ts and .webm?
from pyca.
Sure, you can. Opencast shouldn't mind as long as FFmpeg can deal with it.
A short warning about transport streams though: Quite a few Operations of Opencast need to know the length of the video file. There is no easy way to get that from transport streams. Thus, some operations may fail. A simple (and lossless) solution for that would be to add an operation to your Opencast workflow which just stream-copies the video into a regular container such as mkv.
from pyca.
Thank you. I will try the solution.
from pyca.
Related Issues (20)
- Use self.assert* instead of assert
- Ubunu 20.04 HOT 8
- Document upload to PyPI
- Description for PyPI
- Use urllib.parse.urljoin HOT 2
- Event is upcoming and recording at the same time HOT 1
- Release database sessions
- Error ingesting a finished recording HOT 5
- Switch to GitHub Actions HOT 2
- Allow HLS preview
- Allow continuous preview HOT 4
- Don't store and upload metadata catalogs HOT 2
- Capturing two usb streams using pyCA HOT 7
- Add ability to download files form the UI
- Could pyCA evaluate the setting of "Add live event to Opencast Media Module"? HOT 2
- Undeprecate `upload_catalogs` option HOT 1
- Update ffmpeg version in Dockerfile HOT 6
- Probe for capture devices in metrics
- installation from packages fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyca.