Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (70)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5191)

  • Révision 23469 : Ticket #3897 : Dans la fonction de traduction, pouvoir récupérer la langue du tex...

    8 mars 2017, par marcimat@rezo.net

    Effectivement, 1) l’information n’était pas conservée en mémoire, et 2) elle pouvait être fausse lorsqu’un module de langue n’existe pas dans la langue demandée.
    On réécrit et sauvegarde dans un objet SPIP_Traductions_Description chaque traduction qui a été calculée, avec sa langue, son module, etc.
    Un nouveau paramètre à inc_traduire_dist() permet de récupérer cette description plutôt que la chaîne directement traduite.

    On utilise cette nouvelle option dans extraire_idiome(), ce qui permet de connaître la langue de la traduction et de placer (ou pas) le ``
    autour de la traduction récupérée.

  • FFMPEG + Android wrapper using the latest versions off FFMPEG

    8 avril 2014, par StackOverflowed

    I am trying to compile FFMPEG to work with my Android app. I've looked at : https://github.com/halfninja/android-ffmpeg-x264 which is almost what I want but I need a later version of FFMPEG (so I'm trying to use the latest, 2.2).

    I'm using most of the scripts located there, but the problem is after I run compile_make_everything.sh, I try to run ndk-build but I get errors (basically it can't find the main function in ffmpeg.c).

    This is my Android.mk :

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    #LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
    LOCAL_MODULE  := videokit
    LOCAL_SRC_FILES := videokit/com_myapp_example_FFMpegService.c

    LOCAL_LDLIBS := -llog -ljnigraphics -lz -landroid

    LOCAL_STATIC_LIBRARIES :=ffmpeg

    include $(BUILD_SHARED_LIBRARY)
    $(call import-module,ffmpeg-2.0.1/android/arm)

    If I modify my LOCAL_SRC_FILES to include ffmpeg.c, it fails when I tries to find some of the helper libraries it requires :
    LOCAL_SRC_FILES := videokit/com_myapp_example_FFMpegService.c ffmpeg/ffmpeg.c ffmpeg/cmdutils.c

    The error :

    In file included from
    /home/me/ffmpeg/new-android-ffmpeg/Project/jni/ffmpeg/ffmpeg.c:44:0 :
    /home/me/ffmpeg/new-android-ffmpeg/Project/jni/ffmpeg/libavformat/avformat.h:255:32 :
    fatal error : libavcodec/avcodec.h : No such file or directory
    compilation terminated.

    How can I include the latest ffmpeg library while still being able to call the main function ?

  • Can you split a file using ffmpeg directly from a db ?

    31 mars 2014, par Jeff

    I am splitting a file using ffmpeg and python. I am able split a file if I input a file path, but if I send in the file itself from my mongodb, it errors out. Is there a way to get ffmpeg to run using the file instead of the path to the file ?

    python code :

    args = [ffmpeg_binary,
                            "-v", "quiet",
                            "-y", "-i", video_file, "-vcodec", "copy", "-acodec", "copy",
                    "-ss", "00:00:00", "-t", "00:00:10", "-sn",
                    output_file_name ]

    pipe = sp.Popen(args)

    if video_file is a gridfs.grid_file.GridOut object or a (gridfs.grid_file.GridOut object).read(), I get :

    Traceback (most recent call last):
     File "C:/dev/youniversity/test.py", line 21, in <module>
       split_vid_from_file(vid_file)
     File "C:\dev\youniversity\src\lib\ffmpeg_lib.py", line 107, in split_vid_from_file
       pipe = sp.Popen(args)
     File "C:\Python27\lib\subprocess.py", line 709, in __init__
       errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 957, in _execute_child
       startupinfo)
    TypeError: must be string without null bytes or None, not str
    </module>

    How do I split the video directly from the DB ?

    EDIT : I found that you can do this :

    ... "-y", "-", ...

    pipe = sp.Popen(args, stdin=sp.PIPE)

    but I don't want the user to type input, I want to pipe in the variable.