
Recherche avancée
Autres articles (41)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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 (7920)
-
How to provide video streaming option for different formats on website
3 avril 2014, par kami998In my website users can upload different video formats and i need to provide streaming for those formats (for example : mkv, avi, mp4, 3gp, wmv), but on web only mp4 format can be played by flash players.
My videos are hosted on amazon s3 server while my webserver is on different location, what i do is receive stream from s3 and transmit to client, so what i need is to convert the video format to mp4 on the fly
So, is there any possibility to perform this functionality ( i am using asp.net mvc webapi as streaming service )
Any sort of help is appreciable...
-
FFMPEG video encoded by android app doesn't scale properly on the website
9 octobre 2016, par Ahmed MujtabaI’m trying to creat e an app that records a video on phone and uploads it to the website. I’m using a FFMPEG library to encode the video to be streamed on the web. The command I’m using for encoding is below :
-y i inputPath -vf scale=640:480,transpose=1 -strict experimental -s 360x640 -r 25 -vcodec mpeg4 -b 1000k ab 48000 -ac 2 -ar 22050 destinationPath
The video is encoded fine but when I try to play it on the website, it’s stretched vertically and goes off the screen. I’m using html5 player to play it on the web. Here’s what the video looks like
The video uploaded from the website is encoded using libx264 codec and it plays fine. However the library I’m using to encode on the android app doesn’t support libx264. I’m not sure if it’s the incorrect aspect ratio that’s messing up the playback or something else. I’ve set the aspet ratio to
640:480
but that hasn’t fixed things.
Can anyone help ? -
How do I get ffmpeg to work on my website ?
20 septembre 2023, par Sam Cordinffmpeg works on my local computer when I provide the absolute path for it or make it work globally by editing the environment variables.


But on my website it doesn't work at all. I uploaded ffmpeg.exe, ffplay.exe, and ffprobe.exe to public_html/


Here is my code :


<?php
 ini_set ('display_errors', 1);
 ini_set ('display_startup_errors', 1);
 error_reporting (E_ALL);
 $image1 = "/home/mywebsitename/public_html/uploads2/1.png";
 $image2 = "/home/mywebsitename/public_html/uploads2/2.png";
 $ffmpeg = "/home/mywebsitename/public_html/ffmpeg";
 $command = $ffmpeg." -i ".$image1." -vf scale=100:-2 ".$image2;
 system($command);
?>



It's supposed to make one image file mimic another, while having some differences in size and quality.


I enabled the system function in my php.ini file which allowed it to work, and it doesn't give me an error on that anymore.


I also changed the permissions of all the files and folders involved(uploads2 folder, 1.png, 2.png, the ffmpeg programs) to 777 which allows everything from read, write and execute.


However, nothing outputted, and the files stayed the same. How do I get ffmpeg to work on my website ?