Recherche avancée

Médias (91)

Autres articles (107)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9440)

  • Respond with Range header for chunked uploads.

    16 octobre 2012, par Sebastian Tschan

    m server/php/upload.class.php Respond with Range header for chunked uploads.

  • swresample/resample : Limit filter length

    8 avril 2014, par Michael Niedermayer
    swresample/resample : Limit filter length
    

    Related to CID1197063

    The limit choosen is arbitrary and much larger than what makes sense.
    It avoids the need for checking arithmetic operations with the length for overflow

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswresample/resample.c
  • Merge video and audio using ffmpeg and download immediately in django

    29 janvier 2024, par Suresh Chand

    I have video and audio file which is to be merge and download immediately. I have written some code but it will start download after merged. I want when user hit the url, then it will start merging and downloading immediately so that user don't have to wait for it.

    &#xA;

    video_url = "./video.mp4"&#xA;audio_url = "./audio.mp4"&#xA;&#xA;output_filepath = &#x27;./merged.mp4&#x27;&#xA;&#xA;try:&#xA;    process = subprocess.Popen([&#xA;        "ffmpeg",&#xA;        "-i", video_url,&#xA;        "-i", audio_url,&#xA;        "-c:v", "copy",&#xA;        "-c:a", "copy",&#xA;        "-f", "mp4",&#xA;        "-movflags", "frag_keyframe&#x2B;empty_moov",&#xA;        "pipe:1"&#xA;    ], stdout=subprocess.PIPE)&#xA;&#xA;    def generate_stream():&#xA;        while True:&#xA;            data = process.stdout.read(1024)&#xA;            if not data:&#xA;                break&#xA;            yield data&#xA;&#xA;    response = StreamingHttpResponse(generate_stream(), content_type="video/mp4")&#xA;    response[&#x27;Content-Disposition&#x27;] = &#x27;attachment; filename="stream.mp4"&#x27;&#xA;    return response&#xA;&#xA;except subprocess.CalledProcessError as e:&#xA;    return HttpResponse("Error: {}".format(e), status=500)&#xA;

    &#xA;

    But it will merge and then start downloading. I want to be at same time so that user don't have to wait until the merging process.

    &#xA;

    I am using django and i am learning django

    &#xA;