
Recherche avancée
Autres articles (60)
-
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 (7182)
-
I am getting a SAR error when combining videos. What did I do wrong ?
24 mai 2019, par Dresden21I am using this command for combining a bunch of videos in the folder :
FOR %i in (*.mp4) DO ffmpeg -i intro.mkv -i %i -filter_complex "[0:0]
[0:1]
[1:0][1:1]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" -crf 17 -preset
veryfast -b:a 192k %i_intronew.mp4When I run this command I get this error :
Input link in1:v0 parameters (size 1280x720, SAR 1281:1280) do not match
the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)What am I doing wrong ?
-
Trying to combine videos losslessly with ffmpeg
16 novembre 2016, par Jarppii am trying to create bath that would automatically join multiple videos that are in folder (liimattavat) and that would make them to .ts files in (roska) and after that it would just combine them all without quality loss to (valmis.mp4)
but i dont seem to get it working as i get something like path doesn’t exist@echo off
for %%a in ("liimattavat\*.mp4") do ffmpeg -i %%a -c copy -bsf:v h264_mp4toannexb -f mpegts "roska\%%~na.ts"
for %%a in ("roska\*.ts") do "concat:"roska\*.ts" -c copy -bsf:a aac_adtstoasc valmis.mp4
pausesorry if i was confusing, please ask me if you need more specific information.
-
I use ffmpeg to format videos according to tik-toke standards [closed]
8 mai 2024, par John RedI use ffmpeg to format videos according to tik-toke standards, but I don't know why videos are not cropped and lose quality.


const transcode = async () => {
 const ffmpeg = ffmpegRef.current;
 await ffmpeg.writeFile('input.mp4', await fetchFile(file));
 await ffmpeg.exec([
 '-i', 'input.mp4',
 '-vf', 'scale=1080:1920,crop=ih*(9/16):ih',
 'output.mp4'
 ]);
 const data = await ffmpeg.readFile('output.mp4');
 videoRef.current.src =
 URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }));
}



Changed the resolution and cropped it. It didn't help in any way, only lost quality. Not what I wanted at all.