Recherche avancée

Médias (91)

Autres articles (51)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (7492)

  • Youtube-DL file download live progress

    7 février 2015, par roshkattu

    I am using the YoutubeDL library in a project. My environment is based on WINDOWS with XAMPP as the webserver boundle (apache,php,mysql,etc). I am using the youtube-dl.exe file to download the video and then use ffmpeg.exe to convert the video to an MP3 audio file.

    At the moment, I have an issue related to programming : I want to show live a progressbar while the video is downloaded with the youtube-dl.exe file. This exe creates a log file, that is updated while the video is downloaded. So my approach on this was to create a PHP file, that opens, parses the log file and get’s the progress percent, and sends it as a json encoded value to an AJAX function that is called every 100MS. Indeed, if the video is too large, there will be a very high ammount of data while polling the PHP file to get the progress state. And sometimes, the browser either crashes or freezes because of this ajax polling.

    My question is : is there any better approach to do this with PHP/AJAX ? Rathar than poll the file every 100MS, or 50MS ?

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

    


    video_url = "./video.mp4"
audio_url = "./audio.mp4"

output_filepath = './merged.mp4'

try:
    process = subprocess.Popen([
        "ffmpeg",
        "-i", video_url,
        "-i", audio_url,
        "-c:v", "copy",
        "-c:a", "copy",
        "-f", "mp4",
        "-movflags", "frag_keyframe+empty_moov",
        "pipe:1"
    ], stdout=subprocess.PIPE)

    def generate_stream():
        while True:
            data = process.stdout.read(1024)
            if not data:
                break
            yield data

    response = StreamingHttpResponse(generate_stream(), content_type="video/mp4")
    response['Content-Disposition'] = 'attachment; filename="stream.mp4"'
    return response

except subprocess.CalledProcessError as e:
    return HttpResponse("Error: {}".format(e), status=500)


    


    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.

    


    I am using django and i am learning django

    


  • x86/tx_float : remove ff_ prefix from external constant tables

    25 avril 2021, par James Almer
    x86/tx_float : remove ff_ prefix from external constant tables
    

    Fixes compilation with some assemblers.

    Reviewed-by : Lynne
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavutil/x86/tx_float.asm