Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (107)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

Sur d’autres sites (18455)

  • libavformat/mov.c : use calculated dts offset when seeking in streams

    29 octobre 2017, par Jonas Licht
    libavformat/mov.c : use calculated dts offset when seeking in streams
    

    Subtract the calculated dts offset from the requested timestamp before
    seeking. This fixes an error "Error while filtering : Operation not
    permitted" observed with a short file which contains only one key frame
    and starts with negative timestamps.

    Then, av_index_search_timestamp() returns a valid negative timestamp,
    but mov_seek_stream bails out with AVERROR_INVALIDDATA.

    Fixes ticket #6139.

    Signed-off-by : Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
    Signed-off-by : Peter Große <pegro@friiks.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mov.c
    • [DH] tests/ref/seek/extra-mp4
  • Wrong video duration when trying to make screen capture with libav\ffmpeg

    16 juin 2023, par Ларионов Фёдор

    I am performing screen capture using libav/c++ with the gdbigrab InputFormat and saving the transcoded video with h.264 to an .mp4 container. Despite doing all the necessary conversions from pts/dts frames and packets, the final video has an issue with its duration. When playing the video, it stops a few seconds before the end and rewinds back to the end.

    &#xA;

    To diagnose the problem, I used FFprobe to examine the recorded video stream and found the following issues :

    &#xA;

    ffprobe my_video.mp4 -show_streams

    &#xA;

    Provides the following information :

    &#xA;

    time_base=1/12800&#xA;start_pts=28096&#xA;start_time=2.195000&#xA;duration_ts=38945&#xA;duration=3.042578&#xA;

    &#xA;

    Although I tracked the frame and burst timestamps while recording, starting at zero and ending at the expected pts for the number of frames recorded, I tried to set the start and end time of the stream manually. I observed this problem with different time_base and different video durations, do some minor and major fixes that does not affected this issue. Interestingly, the start time always has the same offset, and the expected/specified video duration in the code is close to the sum of the duration of the video stream and its start time. What am I missing ?

    &#xA;

    &#xA;

    UPDATE :

    &#xA;

    &#xA;

    There is the source of problem :

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000002a69f15b380] Processing st: 0, edit list 0 - media time: -1, duration: 27059&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 000002a69f15b380] Processing st: 0, edit list 1 - media time: 0, duration: 38912 &#xA;

    &#xA;

    which i get by that command ffmpeg -hide_banner -y -v 9 -loglevel 99 -i sc_test.mp4

    &#xA;

    The question is where this edits happend.

    &#xA;

  • Configure error for ffmpeg 6.1 when executing in bash 5.0.17

    1er mars 2024, par user2715311

    I am trying to install ffmpeg 6.1 (https://ffmpeg.org/releases/ffmpeg-6.1.1.tar.xz), but when executing the configure script my bash version 5.0.17 removes the double quotes from the parameters containing the condition to select the version of the libraries being searched for to pass this parameter to pkg-config.

    &#xA;

    For example, when processing code

    &#xA;

    check_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version&#xA;

    &#xA;

    , the pkg-config call will look something like

    &#xA;

    pkg-config --exists libopenjp2 >= 2.1.0&#xA;

    &#xA;

    As a result, configure execution stops with the following error.

    &#xA;

    ERROR: libopenjp2 >= 2.1.0 not found using pkg-config&#xA;

    &#xA;

    As a hint, you may be prompted to set the path to the 2.1.0.pc file in PKG_CONFIG_PATH.

    &#xA;

    It is interesting that this is the case in other versions of bash, for example, this problem is not observed in version 5.1.16.

    &#xA;

    Does this mean that bash version 5.0.17 will actually not be able to work with configure to build most code sources, because such version selection conditions are used quite often when searching for the right libraries ?

    &#xA;

    Or perhaps I can influence this bash behaviour in some way ? Or, alternatively, have I misinterpreted the problem at all and the solution is in a completely different area ?

    &#xA;

    The problem was identified in the Linux Mint 20.1 distribution.

    &#xA;

    $ lsb_release -a&#xA;No LSB modules are available.&#xA;Distributor ID: Linuxmint&#xA;Description:    Linux Mint 20.1&#xA;Release:    20.1&#xA;Codename:   ulyssa&#xA;

    &#xA;

    First of all, I checked that if I call pkg-config correctly, it can find the right library on my system.

    &#xA;

    $ pkg-config --exists "libopenjp2 >= 2.1.0"&#xA;$ echo $?&#xA;0&#xA;

    &#xA;

    or

    &#xA;

    $ pkg-config --cflags --libs "libopenjp2 >= 2.1.0"&#xA;-I/usr/include/openjpeg-2.3 -lopenjp2&#xA;

    &#xA;

    Next, I examined the configure code associated with this problem and came to the conclusion I outlined above.

    &#xA;