Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (65)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (12069)

  • ffmpeg encoded video don't work on mplayer

    15 septembre 2022, par Turgut

    I've made a C/C++ program that encodes a video. It takes several input videos with presumably different fpses, then encodes them as a single video with a different single fps. For example you can give 2 videos with fpses 30 and 60 respectively then set output fps to 120. This works fine under normal circumstances.

    


    However when ran through mplayer on a different pc then mine, it says the following :

    


    enter image description here

    

As seen here it says that audio is at 30 while video is at 15. Normally I would just shrug this off however it works on any other video player on the same computer. So I would assume that mplayer is at fault and shrug it off, but it works on my computer's mplayer.


    


    Is this about my video encoding ? Do I need to change the header of the video ? Here is how I set the time :

    


    AVStream* st;&#xA;st->time_base =  av_d2q(1 / fps, std::numeric_limits<int>::max());&#xA;&#xA;</int>

    &#xA;

    What could be the problem ?

    &#xA;

  • how to make work opencv with FFMPEG driver

    14 janvier 2021, par user3313834

    I have a camera on my linuxbox it is working well :

    &#xA;

    # $ ls -al /dev/video*&#xA;# crw-rw----&#x2B; 1 root video 81, 0 janv.  8 16:13 /dev/video0&#xA;# crw-rw----&#x2B; 1 root video 81, 1 janv.  8 16:13 /dev/video1&#xA;# $ groups&#xA;# adm cdrom sudo dip video plugdev lpadmin lxd sambashare docker libvirt&#xA;

    &#xA;

    From python with cv2 it work well with the default driver CAP_V4L2

    &#xA;

    >>> from pathlib import Path&#xA;>>> import cv2&#xA;>>> print(cv2.VideoCapture(0, apiPreference=cv2.cv2.CAP_V4L2).isOpened())&#xA;True&#xA;>>>&#xA;

    &#xA;

    I would like to access it with the FFMPEG driver (no success) :

    &#xA;

    >>> print(cv2.VideoCapture(0, apiPreference=cv2.CAP_FFMPEG).isOpened())&#xA;False&#xA;>>>&#xA;

    &#xA;

    From Python side the opencv look like to have the FFMPEG Driver :

    &#xA;

      >>> cv2.__version__&#xA;  &#x27;4.4.0&#x27;&#xA;  >>> info = cv2.getBuildInformation()&#xA;  >>> video, parallel = info.index(&#x27;Video&#x27;), info.index(&#x27;Parallel&#x27;)&#xA;  >>> print(info[video:parallel])&#xA;  Video I/O:&#xA;       DC1394:                      NO&#xA;       FFMPEG:                      YES&#xA;         avcodec:                   YES (58.109.100)&#xA;         avformat:                  YES (58.61.100)&#xA;         avutil:                    YES (56.60.100)&#xA;         swscale:                   YES (5.8.100)&#xA;         avresample:                NO&#xA;       GStreamer:                   NO&#xA;       v4l/v4l2:                    YES (linux/videodev2.h)&#xA;  >>>&#xA;

    &#xA;

    From Linux side look ok too :

    &#xA;

    $ dpkg -l |grep -i opencv&#xA;ii  libopencv-core4.2:amd64                    4.2.0&#x2B;dfsg-5                          amd64        computer vision core library&#xA;ii  libopencv-imgcodecs4.2:amd64               4.2.0&#x2B;dfsg-5                          amd64        computer vision Image Codecs library&#xA;ii  libopencv-imgproc4.2:amd64                 4.2.0&#x2B;dfsg-5                          amd64        computer vision Image Processing library&#xA;ii  libopencv-videoio4.2:amd64                 4.2.0&#x2B;dfsg-5                          amd64        computer vision Video I/O library&#xA;&#xA;$ dpkg -l |grep -i ffm&#xA;ii  ffmpeg                                     7:4.2.4-1ubuntu0.1                    amd64        Tools for transcoding, streaming and playing of multimedia files&#xA;ii  gstreamer1.0-libav:amd64                   1.16.2-2                              amd64        ffmpeg plugin for GStreamer&#xA;ii  libavcodec-extra:amd64                     7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library with extra codecs (metapackage)&#xA;ii  libavcodec-extra58:amd64                   7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library with additional de/encoders for audio/video codecs&#xA;ii  libavdevice58:amd64                        7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library for handling input and output devices - runtime files&#xA;ii  libavfilter7:amd64                         7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library containing media filters - runtime files&#xA;ii  libavformat58:amd64                        7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library with (de)muxers for multimedia containers - runtime files&#xA;ii  libavresample4:amd64                       7:4.2.4-1ubuntu0.1                    amd64        FFmpeg compatibility library for resampling - runtime files&#xA;ii  libavutil56:amd64                          7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library with functions for simplifying programming - runtime files&#xA;ii  libffmpegthumbnailer4v5                    2.1.1-0.2build2                       amd64        shared library for ffmpegthumbnailer&#xA;ii  libpostproc55:amd64                        7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library for post processing - runtime files&#xA;ii  libswresample3:amd64                       7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library for audio resampling, rematrixing etc. - runtime files&#xA;ii  libswscale5:amd64                          7:4.2.4-1ubuntu0.1                    amd64        FFmpeg library for image scaling and various conversions - runtime files&#xA;$&#xA;

    &#xA;

  • ffmpeg blend filter not work right in android

    15 mai 2018, par tainguyen

    I’m doing my android project which uses blend filter to create uncover down video transition. My test device is Samsung S4 (Android version : 4.4.2)
    this is my command string :

    ffmpeg
    -loop 1 -t 1 -i img001.jpg
    -loop 1 -t 1 -i img002.jpg
    -loop 1 -t 1 -i img003.jpg
    -loop 1 -t 1 -i img004.jpg
    -loop 1 -t 1 -i img005.jpg
    -filter_complex
    "[1:v][0:v]blend=all_expr='if(lte(Y,N*H/24),A,B)'[b1v];
    [2:v][1:v]blend=all_expr='if(lte(Y,H*N/24),A,B)'[b2v];
    [3:v][2:v]blend=all_expr='if(lte(Y,H*N/24),A,B)'[b3v];
    [4:v][3:v]blend=all_expr='if(lte(Y,H*N/24),A,B)'[b4v];
    [0:v][b1v][1:v][b2v][2:v][b3v][3:v][b4v]
    [4:v]concat=n=9:v=1:a=0,format=yuv420p[v]" -map "[v]" out_cover_top.mp4 -y

    The result video transition is not scroll from the top to the bottom as I want. It break into several parts ( the red arrow show you the top and bottom of an part).
    enter image description here

    Help me please.