Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (89)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (15256)

  • 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;