Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (61)

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

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

Sur d’autres sites (9649)

  • Why ffmpeg rotates video ?

    15 septembre 2016, par hasanghaforian

    I use this code in a bash script to create GIF images from video files :

    ffmpeg -y -ss 3 -t 4 -i $vid \
    -vf fps=10,scale=320:-1:flags=lanczos,palettegen palette.png

    ffmpeg -ss 3 -t 4 -i $vid -i palette.png -filter_complex \
    "fps=10,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" ../gifs/"$i".gif

    But some GIF images are rotated ! While their thumbnails which is created by OS is not rotated. How I can solve this problem ?

    Update :

    Here you can see outputs of commands :

    Generating palette :

    ffmpeg version N-79139-gde1a0d4 Copyright (c) 2000-2016 the FFmpeg developers
     ...
    Input #0,
    ...
       Metadata:
         rotate          : 90
         creation_time   : ...
         handler_name    : VideoHandle
         encoder         :                                
       Side data:
         displaymatrix: rotation of -90.00 degrees
       ...

    Creating GIF using the palette :

    Input #0,
    ...
       Metadata:
         rotate          : 90
         creation_time   : 2012-01-01 07:47:56
         handler_name    : VideoHandle
         encoder         :                                
       Side data:
         displaymatrix: rotation of -90.00 degrees
       ...
  • x86inc : Prefer r14/r15 over r12/r13 on x86-64

    22 avril 2017, par Henrik Gramner
    x86inc : Prefer r14/r15 over r12/r13 on x86-64
    

    Due to a peculiarity in the ModR/M addressing encoding, the r12 and r13
    registers sometimes requires an additional byte when used as a base register.

    r14 and r15 doesn't have that issue, so prefer using them.

    • [DH] libavutil/x86/x86inc.asm
  • ‘undefined reference to xxxxx’ , 'check the directory for the files' it does not work

    26 décembre 2011, par sirupa

    Merry Christmas, everybody,

    I’m coding ffmpeg with gcc.

    But, on the build process, I met the errors of ‘undefined reference to xxxxx’ for all functions that I coded in my program, and I recognized that it was due to the libxxx.a file.

    And the every adviser on internet suggested that check the directory for the files.

    So, I searched the files in which include the function names in my computer, and I found the .a files are correctly set in the directory which I coded.

    And there are the other files which are named ‘libxxx.dll.a’, so I tried to build with the files ‘libxxx.dll.a’, but I got the same result.

    On this point, I have got some questions.

    1) If the gcc could not find the libxxx.a files, it would say that ‘cannot find the –lxxx’. But it just said ‘undefined reference to xxxx’. It means that those libxxx.a files are in the correct directories.

    2) And if the files do not define the functions, it is strange. Because those files include the function names and are the same files/directories I had searched in my computer, and I think it should have the definitions of the functions. But I am not sure that the files define the functions or not, because I cannot read the file myself.

    If I am wrong, what was my mistake ?

    3) Can libxxxlib.a files be replaced with the libxxx.a ? And if it can, what is the difference between libxxxlib.a and libxxx.a ? And the same for the libz and libzlib ?a

    Here is my line commend, the directory which include the libxxx.a files.

    g++ -o C :\ffmpeg\ffmpegTest C :\ffmpeg\ffmpegTest.cc -IC :\ffmpeg -LC :\ffmpeg\3rdparty\lib -lavutil -lavformat -lavcodec -lz -lavutil -lm -D__STDC_CONSTANT_MACROS

    C :\ffmpeg\3rdparty\lib

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0xec> : undefined reference to 'av_register_all()'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x11c> : undefined reference to 'av_open_input_file(AVFormatContext*, char const, AVInputFormat*, int, AVFormatParameters*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x13b> : undefined reference to 'av_find_stream_info(AVFormatContext*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x174> : undefined reference to 'dump_format(AVFormatContext, int, char const*, int)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x224> : undefined reference to 'avcodec_find_decoder(CodecID)'

    and all the errors are

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x281> : undefined reference to 'avcodec_open(AVCodecContext*, AVCodec)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x297> : undefined reference to 'avcodec_alloc_frame()'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x2a3> : undefined reference to 'avcodec_alloc_frame()'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x2e6> : undefined reference to 'avpicture_get_size(PixelFormat,int,int)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x2fc> : undefined reference to 'av_malloc(unsigned int)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x341> : undefined reference to 'avpicture_fill(AVPicture*, unsigned char*, PixelFormat, int, int)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x38c> : undefined reference to 'avcodec_decode_video2(AVCodecContext, AVFrame*, int, AVPacket*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x409> : undefined reference to 'sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, swsFilter*, double const*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x463> : undefined reference to 'sws_scale(SwsContext*, unsigned char const* const*, int const*, int, int, unsigned char* const*, int const*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x4bb> : undefined reference to 'av_free_packet(AVPacket*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x4cf> : undefined reference to 'av_read_frame(AVFormatContext, AVPacket*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x36c> : undefined reference to 'av_free(void*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x36c> : undefined reference to ' avcodec_close(AVCodecContext*)'

    C :\Users\AppData\Local\Temp\ccVHLzjK.o:ffmpegTest.cc :<.text+0x36c> : undefined reference to 'av_close_input_file(AVFormatContext)'