Recherche avancée

Médias (91)

Autres articles (75)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8519)

  • A random pixel on a frame. (ffmpeg)

    4 juin 2013, par Chris Russo

    Hello folks of SO !

    We're trying to do some very small and simple code in PHP to generate a variation of a video, using always the same file.

    The script would have to make a small pixel mark, on random or specific frame of the video file, and this would have to be streamed in real time.

    Here's some pseudo code to explain my idea :

    $frame = $_GET[frame];
    $videofile = 'video.avi';

    make_random_red_pixel_mark($videofile, $frame);

    Does anyone know if this is possible using ffmpeg ? As well, it is of extreamly importance for us, to execute this procedure as fast as possible.

    A solution that would imply reprocessing the whole video, won't be useful for our purposes. It should be something like a closed caption, or a quick image / overlay filter that could be applied without an entire video reprocessing. As well, we can't put the overlay using Javascript nor any HTML approach, since the actual manipulation has to be on the video file itself.

    The quality, and framerate of the original video, should be kept intact. Perhaps some other PHP module or software that could be execute from PHP using an exec() ?

    Any recommendation ?

    Thanks in advance !!
    Chris C. Russo

  • avi encoded to streaming mp4 or webmnot playing in html5 player

    30 mai 2013, par Vprnl

    [EDIT]

    I'm trying to get ffmpeg to encode various AVI files to mp4 for streaming purposes

    I use this nodejs to start FFMPEG.

    When I try this (webm) (some settings are wrapped by the node module but produce the default FFMPEG command) with this command :

           .withVideoCodec('libvpx')
           .addOptions(['-bf 8','-bt 240k','-preset fast','-strict -2','-b:v 320K','-bufsize 62000', '-maxrate 620k','-movflags +empty_moov','-y'])
           .withAudioBitrate('192k')
           .withAudioCodec('libvorbis')
           .toFormat('webm')

    The video get's streamed properly to the client but the duration isn't passed on. So the video has a duration of 'infinite'.

    So I tried to encode with H264. Which also works (I see the duration being set in the client) but no picture sadly.

    For H264 I use :

      .addOptions(['-y','-vcodec libx264','-bf 8','-bt 240k','-preset fast','-strict -2','-b:v 320K','-bufsize 62000', '-maxrate 620k','-acodec aac','-ab 128k','-movflags +empty_moov'])
      .toFormat('mp4')

    I get this log :

    enter image description here

    I hope someone can point me in the right direction. Thanks !

    The client just gives an undefined error.
    I hope someone can point me in the right direction.

    Thanks

  • Running cmd in python (ffmpeg)

    29 mars 2017, par Coolcrab

    Atm I have this as my code, the first line seems to work well but the 2nd gives errrors.

    os.chdir('C://Users/Alex/Dropbox/code stuff/test')
    subprocess.call(['ffmpeg', '-i', 'test%d0.png', 'output.avi'])

    error :

    Traceback (most recent call last):
     File "C:\Users\Alex\Dropbox\code stuff\solarsystem.py", line 56, in <module>
       subprocess.call(['ffmpeg', '-i', 'test%d0.png', 'output.avi'])
     File "C:\Python27\lib\subprocess.py", line 524, in call
       return Popen(*popenargs, **kwargs).wait()
     File "C:\Python27\lib\subprocess.py", line 711, in __init__
       errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
       startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
    </module>