Recherche avancée

Médias (91)

Autres articles (85)

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

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

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

  • avcodec/ffv1 : Implement CRC with non zero initial and final value

    25 septembre 2024, par Michael Niedermayer
    avcodec/ffv1 : Implement CRC with non zero initial and final value
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ffv1.h
    • [DH] libavcodec/ffv1dec.c
    • [DH] libavcodec/ffv1enc.c
  • No audio in the final video when converting webm blobs to mp4 using ffmpeg

    28 septembre 2024, par alpecca

    I trying to record user camera and microphone and using MediaRecorder to convert the stream to blobs and sending the blobs every 2 second to the backend using websocket. Everything is working fine, but when I checked the final mp4 video in the backend, it doesn't have any audio to it, I try specifying the audio codec, but still no help.

    &#xA;

    My frontend code :-

    &#xA;

    const micStream = await navigator.mediaDevices.getUserMedia({ audio: true });&#xA;&#xA;const recorder = new MediaRecorder(stream, {&#xA;   mimeType: &#x27;video/webm;codecs=H264&#x27;,&#xA;   videoBitsPerSecond: 8000000,&#xA;   audioBitsPerSecond : 8000000&#xA;});&#xA;&#xA;recorder.ondataavailable = (e: BlobEvent) => {&#xA;    websocket.send(e.data)         &#xA;}  &#xA;recorder.start(2000);&#xA;

    &#xA;

    And here is the backend code :-

    &#xA;

    @router.websocket("/streamaudio")&#xA;async def websocket_endpoint(websocket: WebSocket):&#xA;    await manager.connect(websocket)&#xA;&#xA;    recordingFile = os.path.join(os.getcwd(), f"recording_.mp4")&#xA;&#xA;    command = [&#xA;        &#x27;ffmpeg&#x27;, &#xA;        &#x27;-y&#x27;,&#xA;        &#x27;-i&#x27;, &#xA;        &#x27;-&#x27;, &#xA;        &#x27;-codec:v&#x27;, &#xA;        &#x27;copy&#x27;, &#xA;        &#x27;-c:a&#x27;, &#x27;aac&#x27;, &#xA;        &#x27;-y&#x27;,&#xA;        &#x27;-f&#x27;, &#x27;mp4&#x27;,&#xA;        recordingFile,&#xA;        # "-"&#xA;        # f&#x27;output{queueNumber}.mp4&#x27;,&#xA;    ]  &#xA;&#xA;    &#xA;    try:&#xA;        while True:&#xA;            try:&#xA;           &#xA;                data = await websocket.receive_bytes()&#xA;                &#xA;                process.stdin.send(data)&#xA;               &#xA;            except RuntimeError:&#xA;                break      &#xA;    except WebSocketDisconnect:&#xA;        print(f"Client disconnected: {websocket.client.host}")&#xA;    finally:&#xA;        manager.disconnect(websocket)&#xA;        await process.stdin.aclose()&#xA;        await process.wait()  &#xA;

    &#xA;

  • FFmpeg Not Creating or Appending Final HLS Segment When RTMP Stream Ends [closed]

    14 août 2024, par Arjit

    I am transcoding an RTMP stream to HLS using FFmpeg, and I have a problem : when the RTMP stream finishes, the last segment, which does not reach the target duration, is not created as a .ts file. Consequently, this last segment is not appended to the playlist file.

    &#xA;

    command :

    &#xA;

    fmpeg -i rtmp://localhost:1935/live/xyz -c:v libx264 -preset veryfast -b:v 400k -c:a aac -b:a 64k -s 426x240 -hls_playlist_type event -hls_time 10 -hls_list_size 0 -hls_segment_filename jack/240p_%03d.ts jack/240p.m3u8&#xA;

    &#xA;

    I expected that when the RTMP stream ends or when i terminate that FFmpeg process, FFmpeg would create a .ts file for the last segment, even if it is shorter than the target duration (10 seconds), and that this segment would be appended to the playlist (output.m3u8).

    &#xA;