
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (82)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (4612)
-
Convert image and audio in background to Video file in React Native
4 avril 2020, par Foram TradaI am trying to convert the images to video with audio in the background in React Native. I had used ffmpeg but I am not getting the expected result.
https://www.npmjs.com/package/react-native-ffmpeg
Here is the code that I had tried !



RNFFmpeg.execute('-i http://192.168.43.4/ReactFirstProject/images/song.jpeg -i http://192.168.43.4/ReactFirstProject/screens/music/frog.wav -c:v mpeg4 output.mp4').then(result => (console.log("RESULT:",result)))




Can anyone suggest any other libraries for doing the same ? Please help me out. I would be glad.


-
Merge a sequence of JPEG images into a grid losslessly with FFmpeg
20 janvier 2020, par ModyI have a sequence of images that are blocks of a larger image, which together make up the whole image. The blocks are the result of splitting the original image along evenly spaced horizontal and vertical lines, so they don’t have weird dimensions.
Is there a way to combine them with FFmpeg (or something else like ImageMagick) without re-encoding the images ?
This answer suggests the
hstack
orvstack
FFmpeg filter, but my image blocks aren’t necessarily the full width or the full height of the original image.
Like this :
Perhaps this could be achieved with multiple FFmpeg commands using
hstack
orvstack
(I’d prefer just one command though). Or with a complex filter ?
e.g.
Edit : I tried using
filter_complex
with FFmpeg :ffmpeg -i 0.jpg -i 1.jpg -i 2.jpg -i 3.jpg -i 4.jpg -i 5.jpg \
-filter_complex "[0][1]hstack=inputs=2[row 0]; \
[2][3]hstack=inputs=2[row 1];
[4][5]hstack=inputs=2[row 2];
[row 0][row 1][row 2]vstack=inputs=3[out]" \
-map "[out]" -c copy out.jpgbut it can’t filter and copy streams at the same time.
-
How to set comma delimited values from stdout ?
28 octobre 2017, par gregmI have a batch file that processes the output of an ffprobe query. It retrieves several bits of data that I use to determine some ffmpeg directives. In particular I’m converting h264 videos into h265 if the video frame height is 720 or greater. I also convert the audio stream to aac if it isn’t already and if that stream is higher than 128 kbps I convert it down to 128.
I can do all of that by calling ffprobe a number of times and use if statements to decide what my ffmpeg command will be.
I’d like my batch file to be more efficient so I was thinking that if I could take the output of one (maybe two) ffprobe queries and then stick that output into a for /f token=.... loop then I could set each ffprobe data point to a variable and then just check the variables to decide what the resulting ffmpeg command will be.
Here’s what I have right now to simply check if the video stream is hevc. If it isn’t then ffmpeg converts the video to hevc and copies the audio to aac.
for %%a in ("*.*") do (
ffprobe -v quiet -show_entries stream=index,codec_name,height -of csv "%%a" 2>&1 | findstr "hevc"
if errorlevel 1 (
ffmpeg.exe -hwaccel cuvid -i "%%a" -pix_fmt p010le -c:v hevc_nvenc -preset slow -rc vbr_hq -b:v 4M -maxrate:v 10M -c:a aac "%%~na.h265-convert.mp4"
))That ffprobe query output looks like this :
stream,0,h264,480
I was thinking if I could tokenize that output with something like :
for /f "tokens=1,2,3,4 delims= " %%a in ("______") do set codec=%%b&set fheight=%%d
I don’t know what to put in the spot where I have the _______. I really don’t want to create a temp file unless that’s the only option though.
1) Is this an efficient way to achieve what I’m trying to do ?
2) What do I use where I have a blank line above ________ to call the output of the ffprobe query to use in my for loop ?