Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • ffmpeg code (API)

    22 juin 2014, par user3209762

    I started to deal with ffmpeg API ( not the command prompt ) to build a movie editor, and I’m trying to find a good tutorial about how to extract keyframes from video, but I didn’t find it.

    1. Someone did it before and can write the code here ?
    2. Someone has a good tutorial about ffmpeg API ?

    Thank you !

  • 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

    


  • 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