Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (100)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (11181)

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

  • Reading JPEG in ffmpeg

    23 octobre 2012, 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).

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

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

    // Make sure we have the codecs
    av_register_all();

    AVFormatContext *pFormatCtx;
    int ret = av_open_input_file(&amp;pFormatCtx, imageFileName, NULL, 0, NULL);

    if (ret != 0) {
       printf("Can&#39;t open image file &#39;%s&#39;: code %d, %s",
           imageFileName, ret, strerror(AVERROR(ret)));
    }

    The above returns the correct absolute file path and error :

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

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

    I've compiled ffmpeg with the following arguments :

    ./configure —target-os=linux
    —prefix=$PREFIX
    —enable-cross-compile
    —extra-libs="-lgcc"
    —arch=arm
    —cc=$PREBUILT/bin/arm-linux-androideabi-gcc
    —cross-prefix=$PREBUILT/bin/arm-linux-androideabi-
    —nm=$PREBUILT/bin/arm-linux-androideabi-nm
    —sysroot=$PLATFORM
    —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 "
    —enable-shared
    —enable-static
    —extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog"
    —disable-everything
    —enable-demuxer=mov
    —enable-demuxer=h264
    —disable-ffplay
    —enable-protocol=file
    —enable-avformat
    —enable-avcodec
    —enable-decoder=mjpeg
    —enable-decoder=png
    —enable-parser=h264
    —enable-encoder=h263
    —enable-encoder=h263p
    —disable-network
    —enable-zlib
    —disable-avfilter
    —disable-avdevice

    Any suggestions would be most welcome !