Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (84)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9772)

  • HLS Encoding Resulting in "No Supported Source Was Found"

    18 février 2023, par Paulamonopoly

    I'm currently facing the most bizare problems I've come across, so I'm hoping someone can explain why this is happening. I'm currently converting my Movie and Show libary to HLS for buffering and bandwidth reasons etc.

    


    My file structure for these movies and shows are as follows :

    


    /Movies/[TMDB ID]/[TMDB ID].mp4

    


    /Shows/[TMDB ID/[Season Number]/[Episode Number]/[Episode Number].mp4

    


    I have converted my entire movie collection successfully using the below command.

    


    find /* -type f -name "*.mp4" -exec realpath {} \; -exec ffmpeg -i {} -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls -hls_segment_filename '{}-P%03d' {}.m3u8 \;


    


    This is taking my named mp4 files and converting them to the originalname.m3u8 with chunks following the naming scheme of originalname-PXXX where P indicates the part number. I know there's no file extensions attached with the chunks but it's not needed.

    


    You can view this result here : Example

    


    This result also works if loaded into HLS Player : HLS Player

    


    So there is evidently nothing wrong with the converting of my videos or even the result of the videos.

    


    Now, if I convert a TV Show using the exact same command, it does indeed convert them, it does use a slightly different file structure as with seasons and episodes etc which can be seen above, but now it results in the error : "No Supported Source Was Found" in the console and repeatedly tries to play Part 000 without success.

    


    This can be seen here : Example

    


    And the errors if loaded into HLS Player : HLS Player

    


    I have tried changing numerous things to try and resolve this error as well as checking things, the things I have checked are the media condition itself maybe it's a corrupted file ?

    


    The original Mp4 file can be played here without any problems, so we know the Mp4 file originally is perfectly fine. I have also tried adding a file extension to the chunks such as .ts and .mp4 etc etc with also no success.

    


    I have even thought maybe it's the directories so I have moved a show into the movies directory with no success, I have also moved a movie into the show directory which resulted in a working HLS Stream so it's nothing to do with the directories.

    


    I have tried exending the file name length thinking it's possibly the naming scheme with 1.m3u8 not been long enough of a file name by using placeholder text such as 03051.m3u8 as well as the chunk naming scheme 03051-PXXX possibly not been long enough.

    


    I have noticed though that using this command :

    


    ffmpeg -allowed_extensions ALL -i {} -c copy -bsf:a aac_adtstoasc {}.mkv \;


    


    Does recombine my HLS video correctly with the same file size etc, however I have noticed that the video itself is corrupt and doesn't play. So this makes be believe the issue lies within the converting of the initial Mp4 file into m3u8.

    


  • Loading and unloading C jni library based on when it's needed

    30 septembre 2014, par Alin

    I finally managed to compile ffmpeg for android and I’ve been able to use it in my app.

    Here is the scenario of my app :

    • I show the user a gridview with thumbnails of images and videos
    • the user can click on a cell and it is taken to image/video details where he can see the full image or play the video
    • the user can apply an image over an video and this is when ffmpeg is used

    So basically, the user might never actually use the watermarking option or he can do it very rare because the amount of available videos is way smaller than images.

    I am loading the ffmpeg library, first time it is needed by running :

    static {
        System.loadLibrary("ffmpeglib");
    }

    Now here are my questions :

    1. loading the library like this, uses app’s memory and resources ?
    2. can I unload the library, or better said, is it needed to unload it ? I have not found any java code like System.unloadLibrary to take care of unloading
    3. Since the library might be used rarely, wouldn’t a load => do encoding => unload be a better approach ? Or maybe having it loaded would allow easy reuse since no loading is necessary.
    4. If I use an IntentService to load the library and make the encoding, when the service completes the job, does the library gets unloaded ?
  • Running multiple services in a Docker container

    27 octobre 2015, par andrea-f

    I created a Docker image with Ubuntu 14.04 and compiled FFMPEG to run the streaming of a video asset to a DASH endpoint. On the same image I can run the media analysis script which basically use FFMPEG and other tools to analyse a video asset. Now I want to put a Django app so that assets can be both loaded in the streaming pipeline and run through the media analysis. What would you suggest is the best approach ? Have 2 Docker images – one with compiled FFMPEG and the streaming pipeline and another one with django, and then share the code between the two ? Or just keep 1 docker image and run both the FFMPEG streaming pipeline and media analysis and Django from there ?

    I am open to suggestions…

    Possible duplicate of http://serverfault.com/questions/706736/sharing-code-base-between-docker-containers