Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (67)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (7405)

  • Could not write header for output file #0 (incorrect codec parameters ?) : Broken pipe

    23 mai 2020, par Laura

    I'm trying to generate audio waveform from an mp4 file as described here : https://github.com/bbc/audiowaveform.

    



    My mp4 file looks like

    



    <?xml version="1.0" encoding="UTF-8"?>


    



    http://www.w3.org/2001/XMLSchema-instance' ;>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


    



    <format filename="/cache/1268.mp4" duration="40.112000" size="10610125">&#xA;    <tag key="major_brand" value="isom"></tag>&#xA;    <tag key="minor_version" value="512"></tag>&#xA;    <tag key="compatible_brands" value="isomiso2avc1mp41"></tag>&#xA;    <tag key="encoder" value="Lavf58.20.100"></tag>&#xA;</format>&#xA;

    &#xA;&#xA;

    &#xA;&#xA;

    I wrote this command line :&#xA;/ffmpeg-4.1.1/ffmpeg -i /cache/1268.mp4 -map 0:1 -f wav - | /opt/audiowaveform/audiowaveform —input-format wav —pixels-per-second 25 -b 16

    &#xA;&#xA;

    But it fails with the folliwing error :&#xA;Could not write header for output file #0 (incorrect codec parameters ?) : Broken pipe&#xA;Error initializing output stream 0:0 —&#xA;Conversion failed !

    &#xA;&#xA;

    Complete log is :

    &#xA;&#xA;

            ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers&#xA;      built with gcc 8 (Debian 8.3.0-6)&#xA;      configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg&#xA;      libavutil      56. 31.100 / 56. 31.100&#xA;      libavcodec     58. 54.100 / 58. 54.100&#xA;      libavformat    58. 29.100 / 58. 29.100&#xA;      libavdevice    58.  8.100 / 58.  8.100&#xA;      libavfilter     7. 57.100 /  7. 57.100&#xA;      libswscale      5.  5.100 /  5.  5.100&#xA;      libswresample   3.  5.100 /  3.  5.100&#xA;      libpostproc    55.  5.100 / 55.  5.100&#xA;    Error: unrecognised option &#x27;--input-format&#x27;&#xA;    See &#x27;/opt/audiowaveform/audiowaveform --help&#x27; for available options&#xA;    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/cache/1268.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : isom&#xA;        minor_version   : 512&#xA;        compatible_brands: isomiso2avc1mp41&#xA;        title           : Big Buck Bunny - test 8&#xA;        encoder         : Lavf57.72.101&#xA;        comment         : Matroska Validation File 8, secondary audio commentary track, misc subtitle tracks&#xA;      Duration: 00:00:46.07, start: 0.000000, bitrate: 2111 kb/s&#xA;        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 1908 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)&#xA;        Metadata:&#xA;          handler_name    : VideoHandler&#xA;        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)&#xA;        Metadata:&#xA;          handler_name    : SoundHandler&#xA;        Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 67 kb/s&#xA;        Metadata:&#xA;          handler_name    : SoundHandler&#xA;    Stream mapping:&#xA;      Stream #0:1 -> #0:0 (aac (native) -> pcm_s16le (native))&#xA;    Press [q] to stop, [?] for help&#xA;    Could not write header for output file #0 (incorrect codec parameters ?): Broken pipe&#xA;    Error initializing output stream 0:0 --&#xA;    Conversion failed!&#xA;

    &#xA;&#xA;

    Can anyone help me ?

    &#xA;&#xA;

    Note : I read the answer here ffmpeg Could not write header for output file #0 but I need to preserve audio codec.

    &#xA;

  • ffmpeg : transmission problems / artifacts in rtsp screen grab - might be a WiFi problem

    1er décembre 2022, par Jo Kerner

    In short : Is there a way to "force" ffmpeg to not save a grabbed frame if there are transmission problems ? Or any other software that does the same and I just don't know of ?

    &#xA;

    Long story :

    &#xA;

    Updating my house surveillance from almost 10 years old DCS-932L cameras to Tapo C100 Cameras, I changed the image delivery method from ftp push to rtsp grab via ffmpeg.

    &#xA;

    I had written a program in C++ to check for "bad" pictures from the old cameras, where parts of the picture tended to be simply black once every minute or so (I'm grabbing a pic every 2 seconds). The Tapo C100 doesn't feature ftp-push, thus I tried (after a few days trying)

    &#xA;

    ffmpeg.exe -y -i rtsp://user:pass@10.0.0.%ld:554/stream1 -vframes 1 %scamera\rtsp.jpg -loglevel quiet&#xA;

    &#xA;

    This works absolutely perfect in my main house, which features a Fritz !Box 7590 and a set of Fritz !Powerline (510/and two 540e) repeaters, plus one WiFi repeater Fritz 600) as my phone line and the router are in the basement.

    &#xA;

    In my holiday home, though, it doesn't. The Wifi is managed by a Hybrid DSL/5G - box I have no alternative to, which is a Huawei DN9245W and works as DHCP Server, because this is almost impossible to change. Everything "real" is managed by another Fritz !Box 7590, connected via ethernet, and another set of Fritz !Powerline 510 and two 540e repeaters plus half a dozen Wifi Repeaters, mostly Fritz ! 310, 450E and 600. The house was partially built with local stones, which are very iron-y, and there's a lot of metallized glass. Full set is show in Image

    &#xA;

    Now, this does produce different artifacts, about two per minute or in every 15th picture, see&#xA;Image with artifacts No. 1

    &#xA;

    Thinking this might be a transmission problem, I tried forcing the streamgrab via TCP, because while rtsp doesn't have error correction, TCP does :

    &#xA;

    ffmpeg.exe -rtsp_transport tcp -i&#xA;rtsp://user:pass@10.0.0.%ld:554/stream1 -y -f image2 -update 1 -r&#xA;1 -vframes 1 -qscale:v 30 %scamera\rtsp.jpg -loglevel quiet&#xA;

    &#xA;

    Which didn't change the artifacts much, see Image with artifacts No. 2

    &#xA;

    The house now has a total of 12 Cameras, six of which are each "managed" by an older Dell Optiplex Desktop bought used off ebay with an i3 or i5 processor from about 2015, which goes to about 65% load. My software will check if the grabbed picture is finished saving (to RAMdisk), rename it, check if there are artifacts, if so, drop it, if not, convert to bitmap and then compare it to previous image, guess if there's a change, mark that change with a rhombus and rate it, save that as a jpeg file, and then some other stuff that's not relevant here. See : Image of my program running with six cameras

    &#xA;

    I did try grabbing keyframes only, but a bunny or deer or burglar hopping through my property doesn't produce a keyframe, so that turned out to be missing the point.

    &#xA;

    I'm out of ideas here. It does work flawlessly in the main house. It doesn't in the holiday house. I can hardly install more repeaters ; I already tried mesh and not-mesh, and the problem isn't exactly wifi overload, because even with just one camera running, it still persists. In certain places. Some have no problems. Reasons ? No clue. I really hope someone has a good idea.

    &#xA;

  • How to ffmpeg command execution in ffmpeg4android app

    3 février 2014, par Sanket990

    If i m using ffmpeg4android Play store app and executing command for video trim but they are not working i m using below command for trimming

    ffmpeg -i /sdcard/vide.mp4 -ss 00:10:00 -t 00:12:00 -async 1 /sdcard/cut.mp4

    Above Command Execute but not showing file cut.mp4 in sdcard .if you know another way for video trimming then show me example or link Thanks in Advance

    If i m running this command showing Logcat

    Looks like Vk log is not increasing in size
    /sdcard/vide.mp4 : No such file or directory
    I m already add file in sdcard path