
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (99)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (10340)
-
Returning ffprobe metadata to another function using fluent-ffmpeg
28 avril 2021, par noquierouserI'm trying to use
fluent-ffmpeg
'sffprobe
to get the metadata of a file and add it to a list, but I want to separate the process of getting the metadata from the method related to checking the file, mostly because theaddFileToList()
function is quite long as is and theffprobe
routine is quite long as well.

I've tried the following code, but it doesn't give the results I'm expecting :


export default {
 // ...
 methods: {
 getVideoMetadata (file) {
 const ffmpeg = require('fluent-ffmpeg')
 ffmpeg.ffprobe(file.name, (err, metadata) => {
 if (!err) {
 console.log(metadata) // this shows the metadata just fine
 return metadata
 }
 })
 },
 addFileToList (file) {
 // file checking routines
 console.log(this.getVideoMetadata(file)) // this returns null
 item.metadata = this.getVideoMetadata(file)
 // item saving routines
 } 
 }
}



I've already tried to nest the
getVideoMetadata()
routines insideaddFileToList()
, and it works, but not as intended, because the actions are carried, but not the first time, only the second time. It seems to be an async issue, but I don't know how can I tackle this.

What can I do ? Should I stick to my idea of decoupling
getVideoMetadata()
or should I nest it insideaddFileToList()
and wrestle withasync
/await
?

-
avformat/apngdec : Fix size/overflow checks
12 janvier 2020, par Andreas Rheinhardtavformat/apngdec : Fix size/overflow checks
apng data consists of parts containing a small header (including a
four-byte size field) and a data part ; the size field does not account
for everything and is actually twelve bytes short of the actual size. In
order to make sure that the size fits into an int, the size field is
checked for being > INT_MAX ; yet this does not account for the + 12 and
upon conversion to int (which happens when calling append_extradata()),
the size parameter can still wrap around. In this case the currently
used check would lead to undefined signed integer overflow.Furthermore, append_extradata() appends the new data to the already
existing extradata and therefore needs to make sure that the combined
size of new and old data as well as padding fits into an int. The check
used for this is "if (old_size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE -
new_size)". If new_size is > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE
the right side becomes negative if the types are signed (as they are
now) ; yet changing this to "if (new_size > INT_MAX -
AV_INPUT_BUFFER_PADDING_SIZE - old_size)" is better as this also works
for unsigned types (where it is of course presumed that INT_MAX is
replaced by the corresponding maximum for the new type).Both of these issues have been fixed.
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
JavaCV FrameRecorder broken output
24 juin 2016, par user6510675I am trying to record from my webcam 360 frames, however the generated movie file always gets broken.
Example from my dropbox account : https://www.dropbox.com/s/wc4p21tyuhu7uls/Untitled.avi?dl=0
The issue starts at minute 0:02.
I don’t know how to fix this.
I always receive this message in the console :
using huffyuv 2.2.0 or newer interlacing flag