Recherche avancée

Médias (91)

Autres articles (75)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (10159)

  • Python get wav frames from mp3 file for wave.open -> readframes()

    25 janvier 2017, par spam junk

    I have programmed a little lightshow which reads from .wav files :

    data = wavfile.readframes(chunk)

    but i would like to read mp3 files.

    So i have found various python apis like pymedia (cant quite get it to work) and pyffmpeg (never been worked on since 2015 as the github readme says )
    and i have found this post :

    Python : mp3 to alsaaudio through ffmpeg pipe and wave.open(f,’r’)

    im new to python and im only using it because my lights are controlled in python and im studying
    computer science since last year , so im still learning

    so all in all if someone could reassemble the code from the post for me that would be nice .

    im sorry,
    i would comment on the post but i dont have enough reputation

  • h264 to mp4 using libavformat : howto do correctly ? [duplicate]

    20 février 2020, par Daniel

    I want to convert an h264 live stream to mp4 live stream (no files are used).

    I would like to use avformat to produce the same output as this command :

    ffmpeg -i CAMERARTSPLINK -c:v copy -an -movflags +frag_keyframe+empty_moov -f mp4 pipe:1

    pipe:1 means it will write to stdout where seek is not available. (i.e. ffmpeg is not able to change anything that it has wrote before)

    Here is my sample code using avformat.

    I created a wrapper class for the ffmpeg to store it’s output to file (with this method I still ensure that ffmpeg is not able to modify anything).

    Also I modified my sample to store the bytes it receives in writeOutput to file.

    However my code and ffmpeg creates very different mp4 data :

    • ffmpeg creates boxes : ftyp, moov, moof, mdat -> file is playable
    • my code creates boxes : ftyp, moov -> file is NOT playable
    • ffmpeg ftyp box : majorBrand = isom ; compatibleBrands = [isom, iso2, avc1, iso6, mp41]
    • my code ftype box : majorBrand = iso5 ; compatibleBrands = [iso6, mp41]
    • ffmpeg moov box’s size : 0, 0, 3, 76
    • my code moov box’s size : 0, 0, 0, 0

    How shall I change my code to write output with isom, and correct moov size ?

    Here is a jsfiddle of ffmpeg’s thumbcoil analysis.

    Here is a jsfiddle of my code’s thumbcoil analysis.

  • Convert series of images to RTSP

    30 juin 2022, par Arctic

    I have a project where I receive RTSP stream from the camera, process each frame and then add metadata to each frame such as bounding boxes and texts. Now I need to convert this image back to RTSP ? On the internet, I could find many libraries/utilities to restream to RTSP, but nothing to generate RTSP from series of images.

    


    In short, I am looking to have a solution on how I can convert series of images to RTSP

    


    Thanks in advance