Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (89)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9929)

  • ffmpeg convert images to mp4 error

    31 mai 2013, par Ryan Saxe

    So I have a script that grabs a bunch of images from the web and then converts them into a movie. Yet I get a whole bunch of errors when I run it.

    First let me show what I am running and then I will post the error because it's huge :

    #for gif
    #call('convert -set delay 5 -loop 0 ' + folder + '*.jpg ' + name + '.gif', shell=True)
    #for mov
    #call('convert -quality 100 ' + folder + '*.jpg ' + name + '.mov', shell=True)
    #for organized movie
    call('ffmpeg -r 10 -b 1800 -i ' + folder + '%0' + str(size) + 'd.jpg ' + name + '.mp4', shell=True)

    So the commented out versions work fine, but I need to use the 3rd version ! Here is the response I get from ffmpeg :

    ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Mar 31 2013 21:55:33 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Please use -b:a or -b:v, -b is ambiguous
    [mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 10835x53928 is invalid
       Last message repeated 26 times
    [mjpeg @ 0x7f8cc402a800] Found EOI before any SOF, ignoring
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (c8)
    [mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 54310x53928 is invalid
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
       Last message repeated 8 times
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (c5)
    [mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 10835x53928 is invalid
       Last message repeated 12 times
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
    [image2 @ 0x7f8cc4029c00] decoding for stream 0 failed
    [image2 @ 0x7f8cc4029c00] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    /Users/ryansaxe/Desktop/kaggle_parkinsons/MOVIES/%03d.jpg: could not find codec parameters

    Note :

    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted

    repeated about 30 times, but i cut it out of the traceback because it was overwhelming.

    Question : What did I do wrong and how do I fix it ?

    Edit :

    I download the jpeg files using the urllib python library's urlretrieve. This is how I save them :

    for src,name in zip(urls,range(len(urls))):
       file_name = folder + str(name) + '.jpg'
       urlretrieve(src, file_name)
  • FFmpeg will not run from php

    15 mars 2015, par user2392940

    This is a live server i am on a Windows 2008 Web Edition R2 server with IIS7.

    I have tried all of this locally and it works perfectly. At first i thought this may have been a permisson issue i gave all ffmpeg folders and output folders full control. I also checked the php ini file to make sure exec is enabled.

    I was intially running the exec() function i later changed it to the system() function to see what ffmpeg was outputting. With the system() function it returns the error "Acess is denied". All of my research points to a IIS setting or Application Pool not having the correct permission. Any help would be much appreciated.

    FFmpeg location : C :\ffmpeg\bin\ffmpeg.exe

    I have been working on this for nearly a week even my server provider has no answer on why ffmpeg will not run from php. I believe this is a little deeper than full paths. It’s obviously a permission problem but the question is where is the permission problem ?

    It also seems that no .exe file can be executed from php.

    system ("$ffmpeg -i yourvideo/.mp4 -threads 1 -ss 20 -b 10k  -s 240x180 -vf fps=fps=1/20 -vframes 12 -aspect 4:3 thumbs/yourvideo/yourvideo.%01d.jpg 2>&1");
  • Evolution #3104 (Nouveau) : Deux descriptions d’icones du bandeau de navigation principal me chato...

    27 novembre 2013, par paulbe Hullaert

    Hello,

    J’écris pas mal de chose pour le neo-spipien en ce moment et en écrivant je me rend compte que l’icone "Publication" ne sert pas à publier mais a plutôt un rôle passif de "suivre la publication", ce qui signifie pas grand chose sur un nouveau site ou l’on a pas encore publié.

    Alors que la publication, qui est souvent la priorité du nouvel arrivant se passe sur l’icone "Edition" qui pour moi signifie plutôt "modifier quelque chose".

    Quand on sait c’est pas compliqué mais quand on est nouveau c’et un peu perturbant non ?