
Recherche avancée
Autres articles (78)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (12415)
-
FFmpeg for automatic video generation from images ?
22 janvier 2018, par Dionisis KI want to implement an automatic video generation from images, like facebook’s anniversary video. And I would also like to add some filters. I’ve been searching a lot and read FFmpeg’s documentation which is pretty amazing.
In the future I want to have 10-20 "bashscripts" with different filters leading to different themes (e.g. fade-in, zoom, overlay images, left-to-right, etc..)
So my biggest concern is having an interface which offers readable code and provides scalability. Since ffmpeg is a bashscript i searched for a wrapper
There are wrappers in
- https://github.com/PHP-FFMpeg/PHP-FFMpeg for php ,which doesn’t support image convertion to videos and complex filters .
- https://github.com/fluent-ffmpeg/node-fluent-ffmpeg which looks promising but also difficult to go with complex filters
- and https://github.com/kkroening/ffmpeg-python for python.I think that it s pretty good
Are there any other wrappers worth to check ?
Would you recommend something from the above ?
Is there any pros and cons using a specific programming language for this particular case ?
Is there anything else i should bear in mind before I make a decision ? -
Acceptable Video Size For Social Network With FFMpeg
2 août 2022, par John SantosI'm building a social network on Android and using FFMPeg to compress the videos before uploading them. Videos will have maximum 1 minute of duration.



The original video for test has 87.74Mb 1080x1920.



Trying to find the middle point between quality and file size I could get to a video size of either 26Mb with an "meh" quality (which I'm not happy with) or 33.06Mb with a good quality (scaling the video to 480x852).



Problems :



1) It's taking an average of 2min 30sec to compress a 1 minute video !



2) Even 25Mb seems to be too much for a 1 minute video for a social network



The ask :



1) Any clue how do Instagram and Facebook do it to compress and upload the same video above within 1 minute !!?? I know they compress it cause the quality is not the same when on Facebook/Instagram but how to they get it done that fast ?



2) What would it be an acceptable file size for a 1 minute video on Facebook/Instagram ? I'm worried about wasting too much storage for 1 minute videos. Does anyone have any idea about it ?





I'm searching a lot about FFMpeg commands to get it better and better but it would be easier if I had in mind what I want to achieve.


-
Send RTSP + Audio to RTMP server with ffmpeg
7 février 2018, par Emiliano SpadaI successfully sent an rtsp video stream to rtmp server (facebook) but have not been able to use audio using ffmpeg.
If I play RTSP from camera locally audio works fine.
This is the command I use (ubuntu server 16.0.4 LTS - ffmpeg 2.8.11) :
sudo ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i "rtsp://admin:admin@192.168.1.2/mode=real&idc=1&ids=1" -tune zerolatency -vcodec libx264 -g 60 -keyint_min 60 -r 30 -pix_fmt + -b:v 4000k -acodec copy -ar 44100 -b:a 128k -strict experimental -f flv "rtmp://live-api.facebook.com:80/rtmp/STREAM-KEY"
Here the full log :
https://www.dropbox.com/s/vo05n0kehs75iba/ffmpeg-20180207-100549.log?dl=0