Recherche avancée

Médias (91)

Autres articles (65)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (4863)

  • Streaming with ffmpeg kills my internet connection

    31 juillet 2016, par John Smith

    Im trying to stream with ffmpeg to twitch.tv. Basically it works, but in time, my internet connection get knock-outed. I mean, if I run an infinite ping, I stop getting replies. Or I just cant browse on the internet.

    Basically I used it like this :

    ffmpeg -f dshow -i video="screen-capture-recorder" -vcodec libx264 -r
    25 -pix_fmt yuv420p -preset ultrafast -f flv
    "rtmp ://live.twitch.tv/app/live_****************"

    it works for minutes.

    But when I modify the command :

    ffmpeg -rtbufsize 1500M -f dshow -i video="screen-capture-recorder"
    -vcodec libx264 -r 25 -pix_fmt yuv420p -preset ultrafast -f flv "rtmp ://live.twitch.tv/app/live*******************"

    it just wont send anything and floods my connection (I mean, connection breaks)

    Of course, it sends me tons of "real-time buffer [screen-capture-recorder] [video input] too full or near too full (100% of size: 1500000000 [rtbufsize parameter])! frame dropped!" messages.

    Cant it be set to adapt to my internet bandwidth, or at least dont kill my connection ?

  • AForge.Video.VideoFileWriter, Video Quality loss after a second

    29 décembre 2019, par Just another Dev

    I tried to use AForge to create mp4 video from images..but experience this quality loss after about 1 - 2 second into the video. Just wondering if anyone knows what went wrong with my code ?

    using AForge.Video.FFMPEG;
    VideoFileWriter writer = new VideoFileWriter();
    writer.Open(fileName, _width, _height, _frameRate, VideoCodec.MPEG4, 800000);
    var s = AForge.Imaging.Image.FromFile(@"[path]\image.jpg");
    int frameCount = _frameRate * scene.Time;
    for (int i = 0; i < frameCount; i++)
    {
       writer.WriteVideoFrame(s);
    }
    writer.Close();

    I use the above code to create a 3 second 1080p video with frame rate 60, bit rate 800k, and using this image as an example : https://www.bushandbeach.co.nz/wp-content/uploads/2019/05/A-Taste-of-Auckland-Full-Day-1-opt.jpg

    the output video is in here : https://youtu.be/j0z7711cyOM

    as you can see the image quality seems to be ok, for about 2 seconds and then it blurs out in the last second.

    Thanks so much

  • 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'