
Recherche avancée
Autres articles (41)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (5846)
-
PHP ffmpeg having problem extracting Image as a thumbnail
19 décembre 2022, par SarotobiI am using a below repo via composer everything works well but i have a problem extracting the image as a poster ( thumbnail )


https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming#extracting-image


I used below code.


$video = $ffmpeg->open('./videos/example1.mp4");
$frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(51));
$frame->save('/var/media/poster.jpg');



But got an error below using mac os


Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command '/usr/local/bin/ffmpeg' '-y' '-ss' '00:00:51.00' '-i' './videos/example1.mp4' '-vframes' '1' '-f' 'image2' './videos/example1/poster.jpg': Error Output: ffmpeg version N-109428-g10a56363a7-tessus https://evermeet.cx/ffmpeg/


Just want to know what is missing, i have already run
chmod -R 0777 .
to have a sufficient permissions.

-
avfilter/sharpen_npp : add sharpening video filter with borders control
6 septembre 2021, par Roman Arzumanyan -
Python Azure Function Blob trigger concurrency problem
22 août 2024, par Mihai PodaruI developed an OCR in python using pytesseract and cv2. It takes files for a blob container and extracts text from them. I deployed it to an Azure Function container. I used a container because I need system dependencies (poppler-utils tesseract-ocr ffmpeg libsm6 libxext6).


If I simulate the function locally using Azurite I am able to process multiple files at a time. But if I deploy it to Azure, if I upload 2 files at once, the CPU goes to 100% and blocks there. I figured there is a concurrency problem, because it runs well if I configure the host file like this


"extensions": {
 "blobs": {
 "maxDegreeOfParallelism": 1,
 ...
 }
}



Can I do something about it or are the libraries/dependencies not compatible with concurrency ?