
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (64)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9840)
-
Is there any way to stream video while encoding except using ffmpeg ?
25 novembre 2016, par Ruslan DoronichevI am developing a cloud service, that allow users to upload video files from torrents and watch them online. In order to view the media, while transcoding - I convert the source file into hls format. I don’t really like this approach, as every user has a storage limit and he has to use his space for storing both hls and source files, even if he is not going to watch the video while encoding. What would be the best solution in this case ?
-
How to install a Matomo premium feature
31 janvier 2018, par InnoCraftYou may have noticed over the last few months that many fantastic new features have been launched on the Matomo Marketplace. As some of them are paid premium features, you may wonder if the process to install them is straightforward, if you can test them before, and whether there is any support behind it. No worries – we’ve got you covered ! This blog post will answer some questions you may have about getting your first premium plugin.
So why are there some premium features ?
Researching, building, documenting, testing and maintaining quality products take years of experience and months of hard work by the team behind the scenes. When you purchase a premium plugin, you get a fully working product and you directly help the Matomo core engineers to grow and fund the new Free Matomo versions and cool features.
However, it is important for us to mention that Matomo will always be free, it is a Free software under GPLv3 license and it will always be the same.
Want to know more about this ? Check out our FAQ about why there are premium features.Can I test a premium feature before a purchase ?
Absolutely. There are two ways in order to do that :
- InnoCraft Matomo Cloud
- Matomo Marketplace
1. InnoCraft Matomo Cloud
The easiest way is to create a free trial account (one minute of your time) on our Matomo cloud service. You will then have the possibility to test all the premium features during a 30-day trial period. No credit card is required.
Every premium feature can be trialled for free on the Matomo Cloud
2. Matomo Marketplace
The second way is to get the premium feature from the Matomo Marketplace. We have an easy and hassle-free 30-day money back guarantee period on each feature. This means that if you are not happy with a premium feature and you are within the 30-day period, then you will get a full refund for it. Guaranteed !
How to purchase and install a premium feature ?
Step 1 : Purchasing the feature
In order to get a premium feature, just add it to the cart :
Once done, go to your cart and complete the checkout process to confirm the order.
When the order is confirmed, you immediately get your license key on the order confirmation page. You also receive the license key by email.
Step 2 : Activating the feature in your Matomo
Now that you have received the license key, it is time to activate the plugin in your Matomo :
- Log in to your Matomo and go to “Administration => Marketplace
- Copy / paste the license key into the license field at the top of the page and click “Activate”
- The key will now be activated and you will see a couple of new buttons.
- To install the premium feature(s) you just purchased in one click, simply click on “Install purchased plugins”. Alternatively, you can scroll down in the Marketplace to the premium feature you purchased and click on “Install”. You can also download the ZIP file on https://shop.matomo.org/my-account/downloads
And that’s it. The installation of a premium feature is as easy as copy/pasting the license key and clicking a button. Because one license key is linked to all purchased premium features, you only need to enter the license key once. The next time you purchase a premium feature, you simply click on “Install” to have it up and running.
Updating a premium feature
Updates for premium features work just like regular plugin updates. When there is a new update available, you will see a notification in the Matomo UI and also receive an email (if enabled under “General Settings”). To upgrade the feature simply click on “Update” and you’re done.
Which support is provided for each of those premium features ?
Premium features represent most of our day to day activity, so you can be 100% sure that we will do our maximum in order to answer any of your questions regarding them. To be 100% transparent, we often receive answers from our customers telling us how impressed they are by the quality of the service we are offering.
Have any questions ?
We are happy to answer any questions you may have so feel free to get in touch with us.
Thanks !
The post How to install a Matomo premium feature appeared first on Analytics Platform - Matomo.
-
Converting to mp4 with ffmpeg takes too much time
19 octobre 2022, par rwehresmannI have a cloud function where I'm trying to convert small octet-stream (captured from the webcam) to mp4 videos, however, it takes a huge amount of time to convert even a small stream (112.17 KB). I cannot finish the conversion below the timeout of 500 seconds in my cloud function.


Here is my node server :


#!/usr/bin/env node

const express = require('express')
const app = express()
const router = express.Router()
const func = require('./index')
const bodyParser = require('body-parser')

app.use(bodyParser.raw({ type: 'application/octet-stream' }))
router.post('/transcoder', func.transcode)
router.options('/transcoder', func.transcode)
app.use('/', router)

// start the server
const port = 3030
const http = require('http')
app.set('port', port)
const server = http.createServer(app)
server.listen(port)



The function that does the conversion :


const functions = require('@google-cloud/functions-framework');
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path
const FfmpegCommand = require('fluent-ffmpeg')
const fs = require('fs')
const path = require('path')
const stream = require('stream')
const cors = require('cors')({ origin: true })

FfmpegCommand.setFfmpegPath(ffmpegPath)

class WritableChunkCache extends stream.Writable {
 constructor(options) {
 super(options)
 this._chunks = []
 }

 write(chunk, encoding, callback) {
 this._chunks.push(chunk)
 if(typeof callback === 'function') callback()
 }

 writev(chunks, callback) {
 this._chunks = this._chunks.concat(chunks)
 if(typeof callback === 'function') callback()
 }

 get buffer(){
 return Buffer.concat(this._chunks)
 }
}

functions.http('mp4Transcoder', (req, res) => {
 try {
 res.set('Access-Control-Allow-Origin', '*');
 res.set('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');
 res.set('Access-Control-Allow-Headers', 'Content-Type');
 res.set('Access-Control-Allow-Credentials', true);

 if (req.method === 'OPTIONS') {
 res.set('Access-Control-Allow-Origin', '*');
 res.set('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');
 res.set('Access-Control-Allow-Headers', 'Content-Type');
 res.set('Access-Control-Allow-Credentials', true);
 res.status(204).send('');
 } else {
 cors(req, res, () => {});

 // for compatibility between dev-server and live cloud function
 if (!req.rawBody) {
 req.rawBody = req.body
 }

 if (req.rawBody) {
 const readStream = new stream.PassThrough()
 readStream.end(req.rawBody)
 const outStream = new WritableChunkCache()

 const command = new FfmpegCommand(readStream)
 .on('end', () => {
 console.log("Finished transcoding.")
 res.send(outStream.buffer)
 })
 .on('error', (err, ...args) => {
 console.error(err, args)
 res.status(500).send(err)
 })
 .format('mp4')
 .outputOptions(['-movflags frag_keyframe+empty_moov'])
 .pipe(outStream, { end: true })
 } else {
 res.status(400).send("No video file sent.")
 }
 }
 } catch (e) {
 console.log(e)
 res.status(500).send(e)
 }
});



I'm not concerned with the video quality. Any idea of how could I improve the conversion time ?