
Recherche avancée
Autres articles (106)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...)
Sur d’autres sites (14583)
-
Running command Subprocess python failed but the same exact command runs well in Terminal
15 juillet 2023, par willAs the title says : weird problem. I've been struggling to make this work for a whole day but to no avail. Any help would be deeply appreciated.


# I've tried every one of the below path but still errors: Fontconfig error: Cannot load default config file: No such file: (null)

FONT_LOC = r'C\\:/Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf'
FONT_LOC = 'C:/Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf'
FONT_LOC = 'C://Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf'


duration = '30
subtitle='abc'
comd = [
 "ffmpeg",
 "-f", "lavfi",
 "-i", "color=c=black:s=1280x720:d={duration}".format(duration=duration),
 "-vf", f'''drawtext=fontfile="{FONT_LOC}":text='{subtitle}':fontcolor=white:fontsize=24:x=(w-text_w)/2:y=(h-text_h)/2''',
 "-c:v", "libx264",
 "-t", duration,
 "-pix_fmt", "yuv420p",
 output_file+'.mp4'
 ]
print(' '.join(comd))
subprocess.run(comd, check=True, capture_output=True, text=True) # Failed


# The below command runs successfully in the terminal.
# ffmpeg -f lavfi -i color=c=black:s=1280x720:d=2.352000 -vf drawtext=fontfile="C\\://Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf":text='abc':fontcolor=white:fontsize=24:x=(w-text_w)/2:y=(h-text_h)/2 -c:v libx264 -t 2.352000 -pix_fmt yuv420p output_Test-0004.mp3.mp4




I expect the subprocess.run() would produce the same result. I've tried all versions of paths (different kind of escaping) but none of the aforementioned one worked.


-
using ffmpeg from macOS terminal for uploading youtube short from android just do nothing
25 juin 2023, par Yogi Arif Widodomy component / recording is using blachole plugin on macOS.


engine : 13" Macbook Pro M1 ( macOS 13.2 / Ventura )


step to reproduce


- 

- my output is screenRecordingAudio ( this name is custom name ).




// screenRecordingAudio in audioMidi : 
BlackHole 16ch [mark as checked on use]
External Headphones [mark as checked on use]





screenRecordingAudio is using on by click on right top of bar UI, click sound, click screenRecordingAudio.




OR




screenRecordingAudio is using on Settings ➡️ Sounds ➡️ Output ➡️ then choose screenRecordingAudio




- 

- my input is quickTimeInput ( this name is custom name ).




// quickTimeInput in audioMidi : 
BlackHole 16ch [mark as checked on use]



- 

- then using
⌘
+shift
+5
, on option i usequickTimeInput
- i use these command to convert into mp4 and also purpose to get more small size video






#!/bin/bash

# greet the user
function yoVideo() {
 ffmpeg -i $1.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k -movflags +faststart $1.mp4
}



OR


ffmpeg -i yogiarifwidodo.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k -movflags +faststart yogiarifwidodo.mp4



- 

- then i move the video into my phone android.
- then when i tried to upload on youtube as short, its cannot be process to upload ( its just do nothing ) but when i upload on facebook reels its work also on instagram story its still working also for whatsapp story.






when i didnt convert into mp4 its also happend and in any other case for example whatsapp story , its lagging to review video before upload . its happend to on instagram .
but when i force upload , the result video is good and smooth . then i re download my video its still best video and when try to upload my download video , there is no lagging in any condition.


how to get ffmpeg perform into mp4 and also no lagging on editing while uploading at whatsapp story or instagram story or facebook , etc ?
by the way i dont know command ffmpeg , the code is copied from stackoverflow and i forgot where is it.


-
Ffmpeg - padding/margins/offset in amix filter. Overlay conversation to music
10 juin 2022, par user19313832Use
filter_complex
andamix
to overlay conversation with music.

There is a video file with music, and an audio file with a conversation.
When they start talking, the volume of the music fades. When the conversation ends, the volume of the music increases again. It works.


But there is a problem that the volume of the music decreases only after they started talking. It is required that the volume of the music decrease even before they start talking, with an indent that can be specified. That is, when they have not said anything yet, the volume of the music decreases, for example, in a second when they start talking. Is there a solution ?