Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (69)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

Sur d’autres sites (12214)

  • Error while trying to stream higer resolution using ffmpeg and jsmpeg

    11 avril 2017, par trojek

    I try to do a prof of concept of streaming webcam in browser using jsmpeg. It works perfect when I use code from the documentation which is as follows :

    ffmpeg \
       -f v4l2 \
           -framerate 25 -video_size 640x480 -i /dev/video0 \
       -f mpegts \
           -codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 \
       http://localhost:8081/supersecret

    My webcam supports resolutions, framerates and formats as in code below :

    [video4linux2,v4l2 @ 0x2655360] Compressed:       mjpeg :          Motion-JPEG : 1920x1080 1280x720 1024x768 640x480 800x600 1280x1024 320x240
    [video4linux2,v4l2 @ 0x2655360] Raw       :     yuyv422 :           YUYV 4:2:2 : 1920x1080 1280x720 1024x768 640x480 800x600 1280x1024 320x240

    While I change in above code the resolution from 640x480 to e.g. 1024x768, I get an error :

    [mpeg1video @ 0x110f4e0] MPEG1/2 does not support 10/1 fps
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I assume that camera driver change number of fps and MPEG1/2 doesn’t support that numer of fps.
    Probably I get from camera raw data (yuyv422) and it can’t play it with higer framerate when e.f. 10 for 1024x768.
    How Can I modify ffmped execution code in order to stream video in Full HD resulution ?

  • configure : arm : Don't add -march= to the compiler if no preference was passed

    20 septembre 2021, par Martin Storsjö
    configure : arm : Don't add -march= to the compiler if no preference was passed
    

    If no —cpu= option was passed to configure, we detect what the
    compiler defaults to. This detected value was then fed back to the
    rest of the configure logic, as if it was an explicit choice.

    This breaks on Ubuntu 21.10 with GCC 11.1.

    Since GCC 8, it's possible to add configure extra features via the
    - march option, like e.g. -march=armv7-a+neon. If the -mfpu= option
    is configured to default to 'auto', the fpu setting gets taken
    from the -march option.

    GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This
    has the effect of breaking any compilation command that specifies
    - march=armv7-a, because the driver implicitly also adds -mfloat-abi=hard,
    and that combination results in this error :

    cc1 : error : ‘-mfloat-abi=hard’ : selected processor lacks an FPU

    One can compile successfully by passing e.g. -march=armv7-a+fp.

    Therefore, restructure configure. If no specific preference was set
    (and the 'cpu' configure variable was set as the output of
    probe_arm_arch), the value we tried to set via -march= was the same
    value that we just tried to detect as the compiler default.

    So instead, just try to detect what the compiler defaults to, with
    to allow setting other configure settings (such as 'fast_unaligned'),
    but don't try to spell out the compiler's default via the -march flag.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] configure
  • FFMPEG hwaccel convert WEBM to MP4 video failed : could not find codec parameters

    1er juillet 2020, par Yen Nguyen

    I use FFMPEG to convert webm videos into mp4 format using a Nvidia GPU GeoForce GTX 1660 card on Windows 10. It has worked perfectly since the beginning for few months but now it's stopped working with strange error as below :

    &#xA;&#xA;

    [h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;

    &#xA;&#xA;

    FFMPEG version and Nvidia driver version are the same as before it just crashed overnight without a clue. I tried Googling around and did update to the latest ffmpeg version as well Nvidia driver version but it still doesn't help.&#xA;If I switch to CPU decoder (without hwaccel arg) using libx264 it just works fine.

    &#xA;&#xA;

    Environment Windows 10 64bit | ffmpeg version git-2020-04-15-51db0a4 (latest) | Nvidia GeForce GTX 1660, &#xA; - Geoforce Game Ready Driver version:445.87 Release Date Apr 15, 2020

    &#xA;&#xA;

     ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i big-buck-bunny-trailer.webm -c:v h264_nvenc output.mp4&#xA;&#xA;ffmpeg version git-2020-04-15-51db0a4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[h264 @ 0000013d8b5eee00] missing picture in access unit with size 431&#xA;[extract_extradata @ 0000013d8b6aef40] No start code is found.&#xA;big-buck-bunny-trailer.webm: could not find codec parameters&#xA;WARNING: defaulting hwaccel_output_format to cuda for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format cuda".&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, matroska,webm, from &#x27;big-buck-bunny-trailer.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : http://sourceforge.net/projects/yamka&#xA;    creation_time   : 2010-05-20T08:21:12.000000Z&#xA;  Duration: 00:00:32.48, bitrate: N/A&#xA;    Stream #0:0(eng): Video: h264, none, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)&#xA;    Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono (default)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))&#xA;  Stream #0:1 -> #0:1 (vorbis (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 66&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1339&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1908&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2123&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2504&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2294&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2684&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2468&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2622&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2867&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2737&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 3017&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2556&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 7811&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1880&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1722&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2309&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1215&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2080&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1775&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2247&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1782&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1945&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1529&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1807&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2015&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1568&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2159&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1861&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2397&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1627&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2364&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1821&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2282&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2068&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1699&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2129&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2268&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2197&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1981&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2169&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2888&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1600&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2958&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1518&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2738&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2319&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2421&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2841&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 1949&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2422&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2288&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2559&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2403&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2257&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2573&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2320&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2231&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2408&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2415&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2194&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2697&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2480&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2256&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2245&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2519&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2203&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2332&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2341&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2439&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2201&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2882&#xA;[NULL @ 0000013d8b5eee00] missing picture in access unit with size 2467&#xA;Too many packets buffered for output stream 0:1.&#xA;[aac @ 0000013d8b6bf5c0] Qavg: 115.929&#xA;[aac @ 0000013d8b6bf5c0] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    Does anyone know how to fix it, i am getting stuck for few days ?&#xA;Much appreciated !

    &#xA;