Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (17)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (4032)

  • Running frei0r filters with ffmpeg - "Could not find module 'pixeliz0r'."

    4 avril 2016, par ksloan

    I installed frei0r using homebrew

    MacK:tmp kevin$ brew list frei0r
    /usr/local/Cellar/frei0r/1.4/include/frei0r.h
    /usr/local/Cellar/frei0r/1.4/lib/frei0r-1/ (119 files)
    /usr/local/Cellar/frei0r/1.4/lib/pkgconfig/frei0r.pc
    /usr/local/Cellar/frei0r/1.4/share/doc/ (4 files)

    Then I installed ffmpeg with the --with-frei0r flag, and everything compiled fine

    brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 --with-frei0r

    I tried telling ffmpeg where my frie0r filters were installed with

    export FREI0R_PATH=/usr/local/Cellar/frei0r/1.4/lib/frei0r-1/

    I even created symlinks from the default locations ffmpeg checks...

    MacK:tmp kevin$ ls -l  /usr/local/lib/frei0r-1
    lrwxr-xr-x  1 kevin  admin  33  4 Apr 04:43 /usr/local/lib/frei0r-1 -> ../Cellar/frei0r/1.4/lib/frei0r-1

    But I’m still seeing this error :

    [Parsed_frei0r_0 @ 0x7f8938f003c0] Could not find module 'perspective'.
    [AVFilterGraph @ 0x7f8938f00160] Error initializing filter 'frei0r' with args 'perspective'
    Error initializing complex filters.
    Invalid argument

    Full output :

    MacK:tmp kevin$ ffmpeg -i 1.mp4 -filter_complex "frei0r=perspective" out.mp4
    ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 7.0.2 (clang-700.1.81)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libx265 --enable-nonfree --enable-vda
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
     Duration: 00:00:08.34, start: 0.023220, bitrate: 4293 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 4161 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    [Parsed_frei0r_0 @ 0x7f8938f003c0] Could not find module 'perspective'.
    [AVFilterGraph @ 0x7f8938f00160] Error initializing filter 'frei0r' with args 'perspective'
    Error initializing complex filters.
    Invalid argument

    I’ve run out of ideas to try next, what am I missing ? Any help would be greatly appreciated.

  • why is this intel hardware accellerated transcoding in ffmpeg not working ?

    1er avril 2016, par Jabb

    I compiled ffmpeg with intel hardware accelleration, but I cannot transcode the simpsons 720p video from http://www.h264info.com/clips.html with success.

    this is the error I get :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    and this is the full output from ffmpeg. What could be wrong ?

    root@ubuntu:/tmp# ffmpeg -i test.mp4 -vcodec h264_qsv out1.yuv
    ffmpeg version N-79177-ga677121 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-libmfx
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 32.100 / 57. 32.100
     libavformat    57. 29.101 / 57. 29.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 40.102 /  6. 40.102
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       creation_time   : 2007-02-19 05:03:04
     Duration: 00:02:17.30, start: 0.000000, bitrate: 4283 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x544, 4221 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:04
         handler_name    : GPAC ISO Video Handler
       Stream #0:1(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 64 kb/s (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:08
         handler_name    : GPAC ISO Audio Handler
    [h264_qsv @ 0x2f626a0] Error initializing an internal MFX session
    Output #0, rawvideo, to 'out1.yuv':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, 23.98 fps (default)
       Metadata:
         creation_time   : 2007-02-19 05:03:04
         handler_name    : GPAC ISO Video Handler
         encoder         : Lavc57.32.100 h264_qsv
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Framerate live streaming webm with dash and ffmpeg

    14 mai 2016, par Jones

    I am streaming a live video with ffmpeg and dash.js using
    these instructions. It works well except that the video is playing at a too high framerate. No framerate is specified in the manifest.
    Creating the Chunks :

    SET VP9_LIVE_PARAMS=-speed 6 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1
    ffmpeg -re -r 25 -i tcp://localhost:8891 ^
    -map 0:0 ^
     -pix_fmt yuv420p ^
     -c:v libvpx-vp9 ^
       -s 800x600 -keyint_min 25 -g 25 %VP9_LIVE_PARAMS% ^
       -f webm_chunk ^
       -header "webm_live/glass_360.hdr" ^
       -chunk_start_index 1 ^
     webm_live\glass_360_%%d.chk ^

    Creating the Manifest :

    ffmpeg ^
     -f webm_dash_manifest -live 1 ^
      -r 25 ^
     -i webm_live/glass_360.hdr ^
     -c copy ^
     -map 0 ^
     -r 25 ^
     -framerate 25 ^
     -f webm_dash_manifest -live 1 ^
       -adaptation_sets "id=0,streams=0" ^
       -chunk_start_index 1 ^
       -chunk_duration_ms 1000 ^
       -time_shift_buffer_depth 7200 ^
       -minimum_update_period 7200 ^
     webm_live/glass_live_manifest.mpd

    Manifest :

    <?xml version="1.0" encoding="UTF-8"?>
    <mpd xmlns="urn:mpeg:DASH:schema:MPD:2011" type="dynamic" minbuffertime="PT1S" profiles="urn:mpeg:dash:profile:isoff-live:2011" availabilitystarttime="2016-03-30T13:02:53Z" timeshiftbufferdepth="PT7200S" minimumupdateperiod="PT7200S">
    <period start="PT0S">
    <adaptationset mimetype="video/webm" codecs="vp9" bitstreamswitching="true" subsegmentalignment="true" subsegmentstartswithsap="1">
    <contentcomponent type="video"></contentcomponent>
    <segmenttemplate timescale="1000" duration="1000" media="glass_$RepresentationID$_$Number$.chk" startnumber="1" initialization="glass_$RepresentationID$.hdr"></segmenttemplate>
    <representation bandwidth="1000000" width="800" height="600" codecs="vp9" mimetype="video/webm" startswithsap="1"></representation>
    </adaptationset>
    </period>
    </mpd>

    Any Ideas how to fix this ?