
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (15)
-
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 -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4050)
-
Static ffmpeg library windows
29 novembre 2022, par peterIm trying to use the ffmpeg libraries (
libavutil
,libswscale
, ...) in a bigger project by statically linking them, im not interested in the binaries. Now the issue comes down to getting them statically built. I tried searching for pre-compiled builds but without success.

Following the docs, i compiled them on wsl2 for win64 with


./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --disable-shared --enable-static
make



After that i copied the
libavformat/libavformat.a
aslibavformat.lib
(which should be fine since they are cross-compiledar
archives ?) into my project and linked them with CMake.

When compiling smth like


AVFormatContext* pFormatContext = avformat_alloc_context();



i get a linker error saying


lld-link : error : undefined symbol: avformat_alloc_context



When looking at the libs with
dumpbin -linkermember libavformat.lib
, i can see

>dumpbin -linkermember libavformat.lib
...
 135CD92 _avformat_alloc_context
...



notice the underscore.


Can i not link the cross-compiled
*.a
files directly into a windows executable ?

Honestly at this point any ideas are welcome.


Thanks


-
Converting a binary stream to an mpegts stream
22 décembre 2018, par John KimI’m trying to create a livestream web app using NodeJS. The code I currently have emits a raw binary stream from the webcam on the client using socket IO and the node server receives this raw data. Using fluent-ffmpeg, I want to encode this binary stream into mpegts and send it to an RTMP server in real time, without creating any intermediary files. Could I somehow convert the binary stream into a webm stream and pipe that stream into an mpegts encoder in one ffmpeg command ?
My relevant frontend client code :
navigator.mediaDevices.getUserMedia(constraints).then(function(stream) {
socket.emit('config_rtmpDestination',url);
socket.emit('start','start');
mediaRecorder = new MediaRecorder(stream);
mediaRecorder.start(2000);
mediaRecorder.onstop = function(e) {
stream.stop();
}
mediaRecorder.ondataavailable = function(e) {
socket.emit("binarystream",e.data);
}
}).catch(function(err) {
console.log('The following error occured: ' + err);
show_output('Local getUserMedia ERROR:'+err);
});Relevant NodeJS server code :
socket.on('binarystream',function(m){
feedStream(m);
});
socket.on('start',function(m){
...
var ops=[
'-vcodec', socket._vcodec,'-i','-',
'-c:v', 'libx264', '-preset', 'veryfast', '-tune', 'zerolatency',
'-an', '-bufsize', '1000',
'-f', 'mpegts', socket._rtmpDestination
];
ffmpeg_process=spawn('ffmpeg', ops);
feedStream=function(data){
ffmpeg_process.stdin.write(data);
}
...
}The above code of course doesn’t work, I get these errors on ffmpeg :
Error while decoding stream #0:1: Invalid data found when processing input
[NULL @ 000001b15e67bd80] Invalid sync code 61f192.
[libvpx @ 000001b15e6c5000] Failed to decode frame: Bitstream not supported by this decoderbecause I’m trying to convert raw binary data into mpegts.
-
Anomalie #3014 : Chaines de langue de "Forums" utilisées dans la "dist"
24 décembre 2017, par b bPour info, voici les occurrences de chaînes de langue de forum dans la dist à ce jour :
grep -nHIirF —exclude=*.svn-base — :forum : . ./404.html:36 : [(#ENVfond_erreur|==forum|oui)
<:forum:aucun_message_forum :>
]
./article.html:56 : [<:forum:form_pet_message_commentaire :>
./inclure/forum.html:17 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./inclure/forum.html:42 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./forum.html:11 :
./forum.html:25 :<:accueil_site :> > ; ... > ; <:forum:forum :> #ID_FORUM
./forum.html:28 : [
(#TITRE|sinon<:forum:forum :> #ID_FORUM)
]
./forum.html:38 :<:forum:forum_avez_selectionne :> #TITRE
./forum.html:41 : [
<:forum:form_pet_message_commentaire :>
./breve.html:43 : [
<:forum:form_pet_message_commentaire :>