
Recherche avancée
Autres articles (89)
-
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...) -
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (19691)
-
php running multiple ffmpeg command
9 mars 2016, par Mick JackI want to convert video files into different resolution using ffmpeg. Right now i can run only 1 ffmpeg command the 2nd ffmpeg command does not get execute.
shell_exec("C:\\ffmpeg\\bin\\ffmpeg.exe -y -i \"$target_file\" -c:v libx264 -s:v 854x480 -c:a copy \"{$newFileName}\" > logfile.txt 2>&1");
shell_exec("C:\\ffmpeg\\bin\\ffmpeg.exe -y -i \"$target_file\" -c:v libx264 -s:v 480x360 -c:a copy \"{$360FileName}\" > logfile.txt 2>&1");how can i code the script so that it can compress the video into various different resolution such as 240p, 360p, 480p ?
Edited code to output 3 video files ?
shell_exec("C:\\ffmpeg\\bin\\ffmpeg.exe -y -i \"$target_file\" -map 0 -c:v libx264 -s:v 854x480 -c:a copy \"{$newFileName}\" -map 0 -c:v libx264 -s:v 480x360 -c:a copy \"{$new360pFileName}\" -map 0 -c:v libx264 -s:v 854x480 -c:a copy \"{$240pFileName}\" > logfile.txt 2>&1");
-
avoiding running of FFmpeg on terminal/cmd
14 janvier 2021, par Education 4FunI'm using FFmpeg for a small project so I built a GUI basic application for video editing
here is the image



Everything is working fine but I just want to avoid opening the terminal for the FFmpeg process the reason the terminal is opening is because


I used os.system("FFmpeg command here")



so is there a way to import FFmpeg completely and avoid using terminal and run in code

if u have any idea please suggest and let me know

for gui i used PYQT5 and python to code

Thank you

Tried using subprogram but didn't work (worked for normal commands but not for ffmpeg)
I need the output to print also to store in a python variable
Please check the image for more info




-
avformat_open_input sometimes running correct, but sometimes return error code -5
15 juin 2020, par Jianhua ZhuWhen I in C# use ffmpeg.AutoGen call ffmpeg dll files, the function
avformat_open_input
open audio device, sometimes it's correct, it can open the audio device, but sometimes it return error, the error code is-5
. and ffmpeg log error message :Could not enumerate audio only devices (or none found).

How can I do ? The ffmpeg version is 4.2.3


ret = ffmpeg.avformat_open_input(&aCtx, System.Text.Encoding.UTF8.GetString(encodeAudio), ifmt, &parm);