
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (45)
-
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 (5152)
-
Python FFmpeg : Single static image coupled with audio outputs massive file size
15 décembre 2019, par CryptonautI’m using this Python library to programmatically generate a video using a single static image (.PNG - 3.05 MB - 1920 x 1080) and an audio track (.WAV - pcm_s24le (24 bit) - 48000 Hz - 34.6 MB) as input.
I’m using this technique to speed up the video generation process.
However, the final file size of
output_video_final
is 2.33 GB. Considering my input file sizes (.PNG - 3.05 MB / .WAV - 34.6 MB), why is the final .MOV output so large ?Here’s my code :
'''
Generate .MOV using static image as input
'''
image = ffmpeg.input(input_image, loop='1', t='00:00:1', framerate='24000/1001', probesize='42M')
output = ffmpeg.output(image, output_video,
f='mov',
vcodec='prores_ks',
vprofile='3',
pix_fmt='yuv422p10le',
g='120',
video_track_timescale='24000',
movflags='use_metadata_tags',
timecode='00:00:00:00',
color_primaries='bt709',
color_trc='bt709',
colorspace='bt709',
qcomp='1',
preset='veryfast',
bsf='prores_metadata=color_primaries=bt709:color_trc=bt709:colorspace=bt709',
vf='scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt709')
output.run()
'''
Generate .MOV using static image .MOV in previous output
and combine with audio input
'''
audio = ffmpeg.input(input_audio, filter_complex='channelsplit')
video = ffmpeg.input(output_video, t='00:02:06', stream_loop='126')
output = ffmpeg.output(video, audio, output_video_final,
vcodec='copy',
acodec='pcm_s24le',
audio_bitrate=bitrate)
output.run() -
Concat three videos with one audio [duplicate]
26 septembre 2018, par Михаил БезуглыйThis question already has an answer here :
Thank you for coming here.
I have three video clips (the first is 3 seconds, the second is 20 seconds, the third is 2 seconds), I connect them using the following command :ffmpeg -i opening.mp4 -i middle.mp4 -i ending.mp4 -filter_complex "[0:v] [1:v] [2:v] concat=n=3:v=1 [v]" -map "[v]" output.mp4
Since all three videos do not have audio tracks, I do not need to include [a]. And then the day came when I needed it. I have an audio track,
duration of 35 seconds(which is much larger than the output.mp4 video) and I need this audio to be connected to the whole video.
1) Do I need to crop the video to the length that is obtained by merging all three videos ?
2) Is it possible to do this with one command, or i need first have to concatetate all together with my command, and then merge video and audio track ? -
flutter_ffmpeg package name
22 septembre 2021, par JoergPwhen installing flutter_ffmpeg I should set the package name in


android/build.gradle


ext {
 flutterFFmpegPackage = "<flutter ffmpeg="ffmpeg" package="package" listed="listed" in="in" section="section">"
</flutter>


}


and in ios/Podfile


if plugin_name == 'flutter_ffmpeg'
 pod 'flutter_ffmpeg/<package>', 
</package>


Do I just enter "flutter_ffmpeg" here or is the "package name" different ?
How does the final code should look like ?


Thanks !