Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (56)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8696)

  • ffmpeg can't work via nginx + nginx-rtmp-module

    2 mai 2018, par Ubunkun

    nginx version : nginx/1.12.2
    ffmpeg version 3.4.2

    I’m trying to below.
    -> nginx -> ffmpeg multi encode -> HLS publish

    nginx configration is below (nginx.conf)

    worker_processes  1;

    events {
       worker_connections  1024;
    }

    http {
       include       mime.types;
       default_type  application/octet-stream;

       sendfile        on;

       keepalive_timeout  65;

       server {
           listen       80;
           server_name  localhost;

           location / {
               root   html;
               index  index.html index.htm index.php;
           }

       location ~ \.php$ {
               root           html;
               fastcgi_pass   unix:/var/run/php-fpm/php-fpm.sock;
               fastcgi_index  index.php;
               fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
               include        fastcgi_params;
           }

           error_page   500 502 503 504  /50x.html;
           location = /50x.html {
               root   html;
           }
       }
    }

    rtmp {
       server {
           listen 1935;
           application hls {
               live on;
               exec /usr/local/sbin/ffscript.sh $name;
           }

           application hls2 {
               live on;
               hls on;
               hls_path /usr/local/nginx/html;
               hls_nested on;
               hls_fragment 9s;
               hls_variant _low  BANDWIDTH=300000;
               hls_variant _mid  BANDWIDTH=700000;
               hls_variant _high BANDWIDTH=1200000;
           }
       }
    }

    (/usr/local/sbin/ffscript.sh)

    export LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64
    export LIBVA_DRIVER_NAME=iHD
    export MFX_HOME=/opt/intel/mediasdk
    export PKG_CONFIG_PATH=/opt/intel/opencl:

    /usr/local/bin/ffmpeg -i rtmp://localhost/hls/${1} -vcodec h264_qsv -init_hw
    _device qsv:hw -b:v 128K -c:a aac -ar 44100 -ac 2 -r 30 -f flv rtmp://localhost/
    hls2/${1}_low -b:v 512k -c:a aac -ar 44100 -ac 2 -r 30 -f flv rtmp://localhost/h
    ls2/${1}_mid -b:v 1024k -c:a aac -ar 44100 -ac 2 -r 30 -f flv rtmp://localhost/h
    ls2/${1}_high

    But it can’t work. The access.log appears just one line.

    192.168.1.121 [02/May/2018:21:52:39 +0900] PUBLISH "hls" "test2" "" - 580840 753 "" "FMLE/3.0 (compatible; Lavf57.55" (21s)

    There is no "hls2" PUBLISH on access log.

    When I tried to run the ffmpeg command line while nginx is running, it was succeed.

    Why ffmpeg called by nginx doesn’t work ? If you have any solution, let me know.

    Bests,

  • How can I use ffmpeg with h264_qsv ?

    29 avril 2018, par Ubunkun

    I’ve installed the "Intel MediaServer Studio Essentials 2018R1". And I complied ffmpeg with h264_qsv.

    When I tried to use ffmpeg with h264_qsv, the errors occurred.

    $ ffmpeg -y -i ffefc5a076d93be46df1ff8674592d39.mp4 -vframes 2000 -b:v 2000K -vcodec h264_qsv -preset slow out00.mp4
    ffmpeg version git-2018-04-24-f09fdf2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
     configuration: --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libmfx
     libavutil      56. 15.100 / 56. 15.100
     libavcodec     58. 19.100 / 58. 19.100
     libavformat    58. 13.100 / 58. 13.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 19.100 /  7. 19.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ffefc5a076d93be46df1ff8674592d39.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.55.100
     Duration: 02:13:42.92, start: 0.000000, bitrate: 1590 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 1453 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [h264_qsv @ 0x3729200] Error initializing an internal MFX session: unsupported (-3)
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x36e3740] Qavg: 65536.000
    [aac @ 0x36e3740] 2 frames left in the queue on closing
    Conversion failed!

    I don’t know where is wrong. If input file is wrong, I can change input file. I have not succeeded in running ffmpeg with h264_qsv.
    I would appreciate it if somebody can help me on how to run ffmpeg with h264_qsv.

  • ffmpeg : How to dowmix from 2 channels 5.1 to 2 stereo streams

    26 avril 2018, par spiceemeup

    I have a mov file with a video stream and several audio streams in two different languages. Here is the output of ffprobe :

    ffprobe version N-89525-gb178278 Copyright (c) 2007-2017 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static
    --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-
    L/home/ubuntu/ffmpeg_build/lib --extra-libs='-lpthread -lm' --
    bindir=/home/ubuntu/bin --enable-gpl --enable-libass --enable-libtwolame --
    enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --
    enable-libvorbis --enable-libx264 --enable-nonfree
    libavutil      56.  6.100 / 56.  6.100
    libavcodec     58.  8.100 / 58.  8.100
    libavformat    58.  3.100 / 58.  3.100
    libavdevice    58.  0.100 / 58.  0.100
    libavfilter     7.  7.100 /  7.  7.100
    libswscale      5.  0.101 /  5.  0.101
    libswresample   3.  0.101 /  3.  0.101
    libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sony_trim2.mov':
    Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2018-04-24T11:15:52.000000Z
    com.apple.finalcutstudio.media.uuid: BEF32C67-F7C2-4D6C-B4AD-B79255E1414B
    Duration: 00:01:26.32, start: 0.000000, bitrate: 197731 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709,
    progressive), 1920x1080, 179299 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
     encoder         : Apple ProRes 422 (HQ)
     timecode        : 00:58:32:15
    Stream #0:1(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:2(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:3(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:4(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:5(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:6(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:7(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:8(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:9(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:10(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:11(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:12(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:13(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:14(fra): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:15(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:16(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
    Stream #0:17(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
     creation_time   : 2018-04-24T11:15:52.000000Z
     handler_name    : Core Media Data Handler
     timecode        : 00:58:32:15

    I’d like to downmix audio streams #0:1 -> #0:6 to one stereo stream and in the same time downmix audio streams #0:7 -> #0:12 to another stereo stream.
    I tried to map streams and use -ac 2 command but it didn’t work.

    ffmpeg -i myfile.mov -filter:v scale=854x480 -ac 2 -af "pan=stereo| FL < FL + 0.5*FC + 0.6*BL + 0.6*SL | FR < FR + 0.5*FC + 0.6*BR + 0.6*SR" -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:6 -acodec libmp3lame -b:a 256k -ar 48000 -y -strict experimental -map 0:0 -x264opts bitrate=2000:vbv-maxrate=2000:vbv-bufsize=166 -vcodec libx264 -profile:v high -level:v 4.0 -pix_fmt yuv420p -aspect 16:9 -r 25 -g 50 -f mpegts -muxrate 2000K -y myfile.ts

    Any idea ?
    Thanks in advance for your help.