
Recherche avancée
Autres articles (48)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (11112)
-
Multiple outputs from same source
28 septembre 2021, par Christian RHow do I modify this ffmpeg string to generate multiple outputs with different video bitrates ?
This to save time when yadif=1 take a lot of power. Also, can't get it to accept yadif_cuda in windows.


ffmpeg -y -f lavfi -i anullsrc=cl=mono:sample_rate=48000 -i "test.mxf" -vf yadif=1 -s 1920:1080 -c:v h264_nvenc -force_key_frames "expr:gte(t,n_forced*10)" -pix_fmt yuv420p -preset slow -rc vbr_hq -b:v 4.5M -map 1:v -map 0:a -c:a aac -b:a 192k -shortest "test.mp4"


-
Can we declare a variable in ffmpeg ffprobe
16 avril 2020, par ilham zackyI am new to ffmpeg.



I want to get a video duration through ffmpeg and declare it to a variable. where I can use the value for a different function. I am using power shell.



This is my code :



ffmpeg -i 1aef53e6-92ac-4d28-89f8-4cce28fa0f58.mp4 2>&1 | sed -n 's/Duration: \(.*\), start/\1/gp'



-
Converting mkv to h264 FFmpeg
14 janvier 2021, par Rikus HoneyEDIT :
This question has become very popular and is one of the top results for searching "convert mkv to h264 ffmpeg" and thus I feel it is appropriate to add that for anyone stumbling upon this question to rather use


ffmpeg -i input.mkv -c:v libx264 -c:a aac output.mp4



as
libvo_aacenc
has been removed in recent versions of FFmpeg and it now has a native aac encoder. For more information visit the FFmpeg wiki page for encoding AAC.

Here is the original question :


I would like to convert my .mkv files to .mp4 using FFmpeg. I have tried the following code :


ffmpeg -i input.mkv -c:v libx264 -c:a libvo_aacenc output.mp4



But I get the error :




Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height.




Is there any way to get around this ? I have tried setting the bitrate of the audio but the problem seems to persist.