
Recherche avancée
Autres articles (71)
-
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 ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
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
Sur d’autres sites (8156)
-
Create muted video and black screen video with FFmpeg
2 mars 2021, par user2685832I'm trying to use FFmpeg to generate the following from a local mp4 file :



- 

- A copy of the original video with no audio
- A copy of the original video with audio but without visuals (a black screen instead). This file also needs to be in mp4 format.







After reading through the documentation I am struggling to get the terminal commands right. To remove the audio I have tried this command without any success :



ffmpeg -i file.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy




Could anyone guide me towards how to accomplish this ?


-
Directory conversion with ffmpeg, filename edit (Windows)
17 avril 2021, par Aussie iTVBeing new here, I don't have the reputation to comment directly on the post.


I am trying to use ffmpeg to convert *.mkv files to *.mp4 files in a directory.


The below question had the answer I was looking for, but only one answer related to Windows, but doesn't seem to adjust for the fact that the outputting file will be labelled


`%name%.mkv.mp4`



I've seen elsewhere for single file bat files that you can use


`"!name~0,-4~".mp4`



which removes the 4 characters, but this didn't work in the code provided.


How do I edit the code to remove the .mkv file


`for %i in (*.mp4) do ffmpeg -i "%i" "%~ni.mp3`



Additionally, how is a bat file ran via powershell ? The original answer says shift+left click, this does nothing for me.


Thanks for the help !


Original question post : How do you convert an entire directory with ffmpeg ?


-
How can I pass chapter data to multiple streams with tee muxer
11 février 2021, par jonnywishboneI'm trying to transcode several videos from their original format into 4K and 1080p HD MKV and/or MP4 containers. The original contains chapter info, but no matter how many incarnations of ffmpeg flags/settings I've tried, the chapter data doesn't wind up in either output stream.


Here's a redacted version of the command I'm using (PowerShell 7.1) :
...


ffmpeg -i "XXXXXxxxx.mkv" `
 -loglevel repeat+warning -stats -hide_banner -y -benchmark `
 -flags +global_header -filter_complex `
 "[0:v]split=2[s0][s1]; `
 [s0]null[v2160]; [s1]scale=1920:-1[v1080]" `
 -to 00:01:05 -map "[v2160]" -map "[v1080]" -map 0:1 -map_metadata 0 -map_chapters 0 -movflags use_metadata_tags `
 -c:v libx265 -x265-params `
 "log-level=error" -pix_fmt yuv420p10le `
 -b:v:0 3100K -b:v:1 2200K -minrate 400K -bufsize 8M `
 -c:a:0 aac -ac:a:0 2 -ar:a:0 48000 -af:a:0 dynaudnorm -b:a:0 192k -disposition:a:0 default+original `
 -metadata:s:a:0 language=eng -metadata:s:a:0 title="aac-stereo" -metadata:s:a:0 handler="aac-stereo" `
 -metadata comment=" " -metadata title=""XXXXXxxxx" `
 -f tee "[select=\'v:0,a\':f=matroska]`""XXXXXxxxx [2160p].mkv`"|[select=\'v:1,a\':f=matroska]`""XXXXXxxxx [1080p].mkv`""



...


What's the secret sauce for getting chapter info passed to the output streams ? Is it a tee
select
of some sort ? A different-map_metadata
-type setting ?

Please forgive the odd code formatting - the editor really didn't know what to do with PowerShell back-tick escape characters that delimit quotes and other literals in PS scripting !