Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (112)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (10429)

  • lavfi : new colorspace conversion filter.

    6 avril 2016, par Ronald S. Bultje
    lavfi : new colorspace conversion filter.
    

    The intent here is similar to colormatrix, but it’s LGPLv2.1-or-later
    (instead of GPLv2.0) and supports gamma/chromaticity correction.

    • [DH] Changelog
    • [DH] doc/filters.texi
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/allfilters.c
    • [DH] libavfilter/colorspacedsp.c
    • [DH] libavfilter/colorspacedsp.h
    • [DH] libavfilter/colorspacedsp_template.c
    • [DH] libavfilter/colorspacedsp_yuv2yuv_template.c
    • [DH] libavfilter/vf_colorspace.c
  • Batch file : FOR loop not working to concatenate mp3 and mp4

    7 janvier 2023, par Ionut Bejinariu

    mp3list-1.txt contain the full patch to the mp3 files that will be concatenated

    


    mp4list-1.txt contain full path to the mp4 files that will be concatenated

    


    then both results mergedmp34.mp3 and mergeMp4.mp4 should be combined together in a final MP4 video file with a random name.

    


    something I do wrong I don't understand what

    


    my guess I do something wrong on FOR loop.

    


    sometimes my .txt files contain full path to a single file mp4 or mp3

    


    if don't have what to combine will concatenate 1 single file ?

    


    set exportdir=
set batsource= the place where this batch file is

1< mp3list-1.txt 2< mp4list-1.txt (
    FOR %%A in ("%batsource%") DO (
        set /p mp3list=" <&1
        set /p mp4list=" <&2
        ffmpeg -f concat -safe 0 -i "!mp3list!" -c copy mergedmp34.mp3
        ffmpeg -f concat -safe 0 -i "!mp4list!" -c copy mergeMp4.mp4
        ffmpeg -i mergedmp34.mp3 -i mergeMp4.mp4 -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k "%exportdir%\%RANDOM%.mp4"
        del mergedmp34.mp3
        del mergeMp4.mp4
 
         
    )
)



    


    mp4list-1.txt

    


    F:\.....Videos-115\output-mp4.txt
F:\....\Videos-1150\output-mp4.txt
F:\.....\Videos-1151\output-mp4.txt
F:\......Videos-1152\output-mp4.txt


    


    mp3list-1.txt

    


    F:\......audio-52\output-mp3.txt



    


    and .txt with direct files are like :

    


    file 'F:\....00OH7011.mp3'
file 'F:\....00OH7011.mp3'
file 'F:\....00OH7011.mp3'


    


    and for videos

    


    file 'F:\....00OH7011.mp4'
file 'F:\....00OH7011.mp4'
file 'F:\....00OH7011.mp4'


    


    Later Edit
basically, I want to adapt to my needs the above script based on this working script bellow where I have 4 txt files that are looped.

    


    mkdir ".\Export"
set "sourcedir="  
set "outputdir=Export"

1< codfundal.txt 2< fontalbum.txt 3< album.txt 4< artist.txt (for %%F in (*.jpg *.jpeg) do (
set /P "artist=" <&4 
set /P "fontalbum="<&2  
set /P "album=" <&3
set /P "codfundal=" <&1
   
   
   magick convert -gamma 1 -contrast 30 %%F -fill white -undercolor  "!codfundal!"  -gravity Center -font "!fontalbum!" -pointsize 215   -annotate +0+5  "!album!"  -gravity Center -pointsize 120 -font "Calibri-Bold" -annotate +0+220 "!artist!" -crop 1440x1440+0+0   -quality 92 "%outputdir%\%%F" 




    )
)


    


    album.txt

    


    Circumferential
Genealogy
Iraqi
Fitters


    


    artist.txt

    


    Bhaskar Punk
Costas Fourie
Sonja Bryan
Jin Gullberg



    


    codfundal.txt

    


    
#E70E0E
#ff00ff
#993366
#99cc00
#cc99ff


    


    fontalbum.txt

    


    Bauhaus-93
