Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (30)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6660)

  • 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
  • avcodec/dxvenc : Fix data races with slice threading

    24 janvier 2024, par Andreas Rheinhardt
    avcodec/dxvenc : Fix data races with slice threading
    

    The old code set a common struct from each thread ;
    this only "worked" (but is still UB) because the values
    written are the same for each thread.
    Fix this by moving the assignments to the main thread.

    (This also avoids casting const away from a const AVFrame*.)

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

    • [DH] libavcodec/dxvenc.c
  • How should I make ffmpeg "-ignore_unknown" work ?

    10 janvier 2024, par living being

    I'm batch-converting some videos and I want ffmpeg to just drop any unknown stream instead of failing and leaving the video untouched.

    &#xA;

    My code :

    &#xA;

    find ./ -type f -iname &#x27;*.mp4&#x27; -exec bash -c &#x27;var="{}" &amp;&amp; ffmpeg -i "{}" -map 0 -vcodec libx265 -preset fast -crf 31 -vf "scale=-2:min(1080\,ih)" -acodec libopus -ac 1 -b:a 24K -c:s copy -ignore_unknown "$var.mp4" -y &amp;&amp; rm -v "$var" &amp;&amp; mv -- "$var.mp4" "$var"&#x27; \;&#xA;

    &#xA;

    streams :

    &#xA;

    Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 105 kb/s (default)&#xA;Metadata:&#xA;  creation_time   : 2012-02-07T06:23:20.000000Z&#xA;  handler_name    : Apple Sound Media Handler&#xA;  vendor_id       : [0][0][0][0]&#xA;Stream #0:1[0x2](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 320x240, 491 kb/s, 30.12 fps, 30.12 tbr, 2500 tbn (default)&#xA;Metadata:&#xA;  creation_time   : 2012-02-07T06:23:20.000000Z&#xA;  handler_name    : Apple Video Media Handler&#xA;  vendor_id       : [0][0][0][0]&#xA;  Stream #0:2[0x3](eng): Data: none (rtp  / 0x20707472), 511 kb/s&#xA;Metadata:&#xA;  creation_time   : 2012-02-07T06:23:20.000000Z&#xA;  handler_name    : hint media handler&#xA;Stream #0:3[0x4](eng): Data: none (rtp  / 0x20707472), 109 kb/s&#xA;Metadata:&#xA;  creation_time   : 2012-02-07T06:23:20.000000Z&#xA;  handler_name    : hint media handler&#xA;Stream mapping:&#xA;Stream #0:0 -> #0:0 (aac (native) -> opus (libopus))&#xA;Stream #0:1 -> #0:1 (h264 (native) -> hevc (libx265))&#xA;Stream #0:2 -> #0:2 (copy)&#xA;Stream #0:3 -> #0:3 (copy)&#xA;

    &#xA;

    In the end I get this :

    &#xA;

    [mp4 @ 0x55f412caa240] Could not find tag for codec none in stream #2, codec not currently supported in container&#xA;[out#0/mp4 @ 0x55f412c97ec0] Could not write header (incorrect codec parameters ?): Invalid argument&#xA;[vost#0:1/libx265 @ 0x55f412ec3d00] Error initializing output stream: &#xA;[libopus @ 0x55f412ec3200] 1 frames left in the queue on closing&#xA;&#xA;encoded 0 frames&#xA;Conversion failed!&#xA;

    &#xA;

    enter image description here

    &#xA;

    OS : Ubuntu 23.10

    &#xA;

    I know I can do it by eliminating "-map 0", but I want to include all subtitle streams and other types of known streams if any. I need to use this for terabytes of videos, so I can't totally exclude data streams either, since there are some useful ones.

    &#xA;