Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (3988)

  • Drawtext freezes

    22 août 2017, par Samhita vempatti

    I am trying to add text to a 1 hour long video but to a specified time only . I used this command from within python and used subprocess to run it.

      cmd="ffmpeg -y -i "+input_file+" -vf drawtext=enable=\'between(t,"+str(start)+","+str(end)+")\':fontfile=C\:\\\\\\\\ffmpeg\\\\\\\\arial.ttf\:text="+starttime+"\:x="+endtime+"\:y="+str(i[3][1])+" "+output.mp4
       print(cmd)
       p = subprocess.Popen(cmd.split(), shell=True,
                    stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
       output = p.communicate()[0]

    When I try running this the whole process freezes in the shell that is it prints the cmd and nothing happens

    ffmpeg -y -i C:\\moviepy-master\\moviepy-master\\lecture7.mp4 -vf drawtext=enable='between(t,300,1000)':fontfile=C\:\\\\ffmpeg\\\\arial.ttf\:text=helloworld\:x=200\:y=600 C:\\moviepy-master\\moviepy-master\\lecture7text.mp4,

    The whole process takes a very long time and the final video does not have the text at all .

  • How to get ffprobe metadata as variable to parse in python

    29 avril 2021, par connor449

    When I run ffprobe <video></video>, I get the standard metadata as below :

    &#xA;

    ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.62)&#xA;  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-libdav1d --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;../directConversion/200mbs105_55.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.45.100&#xA;  Duration: 00:01:12.43, start: 0.000000, bitrate: 213963 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], 213828 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Video&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Audio&#xA;&#xA;

    &#xA;

    I want to get this information from python so I can parse this output and use some of it in my code. However, I can't get this to work.

    &#xA;

    I have tried the following :

    &#xA;

    data = subprocess.call(f&#x27;ffprobe {video}&#x27;, shell=True)&#xA;data = subprocess.check_output(f&#x27;ffprobe {vid}&#x27;, shell=True)&#xA;data = subprocess.Popen(f&#x27;ffprobe {vid}&#x27;, shell=True)&#xA;data = subprocess. Popen(f&#x27;ffprobe {vid}&#x27;, stdout=subprocess.PIPE ).communicate()[0]&#xA;data = run(f&#x27;ffprobe {vid}&#x27;, capture_output=True).stdout&#xA;

    &#xA;

    If I include shell=True, then the proper information prints in the terminal but I get an empty string for data. For commands without shell=True I get file not found error and it breaks. What should I do ? I got all of these solutions from SO and they seem to work for others.

    &#xA;

  • Streaming Installation paid request [on hold]

    9 février 2016, par Lewis Tyler

    Basically I need a streaming platform which allows my users to broadcast their webcam to a rtmp ip each users would have there own link rtmp://192.168.0.1/username/token I just need the server ip. No installation required. Does anyone know of any good sites to purchase a streaming server like this ? Or can anyone set one up for me over team viewer on my own remote server, happily to pay someone for their time.