Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (102)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8694)

  • FFmpeg in Docker container not capturing frames

    6 juin 2022, par Ben Whitely

    I need to capture some frames over ethernet so decided to use FFmpeg.

    


    I managed to get it working and capturing on my host before I moved into working inside my Docker containers.

    


    If I run the command on my host, this is the output that I see :

    


    ╰─$ ffmpeg -y -i udp://@:15004 -r 10 -frames:v 1 frame.png
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[h264 @ 0x55ba0869d440] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x55ba0869d440] decode_slice_header error
[h264 @ 0x55ba0869d440] no frame!
[h264 @ 0x55ba0869d440] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x55ba0869d440] decode_slice_header error
[h264 @ 0x55ba0869d440] no frame!
[h264 @ 0x55ba0869d440] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x55ba0869d440] decode_slice_header error
[h264 @ 0x55ba0869d440] no frame!
Input #0, mpegts, from 'udp://@:15004':
  Duration: N/A, start: 905.464878, bitrate: N/A
  Program 1 
    Stream #0:0[0x11]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 640x512, 60 fps, 60 tbr, 90k tbn, 120 tbc
    Stream #0:1[0x21]: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'frame.png':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: png, rgb24, 640x512, q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata:
      encoder         : Lavc58.54.100 png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed=1.23x    
video:399kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown


    


    However, when I try to run the exact same command inside my docker container, it looks like it tries to do something but never progress beyond this point to capture the frame.

    


    vinden75lr           | ffmpeg version 4.3.4-0+deb11u1 Copyright (c) 2000-2021 the FFmpeg developers
vinden75lr           |   built with gcc 10 (Debian 10.2.1-6)
vinden75lr           |   configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
vinden75lr           |   libavutil      56. 51.100 / 56. 51.100
vinden75lr           |   libavcodec     58. 91.100 / 58. 91.100
vinden75lr           |   libavformat    58. 45.100 / 58. 45.100
vinden75lr           |   libavdevice    58. 10.100 / 58. 10.100
vinden75lr           |   libavfilter     7. 85.100 /  7. 85.100
vinden75lr           |   libavresample   4.  0.  0 /  4.  0.  0
vinden75lr           |   libswscale      5.  7.100 /  5.  7.100
vinden75lr           |   libswresample   3.  7.100 /  3.  7.100
vinden75lr           |   libpostproc    55.  7.100 / 55.  7.100


    


    This is the code that actually executes the command, possible I'm doing something wrong here ? This was a very quick and dirty implementation, just wanted to confirm I could capture a frame before doing anything else.

    


        void VindenCamera::save_image_to_file(){
        std::string filename;

        SPDLOG_INFO("Creating image filename {}", filename);
        create_filename(filename);

        std::string ffmpeg_still_frame_command("ffmpeg -y -i udp://@:15004 -r 10 -frames:v 1 " + filename);

        system(ffmpeg_still_frame_command.c_str());
    }


    


  • youtube-dl sometime hangs with "[ffmpeg] Correcting container"

    20 mai 2018, par user292344

    Ubuntu 16.04

    /usr/local/bin/youtube-dl --version
    2018.05.09

    I have a bash script that attemts to download a youtube video. The output is below. The problem is that sometimes it works perfectly (completes quickly).
    But most of the time it hangs on "Correcting container....". Does anyone know why ?

    + /usr/local/bin/youtube-dl --verbose -x 'https://www.youtube.com/watch?v=8HVWitAW-Qg'

    [debug] System config: []

    [debug] User config: []

    [debug] Custom config: []

    [debug] Command-line args: [u'--verbose', u'-x', u'https://www.youtube.com/watch?v=8HVWitAW-Qg']

    [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8

    [debug] youtube-dl version 2018.05.09

    [debug] Python version 2.7.12 (CPython) - Linux-4.4.0-124-generic-x86_64-with-Ubuntu-16.04-xenial

    [debug] exe versions: avconv 2.8.14-0ubuntu0.16.04.1, avprobe 2.8.14-0ubuntu0.16.04.1, ffmpeg 2.8.14-0ubuntu0.16.04.1, ffprobe 2.8.14-0ubuntu0.16.04.1, rtmpdump 2.4

    [debug] Proxy map: {}

    [youtube] 8HVWitAW-Qg: Downloading webpage

    [youtube] 8HVWitAW-Qg: Downloading video info webpage

    [youtube] 8HVWitAW-Qg: Extracting video information

    [debug] Invoking downloader on u'https://r5---sn-5uaeznkl.googlevideo.com/videoplayback?expire=1526159728&source=youtube&key=yt6&mime=audio%2Fmp4&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cusequic%2Cexpire&keepalive=yes&lmt=1518142590597815&dur=231.131&mv=m&mt=1526137933&ms=au%2Conr&signature=18BB34F3716B412AC5757872DD2AF402B6EE20D2.43D2E68B5A5ED2E2D3076DF9264B9BB723484821&ip=71.81.217.251&c=WEB&initcwndbps=1583750&mn=sn-5uaeznkl%2Csn-p5qs7n7l&clen=3671757&gir=yes&id=o-AOxj8Rg2IuZek8KwvgPy-N7_FSGzxQ0Zl2HX1T4gepLf&ipbits=0&fvip=5&ei=EAX3WqbOH8fg4QSlkrGoAg&pl=20&mm=31%2C26&itag=140&usequic=no&requiressl=yes&ratebypass=yes'

    [download] Destination: Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a

    [download] 100% of 3.50MiB in 00:00

    [ffmpeg] Correcting container in "Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a"

    [debug] ffmpeg command line: avconv -y -i 'file:Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a' -c copy -f mp4 'file:Top 10 cute kitten videos compilation-8HVWitAW-Qg.temp.m4a'

    ^C
    ERROR: Interrupted by user
  • Anomalie #3477 (Nouveau) : Info sur la taille max des images disparue

    9 juin 2015, par Franck Dalot

    Bonjour
    SPIP 3.1.0-beta SVN [22207]
    Windows 8.1 Firefox 38.0.5

    Je viens de faire le test sur un spip neuf amis aussi sur grml.eu
    Contexte
    Je vais dans ecrire/ ?exec=configurer_avancees
    Je clique sur l’image "GD2"

    En dessous, j’ai un "OK" qui s’affiche en face de "Spip va tester la taille maximale des images qu’il peut traiter (en millions de pixels)." (normal)
    Par contre en fasse la ligne :
    "Les images plus grandes ne seront pas réduite" j’ai rien, alors que avant, j’avais le chiffre de la taille max.