Recherche avancée

Médias (91)

Autres articles (109)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • Anomalie #3851 : Référencer code.plugins.spip.net

    7 février 2017, par b b

    Oui, ajouter un lien vers code.plugins.spip.net depuis code.spip.net ;)

  • Set rtsp_flags to listen ffmpeg in c code

    6 mai 2015, par Ahmed_Faraz

    I am trying to create a client client server application to stream and then receive video using rtsp using ffmpeg libraries. I am done with the client part which is streaming the video and i can receive the video on ffplay using following command

    ffplay -rtsp_flags listen rtsp://127.0.0.1:8556/live.sdp

    My problem is that i want receive the video in a c code and i need to set rtsp_flags option in it. Can anyone plz help ??
    P.S. i cannot use ffserver because i am working on windows and ffserver is not available for windows as far as i knw

  • Extract subtitle by language code via ffmpeg

    7 mai 2023, par TrustFound

    I have a simple task - extract subtitle for exact language from tvshows.
For example, I want to extract English subtitles from Netflix's show.
As you know there're a few different types of subtitles : forced, full and SDH.
So I want to extract all of them if it has eng language code.

    


    To extract 1 subtitle from file I used this code for windows :

    


    FOR %%i IN (*.mkv) DO (ffmpeg.exe -i "%%i" -map 0:s:m:language:eng -c copy "%%~ni".eng.srt)


    


    It worked fine with 1 english subtitle per file. But if it contains 2, ffmpeg shows error

    


    


    SRT supports only a single subtitles stream

    


    



    


    MI is...

    


      

    • Stream #0:2(eng) : Subtitle : subrip
    • 


    • Stream #0:3(eng) : Subtitle : subrip
    • 


    • Stream #0:4(ara) : Subtitle : subrip
    • 


    • ...
    • 


    



    


    So I should set 2 or more output files. I tried to figure out how to do this and found similar threads on reddit and stacksoverflow. They said there's no way to do this without ffprobe.
So I used ffprobe to parse all subtitle tracks and their language code.

    


    FOR %%i IN (*.mkv) DO (ffprobe -loglevel error -select_streams s -show_entries stream=index:stream_tags=language -of csv=p=0 -i %%i > subs.txt)


    


    File contains this info :

    


      

    • 2,eng
    • 


    • 3,eng
    • 


    • 4,ara
    • 


    • ...
    • 


    



    


    As I understand I should use integers and set them values 2 and 3. I want to get output like this

    


    

      

    • MovieName.2.eng.srt
    • 


    • MovieName.3.eng.srt
    • 


    


    


    If it easier to extract all subs, let it be. I tried to do this too but I dont know how to set integers and use them :(
So what I should do ?
Thanks in advance