Git Product home page Git Product logo

Comments (4)

lkiesow avatar lkiesow commented on September 22, 2024

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.

prabathdj avatar prabathdj commented on September 22, 2024

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.

lkiesow avatar lkiesow commented on September 22, 2024

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.

prabathdj avatar prabathdj commented on September 22, 2024

Thank you. I will try the solution.

from pyca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.