Recherche avancée

Médias (91)

Autres articles (68)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (8033)

  • FFMPEG excute error from C# with "setup factory"setups

    15 mars 2012, par Savas Adar

    i am developing an application and i am using ffmpeg in this application for convert audio file "mp3" to "amr".

    My application running successfully when i debug it or when if i copy debug folder another computer, it is running.

    But, i am create a setup with "Setup Factory" application. When i install application which i create with setup factory, ffmpeg code block is not running, i get "OutputPackage" as null.

    here is code ;

    Converter converter = new Converter();
                           //varsa sil
                           if (File.Exists(PathTargetPre + "_orijinal.amr"))
                               File.Delete(PathTargetPre + "_orijinal.amr");
                           //dosyayı convert et ve olustur
                           OutputPackage oo = converter.ConvertToAMR(PathSource, PathTargetPre + "_orijinal.amr");
                           if (oo == null)
                           {
                               MessageBox.Show("Convert Error!");
                               return;
                           }
                           //dosya hazırlandı
                           if (oo.AudioStream == null)
                           {
                               MessageBox.Show("Convert Error 2!");
                               return;
                           }

                           lblGercekBoyut.Text = Convert.ToString((oo.AudioStream.Length / 1000)) + " KB";

                           lblSikismisBoyut.Text = Convert.ToString((oo.AudioStream.Length / 1000)) + " KB";

                           actualBitrate = converter.GetVideoInfo(PathTargetPre + "_orijinal.amr").BitRate;

    here is "ConvertToAMR" method ;

      public OutputPackage ConvertToAMR(string sourcePath, string destPath)
       {
           OutputPackage ou = new OutputPackage();
           string Params = string.Format("-i {0} -ar 8000 -ac 1 {1}", sourcePath, destPath);
           //-ab 320k
           string output = RunProcess(Params);

           if (File.Exists(destPath))
           {
               ou.AudioStream = LoadMemoryStreamFromFile(destPath);
           }
           return ou;
       }
  • How to resolve OpenCV 2.3.1 compilation error on Ubuntu 11.10 due to FFmpeg [closed]

    14 mars 2012, par Cerin

    Possible Duplicate :
    compile opencv2.3.1 in ubuntu 11.10

    How do you prepare your environment so you can properly compile OpenCV 2.3.1 on Ubuntu 11.10 ?

    I'm following the OpenCV install guide, but it's instructions are frustratingly complex.

    However, I've distilled it into the following script :

    sudo apt-get install --yes cmake libjpeg62 libjpeg62-dev libtiff4 libtiff4-dev libjasper1 libjasper-dev libpng12-0 libpng12-dev libavformat-dev libswscale-dev openexr zlibc zlib1g zlib1g-dev python2.7-dev libgtk-3-dev gcc g++ libtbb-dev
    cd /tmp
    wget --output-document=OpenCV-2.3.1a.tar.bz2 http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2/download?use_mirror=iweb
    tar -xvjf OpenCV-2.3.1a.tar.bz2
    cd OpenCV-2.3.1
    mkdir release
    cd release
    time cmake -D WITH_TBB=ON -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
    time make

    Everything runs succesfully, except of course for make which exits with the error :

    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1339:41: error: ‘guess_format’ was not declared in this scope
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1367:31: error: ‘av_alloc_format_context’ was not declared in this scope
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1411:9: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1363) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1411:35: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1363) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1415:5: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1485) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1415:35: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1485) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1442:15: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3650) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1442:36: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3650) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1479:13: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1479:52: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1485:5: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1421) [-Wdeprecated-declarations]
    /tmp/OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp:1485:25: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1421) [-Wdeprecated-declarations]
    make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o] Error 1
    make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
    make: *** [all] Error 2

    How do I resolve this error ?

  • FFMPEG Video encoding error

    13 juin 2012, par user1290051

    I am trying to encode my video using ffmpeg. I have taken output of each frame as a separate image and then I'm joining them into a video using ffmpeg. I compiled ffmpeg from source.
    This is the command I used and the errors I keep running into !

    ---:/media/New Volume/temp$ ffmpeg -f image2 -i image%1d.png -vcodec libx264 \
    -preset ultrafast -crf 15 output.mp4
    ffmpeg version git-2012-03-24-2571506 Copyright (c) 2000-2012 the FFmpeg developers
     built on Mar 24 2012 03:47:02 with gcc 4.6.1
     configuration: --enable-gpl --enable-libfaac --enable-libmp3lame \
       --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora \
       --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 \
       --enable-x11grab
     libavutil      51. 44.100 / 51. 44.100
     libavcodec     54. 12.100 / 54. 12.100
     libavformat    54.  2.100 / 54.  2.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 65.102 /  2. 65.102
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  7.100 /  0.  7.100
     libpostproc    52.  0.100 / 52.  0.100
    // ERORRS::
    [png @ 0xa4d5120] Missing png signature
    [image2 @ 0xa4ceb00] decoding for stream 0 failed
    [image2 @ 0xa4ceb00] Could not find codec parameters (Video: png)
    image%1d.png: could not find codec parameters