
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
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 (8183)
-
Cannot read property 'isStream' of undefined with fluent-ffmpeg
17 juin 2024, par Dario RusignuoloI have these lines of code



s3.getObject(getParams, function (err, response) {
 ffmpeg(response.Body)
 .size('640x360')
 .videoFilter({ filter: 'scale', options: [640, -1] })
 // .seekInput('3:00')
 .duration('0:08')
 .format('mp4')
 .on('error', function (err) {
 console.error(err, 'invalid ffmpeg conversion')
 })
 .on('start', function (start) {
 console.log(start, 'starting');
 })
 .on('progress', function (any) {
 console.log(any, 'progress')
 })
 .on('end', function () {
 s3.putObject({
 Bucket: S3_CREDENTIALS.bucketName,
 Key: newKey,
 Body: fs.readSync(newKey),
 ContentType: response.ContentType
 }, function (err, data) {
 fs.unlinkSync(newKey)
 if (err) {
 res.json('ko')
 } else {
 res.json('ok')
 }
 });
 })
 .output(fs.createWriteStream(newKey))
 .run()
 })




The reason because I create a file is that I cannot stream the fluent-ffmpeg output to the putObject stream body. Of course if there's a way to avoid to create a local file (and then delete it) is better



The error I get is a
fluent-ffmpeg
error sayingError [TypeError]: Cannot read property 'isStream' of undefined



Any help is appreciated.


-
Pass multiple input files to ffmpeg using a single stream in Node
1er mai 2019, par Matteo BonaciniI’m trying to use ffmpeg to merge multiple video files. Every file has the same encoding, and they just need to be stitched together. The problem I’m having is that I’d like to do this using streams, but ffmpeg only supports one input stream per command.
Since the files have the same encoding, I thought I could merge them into a single stream, and feed it as an input to ffmpeg.
const CombinedStream = require("combined-stream")
const ffmpeg = require("fluent-ffmpeg")
const AWS = require("aws-sdk")
const s3 = new AWS.S3()
const merge = ({ videos }) => {
const combinedStream = CombinedStream.create();
videos //I take my videos from S3 and merge them
.map((video => {
return s3
.getObject({
Bucket: "myAWSBucketName",
Key: video
})
.createReadStream()
}))
.forEach(stream => {
combinedStream.append(stream)
})
ffmpeg()
.input(combinedStream)
.save("/tmp/file.mp4")
}
merge({ videos: ["video1.mp4", "video2.mp4"]})I was hoping ffmpeg could read the files from the single stream and output them together, but I got this error instead :
Error: ffmpeg exited with code 1: pipe:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!Can anyone help me ?
-
Setting a timeout for av_read_frame
20 décembre 2014, par user3663917I am new to FFMPEG and was trying to do HLS streaming using FFMPEG. When i tried using the function "av_read_frame" it returns a negative value whenever data is not available. Is there some method to make this function wait till some data is received or to make this function wait till a timeout is reached ?