
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (37)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (5683)
-
Version 1.3.1 final.
27 novembre 2014, par Erik de Castro LopoVersion 1.3.1 final.
- [DH] README
- [DH] build/config.mk
- [DH] configure.ac
- [DH] doc/Doxyfile.in
- [DH] doc/html/documentation_bugs.html
- [DH] doc/html/index.html
- [DH] src/libFLAC/libFLAC_dynamic.vcproj
- [DH] src/libFLAC/libFLAC_dynamic.vcxproj
- [DH] src/libFLAC/libFLAC_static.vcproj
- [DH] src/libFLAC/libFLAC_static.vcxproj
- [DH] test/metaflac-test-files/case07-expect.meta
-
How can I get the final size after transcripting a video to stream it with fluent-ffmpeg ?
5 avril 2018, par G. ManukyanI am trying to stream a video using
createReadStream
and usingpipe(res)
in node.js and it works fine if the file doesn’t need transcoding (mp4, webm).With mkv files I am using fluent-ffmpeg to transcode it on the fly, but the problem is that I can’t go back and forward in the html video player.
download = function(file, req, res) {
const range = req.headers.range
const parts = range.replace(/bytes=/, "").split("-")
const start = parseInt(parts[0], 10);
const end = parts[1] ? parseInt(parts[1], 10) : file.length - 1
res.setHeader('Content-Type', 'video/webm')
res.setHeader('Accept-Ranges', 'bytes');
res.setHeader('Content-Length', 1 + end - start);
res.setHeader('Content-Range', `bytes ${start}-${end}/${file.length}`);
res.statusCode = 206;
var stream = file.createReadStream({start, end})
ffmpeg(stream)
.videoCodec('libvpx')
.audioCodec('libvorbis')
.videoBitrate('512k')
.format('webm')
.on('start', () => {
console.log('transcoding...')
})
.on('error', (err, stdout, stderr) => {
console.log(err.message, err, stderr);
})
.on('progress', function(progress) {
console.log(progress);
})
.on('end', function(filenames) {
console.log("Finished transcoding.");
})
.pipe(res);
}I think that comes from the fact that we don’t know in advance the size of the final transcoded file so the range we send in the headers is wrong and somehow make the video player "limited".
What can be a workaround to this problem ?
-
FFMPEG no audio in final output [migrated]
16 juin 2015, par MaverickI have the following FFMPEG command working.
ffmpeg -y -i slide.mp4 -f lavfi -i "color=c=black:s=1920x1080:r=25:d=1" -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; \
[1:v] trim=end=3,setpts=PTS-STARTPTS [pre]; \
[1:v] trim=end=3,setpts=PTS-STARTPTS [post]; \
[pre][main][post] concat=n=3:v=1:a=0 [out]" -map "[out]" output.mp4It appends black frames at the start and end of the video. However, the output file does not contain the audio from the input file.
Any pointers to the problem will be highly appreciated.