Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (53)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10611)

  • how I could encode fast video rgb planar format ?

    6 septembre 2018, par speedy

    I compile a command and use this command for encode and then speed up the video

    g++ -Wall -o main lena2.cpp  -lpng -lz -lX11 -lpthread -fopenmp -std=c++11  ;./main | ffmpeg -y -f rawvideo -pixel_format gbrp -video_size 1024x768 -i - -c:v h264 -pix_fmt yuv420p video.mov

    ffmpeg -y  -i video.mov -filter:v "setpts=PTS/8"  fastvideo.mov;  

    this is the code that i compile

    #include <iostream>
    #include "CImg.h"

    using namespace std;
    using namespace cimg_library;

    int main()
    {
      const unsigned int width=1024;
      const unsigned int height=768;

      // Basic frame we will draw in
      CImg<unsigned char="char"> image(width,height,1,3);

      unsigned char magenta[] = {255,0,255};

      // We are going to output 300 frames of 1024x768 RGB raw video
      // ... making a 10s long video at 30fps
      int radius=100;
      int cx=100;
      int cy=100;
      for(int frame=0;frame&lt;300;frame++){
         // Start with black - it shows fewer stains ;-)
         image.fill(0);
         image.draw_circle(cx,cy,radius,magenta);

         // Move and re-colour circle
         cx+=2; cy++; if(magenta[1]!=255){magenta[1]++;}

         // Output to ffmpeg to make video, in planar GBR format
         // i.e. run program like this
         // ./main | ffmpeg -y -f rawvideo -pixel_format gbrp -video_size 1024x768 -i - -c:v h264 -pix_fmt yuv420p video.mov
         char* s=reinterpret_cast(image.data()+(width*height));   // Get start of G plane
         std::cout.write(s,width*height);                                // Output it
         s=reinterpret_cast(image.data()+2*(width*height));       // Get start of B plane
         std::cout.write(s,width*height);                                // Output it
         s=reinterpret_cast(image.data());                        // Get start of R plane
         std::cout.write(s,width*height);                                // Output it
      }
    }
    </unsigned></iostream>

    but the rgb to video conversion take more of 20 minutes for 45000 frames

    How I could generate video.mov faster

    please help me

  • How to install ffmpeg-php on CentOS 7

    8 février 2015, par Mark van Marion

    I have succesfully installed ffmpeg on CentOS 7, but just wont succeed installing the ffmpeg-php, because i get the following error (this is when i do the ’./configure’ command) :

    checking for PHP extension directory... /usr/lib64/php/modules
    checking for PHP installed headers prefix... /usr/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for ffmpeg support... yes, shared
    checking whether to force gd support in ffmpeg-php... no
    checking for ffmpeg headers...
    configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as     shared libraries using the --enable-shared option

    But ffmpeg is compiled as shared libary..

    ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jun 17 2014 01:25:46 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --disable-stripping
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    I have searched all over the internet, but cant find a answer. I hope someone can help me !

  • include/c++/4.6.3/bits/stl_algobase.h:329 : undefined reference to

    27 novembre 2013, par user3041105

    My program is fails to compile with this error when I use my own account but when use the root account it compiles successfully. I have installed boost, ffmpeg and opencv.

    The errors are as follows :

    === linking: release/DenseTrack ===
    g++ -L/opt/lib -L/home/huangng/software/boost/lib -L/home/huangng/software/opencv/lib -L/home/huangng/software/ffmpeg/lib -pipe -Wall -O3 -ggdb -o release/DenseTrack .build_release/DenseTrack.o -lboost_program_options -lboost_regex -lboost_system -lboost_filesystem -lopencv_core -lopencv_highgui -lopencv_video -lopencv_imgproc -lavformat -lavdevice -lavutil -lavcodec -lswscale
    .build_release/DenseTrack.o: In function `main&#39;:
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:103: undefined reference to `IplImagePyramid::rebuild(IplImageWrapper)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:307: undefined reference to `IplImagePyramid::rebuild(IplImageWrapper)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:56: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:58: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:60: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:62: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    /home/huangng/lab/dense_trajectory_release_v1.1/DenseTrack.cpp:68: undefined reference to `IplImagePyramid::rebuild(IplImageWrapper)&#39;
    .build_release/DenseTrack.o: In function `IplImagePyramid&#39;:
    /home/huangng/lab/dense_trajectory_release_v1.1/./opencv/IplImagePyramid.hpp:34: undefined reference to `IplImagePyramid::init(CvSize, int, int, double)&#39;
    .build_release/DenseTrack.o: In function `__copy_m<const>&#39;:
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:343: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    .build_release/DenseTrack.o: In function `__copy_m&#39;:
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:343: undefined reference to `IplImageWrapper::operator=(IplImageWrapper const&amp;)&#39;
    collect2: ld returned 1 exit status
    make: *** [release/DenseTrack] Error 1
    </const>