Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications 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, 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 (6477)

  • ffmpeg creating gif from images, add watermark during creation ?

    27 juillet 2017, par Geuis

    I’m successfully creating animations from a series of static png’s. I also want to add a watermark, but I’m having some issues when trying to add the watermark source.

    Using this generates the animations fine :

    ffmpeg -v warning -framerate 4 -i /tmp/img-%d.png -i /tmp/img-palette.png -lavfi "paletteuse" -y -loop 0 -vcodec libx264 -crf 25 -pix_fmt yuv420p -hide_banner /tmp/output.mp4

    When I add the following to specify the watermark source (transparent png) an error is generated :

    -i /tmp/logo.png -filter_complex "overlay=x=(main_w-100):(main_h-50)"

    Full command :

    ffmpeg -v warning -framerate 4 -i /tmp/logo.png -filter_complex "overlay=x=(main_w-100):(main_h-50)" -i /tmp/img-%d.png -i /tmp/img-palette.png -lavfi "paletteuse" -y -loop 0 -vcodec libx264 -crf 25 -pix_fmt yuv420p -hide_banner /tmp/output.mp4

    Error :

    video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Do I need to generate the animation first, then apply the watermark to that artifact or is there a way to combine everything together during the creation process ?

  • ffmpeg link errors when building on iPhone 4.3 SDK

    12 septembre 2011, par YuzaKen

    After a rather trying few days, I finally got ffmpeg to compile under Xcode 4 with SDK 4.3. The issue no is a series (39) link errors. They fall into at least two cases : assembly language routines and static arrays defined in header files. My believe is that it is generating C method names for the assembly routines while the .c files containing the reference to the routine is generating a different method name (munging).

    Undefined symbols for architecture armv7 :

     "_ff_vector_fmul_vfp", referenced from:
         _ff_dsputil_init_vfp in libavcodec.a(dsputil_init_vfp.o)
     "_main", referenced from:
         start in crt1.3.1.o
     "_av_solve_lls", referenced from:
         _ff_lpc_calc_coefs in libavcodec.a(lpc.o)
     "_ff_inv_aanscales", referenced from:
         _dct_quantize_trellis_c in libavcodec.a(mpegvideo_enc.o)
         _decode_frame in libavcodec.a(eamad.o)
         _tgq_decode_frame in libavcodec.a(eatgq.o)
         _tqi_decode_frame in libavcodec.a(eatqi.o)
     "_ff_add_pixels_clamped_armv6", referenced from:
         _ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
     "_ff_cga_palette", referenced from:
         _tmv_decode_frame in libavcodec.a(tmv.o)
     "_ff_svq1_inter_multistage_vlc", referenced from:
         _encode_block in libavcodec.a(svq1enc.o)
         _svq1_decode_init in libavcodec.a(svq1dec.o)
     "_ff_simple_idct_armv6", referenced from:
         _ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
     "_BZ2_bzDecompressInit", referenced from:
         _matroska_decode_buffer in libavformat.a(matroskadec.o)
     "_ff_put_pixels8_y2_arm", referenced from:
         _ff_put_pixels16_y2_arm in libavcodec.a(dsputil_init_arm.o)
         _dsputil_init_arm in libavcodec.a(dsputil_init_arm.o)
     "_ff_simple_idct_add_armv6", referenced from:

    ...and so on.

    Anyone with experience with ffmpeg on iPhone ? Successfully ?

  • Video modifications using ffmpeg and windows batch command

    1er mars 2019, par macenike

    I have a series of 8 videos which have different number of frames, some of them lose a couple of them at the beginning. I was trying to concatenate at the beginning of the videos with less frame a copy of their first frame. Unfortunately my code either crash while comparing the length of the videos or fail to accomplish the task required. Here I add the code that I’m using.

    @ECHO off
    SETLOCAL EnableDelayedExpansion
    MKDIR COMPRESSED\
    MKDIR RAW\
    SET  j=0
    SET  jj=1
    SET max=1
    FOR %%a IN (*.avi) DO (
       SET /A j=j+1
       FOR /F "delims=" %%V IN ('ffprobe.exe -v error -count_frames -select_streams v:0 -show_entries stream^=nb_read_frames -of       default^=noprint_wrappers^=1:nokey^=1 ".\%%~nxa" 2^>^&1') DO SET elem[!j!]=%%V
    SET elem[!j!]
    )

    FOR %%a IN (*.avi) DO (
       IF !elem[%jj%]! GTR !elem[%max%]!(
           SET max=!jj!
       )
    SET /A jj=jj+1  
    )
    SET max

    SET /A x=1
    FOR %%a IN (*.avi) DO (

       IF "!elem[!x!]!" LSS "!elem[!max!]!" (
               ffmpeg -i ".\%%~nxa" -vf "select=eq(n\,0)" -q:v 3 output_image.jpg
               ffmpeg -y -i ".\%%~nxa" -loop 1 -i output_image.jpg -t 0.01 -s 1936x1216 ".\%%~nxa"
               SET elem[!x!]=elem[!x!]+1
               SET elem[!x!]                  
       )
    SET /A x=x+1    
    )


    FOR %%a IN (*.avi) DO (
       ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames ".\%%~nxa"
       ffmpeg -i ".\%%~nxa" -c:v libxvid -vtag xvid -qscale:v 2 -force_key_frames 1 -s 968x400 -r 100 ".\COMPRESSED\%%a"
       SET mystr=%%~na
       SET mystr=!mystr:~-1!
       IF !mystr! == 3 (
           ffmpeg -i ".\%%~nxa" -c:v mpeg4 -b:v 4M -c:a libfdk_aac -b:a 192k ".\COMPRESSED\%%~na.mp4"
       )
       IF !mystr! == 5 (
           ffmpeg -i ".\%%~nxa" -c:v mpeg4 -b:v 4M -c:a libfdk_aac -b:a 192k ".\COMPRESSED\%%~na.mp4"
       )
    )