Recherche avancée

Médias (91)

Autres articles (28)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6219)

  • how can i insert an empty subtitle

    22 avril 2020, par Ginso

    i have a bunch of mp4 files and i would like to convert them to mkv, so that the automatic selection auf audio and subtitle track of vlc works.
the thing is some of them have 4 subtitles (first german and english only for foreign languages and then german and english for all) and some of them only 2 (because in those episodes there are no foreign languages). Can i insert 2 empty subtitle tracks before them so that i can set my vlc to select the first or second subtitle when i watch them ?

    



    i convert the episodes with 4 subtitles like this :

    



    ffmpeg -i in.mp4 -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:6 out.mkv

    



    0:0 is of course the video

    



    0:1 and 0:2 are audio tracks

    



    the rest are the subtitles

    



    BTW : is there a language code for forced subtitles ? -metadata:s:s:1 language=?

    


  • I can't seem to install opencv2.4.13 for Python3.4 on Mac El Capitan

    1er juin 2016, par ThatProgrammerDude

    This has been driving me nuts. I have been working on this non stop for a week. I have looked at many tutorials online they did not help.

    I have tried so much I don’t even remember what I tried. I can say the last thing I tried though.. which is this video https://www.youtube.com/watch?v=U49CVY8yOxw.

    So I download opencv2.4.13, create the build folder, open cmake, configure, generate and then go to terminal and type in make.

    I get this :

    Richie's Macbook Air:build Richie$ make
    [  2%] Built target zlib
    [  6%] Built target libtiff
    [ 10%] Built target libjpeg
    [ 14%] Built target libjasper
    [ 16%] Built target libpng
    [ 23%] Built target IlmImf
    [ 26%] Built target opencv_core
    [ 31%] Built target opencv_imgproc
    [ 32%] Built target opencv_video
    [ 32%] Built target opencv_flann
    [ 32%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o
    In file included from /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg.cpp:45:
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:71:6: error:
         "libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
       #error "libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
        ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:481:9: error:
         use of undeclared identifier 'sws_freeContext'
           sws_freeContext(img_convert_ctx);
           ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:965:17: error:
         use of undeclared identifier 'SWS_BICUBIC'
                   SWS_BICUBIC,
                   ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:998:5: error:
         use of undeclared identifier 'sws_scale'
       sws_scale(
       ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1639:46: error:
         use of undeclared identifier 'SWS_BICUBIC'
                                                SWS_BICUBIC,
                                                ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1645:14: error:
         use of undeclared identifier 'sws_scale'
           if ( sws_scale(img_convert_ctx, input_picture->data,
                ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1693:9: error:
         use of undeclared identifier 'sws_freeContext'
           sws_freeContext(img_convert_ctx);
           ^
    /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:2290:9: warning:
         ignoring return value of function declared with warn_unused_result
         attribute [-Wunused-result]
           avformat_write_header(oc_, NULL);
           ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
    1 warning and 7 errors generated.
    make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
    make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
    make: *** [all] Error 2
    Richie's Macbook Air:build Richie$

    From what I can see, it says

    "libswscale is necessary to build the newer OpenCV ffmpeg wrapper"

    I have tried googling though to no avail, does anyone know ?

    EDIT : I do have ffmpeg installed... (brew).

  • Multi-Threaded Video Decoder Leaks Memory

    3 janvier 2018, par Cethric

    My intention is to create a relatively simple video playback system to be used in a larger program that I am working on. Relevant code to the video decoder is here. The best I have been able to do so far is narrow down the memory leak to this section of code (or rather I have not noticed any memory leaks occurring when video is not used).

    This is probably a very broad question how ever I am unsure of the scope of the issue I am having and as such of how to word my question.

    What I want to know is what have I missed or done wrong that has lead to a noticeable memory leak (by noticeable I mean I can watch memory usage climb megabytes per minute). I have tried ensured that every allocation that I make is matched by a deallocation.

    EDIT 1
    This is to be built on a Windows 10 machine running MSYS2 (MinGW64)