Recherche avancée

Médias (91)

Autres articles (71)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7905)

  • ffmpeg live stream overlay issues,while any one of the stream is lost other streams are getting stuck

    29 mars 2013, par Samy

    So far we have done

    We have a video chat client which has a set of 9 video streams (users) with
    h.264 codec using Adobe FMS. Now, using ffmpeg we are able to combine these
    streams into one stream using the overlay (video) and amix (audio) filters.
    We are able to send the single combined stream to a live streaming service.
    The stream of the active speaker is shown in a bigger size using the scale
    property of ffmpeg.

    Code as follows :

    ffmpeg -i "rtmp://localhost/live/mystream" -i "rtmp://localhost/live/mystream2 " -i "rtmp://localhost/live/mystream3 "-filter_complex"nullsrc=size=300x300 [b1];[0:v] setpts=PTS-STARTPTS,scale=100x100 [s1];[1:v] setpts=PTS-STARTPTS,scale=200x200 [s2];[2:v]setpts=PTS-STARTPTS,scale=100x100 [s3];[b1][s1] overlay=shortest=1 [b1+s1];[b1+s1][s2] overlay=shortest=1 [b1+s2];
    [b1+s2][s3] overlay=shortest=1:x=100" out.mp4

    Help Needed in the following 2 major issues. Any help would be appreciated.

    1. Whenever the active speaker changes, the stream of that user should be shown in a bigger
      size. is this possible to do without restarting the ffmpeg process ?

    2. Right now, if one of the 9 streams stops, the ffmpeg process crashes.

  • Getting this error in ffmpeg pipeline : Non-monotonous DTS in output stream 0:0 ; previous : 4951970, current : 4951659 ; changing to 4951971

    6 décembre 2022, par RoshaanAli

    Error : Non-monotonous DTS in output stream 0:0 ; previous : 4951970, current : 4951659 ; changing to 4951971. This may result in incorrect timestamps in the output file.

    


    I am using AWS Chime streaming then passing there data stream to FFMPEG and then going live with that data stream using AWS IVS(Interactive video service).
I am using ffmpeg for changing aspects of video on live streaming and brightness and contrast.
But when we turn off camera and after some time reopen it we facing the above mention error.
I have read about concat but we don't have input file actually we are passing data stream is ffmpeg that's why its not working.

    


    Here is my ffmpeg command

    


    ffmpeg=ffmpeg.spawn('ffmpeg', [
            '-i', '-' ,
            // '-f', 'concat',
            // '-segment_time_metadata','1',
            // '-use_wallclock_as_timestamps', '1',
            '-c:v', 'libx264',
            '-b:v', '2567k',
            '-maxrate', '6000K',
            '-preset', 'ultrafast',
            '-profile:v', 'baseline',
            '-level', '3.0',
            // '-aspect', '9:16',
            '-force_key_frames', 'expr:gte(t,n_forced*2)',
            '-movflags', 'faststart',
            '-fflags', 'nobuffer',
            '-tune', 'zerolatency',
            '-acodec', 'aac',
            '-ab', '160k',
            '-ar', '44100',
            '-f', 'flv',
            'rtmps-url/secret-key-replaced'
        ])


    


    I have tried this command -use_wallclock_as_timestamps', '1' but it does nothing to error.

    


  • How to Install FFMpeg on centos 6 in 2022 ?

    17 août 2022, par Ruben Fernandes

    a client of mine asked to add videos to their website, i decided to install FFMpeg on their server so whenever they upload a video, the service automatically generates the first frame for the preview and encodes them in webm.

    


    Sadly it seems to be impossible to install without having to compile it myself (which i don't really want to do as i have never done it before and don't want to risk breaking something in their server),

    


    The server is running cento6 but EVERY repository that provides the centos6 version of FFMpeg seem to use dependencies from dead hosts (they are offline and unreachable), every solution i find ends up with the same error like "Couldn't resolve host 'apt.sw.be'"

    


    I've changed yam repositories, installed apt-get to try with that instead of yam, disabled and enable repos like nux that seem to be very outdated, even followed posts that were published/updated recently like this but they all keep ending up with the the same "Couldn't resolve host..." when installing decencies.

    


    Is there any live and updated repo that provides a way to install FFMpeg for centos6 with yum or apt-get in 2022 ?

    


    Thanks

    


    EDIT
Following Romeo's tip about downloading the binaries, i managed to install it but in my case i needed a older 32 bit version to make it work (else i'd get Kernel too old) :

    


    $ wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.0.3-32bit-static.tar.xz
$ tar xvf ffmpeg-4.0.3-32bit-static.tar.xz
$ sudo mv ffmpeg-4.0.3-32bit-static/ffmpeg ffmpeg-4.0.3-32bit-static/ffprobe /usr/local/bin/