Recherche avancée

Médias (1)

Mot : - Tags -/vidéo

Autres articles (45)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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 (9657)

  • Building ffmpeg on Windows from Chromium - make : *** No rule to make target 'libavcodec\avcodec-57.dll'. Stop

    14 septembre 2016, par Catalin Fratila

    I am trying to compile ffmpeg on a Windows machine, using mingw64 and msys2.

    But when I run : "build_ffmpeg.py win ia32" (same result with x64), I get :

    /c/libchromiumcontent/src/third_party/ffmpeg/chromium/scripts
    $ ./build_ffmpeg.py win ia32
    install prefix            /usr/local
    source path               /c/libchromiumcontent/src/third_party/ffmpeg
    C compiler                gcc
    C library                 mingw64
    ARCH                      x86 (generic)
    big-endian                no
    runtime cpu detection     yes
    yasm                      yes
    MMX enabled               yes
    MMXEXT enabled            yes
    3DNow! enabled            yes
    3DNow! extended enabled   yes
    SSE enabled               yes
    SSSE3 enabled             yes
    AESNI enabled             yes
    AVX enabled               yes
    XOP enabled               yes
    FMA3 enabled              yes
    FMA4 enabled              yes
    i686 features enabled     yes
    CMOV is fast              yes
    EBX available             yes
    EBP available             yes
    debug symbols             yes
    strip symbols             yes
    optimize for size         no
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    new filter support        no
    network support           no
    threading support         w32threads
    safe bitstream reader     yes
    SDL support               no
    opencl enabled            no
    texi2html enabled         no
    perl enabled              no
    pod2man enabled           no
    makeinfo enabled          no
    makeinfo supports HTML    no

    Enabled programs:

    External libraries:

    Enabled decoders:
    pcm_alaw                  pcm_f32le                 pcm_mulaw                 pcm_s16be                 pcm_s16le                 pcm_s24be                 pcm_s24le                 pcm_s32le                 pcm_u8                    vorbis

    Enabled encoders:

    Enabled hwaccels:

    Enabled parsers:
    opus                      vorbis

    Enabled demuxers:
    matroska                  ogg                       wav

    Enabled muxers:

    Enabled protocols:

    Enabled filters:

    Enabled bsfs:

    Enabled indevs:

    Enabled outdevs:

    License: LGPL version 2.1 or later
    Creating config.mak, config.h, and doc/config.texi...
    make: *** No rule to make target 'libavcodec\avcodec-57.dll'.  Stop.
    System information:
    Host OS       : win
    Target OS     : win
    Host arch     : x64
    Target arch   : ia32
    Parallel jobs : 4

    Chromium configure/build:
    Running ['sh.exe', 'C:\\libchromiumcontent\\src\\third_party\\ffmpeg\\configure', '--disable-everything', '--disable-all', '--disable-doc', '--disable-htmlpages', '--disable-manpages', '--disable-podpages', '--disable-txtpages', '--disable-static', '--enable-avcodec', '--enable-avformat', '--enable-avutil', '--enable-fft', '--enable-rdft', '--enable-static', '--disable-bzlib', '--disable-error-resilience', '--disable-iconv', '--disable-lzo', '--disable-network', '--disable-schannel', '--disable-sdl', '--disable-symver', '--disable-xlib', '--disable-zlib', '--disable-securetransport', '--disable-d3d11va', '--disable-dxva2', '--disable-vaapi', '--disable-vda', '--disable-vdpau', '--disable-videotoolbox', '--enable-decoder=vorbis', '--enable-decoder=pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le', '--enable-decoder=pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw', '--enable-demuxer=ogg,matroska,wav', '--enable-parser=opus,vorbis', '--optflags="-O2"', '--enable-decoder=theora,vp8', '--enable-parser=vp3,vp8', '--toolchain=msvc', '--cpu=opteron', '--enable-yasm', '--extra-cflags=-IC:\\libchromiumcontent\\src\\third_party\\ffmpeg\\chromium/include/win', '--target-os=mingw32', '--enable-memalign-hack', '--cc=gcc-sjlj']
    Running ['make', '-j4', 'libavcodec\\avcodec-57.dll', 'libavformat\\avformat-57.dll', 'libavutil\\avutil-55.dll']
    Traceback (most recent call last):
     File "./build_ffmpeg.py", line 631, in <module>
       sys.exit(main(sys.argv[1:]))
     File "./build_ffmpeg.py", line 596, in main
       configure_args)
     File "./build_ffmpeg.py", line 588, in do_build_ffmpeg
       options.config_only, branding, configure_flags)
     File "./build_ffmpeg.py", line 217, in BuildFFmpeg
       ['make', '-j%d' % parallel_jobs] + libraries, cwd=config_dir)
     File "./build_ffmpeg.py", line 92, in PrintAndCheckCall
       subprocess.check_call(argv, *args, **kwargs)
     File "C:\Python27\lib\subprocess.py", line 541, in check_call
       raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['make', '-j4', 'libavcodec\\avcodec-57.dll', 'libavformat\\avformat-57.dll', 'libavutil\\avutil-55.dll']' returned non-zero exit status 2
    </module>

    Has anyone seen this issue before ? Have all the pre-requisites from here : https://trac.ffmpeg.org/wiki/CompilationGuide/MinGW

    Thanks.

  • Waiting between FFMPEG scripts when creating .hdr/.chk and .mpd files on NGINX server using RTMP module

    17 avril 2020, par Mathew Knight

    Wonder if anyone might be able to suggest a solution to and issue i'm having.

    &#xA;&#xA;

    I'm running some FFMPEG scripts inside a RTMP server block on an NGINX server running on Ubuntu 18.04.

    &#xA;&#xA;

    Basically i'm ingesting the RTMP stream to the server then using FFMPEG to Demux into separate audio and video header and chunk files, then in separate scripts i'm creating two separate manifests for both the audio and video.

    &#xA;&#xA;

    The player i have (a development ambisonic, 360 video player) is having problems reading the stream correctly and i believe this is due to the FFMPEG process for the manifests not waiting 2 seconds before running.

    &#xA;&#xA;

    Is there a way to program a wait in between the scripts to facilitate this ?

    &#xA;&#xA;

    furthermore, is there a way to make the manifest scripts only run once then quit ?

    &#xA;&#xA;

    heres my current NGINX .conf

    &#xA;&#xA;

    user root;&#xA;#user www-data;&#xA;worker_processes 1;&#xA;pid /run/nginx.pid;&#xA;include /etc/nginx/modules-enabled/*.conf;&#xA;events {&#xA;    worker_connections 768;&#xA;    # multi_accept on;&#xA;}&#xA;http {&#xA;    ##&#xA;    # Basic Settings&#xA;    ##&#xA;    sendfile on;&#xA;    tcp_nopush on;&#xA;    tcp_nodelay on;&#xA;    keepalive_timeout 65;&#xA;    types_hash_max_size 2048;&#xA;    # server_tokens off;&#xA;    # server_names_hash_bucket_size 64;&#xA;    # server_name_in_redirect off;&#xA;    include /etc/nginx/mime.types;&#xA;    default_type application/octet-stream;&#xA;    ##&#xA;    # SSL Settings&#xA;    ##&#xA;    #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE&#xA;    #ssl_prefer_server_ciphers on;&#xA;    ##&#xA;    # Logging Settings&#xA;    ##&#xA;    access_log /var/log/nginx/access.log;&#xA;    error_log /var/log/nginx/error.log;&#xA;    ##&#xA;    # Gzip Settings&#xA;    ##&#xA;    ##&#xA;    # Virtual Host Configs&#xA;    ##&#xA;    include /etc/nginx/conf.d/*.conf;&#xA;    include /etc/nginx/sites-enabled/*;&#xA;}&#xA;rtmp {&#xA;        server {&#xA;            listen 1935;&#xA;            chunk_size 4096;&#xA;&#xA;            application live {&#xA;            live on;&#xA;            record off;&#xA;            interleave off;&#xA;            wait_key on;&#xA;            meta on;&#xA;            wait_video off;&#xA;            idle_streams off;&#xA;            sync 300ms;&#xA;            session_relay on;&#xA;            #allow publish 127.0.0.1;&#xA;            #allow publish 192.168.2.0/24;&#xA;            allow publish all;&#xA;            #deny publish all;&#xA;            allow play all;    &#xA;        #RX stream to FFMPEG, demux audio and video, write .hdr files, start chunking DASH segments .chk&#xA;         exec_push sudo ffmpeg -y -re -i &#x27;rtmp://localhost:1935/live/stream&#x27; -map 0:1 -pix_fmt yuv420p -maxrate 750k -bufsize 3000k -c:v libvpx-vp9 -s 1920x1080 -keyint_min 60 -g 60 -speed 6 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1 -b:v 6000k -f webm_chunk -header "/var/www/html/dash/video_360.hdr" -chunk_start_index 1 "/var/www/html/dash/video_360_%d.chk" -map 0:2 -c:a libopus -mapping_family 255 -b:a 1024k -vn -f webm_chunk -audio_chunk_duration 2000 -header "/var/www/html/dash/audio_171.hdr" -chunk_start_index 1 "/var/www/html/dash/audio_171_%d.chk" 2>>/var/log/nginx/ffmpegChunk.log;&#xA;&#xA;        #Create video manifest&#xA;        exec_push sudo ffmpeg -probesize 500M -analyzeduration 100M -f webm_dash_manifest -live 1 -i "/var/www/html/dash/video_360.hdr" -map 0 -c copy -f webm_dash_manifest -live 1 -adaptation_sets "id=0,streams=0" -chunk_start_index 1 -chunk_duration_ms 2000 -minimum_update_period 7200 "/var/www/html/dash/video.mpd" 2>>/var/log/nginx/ffmpegManifestVideo.log;&#xA;        #Create audio manifest&#xA;        exec_push sudo ffmpeg -probesize 500M -analyzeduration 100M -f webm_dash_manifest -live 1 -i "/var/www/html/dash/audio_171.hdr" -map 0 -c libopus -mapping_family 255 -f webm_dash_manifest -live 1 -adaptation_sets "id=1,streams=0" -chunk_start_index 1 -chunk_duration_ms 2000 -minimum_update_period 7200 "/var/www/html/dash/audio_16ch.mpd" 2>>/var/log/nginx/ffmpegManifestAudio.log;&#xA;&#xA;        ##&#xA;        # Record the incoming stream&#xA;        ##&#xA;        # Record audio and video together&#xA;        record all;&#xA;        record_path /home/mathewknight/Desktop/StreamRecord/Master;&#xA;        record_notify on;&#xA;        # Record audio seperately&#xA;        recorder audio {&#xA;            record audio;&#xA;            record_path /home/mathewknight/Desktop/StreamRecord/Audio;&#xA;            record_suffix -%d-%b-%y-%T.audio.flv;&#xA;            record_notify on;&#xA;            }&#xA;        # Record video seperately&#xA;        recorder video{&#xA;            record video;&#xA;            record_path /home/mathewknight/Desktop/StreamRecord/Video;&#xA;            record_suffix -%d-%b-%y-%T.video.flv;&#xA;            record_notify on;&#xA;            }&#xA;&#xA;            }&#xA;&#xA;&#xA;        }&#xA;&#xA;}&#xA;&#xA;

    &#xA;

  • FFMPEG Concat protocol Error : Found duplicated MOOV Atom. Skipped it

    11 septembre 2020, par user3541092

    I'm concatenating mp3 files into a single m4a.

    &#xA;&#xA;

    To save time, I'm doing the mp3 to m4a conversion first (multi-threaded) and then concatenating the output files (m4a) into a single m4a file.

    &#xA;&#xA;

    The concat works when I do the conversion (mp3 -> m4a) and cancat in one swoop. But it takes forever to run.

    &#xA;&#xA;

    Example :

    &#xA;&#xA;

    ffmpeg -i "concat:001.mp3|002.mp3|003.mp3" -codec:a aac -c copy output.m4a&#xA;

    &#xA;&#xA;

    &#xA;If I take those same mp3 files and convert them to m4a in parallel and then concat, I can save myself a significant amount time.

    &#xA;&#xA;

    The problem is if I run the concat command on the converted m4a files

    &#xA;&#xA;

    Example cmd :

    &#xA;&#xA;

    ffmpeg -i "concat:001.m4a|002.m4a|003.m4a" -c copy output.m4a&#xA;

    &#xA;&#xA;

    I getting the following error :

    &#xA;&#xA;

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000052f680] Found duplicated MOOV&#xA; Atom. Skipped it

    &#xA;

    &#xA;&#xA;

    &#xA;UPDATE : Ouput when concatenating m4a files (two track example) :

    &#xA;&#xA;

    C:\_ffmpeg>ffmpeg -i "concat:001.m4a|002.m4a" -c copy output.m4a&#xA;ffmpeg version N-79630-g9ac154d Copyright (c) 2000-2016 the FFmpeg developers&#xA;  built with gcc 5.3.0 (GCC)&#xA;  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av&#xA;isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab&#xA;le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --&#xA;enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib&#xA;modplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-&#xA;libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl&#xA;e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable&#xA;-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena&#xA;ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx&#xA;264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable&#xA;-lzma --enable-decklink --enable-zlib&#xA;  libavutil      55. 22.101 / 55. 22.101&#xA;  libavcodec     57. 38.100 / 57. 38.100&#xA;  libavformat    57. 34.103 / 57. 34.103&#xA;  libavdevice    57.  0.101 / 57.  0.101&#xA;  libavfilter     6. 44.100 /  6. 44.100&#xA;  libswscale      4.  1.100 /  4.  1.100&#xA;  libswresample   2.  0.101 /  2.  0.101&#xA;  libpostproc    54.  0.100 / 54.  0.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000048a9a0] Found duplicated MOOV Atom. Skipped&#xA; it&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;concat:001.m4a|002.m4a&#x27;:&#xA;  Metadata:&#xA;    track           : 1&#xA;    major_brand     : M4A&#xA;    minor_version   : 512&#xA;    title           : 001 Moon Over Soho&#xA;    artist          : Ben Aaronovitch&#xA;    album_artist    : Narrated by Kobna Holdbrook-Smith&#xA;    composer        : Narrated by Kobna Holdbrook-Smith&#xA;    album           : Moon Over Soho&#xA;    date            : 2012&#xA;    encoder         : Lavf57.34.103&#xA;    genre           : Speech&#xA;    copyright       : Tantor Audio&#xA;    compatible_brands: isomiso2&#xA;  Duration: 00:44:03.83, start: 0.000000, bitrate: 251 kb/s&#xA;    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt&#xA;p, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;[ipod @ 000000000048bb20] Using AVStream.codec to pass codec parameters to muxer&#xA;s is deprecated, use AVStream.codecpar instead.&#xA;Output #0, ipod, to &#x27;output.m4a&#x27;:&#xA;  Metadata:&#xA;    track           : 1&#xA;    major_brand     : M4A&#xA;    minor_version   : 512&#xA;    title           : 001 Moon Over Soho&#xA;    artist          : Ben Aaronovitch&#xA;    album_artist    : Narrated by Kobna Holdbrook-Smith&#xA;    composer        : Narrated by Kobna Holdbrook-Smith&#xA;    album           : Moon Over Soho&#xA;    date            : 2012&#xA;    compatible_brands: isomiso2&#xA;    genre           : Speech&#xA;    copyright       : Tantor Audio&#xA;    encoder         : Lavf57.34.103&#xA;    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 128&#xA; kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;Press [q] to stop, [?] for help&#xA;size=   41892kB time=00:44:03.80 bitrate= 129.8kbits/s speed=2.21e&#x2B;003x&#xA;video:0kB audio:41445kB subtitle:0kB other streams:0kB global headers:0kB muxing&#xA; overhead: 1.077122%&#xA;&#xA;C:\_ffmpeg>pause&#xA;Press any key to continue . . .&#xA;

    &#xA;