Recherche avancée

Médias (91)

Autres articles (62)

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

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (5101)

  • Skiping MP4 video

    30 avril 2013, par M.Yazdian

    I like to create the video player to show videos on my website. I made a video player in flash CS5 and actionscript3 to stream the videos on the website.

    My videos are often flv or mp4 format.
    In the flv files I use flvmdi app to inject the metadata to that ,and for skipping the flv file I use xmoov-php (video player can pass the keyframe number from flv metadat to xmoov-php to create the new flv file from passed keyframe to the last flv keyframe, and return the flv video file on the php header for flash video player to show the video ).

    but about mp4 format in Xmoov-php wiki it says :
    this file can't support the mp4 format to skiping...!!!
    Now I need skiping the mp4 files in my video player (I like my viewers select a part of video before buffering all video on their browser and play it ).

    please give me a suggestion to skiping the mp4 file in the php or .net platform
    Many thanks

  • CoreAudio : how to retrieve actual sampling rate of raw data ?

    13 août 2014, par jyavenard

    When attempting to play AAC-HE content in an mp4 container, the reported sampling rate found in the mp4 container appears to be half of the actual sampling rate.

    E.g it appears as 24kHz instead of 48kHz.

    Using the FFmpeg AAC decoder, retrieving the actual sampling rate can be done by simply decoding an audio packet using

    avcodec_decode_audio4

    And looking at AVCodecContext::sample_rate which will be updated appropriately. From that it’s easy to adapt the output.

    With CoreAudio decoder, I would use a AudioConverterRef set the input and output AudioStreamBasicDescription
    and call AudioConverterFillComplexBuffer

    As the converter performs all the required internal conversion including resampling it’s fine. But it plays the content after resampling it to 24kHz (as that’s what the input AudioStreamBasicDescription contains.

    Would there be a way to retrieve the actual sampling rate as found be the decoder (rather than the demuxer) in a similar fashion as one can with FFmpeg ?

    Would prefer to avoid losing audio quality if at all possible, and not downmix data

    Thanks

  • how to put image files from one folder to make a video in python

    23 septembre 2015, par Gaurav16

    I have written a code to collect all image files from one folder, so that I can make a video out of it.

    But while compiling I getting an error saying "Error creating movie, return code: 4 Try running with --verbose-debug"

     #import numpy as np
    import matplotlib.pyplot as plt
    import matplotlib.animation as animation
    import glob, os
    from PIL import Image
    fig = plt.figure()
    #size = 128, 128
    ims=[]
    #print(len(ims))
    #im=Image.open(ims[5])
    #im.show()
    for infile in glob.glob("*.png"):
       file, ext = os.path.splitext(infile)
       im = Image.open(infile)
       im1=plt.imshow(im)
       ims.append([im1])
    print(len(ims))    
    ani = animation.ArtistAnimation(fig, ims)
    ani.save('MovWave.mpeg', writer="ffmpeg")
    plt.show()