Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (25)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4471)

  • avcodec/mpegvideo_dec, rv34 : Simplify check for "does pic exist ?"

    28 avril 2024, par Andreas Rheinhardt
    avcodec/mpegvideo_dec, rv34 : Simplify check for "does pic exist ?"
    

    The days in which an MPVPicture* is set with the corresponding frame
    being blank are over ; this allows to simplify some checks.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpegvideo_dec.c
    • [DH] libavcodec/rv34.c
  • flvdec : Honor the "flv_metadata" option for the "datastream" metadata field

    9 février 2024, par Martin Storsjö
    flvdec : Honor the "flv_metadata" option for the "datastream" metadata field
    

    By default the option "flv_metadata" (internally using the field
    name "trust_metadata") is set to 0, meaning that we don't allocate
    streams based on information in the metadata, only based on
    actual streams we encounter. However the "datastream" metadata field
    still would allocate a subtitle stream.

    When muxing, the "datastream" field is added if either a data stream
    or subtitle stream is present - but the same metadata field is used
    to preemtively create a subtitle stream only. Thus, if the field
    was added due to a data stream, not a subtitle stream, the demuxer
    would create a stream which won't get any actual packets.

    If there was such an extra, empty subtitle stream, running
    avformat_find_stream_info still used to terminate within reasonable
    time before 3749eede66c3774799766b1f246afae8a6ffc9bb. After that
    commit, it no longer would terminate until it reaches the max
    analyze duration, which is 90 seconds for flv streams (see
    e6a084641aada7a2e4672172f2ee26642800a361,
    24fdf7334d2bb9aab0abdbc878b8ae51eb57c86b and
    f58e011a1f30332ba824c155078ca701e29aef63).

    Before that commit (which removed the deprecated AVStream.codec), the
    "st->codecpar->codec_id = AV_CODEC_ID_TEXT", set within the demuxer,
    would get propagated into st->codec->codec_id by numerous
    avcodec_parameters_to_context(st->codec, st->codecpar), then further
    into st->internal->avctx->codec_id by update_stream_avctx within
    read_frame_internal in libavformat/utils.c (demux.c these days).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/flvdec.c
  • Converting a rtsp stream to hls but got error "Non-monotonous DTS in output stream 0:0"

    8 mai 2023, par Devi

    I'm converting a rtsp live camera stream to hls using ffmpeg, it is all good the first few hours, each segment file sizes around 1.1M, which match the setting of segment_time of 5 seconds. However, when I check back a few days later, the size of each segment file became 20G, and I found that some error are logged.

    &#xA;

    My current implementation is like this :

    &#xA;

    ffmpeg -fflags nobuffer \&#xA;           -rtsp_transport tcp \&#xA;           -i rtsp://abc.com/live.sdp \&#xA;           -fps_mode 0 \&#xA;           -copyts \&#xA;           -c copy \&#xA;           -movflags frag_keyframe&#x2B;empty_moov \&#xA;           -hls_flags delete_segments&#x2B;append_list \&#xA;           -f segment \&#xA;           -segment_list_flags live \&#xA;           -segment_time 5 \&#xA;           -segment_list_size 3 \&#xA;           -segment_format mpegts \&#xA;           -segment_list /app/mount/test/live.m3u8 \&#xA;           -segment_list_type m3u8 \&#xA;           -segment_wrap 10 \&#xA;           /app/mount/test/%04d.ts \&#xA;           2>&amp;1 &#xA;

    &#xA;

    Here's the logged error :

    &#xA;

    [segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898636, current: 11332822107; changing to 14179898637. This may result in incorrect timestamps in the output file.&#xA;[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898637 pts_time:157554 dts:14179898637 dts_time:157554 -> pts:14179898637 pts_time:157554 dts:14179898637 dts_time:157554&#xA;[NULL @ 0x7fe510744880] unknown SEI type 229&#xA;[segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898637, current: 11332823907; changing to 14179898638. This may result in incorrect timestamps in the output file.&#xA;[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898638 pts_time:157554 dts:14179898638 dts_time:157554 -> pts:14179898638 pts_time:157554 dts:14179898638 dts_time:157554&#xA;[segment @ 0x7fe5123101c0] Non-monotonous DTS in output stream 0:0; previous: 14179898638, current: 11332825707; changing to 14179898639. This may result in incorrect timestamps in the output file.&#xA;[segment @ 0x7fe5123101c0] stream:0 start_pts_time:157550 pts:14179898639 pts_time:157554 dts:14179898639 dts_time:157554 -> pts:14179898639 pts_time:157554 dts:14179898639 dts_time:157554&#xA;

    &#xA;

    I've tried :

    &#xA;

      &#xA;
    1. Changing the option -fps_mode with passthrough, vfr, drop.
    2. &#xA;

    3. Changing the option -c with -c copy, -c:a copy -c:v libx264.
    4. &#xA;

    &#xA;

    None of the above works for me.

    &#xA;