Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (11451)

  • FFMPEG create corrupted MP4 format and not play in Browser

    28 juillet 2015, par Lin W

    I’ve installed FFMPEG 2.7.2 in CentOS 7 and its working fine with the conversion of MP4, FLV and WEBM from any Video, but the issue is with MP4 extension. When I play converted WEBM video using HTML5’s <video></video> tag its playing but MP4 not (In FireFox and Chrome’s default player says that video file is corrupted).

    Below command is for MP4 :

    CODE: SELECT ALL
    ffmpeg -i input.wmv -vcodec mpeg4 -r 30 -b:v 2000000 -acodec limp3lame -ab 126000 -ar 44100 -ac 2 -s 1280x720 output.mp4 -y 2> /dev/null &amp;

    Can anyone tell me that where I’m doing mistake in above command, so I can change the command and convert valid MP4 video which plays into Web Browser supported format.

  • How can I play a transport stream file in Angular ?

    26 juin 2023, par Ricardo

    In my angular app, I have a use case where the user must select a transport stream (.ts) file via a file input. The file must then be played in the html video element available for the user to see.

    &#xA;

    The problem I believe I'm facing is that html5 does not support .ts files as a src for the video element and I am not sure how else I can manage to play the video.

    &#xA;

    I do have some limitations for the solution :

    &#xA;

      &#xA;
    1. If we have to convert the file, the process must be fast so that the user is not stuck waiting for too long. This likely means that we cannot upload the file to the backend for processing as upload times for 30 minutes+ .ts video files will probably take long to upload and then download the mp4.
    2. &#xA;

    3. I have thought of using ffmpeg, but I am not sure that it is feasible. FFmpeg also uses a gpl license which can be a limitation too.
    4. &#xA;

    &#xA;

    As a side note, I am fine with a solution in which we only retrieve a few frames, as the end goal is for the user to select a frame from the video. However, I am okay with the frame being predetermined.

    &#xA;

  • How do I install FFmpeg for my bot to play music ?

    28 juin 2023, par Shiqi Wang

    I followed a Youtube Tortual on how to make a music bot, and every piece of code made sense, there is just one problem. I thought I installed FFmpeg which is the thingy which makes the bot play audio I believe, the way I installed it was running the following command : pip install ffmpeg

    &#xA;

    So I waited it to finish up, and attempted to play music, and here is the error message

    &#xA;

    Traceback (most recent call last):&#xA;  File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\ext\commands\bot.py", line 902, in invoke&#xA;    await ctx.command.invoke(ctx)&#xA;  File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\ext\commands\core.py", line 864, in invoke&#xA;    await injected(*ctx.args, **ctx.kwargs)&#xA;  File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\ext\commands\core.py", line 94, in wrapped&#xA;    raise CommandInvokeError(exc) from exc&#xA;discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.&#xA;

    &#xA;