
Recherche avancée
Autres articles (83)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8206)
-
Naming FFMpeg output file after Container Conversion
29 juin 2023, par ClippersI repackage .mkv and .avi to .mp4 using this command.


setlocal enabledelayedexpansion
for %%a in ( "*.mkv" "*.avi" ) do (
(ffmpeg -i "%%a" -c:v copy -c:a copy -y "%%a.mp4"))



The problem is my output files get named filename.mkv.mp4 or filename.avi.mp4 How do I declude the .mkv/.avi part ?


I've found a batch file that finds filenames containing any keyboard key or combination and removes them, which I provide for anyone who needs to remove/replace characters appearing anywhere in a filename.


I use this batch file to remove the .mkv, .avi which appear anywhere in the filename. But.. a space is left in place of .mkv. I recently found the fix for removing the .mkv not leaving a space, which is at the bottom.


setlocal enabledelayedexpansion
for /f "usebackq delims=" %%N in (`dir /s /b`) do 
(
set var=%%~nN
set var=!var:^.mkv= !
set var=!var:%%= !

if not "!var!"=="%%~nN" (
 if not exist "%%~dpN!var!%%~xN" (
 echo "%%N" --^> "!var!%%~xN"
 ren "%%N" "!var!%%~xN"
 ) else (
 echo File "!var!%%~xN" ^(from %%N^) already 
exists.
 )
 )
)



To remove .mkv and not replace it with a space, all that I had to do was to remove the space right before the first occurrence of explanation point.
By the way, this file will not remove the last period in a file name. Also, if you want to delete more keyboard keys, then add more lines right below them. Two lines for each thing you want removed. You can use any keyboard character. For example, to remove .mkv not leaving a space ; and, replace all & with a space, use :


set var=!var:^.mkv=!
set var=!var:%%= !
set var=!var:^&= !
set var=!var:%%= !



Finally, I didn't write this script but since I did not document it's originator, I don't want to take credit for its authenticity.


-
Redirecting the output of the result of a command to FFMPEG (Android)
16 avril 2020, par DepressingUtopianIs there a way to save the result of the FFMPEG command in RAM without saving to disk ?
I am developing a video editor on Android, and I need to apply filters to the video in real time, displaying the result to the user. If done in a standard way, then a delay occurs, since the data is flushed to disk. The user must select a piece of video, select a filter and play it with the filter already applied.



I use the library :https://github.com/tanersener/mobile-ffmpeg



Thanks for answers !


-
Anomalie #3625 : Utilisation de classe "namespacée" en tant que filtre.
12 février 2017Je pense qu’on peut simplifier encore plus pour les namespaces, et gérer aussi le cas "name\space\fonction".
Les méthodes de classes sont forcément statiques pour être appelées en tant que filtre de la sorte.
Par conséquent, testeris_callable(array("name\space\Classe::methode"))
est correct.On obtiendrait quelque chose comme :
// fonction ou name\space\fonction if (is_callable($f)) return $f ; // méthode statique d’une classe Classe::methode ou name\space\Classe::methode elseif (false === strpos($f, ’: :’) and is_callable(array($f))) return $f ;