
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (63)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (9342)
-
Firebase function error : Cannot find ffmpeg
9 janvier 2020, par NathanI’m using the firebase storage to execute a function when a video gets uploaded to the default bucket, in the function I’m using Ffmpeg to convert the video and set some other options like size, then I want to reupload the file back to storage and I keep getting this error :
Error: Cannot find ffmpeg
at /srv/node_modules/fluent-ffmpeg/lib/processor.js:136:22
at FfmpegCommand.proto._getFfmpegPath (/srv/node_modules/fluent-ffmpeg/lib/capabilities.js:90:14)
at FfmpegCommand.proto._spawnFfmpeg (/srv/node_modules/fluent-ffmpeg/lib/processor.js:132:10)
at FfmpegCommand.proto.availableFormats.proto.getAvailableFormats (/srv/node_modules/fluent-ffmpeg/lib/capabilities.js:517:10)
at /srv/node_modules/fluent-ffmpeg/lib/capabilities.js:568:14
at nextTask (/srv/node_modules/async/dist/async.js:4578:27)
at Object.waterfall (/srv/node_modules/async/dist/async.js:4589:9)
at Object.awaitable(waterfall) [as waterfall] (/srv/node_modules/async/dist/async.js:208:32)
at FfmpegCommand.proto._checkCapabilities (/srv/node_modules/fluent-ffmpeg/lib/capabilities.js:565:11)
at /srv/node_modules/fluent-ffmpeg/lib/processor.js:298:14I have used npm install to install both fluent-ffmpeg and ffmpeg-static yet it says it cannot find it ? Here’s my code :
const ffmpeg = require('fluent-ffmpeg');
const ffmpeg_static = require('ffmpeg-static');
const {Storage} = require('@google-cloud/storage');
const fs = require('fs');
const os = require('os');
var path = require('path');
// Creates a client
const storage = new Storage({
projectId: 'projectID',
});
function promisifyCommand(command) {
return new Promise((resolve, reject) => {
command.on('end', resolve).on('error', reject).run();
});
}
exports.updatePost = functions.storage.object().onFinalize(async (object) => {
const fileBucket = object.bucket; // The Storage bucket that contains the file.
const filePath = object.name; // File path in the bucket.
const contentType = object.contentType; // File content type.
const resourceState = object.resourceState; // The resourceState is 'exists' or 'not_exists' (for file/folder deletions).
const metageneration = object.metageneration; // Number of times metadata has been generated. New objects have a value of 1.
// Get file name
const fileName = path.basename(filePath);
// Exit if this is a move or deletaion event.
if(resourceState === 'not_exists'){
console.log('This is a deletion event');
return;
}
// Download file from bucket
const bucket = storage.bucket(fileBucket);
const tempFilePath = path.join(os.tmpdir(), fileName)
// We add a '_output.flac' suffix to target audio file name. That's where we'll upload the converted audio.
const targetTempFileName = fileName.replace(/\.[^/.]+$/, "") + '_output.mp4';
const targetTempFilePath = path.join(os.tmpdir(), targetTempFileName);
const targetStorageFilePath = path.join(path.dirname(filePath), targetTempFileName);
await bucket.file(filePath).download({destination: tempFilePath});
console.log('Video downloaded locally to', tempFilePath);
// Convert the video to suitable formats
const command = ffmpeg(tempFilePath)
.setFfmpegPath(ffmpeg_static.path)
.withSize('50%')
.toFormat('mp4')
.output(targetTempFilePath);
await promisifyCommand(command);
console.log('New video created');
//Upload video again
await bucket.upload(targetTempFilePath, {destination: targetStorageFilePath});
console.log('Output video uploaded to', targetStorageFilePath);
// Delete the local file from server as it's been uploaded to storage
fs.unlinkSync(tempFilePath);
fs.unlinkSync(targetTempFilePath);
console.log('Tempory files removed.', targetTempFilePath);
});I have searched everywhere and people are also saying that running the ffmpeg module on the function will also exceed the limit very quickly and where told to use ffmpeg-static instead ?
Thanks,Nathan
-
net core and video transcoding on aws lambda
14 septembre 2022, par user1765862I'm looking for a solution to :


- 

- upload video to s3 bucket
- after video upload an aws lambda function will be triggered
- lambda function will use ffmpeg layer in order to transcode video (mainly cropping with other functionalities)
- save result (transcoded video into s3 bucket)










My language of choice inside lambda is c# and net core runtime.


I have found various resources for video manipulation with aws ffmpeg layer using lambda function but no examples in net core lambda.


My question is :




Can I use existing FFmpeg/FFprobe Lambda Layer for Amazon Linux such
as this one with lambda function written in c# and .net core ?




Another question :




Would you suggest Amazon Elastic Transcoder as a better choice with
lambda function .net core integration ?




-
How can I intercept videos uploaded with react-filepond in a Next.js app to convert them with fluent-ffmpeg before uploading them to S3 ?
24 avril 2023, par David DíazI'm working on a Next.js app where users can upload videos using react-filepond. Currently, the uploaded videos are immediately uploaded to an S3 bucket without any modifications. However, I'd like to intercept the uploaded video file, use fluent-ffmpeg to convert it to a specific format, and then upload the converted video to the same S3 bucket.


I'm not quite sure where to start with this. Here's what I've considered so far :


- 

- Using FilePond's onprocessfile callback to intercept the uploaded file and pass it to a function that uses fluent-ffmpeg to convert it. However, I'm not sure how to get the file data from FilePond and pass it to the conversion function.
- Using Next.js' API routes to handle the file upload and conversion separately from the main app logic. However, I'm not sure how to set up the API route to receive the uploaded file from FilePond.






I appreciate any guidance or resources you can share. Thank you !