Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (50)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

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

Sur d’autres sites (4922)

  • AndroidBitmap_lockPixels always failing

    25 avril 2013, par user1568549

    In my jni module I copy images to bitmaps, which were previously
    passed from my java application.

    I do this using AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels.
    Basically, it renders the image correctly, but there're strange
    effects : sometimes the application gets stuck, or after some time
    AndroidBitmap_lockPixels always returns -3

    (ANDROID_BITMAP_RESULT_ALLOCATION_FAILED). I guess this is because I
    update these bitmaps not from the GUI thread, isn't it ?

    If so, what would be correct way to "post" this operation to the GUI

    thread ? Is it possible in jni ?

    Thanks.

  • AndroidBitmap_lockPixels failing with -3 code

    24 avril 2013, par user1568549

    In my jni module I copy images to bitmaps, which were previously
    passed from my java application.

    I do this using AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels.
    Basically, it renders the image correctly, but there're strange
    effects : sometimes the application gets stuck, or after some time
    AndroidBitmap_lockPixels always returns -3

    (ANDROID_BITMAP_RESULT_ALLOCATION_FAILED). I guess this is because I
    update these bitmaps not from the GUI thread, isn't it ?

    If so, what would be correct way to "post" this operation to the GUI

    thread ? Is it possible in jni ?

    Thanks.

  • How do I use ffmpeg with Python by passing File Objects (instead of locations to files on disk)

    1er mai 2012, par Lyle Pratt

    I'm trying to use ffmpeg with Python's subprocess module to convert some audio files. I grab the audio files from a URL and would like to just be able to pass the Python File Objects to ffmpeg, instead of first saving them to disk. It would also be very nice if I could just get back a file stream instead of having ffmpeg save the output to a file.

    For reference, this is what I'm doing now :

    tmp = "/dev/shm"
    audio_wav_file = requests.get(audio_url)
    ##              ##                         ##
    ## This is what I don't want to have to do ##
    wavfile = open(tmp+filename, 'wrb')  
    wavfile.write(audio_wav_file.content)
    wavfile.close()
    ##              ##                         ##
    conversion = subprocess.Popen('ffmpeg -i "'+tmp+filename+'" -y "'+tmp+filename_noext+'.flac" 2>&1', shell = True, stdout = subprocess.PIPE).stdout.read()

    Does anyone know how to do this ?

    Thanks !