Agency-FB
Bernard-MT-Condensed
Bodoni-MT


    


  • compiling ffmpeg for android some error occured

    11 janvier 2016, par SirTeddy

    im using Ubuntu 14 04 64-bit !

    ffmpeg 2.8.3

    SDL2.0.3

    ndk-version : r10e

    android : android-21

    adt : 23.0.6

    code is from : https://github.com/amikey/AndroidPlayer

    i read README.md and followed those steps

    i didnt run ./configure in ffmpeg or SDL,i tried before and get more faliure.

    some of eclipse console :

    Android NDK: WARNING:jni/ffmpeg/Android.mk:avcodec: LOCAL_LDLIBS is always ignored for static libraries    
    jni/ffmpeg/Android_.mk:38: FFLIBS 1 ''
    jni/ffmpeg/Android_.mk:39: include jni/ffmpeg/libswscale/Makefile.android
    jni/ffmpeg/Android_.mk:42: FFLIBS 2 ''
    jni/ffmpeg/Android_.mk:116: ============================================================
    jni/ffmpeg/Android_.mk:117: Library name: 'libswscale'
    jni/ffmpeg/Android_.mk:118: =============================
    jni/ffmpeg/Android_.mk:119: Files that will be compiled: '  alphablend.c gamma.c hscale.c hscale_fast_bilinear.c input.c options.c output.c rgb2rgb.c slice.c swscale.c swscale_unscaled.c utils.c vscale.c yuv2rgb.c'
    jni/ffmpeg/Android_.mk:120: =============================
    jni/ffmpeg/Android_.mk:121: Libraries that will be included: ''
    jni/ffmpeg/Android_.mk:122: ============================================================
    jni/ffmpeg/Android_.mk:38: FFLIBS 1 ''
    jni/ffmpeg/Android_.mk:39: include jni/ffmpeg/libavutil/Makefile.android
    jni/ffmpeg/Android_.mk:42: FFLIBS 2 ''
    jni/ffmpeg/Android_.mk:116: ============================================================
    jni/ffmpeg/Android_.mk:117: Library name: 'libavutil'
    jni/ffmpeg/Android_.mk:118: =============================
    jni/ffmpeg/Android_.mk:119: Files that will be compiled: ' arm/float_dsp_neon.S arm/float_dsp_vfp.S adler32.c aes.c arm/cpu.c arm/float_dsp_init_arm.c arm/float_dsp_init_neon.c arm/float_dsp_init_vfp.c audio_fifo.c avstring.c base64.c blowfish.c bprint.c buffer.c camellia.c cast5.c channel_layout.c color_utils.c cpu.c crc.c des.c dict.c display.c downmix_info.c error.c eval.c fifo.c file.c file_open.c fixed_dsp.c float_dsp.c frame.c hash.c hmac.c imgutils.c intmath.c lfg.c lls.c log.c log2_tab.c lzo.c mathematics.c md5.c mem.c murmur3.c opt.c parseutils.c pixdesc.c pixelutils.c random_seed.c rational.c rc4.c reverse.c ripemd.c samplefmt.c sha.c sha512.c stereo3d.c tea.c threadmessage.c time.c timecode.c tree.c twofish.c utils.c xga_font_data.c xtea.c'
    jni/ffmpeg/Android_.mk:120: =============================
    jni/ffmpeg/Android_.mk:121: Libraries that will be included: ''
    jni/ffmpeg/Android_.mk:122: ============================================================
    Android NDK: WARNING:jni/ffmpeg/Android.mk:avformat: LOCAL_LDLIBS is always ignored for static libraries    
    [armeabi-v7a] Install        : libSDL2.so => libs/armeabi-v7a/libSDL2.so
    [armeabi-v7a] Install        : libmain.so => libs/armeabi-v7a/libmain.so
    **** Build Finished ****

    and it showed a window :Your project contains error(s)...

    then i find 2 error file

    file 1 :