Recherche avancée

Médias (91)

Autres articles (107)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • lavfi : add a new filtergraph parsing API

    16 janvier 2023, par Anton Khirnov
    lavfi : add a new filtergraph parsing API
    

    Callers currently have two ways of adding filters to a graph - they can
    either
    - create, initialize, and link them manually
    - use one of the avfilter_graph_parse*() functions, which take a
    (typically end-user-written) string, split it into individual filter
    definitions+options, then create filters, apply options, initialize
    filters, and finally link them - all based on information from this
    string.

    A major problem with the second approach is that it performs many
    actions as a single atomic unit, leaving the caller no space to
    intervene in between. Such intervention would be useful e.g. to
    - modify filter options ;
    - supply hardware device contexts ;
    both of which typically must be done before the filter is initialized.

    Callers who need such intervention are then forced to invent their own
    filtergraph parsing, which is clearly suboptimal.

    This commit aims to address this problem by adding a new modular
    filtergraph parsing API. It adds a new avfilter_graph_segment_parse()
    function to parse a string filtergraph description into an intermediate
    tree-like representation (AVFilterGraphSegment and its children).

    This intermediate form may then be applied step by step using further
    new avfilter_graph_segment*() functions, with user intervention possible
    between each step.

    • [DH] doc/APIchanges
    • [DH] libavfilter/avfilter.h
    • [DH] libavfilter/graphparser.c
    • [DH] libavfilter/version.h
  • lavf : Add an MPEG-DASH ISOFF segmenting muxer

    6 octobre 2014, par Martin Storsjö
    lavf : Add an MPEG-DASH ISOFF segmenting muxer
    

    This is mostly to serve as a reference example on how to segment
    the output from the mp4 muxer, capable of writing the segment
    list in four different ways :
    - SegmentTemplate with SegmentTimeline
    - SegmentTemplate with implicit segments
    - SegmentList with individual files
    - SegmentList with one single file per track, and byte ranges

    The muxer is able to serve live content (with optional windowing)
    or create a static segmented MPD.

    In advanced cases, users will probably want to do the segmenting
    in their own application code.

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

    • [DBH] Changelog
    • [DBH] configure
    • [DBH] libavformat/Makefile
    • [DBH] libavformat/allformats.c
    • [DBH] libavformat/dashenc.c
    • [DBH] libavformat/version.h
  • Reading JPEG in ffmpeg

    16 juillet 2021, par Paul Lammertsma

    I'm trying to get ffmpeg to encode several individual JPEG images into a video on Android. I've successfully built it for Android (see the configuration string at the end of this post).

    &#xA;&#xA;

    I can encode an h.263+ video with randomly generated frame content, and ffmpeg otherwise appears to work well.

    &#xA;&#xA;

    A similar question suggests that the following code should be sufficient to load an image into an AvFrame :

    &#xA;&#xA;

    // Make sure we have the codecs&#xA;av_register_all();&#xA;&#xA;AVFormatContext *pFormatCtx;&#xA;int ret = av_open_input_file(&amp;pFormatCtx, imageFileName, NULL, 0, NULL);&#xA;&#xA;if (ret != 0) {&#xA;    printf("Can&#x27;t open image file &#x27;%s&#x27;: code %d, %s",&#xA;        imageFileName, ret, strerror(AVERROR(ret)));&#xA;}&#xA;

    &#xA;&#xA;

    The above returns the correct absolute file path and error :

    &#xA;&#xA;

    &#xA;

    Failed '/sdcard/DCIM/Camera/IMG083.jpg' : code -1094995529, Unknown error : 1094995529

    &#xA;

    &#xA;&#xA;

    Incidentally, if I omit av_register_all(), it returns with error 2.

    &#xA;&#xA;

    I've compiled ffmpeg with the following arguments :

    &#xA;&#xA;

    &#xA;
    &#xA;

    ./configure —target-os=linux &#xA; —prefix=$PREFIX &#xA; —enable-cross-compile &#xA; —extra-libs="-lgcc" &#xA; —arch=arm &#xA; —cc=$PREBUILT/bin/arm-linux-androideabi-gcc &#xA; —cross-prefix=$PREBUILT/bin/arm-linux-androideabi- &#xA; —nm=$PREBUILT/bin/arm-linux-androideabi-nm &#xA; —sysroot=$PLATFORM &#xA; —extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " &#xA; —enable-shared &#xA; —enable-static &#xA; —extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" &#xA; —disable-everything &#xA; —enable-demuxer=mov &#xA; —enable-demuxer=h264 &#xA; —disable-ffplay &#xA; —enable-protocol=file &#xA; —enable-avformat &#xA; —enable-avcodec &#xA; —enable-decoder=mjpeg &#xA; —enable-decoder=png &#xA; —enable-parser=h264 &#xA; —enable-encoder=h263 &#xA; —enable-encoder=h263p &#xA; —disable-network &#xA; —enable-zlib &#xA; —disable-avfilter &#xA; —disable-avdevice

    &#xA;

    &#xA;

    &#xA;&#xA;

    Any suggestions would be most welcome !

    &#xA;