
Recherche avancée
Autres articles (108)
-
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 (...) -
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 -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (14205)
-
Convert powershell command to terminal (osx)
10 mars 2015, par user1765661I use a loop on powershell to convert some videos, can you please help me to translate the same "code" so I can use it in the terminal of my mac ?
Thank you.
cd D:\Videos\Original
new-item -path . -name "Videos_convert_003" -type directory
dir -exclude *.png | foreach-object { $newname = $_.Basename + ".mp4"; ffmpeg -i "$_" -i logo_img_003.png -filter_complex overlay D:\Videos\Original\Videos_convert_003\$newname } -
a script for mac os terminal with user input
10 décembre 2022, par RaghavI want to save m3u8 file from website to my local machine. For this I got the command as follows :
ffmpeg -i x -codec copy y.mkv
where x is the url of m3u8 playlist and y is name of output file
Is there a way I can automate the process of generating and executing this command using some program so that I can just enter the url of m3u8 file and name of output file and then automatically a command is generate and executed in macos terminal
Can someone please help ?


I have created a file with .command which can be used to execute commands in mac os but I dont know how can I use it to create a variable command with different url and different name of file


-
exec(ffmpeg) is not executing in php but will in terminal ?
14 août 2017, par D. Henryi have a website that allows users to upload videos and I have VPS server with ffmpeg installed, safe mode is off and have tested command in my terminal and it works however in php script when i try and run the command in exec() or even shell_exec() it does not execute. below is my code (changed some variables for privacy).
$video_name = $_FILES["post_vid"]["name"];
$Vurl = "/folder1/folder2/$vrand_file_name/$video_name";
$VnewName = $vrand_vid_name .".mp4";
$VurlNew = "/folder1/folder2/$vrand_file_name/$VnewName";
$convertold = "/home/user/directory/domain.com/$Vurl";
$convertNew = "/home/user/directory/domain.com/$VurlNew" ;
$ffmpegC = "/user/local/bin/ffmpeg";
exec($ffmpegC.' -y -i "'.$convertold.'" -f mp4 "'.$convertNew.'"');I have the code just after a move_uploaded_file() which runs fine.
also checked and my php is using the same user as my terminal...
any insight to this would be fantastic, thanks in advance.