Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9727)

  • OpenShift — installing ffmpeg

    2 juillet 2016, par aweeeezy

    I’m new to deploying web apps — I just started looking into hosting plans yesterday morning when I settled on OpenShift. I have my app running, but it depends on node-youtube-dl which returns this error when trying to download a video from a link :

    Error: Command failed: WARNING: m_djk1RQ2Ew: writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically.
    ERROR: ffprobe or avprobe not found. Please install one.

    So I searched around for awhile and kept returning to the same list instructions for how to install ffmpeg on OpenShift :

    cd $OPENSHIFT_DATA_DIR
    mkdir bin
    wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
    wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.gz

    tar -xvf yasm-1.2.0.tar.gz
    cd yasm-1.2.0
    ./configure --prefix=$OPENSHIFT_DATA_DIR/bin --bindir=$OPENSHIFT_DATA_DIR/bin
    make
    make install
    export PATH=$OPENSHIFT_DATA_DIR/bin:$PATH

    cd $OPENSHIFT_DATA_DIR
    tar -xvf ffmpeg-2.0.1.tar.gz
    cd ffmpeg-2.0.1
    ./configure --prefix=$OPENSHIFT_DATA_DIR/bin --bindir=$OPENSHIFT_DATA_DIR/bin
    make
    make install

    Now my ~/app-root/data has ffprobe in it as well as some other codec related things, but node-youtube-dl still returns the same error saying I don’t have the necessary codecs installed. Here’s a listing of the contents of my data directory on OpenShift :

    -rwxr-xr-x.  1  11024048 Jul  2 01:51 ffmpeg
    -rwxr-xr-x.  1  10967408 Jul  2 01:51 ffprobe
    -rwxr-xr-x.  1  10611184 Jul  2 01:51 ffserver
    drwx------. 10      4096 Jul  2 01:51 include
    drwx------.  3      4096 Jul  2 01:51 lib
    drwx------.  4        29 Jul  2 01:51 share
    -rwxr-xr-x.  1   2116650 Jul  2 01:15 vsyasm
    -rwxr-xr-x.  1   2115479 Jul  2 01:15 yasm
    -rwxr-xr-x.  1   2102821 Jul  2 01:15 ytasm

    I really want OpenShift to work because it’s the last step to finishing off this one app before I move onto new projects — I don’t want to switch to paid hosting that will allow me to install stuff because I won’t be ready to determine an appropriate plan until a few months from now. That leaves me with trying to get ffmpeg to compile properly on OpenShift...so either a) I’m ignorant and it has long since been determined to be impossible by the OpenShift community or b) I’m ignorant and there’s a simple thing I’m doing wrong when building my codec libraries.

    Anybody out there know what’s wrong or had success installing these codecs before ? I’d greatly appreciate some guidance !

  • ffmpeg hls with aes encryption

    24 novembre 2016, par Ankit Vimal

    I was trying to create an encrypted hls stream using ffmpeg. I’ve seen other questions related to this.
    I’ve created a video.key file with the following content :

    12345678901234567890123456789011

    I’ve also created a key_info file with the following contents :

    http://10.10.102.223:59164/trial/video.key
    video.key

    I have a mp4 file : jellies.mp4
    and I was trying to transcode and encrypt it using

    ffmpeg -i jellies.mp4 -hls_time 5 -hls_key_info_file key_info playlist.m3u8

    After I was done transcoding I put the folder on a server and tried to access it on a client android app.

    The app contains a VideoView to which the url is fed. And I believe that decryption is done automatically.

    But the app is not working . It shows the following errors :

    E/MediaPlayer: error (1, -1007)

    After this I tried the transcoding again ,this time without encryption ,using :

    ffmpeg -i jellies.mp4 -hls_time 5 playlist.m3u8

    This played perfectly on the app.

    Using packet capture I’m able to see the various packets sent and received .

    And the key is being received perfectly.

    Then why is the stream not working.

    Is it because I didn’t encrypt it properly ? And how do I fix it ?

  • Python - insert lines on txt following a sequence without overwriting

    17 octobre 2016, par Neo Herakles

    I want to insert the name of a file before each file name obtained through glob.glob, so I can concatenate them through FFMPEG by sorting them into INTRO+VIDEO+OUTRO, the files have to follow this order :

    INSERTED FILE NAME
    FILE
    INSERTED FILE NAME
    INSERTED FILE NAME
    FILE
    INSERTED FILE NAME
    INSERTED FILE NAME
    FILE
    INSERTED FILE NAME

    This is this code I’m using :

    import glob
    open("Lista.txt", 'w').close()
    file = open("Lista.txt", "a")
    list =glob.glob("*.mp4")
    for item in list:
     file.write("%s\n" % item)
    file.close()

    f = open("Lista.txt", "r")
    contents = f.readlines()
    f.close()

    for x,item in enumerate(list):
       contents.insert(x, "CTA\n")
    f = open("Lista.txt", "w")
    contents = "".join(contents)
    f.write(contents)
    print f
    f.close()

    But I obtain the values in the wrong order :

    INSERTED FILE NAME
    INSERTED FILE NAME
    INSERTED FILE NAME
    FILE
    FILE
    FILE

    How could I solve this ?
    EDIT : As pointed out, maybe the issue is being caused by modifying a list that I’m currently using.