Recherche avancée

Médias (91)

Autres articles (45)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (5955)

  • laravel-ffmpeg - fopen(/tmp/laravel-ffmpegi340VY.mkv) : failed to open stream : No such file or directory

    26 janvier 2020, par jyoti gautam

    Using the laravel-ffmpeg librabry to convert video file from .webm to mp4 aws s3 bucket url and using following code.

    $videoFile = '/courses/images/1579626678msr-2020-01-21T17-11-18-771Z.webm';  //= upload/video1.mp4
      FFMpeg::fromDisk('s3')
       ->open($videoFile)
       ->getFrameFromSeconds(10)
       ->export()
       ->toDisk('s3')
       ->inFormat(new \FFMpeg\Format\Video\X264)
       ->save('small_steve.mp4');

    How can access file from s3 bucket and convert ?

  • FFMPEG Open several video files at the same time ? C++ [on hold]

    8 octobre 2017, par LemanRass

    I wrote a C++ plugin for playing videos using FFmpeg libraries. All works perfectly when playing a single video, but when I try to play at least 2 videos at the same time I have these errors :

    #01 pc 0000714d  /data/app/com.ffmpeg.sdk.videoplugin-
    1/lib/arm/libAndroidVideoPlugin.so (_ZN12FFmpegReader13ReadNextFrameEPvPc+404)
    #02 pc 00005a9f  /data/app/com.ffmpeg.sdk.videoplugin-
    1/lib/arm/libAndroidVideoPlugin.so (_ZN9Videofile17UpdateFramesCacheEv+118)
    #03 pc 000057d1  /data/app/com.ffmpeg.sdk.videoplugin-
    1/lib/arm/libAndroidVideoPlugin.so (_firstUpdateThread+80)

    It seems that when I open the second video it, replaces the first one.
    I came up with this idea when I opened 2 videos one by one (without any errors) then I started to play only the second one and as a result I didn’t get any errors. But when I tried to read frames from the first video, my app crashed with the error above.

    A bit about plugin`s structure :

    1. I created a class called FFmpegReader where methods work
      directly with ffmpeg (Opening file, ReadFrames and returning them as void*,
      Seek and Close).

    2. Then I created one more class which creates a FFmpegReader instance using
      the "new" operator inside its constructor, descriptor (unique id of the opened
      file), queue of cached frames (up to 100 at the same time) and
      methods to operate with FFmpegReader and framesCache.

    3. I created a main file where I created a vector of objects of class from
      the second point I described above. Also I declared 4 threads for each
      opened video file (4 opened videos is the max number of allowed opened
      videos at the same time). They call the method to update a cache of frames in
      its own video file using the video file descriptor. Finally I declared methods
      which will be called from the main app which is using this plugin to retrieve
      cached frames from cache.

    As you can see, I did everything to let it works separately with each new opened video. It seems the problem is inside of FFmpeg. There might be some restrictions I’m not aware of.

    ================UPDATE=================

    Sources of Main: https://pastebin.com/DfGH0BRZ
    Sources of Videofile class: https://pastebin.com/WjdS532B
    Sources of FFmpegReader class: https://pastebin.com/aPHpBvBv

    Hope it’s gonna help...

  • Error in installing Open-CV with ffmpeg

    24 décembre 2013, par Matteo

    I am trying to install the library Open-CV working on on Ubuntu 11.04.

    I followed all instructions found in the InstallationGuide.

    However after installing with success I realized that I hadn't FFMPEG support because in my configuration file FFMPEG was disabled :

    Video I/O:
    --     DC1394 1.x:                 NO
    --     DC1394 2.x:                 YES
    --     FFMPEG:                     NO
    --       codec:                    YES
    --       format:                   YES
    --       util:                     YES
    --       swscale:                  NO
    --       gentoo-style:             YES
    --     GStreamer:                  YES
    --     UniCap:                     NO
    --     PvAPI:                      NO
    --     V4L/V4L2:                   Using libv4l
    --     Xine:                       NO

    So I tried to rebuild everything after installing FFMEPG as decribed here.

    After configuring installation with the instruction

    cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ../OpenCV-2.3.1

    I ran the make command getting this error :

    make[2]: *** [bin/opencv_test_calib3d] Error 1
    make[1]: *** [modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/all] Error 2
    make: *** [all] Error 2

    This is the point of compilation where the error is coming out :

    Linking CXX executable ../../bin/opencv_test_calib3d
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis_headerout'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_out_samplerate'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_disable_reservoir'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_encode_buffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaUnmapBuffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaDestroyBuffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_comment_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_param_default'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_param_apply_profile'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_brate'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_headers'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncGetCurrentConfiguration'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis_blockout'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_info_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis_buffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_comment_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaCreateBuffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_bWriteVbrTag'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncSetConfiguration'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_ctl'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `D_IF_decode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncGetDecoderSpecificInfo'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_block_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_close'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_encode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_VBR'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Encoder_Interface_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_get_framesize'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncOpen'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_packetout'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_quality'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Decoder_Interface_exit'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_alloc'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_encode_setup_vbr'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_info_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_in_samplerate'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_reconfig'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_param_apply_fastfirstpass'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_VBR_quality'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_mode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `D_IF_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_set_num_channels'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncEncode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_encode_setup_managed'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Encoder_Interface_exit'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Decoder_Interface_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaRenderPicture'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_encode_ctl'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_info_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_delayed_frames'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_param_parse'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_free'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `D_IF_exit'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_dsp_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Decoder_Interface_Decode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaMapBuffer'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_block_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_bit_depth'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_picture_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_close'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_encoder_open_120'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `faacEncClose'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaEndPicture'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_encode_flush'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_encode_buffer_interleaved'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_comment_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_comment_clear'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_init_params'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `x264_param_default_preset'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_encode_setup_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_bitrate_addblock'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_comment_add_tag'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_flushheader'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `lame_encode_buffer_int'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `th_encode_ycbcr_in'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_bitrate_flushpacket'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_analysis_wrote'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vorbis_info_init'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `Encoder_Interface_Encode'
    ../../lib/libopencv_highgui.so.2.3.1: undefined reference to `vaBeginPicture'
    collect2: ld returned 1 exit status

    can anybody please tell me what's the problem with installation process I'm following ?

    Why is there this library referentiation error ?