Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (113)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (4134)

  • Revision 120902 : Constructeur de formulaire : ne pas passer les afficher_si à ...

    31 janvier 2020, par root — Log

    Constructeur de formulaire : ne pas passer les afficher_si à l’affichage des saisies.
    - De toute facon on n’en pas besoin
    - Le transformateur de condition va peter un cable et produire des
    conditions invalide du style data-afficher-si="||" lorsque la saisie est
    configurée avec un afficher_si de type ’&lt ;test&gt ; || &lt ;test2&gt ;’
    - et du coup si jamais on a un afficher_si dans la description yaml
    d’un type de saisie/de verification, elle ne marchera pas (ex. avec la
    verification des types mimes de fichier)

  • building ffmpeg with openh264 configure results in h264 decoder DISabled ?

    7 juillet 2018, par hal497

    I’ve got openh264, built from source, installed locally,

    pkg-config --libs --cflags openh264
           -I/usr/local/include -L/usr/local/lib64 -lopenh264

    Building ffmpeg from src

    cd ffmpeg-git
       git checkout origin/release/4.0
       git clean -xfd
       git reset --hard
       git pull
       git log | head
           commit b5106c5aa2ddd00f0c0452432ba8e683a9a06b6f
           Author: Aman Gupta <aman@tmm1.net>
           Date:   Mon Jun 11 00:43:31 2018 -0700

               avformat/mpegts: parse large PMTs with multiple tables

               In 9152c1e4955, the mpegts parser was taught how to parse
               PMT sections which contained multiple tables. That commit
               fixed parsing of PMT packets from some cable providers,
               which included a special SCTE table (0xc0) before the

    with a simple config to ENABLE libopenh264 use

    ./configure --enable-ffmpeg \
    --prefix=/usr/local --libdir=/usr/local/lib64 \
    --enable-shared --disable-static --enable-rpath \
    --enable-libopenh264 --disable-libx264
    make

    checking the build

    ldd ./ffmpeg | egrep "h264|x264"
       (empty)

    there are mixed references to libopenh264 and libx264 (despite my config),

    for l in lib*/*so; do echo $l; ldd $l | egrep "264"; done
       libavcodec/libavcodec.so
               libopenh264.so.4 => /usr/local/lib64/libopenh264.so.4 (0x00007f82dd74d000)
       libavdevice/libavdevice.so
               libx264.so.152 => /usr/lib64/libx264.so.152 (0x00007f0575c6f000)
       libavfilter/libavfilter.so
               libx264.so.152 => /usr/lib64/libx264.so.152 (0x00007f85bae41000)
       libavformat/libavformat.so
               libx264.so.152 => /usr/lib64/libx264.so.152 (0x00007ff105701000)
       libavutil/libavutil.so
       libswresample/libswresample.so
       libswscale/libswscale.so

    and

    ./ffmpeg -decoders | grep h264

    shows h264 as a disabled decoder, (... —enable-libx264 —disable-libopenh264 ...)

    ffmpeg version n4.0.1-5-gb5106c5aa2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 8 (SUSE Linux)
     configuration: --enable-ffmpeg --prefix=/usr/local --libdir=/usr/local/lib64 --enable-shared --disable-static --enable-optimizations --enable-rpath --disable-doc --enable-nonfree --enable-libopenh264 --disable-libx264
     WARNING: library configuration mismatch
     avutil      configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     avcodec     configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     avformat    configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     avdevice    configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     avfilter    configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     swscale     configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     swresample  configuration: --prefix=/usr/local --libdir=/usr/local/lib64 --extra-cflags='-grecord-gcc-switches -g -fPIC -I/usr/include/gsm' --disable-static --enable-shared --disable-stripping --enable-optimizations --disable-debug --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-devices --disable-htmlpages --disable-doc --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --disable-libopenh264 --enable-libfdk-aac --enable-libmp3lame --enable-runtime-cpudetect --enable-postproc --enable-bzlib --enable-swresample --disable-avresample --enable-ladspa --enable-muxers --enable-demuxers --enable-encoders --disable-encoder= --enable-decoders --disable-decoder= --enable-protocol=http --disable-libpulse --enable-pthreads --enable-pic --enable-zlib --disable-mipsdsp --disable-mipsdspr2 --disable-openssl --enable-gnutls --disable-cuda --enable-vaapi --enable-vdpau --enable-libcdio --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-inline-asm --enable-x86asm
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
    VFS..D h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    V..... h264_v4l2m2m         V4L2 mem2mem H.264 decoder wrapper (codec h264)

    The question is — why ? And what needs to change so that libopenh264 is consistently & correctly used ?

  • Why does my Blink based browser play hide and seek ?

    21 janvier 2016, par Caius Jard

    We have a C# tool (that I wrote) that records online broadcasts taking place a custom written (that we wrote) flash app. (There are no DRM or copyright issues here.)

    We’ve coded up a system whereby this tool is installed on a Windows Server 2012 R2 Amazon AWS instance. After we boot the instance, the tool loads, waits for the right time to start recording, launches a browser and passes the command line argument of the URL to access the broadcast. The browser will then load the flash app and the interview audio and video will start arriving at the browser instance on AWS

    By way of a virtual audio cable driver, screen / audio capture directshow filters and ffmpeg a screen recording is taken. The C# tool calls ffmpeg and ffmpeg will record the screen reliably for the entire interview, then the tool shuts the whole thing down

    The problem I’m having is that both Chrome and Electron browser sometimes simply don’t draw themselves on the screen so all ffmpeg ends up recording is a blank desktop and the audio of the broadcast (hence, the browser IS running)

    We found this out when recordings started turning up with X hours of merely recording the windows desktop and the tool’s main window with a countdown timer.

    A screenshotting facility was built into the tool and added to its web control interface, and this way we can test whether the browser is visible - a human looks at the screenshot of every broadcast, just after recording has started (the browser is supposed to be on show by this time)

    We notice that 50% of the time, the browser isn’t drawing itself on screen. By 50% I mean that every other recording that the AWS instance carries out, will be blank : AWS starts, records ok, shuts down. AWS starts again an hour later for a different broadcast, recording is blank, shuts down.. Starts/ok/shutdown. Starts/blank/shutdown. Repeat ad infinitum

    What’s even more strange is that if I run VNCviewer on my dev machine and connect up to an instance that is having a problem, the instant that the VNC connection is up and the remote desktop is showing on my screen, the browser suddenly appears as if nothing was ever wrong. A screenshot from before the VNC connect shows blank desktop, connect VNC, take another screenshot and the browser is there. All through it the audio is fine - the browser connected to the boadcast is fine, for sure

    It’s as though Chrome/Electron thinks "you know what, noone is looking at me so I’m not going to bother drawing myself". No screen saver is set, though the power plan has the setting "turn off the display after 15 minutes".

    Perhaps Chrome/Electron have a test amounts to "if the display is off, don’t draw". I can’t explain the inconsistency though - the recorder launches at least 1 hour before it’s needed, and sits there idle until it’s time to start the browser. You’d hence imagine that the "power off the monitor after 15 mins" setting would reliably have ensured the "monitor" is "off" by the time every recording start comes around

    This behaviour doesn’t happen with any of the other browsers (but unfortunately the app doesn’t and cannot work in them because it uses some weird chrome-only technology/API).

    Can anyone suggest anything to look at to help debug this, or anything I can build into the C# tool to overcome the problem ? Coding it up to connect to itself via VNC for a few seconds after it has launched the browser.. Well that just tastes nasty.

    Naturally, as soon as I connect to the machine via VNC (rather than RDP - RDP isn’t usable because the recording context is in a logged on session for a particular user) the problem goes away, which makes it frustratingly hard to debug.