Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (82)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (6238)

  • avformat/matroskadec : Fix handling of huge default durations

    11 mai 2021, par Michael Niedermayer
    avformat/matroskadec : Fix handling of huge default durations
    

    Fixes : negation of -9223372036854775808 cannot be represented in type 'int64_t' (aka 'long') ; cast to an unsigned type to negate this value to itself
    Fixes : 33997/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6752039691485184

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/matroskadec.c
  • avformat/dxa : Check fps to be within the supported range more precissely

    24 avril 2021, par Michael Niedermayer
    avformat/dxa : Check fps to be within the supported range more precissely
    

    Fixes : negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int') ; cast to an unsigned type to negate this value to itself
    Fixes : assertion failure
    Fixes : 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_DXA_fuzzer-6744985740378112

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dxa.c
  • avformat_seek_file timestamps not using the correct time base

    19 juin 2021, par Charlie

    I am in the process of creating a memory loader for ffmpeg to add more functionality. I have audio playing and working, but am having an issue with avformat_seek_file timestamps using the wrong format.

    &#xA;

    avformat.avformat_seek_file(file.context, -1, 0, timestamp, timestamp, 0)&#xA;

    &#xA;

    From looking at the docs it says if the stream index is -1 that the time should be based on AV_TIME_BASE. When I load the file through avformat_open_input with a null AVFormatContext and a filename, this works as expected.

    &#xA;

    However when I create my own AVIOContext and AVFormatContext through avio_alloc_context and avformat_alloc_context respectively, the timestamps are no longer based on AV_TIME_BASE. When testing I received an access violation when I first tried seeking, and upon investigating, it seems that the timestamps are based on actual seconds now. How can I make these custom contexts time based on AV_TIME_BASE ?

    &#xA;

    The only difference between the two are the custom loading of AVIOContext and AVFormatContext :

    &#xA;

        data = fileobject.read()&#xA;&#xA;    ld = len(data)&#xA;&#xA;    buf = libavutil.avutil.av_malloc(ld)&#xA;    ptr_buf = cast(buf, c_char_p)&#xA;&#xA;    ptr = ctypes.create_string_buffer(ld)&#xA;    memmove(ptr, data, ld)&#xA;&#xA;    seeker = libavformat.ffmpeg_seek_func(seek_data)&#xA;    reader = libavformat.ffmpeg_read_func(read_data)&#xA;    writer = libavformat.ffmpeg_read_func(write_data)&#xA;&#xA;    format = libavformat.avformat.avio_alloc_context(ptr_buf, buf_size, 0,&#xA;                                                     ptr_data,&#xA;                                                     reader,&#xA;                                                     writer,&#xA;                                                     seeker&#xA;                                                     )&#xA;&#xA;    file.context = libavformat.avformat.avformat_alloc_context()&#xA;    file.context.contents.pb = format&#xA;    file.context.contents.flags |= AVFMT_FLAG_CUSTOM_IO&#xA;&#xA;    result = avformat.avformat_open_input(byref(file.context),&#xA;                                          b"",&#xA;                                          None,&#xA;                                          None)&#xA;&#xA;    if result != 0:&#xA;        raise FFmpegException(&#x27;avformat_open_input in ffmpeg_open_filename returned an error opening file &#x27;&#xA;                              &#x2B; filename.decode("utf8")&#xA;                              &#x2B; &#x27; Error code: &#x27; &#x2B; str(result))&#xA;&#xA;    result = avformat.avformat_find_stream_info(file.context, None)&#xA;    if result &lt; 0:&#xA;        raise FFmpegException(&#x27;Could not find stream info&#x27;)&#xA;&#xA;    return file&#xA;&#xA;

    &#xA;

    Here is the filename code that does work :

    &#xA;

        result = avformat.avformat_open_input(byref(file.context),&#xA;                                          filename,&#xA;                                          None,&#xA;                                          None)&#xA;    if result != 0:&#xA;        raise FFmpegException(&#x27;avformat_open_input in ffmpeg_open_filename returned an error opening file &#x27;&#xA;                              &#x2B; filename.decode("utf8")&#xA;                              &#x2B; &#x27; Error code: &#x27; &#x2B; str(result))&#xA;&#xA;    result = avformat.avformat_find_stream_info(file.context, None)&#xA;    if result &lt; 0:&#xA;        raise FFmpegException(&#x27;Could not find stream info&#x27;)&#xA;&#xA;    return file&#xA;

    &#xA;

    I am new to ffmpeg, but any help fixing this discrepancy is greatly appreciated.

    &#xA;