Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (95)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (11146)

  • calling FFMPEG from Perl AGI failing to execute system command

    21 novembre 2014, par Cody RedCloud

    I’m trying to convert and move 2 audio files that were recorded earlier in the call using ffmpeg. The code in using is :

    #Convert and move the audio
    $AGI->exec("system","ffmpeg|/olddir/$FILENAME.flac|/newdir/$FILENAME.wav");
    $AGI->exec("system","ffmpeg|/olddir/$FILENAME.flac|/newdir/$FILENAME.wav");

    When the AGI runs, this is what appears on the CLI :

       -- AGI Script Executing Application: (system) Options: (ffmpeg|/olddir/stt_P4J3v6.flac|/newdir/stt_P4J3v6.wav)
    WARNING[1796]: app_system.c:138 system_exec_helper: Unable to execute 'ffmpeg|/olddir/stt_P4J3v6.flac|/newdir/stt_P4J3v6.wav'

    I’m not sure why it will not execute, the same command works fine on the console.

    EDIT : retested command WITH the pipes in it and it returned weird errors. However, trying to use

    $AGI->exec("system","ffmpeg /olddir/$FILENAME.flac /newdir/$FILENAME.wav");

    only returns

    -- AGI Script Executing Application: (system) Options: (ffmpeg)

    so it’s not taking the rest of the arguments.

  • Why do I get a black box when I tile pictures with -filter_complex tile=2x1 in FFmpeg ?

    19 juin 2016, par Mateusz Piotrowski

    As I was trying to write a script (which attempts to join two pictures eventually) using FFmpeg I came across a very weird behaviour.

    I’ve found a command in an accepted answer for the very same problem I had (How to join two image into one by ffmpeg ?) :

    ffmpeg -i a.jpg -i b.jpg -filter_complex scale=120:-1,tile=2x1 output.jpg
    • Input : a.jpg, b.jpg

      a.jpg b.jpg

    • Output : output.jpg

      output.jpg

    What happened to the B cat ? Why is it missing from the output image ? I couldn’t find any information why tile=2x1 behaves like this.

  • How to Include Non-Python Dependency in a Python Package Using PyProject.toml ?

    5 mai 2023, par MillerTime

    I'm developing a Python package that requires the package ffmpeg. It's automatically installed on my platform, linux, but I'd like to make this package available for other platforms as well. I'm using a pyproject.toml file to include metadata and Python dependencies, but I don't know how to add dependencies that aren't Python packages. Even if pip isn't able to install them automatically, I'd like it to give a message to the user upon instilation dictating that ffmpeg is required.

    


    [build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "myproject"
version = "1.0"
dependencies = [
    "python-package-one",
    "python-package-two",
    "python-package-three"
]

[tool.setuptools]
packages = [
    "myproject",
    "myproject.subpackage"
]


    


    I had found a python library called pyffmpeg that provided ffmpeg binaries, but it has weird failures and is unreliable, so I'm moving away from it. My question is, how can I include ffmpeg as a dependency ? Alternatively, I'd like to know about any other Python packages that ship with ffmpeg already installed, like the one I tried, although the other solution is my preference. Thanks very much !