
Recherche avancée
Autres articles (95)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (5677)
-
ffmpeg/batch file : input format stays in output file name
11 juin 2015, par FilippI created this batch file to put all aac files in one directory into an m4a container. The command works so far, but every new file generated has the format of the input file in the output files name.
For example : test(.aac) is in an m4a container but is NAMED test.aac(.m4a)
Here is the .bat file :
for /r %%X in (*.*) do (
ffmpeg -i "%%X" "%%X.m4a"
)
pauseI’ll be grateful for any easy solution, best regards and thanks to everyone
-
What is the best ffmpeg command keeping the best quality to convert a m3u8 file into a mp4 file ?
16 novembre 2019, par NicrycOk so I downloaded a .m3u8 file on the Internet. I saw that this file extension corresponds to a HTTP Live Streaming protocol also called HLS. This protocol consists of an index file (the m3u8 file) that is a text file containing several URL redirecting to .ts files. Those .ts files are video files where each one are a little part of the whole video. Then I searched and found on Wikipedia and on the Apple website that this protocol embeds the MPEG-4 (H.264) video format.
If I’m not mistaken .mp4 is the file extension of the MPEG-4 (H.264) video format. So a mp4 file is always a MPEG-4 (H.264) video. I use ffmpeg to convert this .m3u8 file into a "normal" video file. Currently I use this command :
ffmpeg -protocol_whitelist "file,http,https,tcp,tls" -i input.m3u8 output.mp4
Although even if the video quality is almost perfect it’s a little below the quality of the original m3u8 file. I know I’m really pernickety but is there a better command to keep the original quality ? Or does the ffmpeg convertion command involve inevitably a quality loss ?
-
FFmpeg with node.js. Transcode a file to another format
19 juin 2014, par user2757842Have a bit of a problem with this, I have an .avi file in which I would like to transcode into a .flv file using FFmpeg, here is what I have so far :
var ffmpeg = require('fluent-ffmpeg');
//make sure you set the correct path to your video file
var proc = new ffmpeg({ source: 'C:/Users/Jay/Documents/movie/drop.avi', nolog: true })
//Set the path to where FFmpeg is installed
.setFfmpegPath("C:\Users\Jay\Documents\FFMPEG")
//set the size
.withSize('50%')
// set fps
.withFps(24)
// set output format to force
.toFormat('flv')
// setup event handlers
.on('end', function() {
console.log('file has been converted successfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
})
// save to file <-- the new file I want -->
.saveToFile('C:/Users/Jay/Documents/movie/drop.flv');It seems straightforward enough and I can do it through the FFmpeg command line, but I am trying to get it working within a node.js app, here is the error it is returning :
C:\Users\Jay\workspace\FFMPEGtest\test.js:17
.withSize('50%')
^
TypeError: Cannot call method 'withSize' of undefined
at Object.<anonymous> (C:\Users\Jay\workspace\FFMPEGtest\test.js:17:2)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
</anonymous>It throws the same error for each built in FFmpeg function (.toFormat, .withFPS etc)
If anyone has a solution to this, I’d greatly appreciate it