Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (64)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9846)

  • Android HLS : Any way to edit the m3u8 file so that I know which segment is currently streaming/playing in my player using HLS

    1er août 2014, par hclee

    I am now working on a VOD project using HLS.

    I use the VideoViewBuffer in VitamioDemo to stream my video that is stored in my local server.
    The Vitamio library is awesome that I am able to stream the video, getting the bit rate, buffering percentage and some metadata.

    We use ffmpeg to convert the video into m3u8 and the corresponding ts files.
    But now our team want to know which segment (which ts file) of the video the HLS is currently streaming.

    That’s a very important part in our project but we get stuck in this point.

    I tried to use the MediaMetadata in Vitamio but only the Duration of the video is found.
    I am wondering if we can add some metadata in the m3u8 file so that we can retrieve the name of the current segment during streaming.
    eg :
    The original m3u8 is like this :
    #EXTINF:10.500000,
    stream00000.ts

    Is it possible for me to change it as follows :
    #EXTINF:10.500000, name of segment
    stream00000.ts

    But all I can get using MediaMetaDataRetriever is null except for the duration.

    It seems that no body have done this before so I can’t find any very useful information about this.

    Do anybody how to implement this ?
    Or should I use some packet sniffer to monitor the network traffic by myself ?
    Or Would MediaScanner be helpful ?
    Or I need to use code in android.os ?

    Thanks in advance !

  • Does 'force_style' work with 'subtitles=video.mkv' for FFMPEG ? [closed]

    8 septembre 2023, par http.bird

    I am using this script to encode an burn in subtiles for an entire folder :

    


    for filepath in newFiles:
    video = os.path.basename(filepath)
    videoName = os.path.splitext(video)[0]
    newFile = '%s.mp4' % videoName
    i = filepath
    o = os.path.join(destinationDirectory, newFile)
    if os.path.isfile(o):
        continue
    encodeCommand = f'ffmpeg -i "{i}" -vf "scale=-2:480, subtitles="{video}":force_style='PrimaryColour=&H0300FFFF&'" -c:v libx264 -profile:v baseline -level 3.0 -preset fast -crf 23 -pix_fmt yuv420p "{o}"'
    print('Encoding %s' % newFile)
    encode = os.popen(encodeCommand).read()


    


    However, the force_style='PrimaryColour=&H0300FFFF&' does not work and just keeps the subtitles built into the original file untouched. I am using subtitles="{video}" because it uses the subtitles that are saved in the video file. Does 'force_style' only work if I am providing a separate subtitle file ?

    


    I tried a mixture of quote combinations to see if that was the problem, but that stopped the script from running. This script still runs, just doesn't change the color of the subtitles.

    


    Edit : suddenly it doesn't run. Says that PrimaryColour is invalid syntax. I didn't change anything

    


  • FFMPEG does not work

    28 novembre 2017, par rktech

    I use this command :
    ffmpeg -y -f concat -safe 0 -i out.txt -vsync vfr -pix_fmt yuv420p output.mp4
    But if I start encoding and play video, I can not play video.
    Can someone help me