Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (43)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (8876)

  • avformat/matroskaenc : handle AV1 extradata in packet side data

    11 août 2018, par James Almer
    avformat/matroskaenc : handle AV1 extradata in packet side data
    

    This is a temporary workaround for transcoding scenarious using libaom-av1
    encoder, which currently can't propagate extradata during initialization.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • lavc/h264 : create AVFrame side data from H.264 timecodes

    29 juin 2018, par Devin Heitmueller
    lavc/h264 : create AVFrame side data from H.264 timecodes
    

    Create SMPTE ST 12-1 timecodes based on H.264 SEI picture timing
    info.

    For framerates > 30 FPS, the field flag is used in conjunction with
    pairs of frames which contain the same frame timestamp in S12M.
    Ensure the field is properly set per the spec.

    • [DH] libavcodec/h264_sei.c
    • [DH] libavcodec/h264_sei.h
    • [DH] libavcodec/h264_slice.c
    • [DH] libavutil/frame.c
    • [DH] libavutil/frame.h
  • How to get the real, actual duration of an MP3 file (VBR or CBR) server-side

    27 janvier 2021, par SquareCat

    I used to calculate the duration of MP3 files server-side using ffmpeg - which seemed to work fine. Today i discovered that some of the calculations were wrong. Somehow, for some reason, ffmpeg will miscalculate the duration and it seems to happen with variable bit rate mp3 files only.

    &#xA;&#xA;

    When testing this locally, i noticed that ffmpeg printed two extra lines in green.

    &#xA;&#xA;

    Command used :

    &#xA;&#xA;

    ffmpeg -i song_9747c077aef8.mp3&#xA;

    &#xA;&#xA;

    ffmpeg says :

    &#xA;&#xA;

    [mp3 @ 0x102052600] max_analyze_duration 5000000 reached at 5015510&#xA;[mp3 @ 0x102052600] Estimating duration from bitrate, this may be inaccurate&#xA;

    &#xA;&#xA;

    After a nice, warm google session, i discovered some posts on this, but no solution was found.

    &#xA;&#xA;

    I then tried to increase the maximum duration :

    &#xA;&#xA;

    ffmpeg -analyzeduration 999999999 -i song_9747c077aef8.mp3&#xA;

    &#xA;&#xA;

    After this, ffmpeg returned only the second line :

    &#xA;&#xA;

    [mp3 @ 0x102052600] Estimating duration from bitrate, this may be inaccurate&#xA;

    &#xA;&#xA;

    But in either case, the calculated duration was just plain wrong. Comparing it to VLC i noticed that there the duration is correct.

    &#xA;&#xA;

    After more research i stumbled over mp3info - which i installed and used.

    &#xA;&#xA;

    mp3info -p "%S" song_9747c077aef8.mp3&#xA;

    &#xA;&#xA;

    mp3info then returned the CORRECT duration, but only as an integer, which i cannot use as i need a more accurate number here. The reason for this was explained in a comment below, by user blahdiblah - mp3info is simply pulling ID3 info from the file and not actually performing any calculations.

    &#xA;&#xA;

    I also tried using mplayer to retrieve the duration, but just as ffmpeg, mplayer is returning the wrong value.

    &#xA;