
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (87)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8936)
-
FFMPEG combining MP4 videos with same encoding not working, only showing first video
13 avril 2020, par AyudhMy mp4 videos have the same encoding : h264



I know because I ran this command on them :



ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 a.mp4



Now I combine them using the following command :



ffmpeg -loglevel quiet -f concat -safe 0 -i video-list.txt -c copy video-final.mp4



my video-list.txt file looks like this :



file 'a.mp4'
file 'b.mp4'
file 'c.mp4'




Now the video-final.mp4 which is the combined video actually has duration which is equal to the sum of its' component videos and also is quite larger in size. The issue is that when I play the video, it only plays the first video then stops.



What's going on here ? Any insight would be appreciated.



I've looked at : ffmpeg : Combine/merge multiple mp4 videos not working, output only contains the first video and the answers suggested there are the ones I'm using : specifically, concating from a text file containing the component videos.


-
Batch combining multiple audio files with same picture to create mp4 files
31 décembre 2017, par MikaelI need some help with batch combining hundreds of audio files (mp3s) that I fully own with the same picture to create mp4 files with identical names as the audios. It would be even better if I could do this on a parent directory with the audio files spread out in subdirectories rather than have all the audios in one large folder.
I’ve tried using ffmpeg but am unable to do this in batch and on files with names that includes spaces. There are also seems to be some discrepancies between different ffmpeg versions but I’m using the latest one (20171229)
-
Combining audio and video streams in ffmpeg in nodejs
10 juillet 2015, par LouisKThis is a similar question to Merge WAV audio and WebM video but I’m attempting to deal with two streams instead of static files. It’s kind of a multi-part question.
It may be as much an ffmpeg question as a Node.js question (or more). I’ve never used ffmpeg before and haven’t done a ton of streaming/piping.
I’m using Mauz-Khan’s MediaStreamCapture (an expansion on RecordRTC) in conjunction with Socket.io-stream to stream media from the browser to the server. From webkit this delivers independent streams for audio and video which I’d like to combine in a single transcoding pass.
Looking at FFmpeg’s docs it looks like it’s 100% capable of using and merging these streams simultaneously.
Looking at these NPM modules :
https://www.npmjs.com/package/fluent-ffmpeg and https://www.npmjs.com/package/stream-transcoder
Fluent-ffmpeg’s docs suggest it can take a stream and a bunch of static files as inputs, while stream-transcoder only takes a single stream.
I see this as a use case that just wasn’t built in (or needed) by the module developers, but wanted to see if anyone had used either (or another module) to accomplish this before I get on with forking and trying to add the functionality ?
Looking at the source of stream-transcoder it’s clearly setup to only use one input, but may not be that hard to add a second to. From the ffmpeg perspective, is adding a second input as simple as adding an extra source stream and an extra ’-i’ in the command ? (I think yes, but can foresee a lot of time burned trying to figure this out through Node).
This section of stream-transcoder is where the work is really being done :
/* Spawns child and sets up piping */
Transcoder.prototype._exec = function(a) {
var self = this;
if ('string' == typeof this.source) a = [ '-i', this.source ].concat(a);
else a = [ '-i', '-' ].concat(a);
var child = spawn(FFMPEG_BIN_PATH, a, {
cwd: os.tmpdir()
});
this._parseMetadata(child);
child.stdin.on('error', function(err) {
try {
if ('object' == typeof self.source) self.source.unpipe(this.stdin);
} catch (e) {
// Do nothing
}
});
child.on('exit', function(code) {
if (!code) self.emit('finish');
else self.emit('error', new Error('FFmpeg error: ' + self.lastErrorLine));
});
if ('object' == typeof this.source) this.source.pipe(child.stdin);
return child;
};I’m not quite experienced enough with piping and child processes to see off the bat where I’d add the second source - could I simply do something along the lines of
this.source2.pipe(child.stdin)
? How would I go about getting the 2nd stream into the FFmpeg child process ?