
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (25)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
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 (5886)
-
Merge commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’
29 septembre 2014, par Michael NiedermayerMerge commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’
* commit ’2cd7c99498b1bcb450c328459cf85a686ce83456’ :
h264 : reset ret to avoid propagating minor failuresSee : 47048aa30b5c35fc8b030e819b9769b6bca03c08
Merged-by : Michael Niedermayer <michaelni@gmx.at> -
avformat with custom IO - threadsafe ?
30 mars 2020, par DanielConsider the following pseudo-code snippet :



init {
 avdevice_register_all
 avformat_network_init
}

thread {
 // open input
 av_find_input_format
 avformat_open_input
 avformat_find_stream_info

 // open output
 avformat_alloc_output_context2
 avio_alloc_context(outputbuffer,size,1,extradata,0,&staticWrite,0)
 avformat_new_stream
 avcodec_parameters_copy
 avformat_write_header

 loop {
 av_read_frame
 av_write_frame
 }
}

staticWrite {
 // here comes data
}




When I have only one thread everything works fully good.
However when there are more threads (2,3), there are unexpected crashes (mainly segfaults).



Now my goal with this question is not finding my segfaults, but I want to get a confirmation that the above snippet is good in terms of multi-threaded avformat, or if not, what else do I need to be able to use avformat's functions from multiple threads ?



ffmpeg was compiled with this config :



configuration: --enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --arch=armhf --target-os=linux --prefix=. --enable-mmal --enable-omx --enable-omx-rpi --enable-gpl --enable-nonfree --enable-pthreads --extra-ldflags='-Llib -Wl,-rpath-link,lib' --extra-libs=-ldl --extra-cflags=-Iinclude



-
react electron importing 'execa' Error : Can't resolve 'child_process'
8 décembre 2024, par MartinI have been dealing with this issue for a while, trying different stackoverflow solutions, AI advice, multiple re-writes, and I am still very puzzles by it.


I have a react electron app, which works fine, but if I try to import the 'execa' module :


import { execa } from 'execa';


I always get these error messages :


[0] Failed to compile.
[0] 
[0] Module not found: Error: Can't resolve 'child_process' in '/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn'
[0] ERROR in ./node_modules/cross-spawn/index.js 3:11-35
[0] Module not found: Error: Can't resolve 'child_process' in '/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn'
[0] 
[0] ERROR in ./node_modules/cross-spawn/lib/parse.js 3:13-28
[0] Module not found: Error: Can't resolve 'path' in '/home/martin/Documents/projects/electron-ghactions/node_modules/cross-spawn/lib'
[0] 
[0] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
[0] This is no longer the case. Verify if you need this module and configure a polyfill for it.
[0] 
[0] If you want to include a polyfill, you need to:
[0] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
[0] - install 'path-browserify'
[0] If you don't want to include a polyfill, you can use an empty module like this:
[0] resolve.fallback: { "path": false }
[0] 



It happens when I try to import execa at this line in my file 'FFmpeg.js' inside of this repo :
https://github.com/MartinBarker/electron-ghactions/blob/e76d643302cdc8601c11877eff8b43f2d5977c65/src/Ffmpeg.js#L3


The thing that confuses me, is that I have a separate repo doing a very similar thing, react and electron, which can import and use this line totally fine with no error :


const execa = window.require('execa');





I've tried taking all the dependency versions from the working repo package.json and moving them to my non working repo, but the error still persists. Is there a config setting inside my
electron-ghactions
repo package.json file causing this error ? How can I allow for the importing of execa inside my react component FFmpeg.js ?