Recherche avancée

Médias (91)

Autres articles (98)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

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

  • How can I bundle a precompiled binary with electron

    10 novembre 2018, par UltrasoundJelly

    I am trying to include a precompiled binary with an electron app. I began with electron quick start app and modified my renderer.js file to include this code that is triggered when a file is dropped on the body :

    spawn = require('child_process').spawn,
     ffmpeg = spawn('node_modules/.bin/ffmpeg', ['-i', clips[0], '-an', '-q:v', '1', '-vcodec', 'libx264', '-y', '-pix_fmt', 'yuv420p', '-vf', 'setsar=1,scale=trunc(iw/2)*2:trunc(ih/2)*2,crop=in_w:in_h-50:0:50', '/tmp/out21321.mp4']);

    ffmpeg.stdout.on('data', data => {
     console.log(`stdout: ${data}`);
    });
    ffmpeg.stderr.on('data', data => {
     console.log(`stderr: ${data}`);
    });

    I have placed my precompiled ffmpeg binary in node_modules/.bin/. Everything works great in the dev panel, but when I use electron-packager to set up the app, it throws a spawn error ENOENT to the console when triggered. I did find a very similar question on SO, but the question doesn’t seem to be definitively answered. The npm page on electron-packager does show that they can be bundled, but I cannot find any documentation on how to do so.

  • mouse cursor strange within office 2010 ppt presentation video

    5 décembre 2015, par Wesley

    I hit a problem that record office 2010 ppt presentation.

    I wanna record ppt presentation process,so, here is my steps :
    1. open and ppt file
    2. press F5 to start the presentation
    3. use third party tool to record the screen
    4. during presentation, press CTRL+P to open the mark pen(on screen, it’s laser point)

    So, here comes the problem :
    After I finished the video record, when I play the vedio, the cursor is very strange to be an bold red plus, like below :
    enter image description here

    It’s really ugly..
    Actually I want it to be a icon like a pen, or at least to be a laser point as default.
    Firstly I thought it to be problem with my screen recording tool, so I write a script with python to record presentation screen using ffmpeg, but, with the same result..

    So, anyone hit this before ?
    How to fix this ?

    Thanks.
    Wesley

  • ffmpeg-python crossfade transition for unknown number of photos

    28 septembre 2020, par Saya

    I want to convert a bunch of photos into a video with crossfade between them. The number of photos I am converting is variable
I am using the code from HERE to apply the crossfade :

    


    Since the number of photos are variable I looped over all the photos in the directory and generated the -loop and also the second part ([0:v]fade=t=out:st=4:d=1[v0] ;) :

    


    for i in range(os.listdir('photos')):
    if i == 0:
        text += f'\n-loop 1 -t 60 -i photos/Image{i+1}.jpg \\\n'
        text2 = '\n[0:v]fade=t=out:st=4:d=1[v0]; \\\n'
    else:
        text += f'-loop 1 -t 60 -i photos/Image{i+1}.jpg \\\n'
        text2 += f' [{i}:v]fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v{i}]; \\\n'

#And the Subprocess part  

command = f'ffmpeg \
    {text} \
    -filter-complex \
    {text2} -map "[v]" video/out.mp4'
p = subprocess.call(command, shell=True) 


    


    But this thing didn't create any video but said this :

    


    Use -h to get full help or, even better, run 'man ffmpeg'


    


    The full output :

    


    ffmpeg version git-2019-11-11-20c5f4d Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191010
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 35.101 / 56. 35.101
  libavcodec     58. 61.100 / 58. 61.100
  libavformat    58. 34.101 / 58. 34.101
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 66.100 /  7. 66.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'