
Recherche avancée
Autres articles (52)
-
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 (6670)
-
Output file names with spaces to file without quotes in bash
13 mai 2020, par user245115So, I wrote a script as a batch file that uses FFmpeg to "concat" several video files on my hard drive.
The script is as follows.



@echo off
title Printing video info...
(for %%i in (
"%USERPROFILE%"/Dropbox/Video1.MKV
"%USERPROFILE%"/Dropbox/Video2.MKV
S:/Exports/Video3.MKV
../../video/Video4.mkv
) do ( if exist "%%i" echo file '%%i' )) > "%~n0.txt"
type "%~n0.txt"
title Copying to compiled video...
"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -hide_banner -f concat^
 -safe 0 -y -i "%~n0.txt" -c copy "%~n0.mkv"




The problem here is the username on the computer has a space in the name, so the script doesn't work. If I put the quotes with
%USERPROFILE%
, then the file is detected by the batch script, but the batch script also puts the quotes into the output TXT file, which causes FFmpeg to fail when it hits that file.


The contents of the text file the script outputs to should be :



file 'C:\Users\Name/Dropbox/Video1.MKV'
file 'C:\Users\Name/Dropbox/Video2.MKV'
file 'S:/Exports/Video3.MKV'
file '../../video/Video4.mkv'



-
Android ffmpeg just convert an image file to video file
8 février 2018, par Mehmet KurtgözI want to make a sample video file into video for 30 seconds to show. But I can not do it because I’m not good enough with FFmpeg.
My code :
String command[]={
"-y",
"-r",
"1/5",
"-i",
src.getAbsolutePath(), // only one image file path
"-c:v",
"libx264",
"-vf",
"fps=25",
"-pix_fmt",
"yuv420p",
imagesvideoOutput
}; -
How to cut and concatenate the file so it is not off-beat when the file I got the bpm from is being muxed ?
27 janvier 2017, par P. DeeI am cutting files with ffmpeg based on the bpm I found in a music file. So let’s assume, the file’s bpm = 120. That means, there are 2 bps and 1 beat every 500ms.
So I cut a video file with multiples of 500ms length, ie 500ms, 1500ms, 3000ms etc. length. But cutting it using
ffmpeg -ss start -i fileorig.mp4 -t duration part_number.mp4
and finally creating a
mylist.txt
withfile 'part_1.mp4'
file 'part_2.mp4'
...and adding them via
ffmpeg -f concat -i mylist.txt -c copy output.mp4
and replacing the audio track with the music file, makes the video be off-beat after some time.
How to cut and concatenate the file so it is not off-beat when the file I got the bpm from is being muxed ?