Recherche avancée

Médias (91)

Autres articles (94)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (12001)

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

    


    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.

    


    I do have some limitations for the solution :

    


      

    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. 


    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. 


    


    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.

    


  • 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

    


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

    


    Traceback (most recent call last):
  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
    await ctx.command.invoke(ctx)
  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
    await injected(*ctx.args, **ctx.kwargs)
  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
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.


    


  • ffmpeg pipe response how to play javascript ?

    30 mars 2017, par 최진영

    Hello i have some question

    i trying app.post and response angular2

    here is my code

    function.js

    var url = 'https://www.youtube.com/watch?v=' + id;
    try {
          youtubeStream(url).pipe(res)
        } catch (exception) {
           res.status(500).send(exception)
         }

    response.ts

          this.loading = true
           var headers = new Headers();
           var query = {
                        "videoURL" : this.tracklist[0].videoURL
                       }
            headers.append('Content-Type', 'application/json');
            this.http.post('http://localhost:4100/toMp3',query,{headers: headers}).subscribe((res) => {
                console.log(res) <-- plz check picture
            });

    console.log(res)

    console.log(res)

    I do not know how to play stream data in _body