Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (59)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7265)

  • Compiling ffmpeg for chromium on Windows

    7 janvier 2019, par ykhandel

    I am following the instructions here to generate the gn files for Chromium. I have installed the cygwin base package along with diffutils, nasm, make and python.

    Also, I have copied chromium/scripts/cygwin-wrapper to /usr/local/bin

    1. Started C :\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat

    2. Started C :\cygwin\cygwin.bat

    3. cd to third_party\chromium\scripts

    4. python build_ffmpeg win ia32

    I am getting some warnings plus this :

    Could not create temporary library.
    make : *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102 : libavutil/avutil-56.dll] Error 1

    make : *** Waiting for unfinished jobs....

    Could not create temporary library.

    Could not create temporary library.

    make : *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102 : libavcodec/avcodec-58.dll] Error 1

    make : *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102 : libavformat/avformat-58.dll] Error 1

    Traceback (most recent call last) :

    File "build_ffmpeg.py", line 900, in

    sys.exit(main(sys.argv[1 :]))

    File "build_ffmpeg.py", line 502, in main

    options=options)

    File "build_ffmpeg.py", line 876, in ConfigureAndBuild

    configure_args)

    File "build_ffmpeg.py", line 870, in do_build_ffmpeg

    options.config_only, branding, configure_flags)

    File "build_ffmpeg.py", line 408, in BuildFFmpeg

    [’make’, ’-j%d’ % parallel_jobs] + libraries, cwd=config_dir)

    File "build_ffmpeg.py", line 106, in PrintAndCheckCall

    subprocess.check_call(argv, *args, **kwargs)

    File "/usr/lib/python2.7/subprocess.py", line 186, in check_call

    raise CalledProcessError(retcode, cmd)

    subprocess.CalledProcessError : Command ’[’make’, ’-j8’, ’libavcodec/avcodec-
    58.dll’, ’libavformat/avformat-58.dll’, ’libavutil/avutil-56.dll’]’ returned non-zero exit status 2

  • Using a string literal works but passing as arguments does not

    6 mai 2019, par user10204157

    I am passing string literals to my powershell script as follows :

    var spawn = require("child_process").spawn,
               child;
     child = spawn("powershell.exe", [
               "./scripts/ffmpeg_convert.ps1",
               `./cache/videos/${tempFileName + "."}${videoType}`,
               ` ./cache/converted_videos/${tempFileName + "."}${videoType}`
             ]);

    Where spawn is part of node.js Spawn

    And my powershell script is as follows :

    param(
       [string]$originFile = $Args[0],
       [string]$outputFile = $Args[1]
    )
    echo "Moving moov atom"
    ffmpeg -i $originFile -vcodec copy -acodec copy -movflags +faststart $outputFile

    But, the script will not execute with the argument of

    ./cache/videos/${tempFileName + "."}${videoType}

    However, if I change the argument out for the literal string let’s say
    ./cache/videos/inputVideo.mov

    it executes just fine.

    This is really making me scratch my head.

    I created two test scripts that work with the same principal... So is it just the way ${tempFileName + "."}${videoType} is being translated ? And with that being said, if I echo the arguments they are as expected.

    Script 1

    ./convert_videos.ps1 ./inputVideo.mov outputVideo.mov

    Script 2

    param(
       [string]$originFile = $Args[0],
       [string]$outputFile = $Args[1]
    )
    echo "Moving moov atom"
    ffmpeg -i $originFile -vcodec copy -acodec copy -movflags +faststart $outputFile
  • Anomalie #4328 : Depots inaccessibles

    7 mai 2019, par Armen Spidermian

    Bonjour,

    Je me suis aperçu de ce dysfonctionnement sous spip 3.2.1
    Le site a été mis en prod et j’ai cru un moment que le probleme venait
    de mon hébergeur
    J’ai donc rapatrié une copie du site sur une machine de dev
    ou nous envisagions de migrer mais le probleme existe toujours.
    Ah oui ma version de php est 5.6.38 chez notre hébergeur et 5.6.40 ,sur
    le serveur de dev.
    Je ne comprends d’autant mons cette eeereur que j’ai un autre spip (3.2.4)
    qui tourne sur cette machine et qui n’a pas ce probleme.
    Je comprends que vous n’ayez pu reproduire cette erreur et donc de la
    traiter
    Mais comme je l’ai dit dans mon ticket je n’ai pas la moindre idée d’ou
    cela peut venir et donc ou chercher,
    peut-être pouvez vous me soumettre quelques pistes ?

    D’avance Merci.

    a écrit :

    La demande #4328 <https://core.spip.net/issues/4328#change-14926> a
    été mise à jour par b b.

    • Statut changé de /Nouveau/ à /Fermé/
    • Resolution mis à /invalid/

    Cette question a plus sa place sur la liste spip-zone, sans plus
    d’infos ça ne peut pas être considéré comme une bug, d’autant plus
    qu’on ne reproduit pas le problème de notre côté. Je ferme le ticket,
    n’hésite pas à en ouvrir un autre ou a commenter ici une fois que tu
    as des infos exploitables à propos d’un bug.


    Anomalie #4328 : Depots inaccessibles
    <https://core.spip.net/issues/4328#change-14926>

    • Auteur : Armen Spidermian
    • Statut : Fermé
    • Priorité : Normal
    • Assigné à :
    • Catégorie :
    • Version cible :
    • Resolution : invalid
    • Navigateur :

    Spip refuse de se connecter au dépot.

    2019-05-06 13:50:01 78.230.118.204 (pid 7481) :Pri:ERREUR : Erreur
    connexion
    2019-05-06 13:50:02 78.230.118.204 (pid 7481) :Pri:ERREUR : Erreur
    connexion
    2019-05-06 13:50:02 78.230.118.204 (pid 7481) :Pri : !INFO : copie_locale
     : Echec recuperation https://plugins.spip.net/depots/principal.xml sur
    ../IMG/distant/xml/principalxml2fdc.xml status : 0

    Je n’arrive pas a comprendre d’ou ca vient...

    Fichiers ErreurSpip.png
    <https://core.spip.net/attachments/download/1083/ErreurSpip.png> (84,9 ko)


    Vous recevez ce mail car vous êtes impliqués sur ce projet.
    Pour changer les préférences d’envoi de mail, allez sur
    http://core.spip.net/my/account