Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (73)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 (10332)

  • Python FFmpeg : Single static image coupled with audio outputs massive file size

    15 décembre 2019, par Cryptonaut

    I’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 Михаил Безуглый

    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 JoergP

    when installing flutter_ffmpeg I should set the package name in

    


    android/build.gradle

    


     ext {&#xA;  flutterFFmpegPackage  = "<flutter ffmpeg="ffmpeg" package="package" listed="listed" in="in" section="section">"&#xA;</flutter>

    &#xA;

    }

    &#xA;

    and in ios/Podfile

    &#xA;

    if plugin_name == &#x27;flutter_ffmpeg&#x27;&#xA;      pod &#x27;flutter_ffmpeg/<package>&#x27;, &#xA;</package>

    &#xA;

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

    &#xA;

    Thanks !

    &#xA;