Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (73)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (11800)

  • How to Configure Nginx to serve Multiple Websites

    4 septembre 2020, par lare77

    i use nginx - rtmp option to restream the m3u8 stream with ffmpeg and then play it on the Blog. I have following restream m3u8 from my server, which is playable perfetly in vlc player https://hls.tvoti.com/rtl2/playlist.m3u8
But i can not play it on the website see demo. I use following code in etc/nginx/sites-available to show stream on the websites and is it not correct ? :

    


    server {
    listen   80; 

    #root /var/www/html/; 
    #index index.php index.html index.htm;

    server_name tvoti.com; 

    location / {
    proxy_redirect off; 
        proxy_set_header X-Real-IP  $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $host;
        proxy_pass http://127.0.0.1:8080;
    }

    location ~ /\.ht {
        deny all;
    }
}

server {
    listen       80;
    server_name  hls.tvoti.com;

    location / {
        add_header Cache-Control no-cache;

    set $cors_origin "https://rtllivestreamkostenlos.com";

    if ($http_origin ~* (^https?://([^/]+\.)*(tvoti|rtllivestreamkostenlos.com)\.com$)) {
            set $cors_origin "$http_origin";
        }

    add_header "X-Dbg" "$cors_origin" always;

        # Simple requests
        if ($request_method ~* "(GET|POST)") {
            add_header "Access-Control-Allow-Origin"  "$cors_origin";
        }

        # Preflighted requests
        if ($request_method = OPTIONS ) {
            add_header "Access-Control-Allow-Origin"  "$cors_origin";
            add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
            add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
            return 200;
        }
        root   /etc/nginx/hls;
    }

    location /supervisor {
        proxy_pass http://127.0.0.1:9999/;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

}


    


  • Why is the length of the output video increasing when I overlay an image over a video using ffmpeg ?

    24 août 2020, par Farhan
    ffmpeg -i somevideo.mp4 -i someimage.png -filter_complex "[0:v][1:v] overlay=10:10:enable='between(t,2,4)'" output.mp4


    


    In this case, somevideo.mp4 is a 4 second video. I wanted the last 2 seconds to have the overlay of the someimage.png image. After processing, the length of output.mp4 is 5 seconds. Could someone please help me out on this ? Thank you !

    


    Log for ffprobe of output.mp4

    


    ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/ceph/bbb/published/presentation/186b47c6a0cd759032ad555b2704a92a77614607-1598159162249/output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:42.04, start: 0.000000, bitrate: 269 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 3360x1080 [SAR 1:1 DAR 28:9], 142 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 121 kb/s (default)
    Metadata:
      handler_name    : SoundHandler


    


  • Unable to find suitable output format for 'ffmpeg'

    23 mai 2023, par kumarvhat

    I'm trying to use the ffmpeg toolset to stitch a set of images to an .mp4 and am receiving the following error :

    


    [NULL @ 000001d48d1dcc00] Unable to find a suitable output format for 
'ffmpeg' ffmpeg: Invalid argument


    


    The command I'm using is :

    


    ffmpeg -r 30 -f image2 -s 1920x1080 -i C://MYPATH//back_squat_%03d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p C://MYPATH//back_squat.mp4


    


    And the full output looks like this.

    


    ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200523
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, image2, from 'C://MYPATH//back_squat_%03d.png':
  Duration: 00:00:02.37, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 900x1000 [SAR 2835:2835 DAR 9:10], 30 fps, 30 tbr, 30 tbn, 30 tbc
Input #1, image2, from 'C://MYPATH//back_squat_%03d.png':
  Duration: 00:00:02.37, start: 0.000000, bitrate: N/A
    Stream #1:0: Video: png, rgba(pc), 900x1000 [SAR 2835:2835 DAR 9:10], 30 fps, 30 tbr, 30 tbn, 30 tbc
[NULL @ 000002001b8d5780] Unable to find a suitable output format for 'ffmpeg'
ffmpeg: Invalid argument


    


    What is wrong with the syntax of the command string ?