
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (54)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer 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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8847)
-
Inotifywait giving wrong file path after running ffmpeg
23 mars 2019, par MorpheusSo im running a little inotifywait script to monitor a folder for new files and transcode them if they are mxf and contain a video stream. But for some weird reason if the script does call ffmpeg the next fileevent by inotify is giving me a wrong path seemingly random cutting the filepath at any position.
So far i tried moving the call to an external script, resetting the file variable which shouldnt matter anyway and adding a sleep to the script. I also tried using normal filepaths without whitespaces or - which shouldnt matter but that also didnt help.
inotifywait -m -r -e close_write -e moved_to --format "%w%f" "$dir" | while read f
do
if ffprobe "$file" 2>&1 | egrep 'Stream #0:0: Video' && ffprobe "$file" 2>&1 | egrep 'MXF' ; then
mkdir -vp "$movepath" && mkdir -vp "$trans$path3" && mkdir -vp "$trans2$path3" && mv -fu "$f" "$trans2$path" && \
ffmpeg -y -i "$file" -map_metadata 0 -c:v h264_nvenc -b:v 2m -bufsize 2m -profile:v baseline -level:v 3.0 -pix_fmt yuv420p -vf yadif,scale="iw/4:ih/4" -an "$transpath" 2>> copy_ffmpeg_log.txt
doneexpected :
/media/raid/TMO_Media/INGEST-HP.1/WacinS1_19V01.5C935C93A3B4V.mxf
example for an result after transcode :
cinS1_19A06.5C935C93A088A.mxf
do while normal mv commands work and inotify does work as expected when stopped for transcoding a file the next path given by inotify is getting messed up
link to the entire script : https://pastebin.com/aRNG4rqz
-
FFmpeg insufficient thread locking only when deploying application using homebrew
20 décembre 2012, par KikohsI have the strangest bug of my life.
I have installed ffmpeg using homebrew. I use it from a dll.
I have set a lock manager because I use ffmpeg from multiple threads.In Engine.h :
class EXPORT_LIB Engine
{
public:
static int initEngine();
static int closeEngine();
};In Engine.cpp :
static int ff_lockmgr(void **mutex, enum AVLockOp op)
{
if (NULL == mutex)
return -1;
switch(op)
{
case AV_LOCK_CREATE:
{
*mutex = NULL;
boost::mutex * m = new boost::mutex();
*mutex = static_cast(m);
break;
}
case AV_LOCK_OBTAIN:
{
boost::mutex * m = static_cast(*mutex);
m->lock();
break;
}
case AV_LOCK_RELEASE:
{
boost::mutex * m = static_cast(*mutex);
m->unlock();
break;
}
case AV_LOCK_DESTROY:
{
boost::mutex * m = static_cast(*mutex);
delete m;
break;
}
default:
break;
}
return 0;
}
int Engine::initEngine()
{
int res = -1;
res = av_lockmgr_register(&ff_lockmgr);
av_register_all();
av_log_set_level(AV_LOG_QUIET); // ERROR, PANIC
// Av lock manager success
if( res == 0 ) {
res = MULTITHREAD;
}
else {
res = SINGLETHREAD;
}
return res;
}
int Engine::closeEngine()
{
int res = 0;
res = av_lockmgr_register(NULL);
return res;
}So far so good, everything works as expected.
When I deploy my app using CMake fix_bundle. I have an error message
insufficient thread locking around avcodec_open/close()
If I compile ffmpeg by hand in a custom location, when I deploy the app everything works as expected. What is wrong with homebrew ?
-
Adding Documentation of a library to manual pages
30 décembre 2012, par AppyI am working with Ubuntu 12.04.1 . I am learning to make a basic video player using FFmpeg library in C . My manual pages don't show any entries for the headers/functions of the library . Can someone please show me a way to add the documentation to my manual pages .
It is much easy to search that way than searching on a web page everytime .PS : I have tried to add documentation to man pages using Synaptic package manager . I installed a ffmpeg-doc package . But it doesn't seem to work .
Thanks .