Recherche avancée

Médias (91)

Autres articles (87)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (13342)

  • Truncated videos in multi input multi output ffmpeg command

    1er août 2019, par Bhupendra Fatnani

    I am trying to copy videos from a CCTV DVR server (6 channels) using rtsp. How do I optimize my ffmpeg command ?

    Below is the configuration :

    ffmpeg version : ffmpeg-4.1.4-win64-static
    CPU : Intel Core i7-8650U @1.9 GHz 2.11 GHz
    RAM : 16 GB

    When I try to download from 3 channels, the videos seem to download fine, but when I use >=4 channels simultaneously, the video from channel 1 truncates almost after about 5 secs, and the output files are much smaller from channel 2 to 4, channel 5 video output has no issues.

    For e.g. here are the output file sizes according to channels.

    Channel 1 : 1.7 MB (truncated)
    Channel 2 : 27.5 MB (approx 5 secs video loss in the beginning)
    Channel 3 : 28.5 MB (approx 3-4 secs loss)
    channel 4 : 29.5 MB (approx 2 secs loss)
    Channel 5 : 30 MB (no issues found)

    Below is the command I am trying to use to download.

    ffmpeg -rtsp_transport tcp -thread_queue_size 1024 -i rtsp://<input url="url" 1="1" /> -thread_queue_size 1024 -i rtsp://<input url="url" 2="2" /> -thread_queue_size 1024 -i rtsp://<input url="url" 3="3" /> -thread_queue_size 1024 -i rtsp://<input url="url" 4="4" /> -thread_queue_size 1024 -i rtsp://<input url="url" 5="5" /> -map 0 -vcodec copy -t 60 -y outputfile1.mp4 -map 1 -vcodec copy -t 60 -y outputfile2.mp4 -map 2 -vcodec copy -t 60 -y outputfile3.mp4 -map 3 -vcodec copy -t 60 -y outputfile4.mp4 -map 4 -vcodec copy -t 60 -y outputfile5.mp4

    Below is the actual output :

    ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190716
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, rtsp, from 'rtsp://<input url="url" title="title" n="n" />A, start: 0.080000, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
    [udp @ 000001f27c6fffc0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 000001f27c74f400] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 000001f27c721f40] max delay reached. need to consume packet
    [rtsp @ 000001f27c721f40] RTP: missed 15 packets
    [h264 @ 000001f27d627ac0] error while decoding MB 71 49, bytestream -6
    [h264 @ 000001f27d627ac0] concealing 2258 DC, 2258 AC, 2258 MV errors in P frame
    [h264 @ 000001f27d627ac0] Increasing reorder buffer to 1
    Input #1, rtsp, from 'rtsp://<input url="url" title="title" n="n" />A, start: 0.040000, bitrate: N/A
       Stream #1:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
    [udp @ 000001f27c6ffc40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 000001f27d2dc180] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 000001f27d2db700] max delay reached. need to consume packet
    [rtsp @ 000001f27d2db700] RTP: missed 15 packets
    [h264 @ 000001f27d2dbd00] concealing 7337 DC, 7337 AC, 7337 MV errors in P frame
    [h264 @ 000001f27d2dbd00] Increasing reorder buffer to 1
    Input #2, rtsp, from '<input url="url" title="title" n="n" />A, start: 0.080000, bitrate: N/A
       Stream #2:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
    [udp @ 000001f27c6ffd00] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 000001f27d302bc0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 000001f27cfe9200] max delay reached. need to consume packet
    [rtsp @ 000001f27cfe9200] RTP: missed 44 packets
    [h264 @ 000001f27cfe6c40] error while decoding MB 41 24, bytestream -8
    [h264 @ 000001f27cfe6c40] concealing 5288 DC, 5288 AC, 5288 MV errors in P frame
    [h264 @ 000001f27cfe6c40] Increasing reorder buffer to 1
    Input #3, rtsp, from '<input url="url" title="title" n="n" />A, start: 0.080000, bitrate: N/A
       Stream #3:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
    [udp @ 000001f27cfe0940] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 000001f27dd1bec0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 000001f27daaf040] max delay reached. need to consume packet
    [rtsp @ 000001f27daaf040] RTP: missed 107 packets
    [h264 @ 000001f27dc05040] concealing 1340 DC, 1340 AC, 1340 MV errors in P frame
    [rtsp @ 000001f27daaf040] max delay reached. need to consume packet
    [rtsp @ 000001f27daaf040] RTP: missed 28 packets
    [h264 @ 000001f27dc05040] Increasing reorder buffer to 1
    [h264 @ 000001f27dc05040] concealing 6961 DC, 6961 AC, 6961 MV errors in P frame
    [rtsp @ 000001f27daaf040] max delay reached. need to consume packet
    [rtsp @ 000001f27daaf040] RTP: missed 53 packets
    [h264 @ 000001f27dc05040] error while decoding MB 16 40, bytestream -18
    [h264 @ 000001f27dc05040] concealing 3393 DC, 3393 AC, 3393 MV errors in I frame
    Input #4, rtsp, from 'rtsp://<input url="url" title="title" n="n" />A, start: 0.120000, bitrate: N/A
       Stream #4:0: Video: h264 (High), yuv420p(progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
    Output #0, mp4, to 'outputfile1.mp4':
     Metadata:
       title           : -
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 tbr, 90k tbn, 90k tbc
    Output #1, mp4, to 'outputfile2.mp4':
     Metadata:
       title           : -
       encoder         : Lavf58.20.100
       Stream #1:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 tbr, 90k tbn, 90k tbc
    Output #2, mp4, to 'outputfile3.mp4':
     Metadata:
       title           : -
       encoder         : Lavf58.20.100
       Stream #2:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 tbr, 90k tbn, 90k tbc
    Output #3, mp4, to 'outputfile4.mp4':
     Metadata:
       title           : -
       encoder         : Lavf58.20.100
       Stream #3:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 tbr, 90k tbn, 90k tbc
    Output #4, mp4, to 'outputfile5.mp4':
     Metadata:
       title           : -
       encoder         : Lavf58.20.100
       Stream #4:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 25 tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #1:0 (copy)
     Stream #2:0 -> #2:0 (copy)
     Stream #3:0 -> #3:0 (copy)
     Stream #4:0 -> #4:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 000001f27dd0d8c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001f27dd09040] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001f27dd09040] pts has no value
    [mp4 @ 000001f27dc054c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001f27dc054c0] pts has no value
    [mp4 @ 000001f27ddf86c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001f27ddf86c0] pts has no value
    [mp4 @ 000001f27c743b00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001f27c743b00] pts has no value
    [mp4 @ 000001f27dd0d8c0] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27dd09040] Non-monotonous DTS in output stream 1:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27dc054c0] Non-monotonous DTS in output stream 2:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27ddf86c0] Non-monotonous DTS in output stream 3:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27c743b00] Non-monotonous DTS in output stream 4:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27dd09040] Non-monotonous DTS in output stream 1:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27dc054c0] Non-monotonous DTS in output stream 2:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27ddf86c0] Non-monotonous DTS in output stream 3:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
    [mp4 @ 000001f27c743b00] Non-monotonous DTS in output stream 4:0; previous: 1, current: 0; changing to 2. This may result in incorrect timestamps in the output file.
    [rtsp @ 000001f27d2db700] max delay reached. need to consume packet
    [rtsp @ 000001f27d2db700] RTP: missed 1644 packets
    [rtsp @ 000001f27c721f40] max delay reached. need to consume packet
    [rtsp @ 000001f27c721f40] RTP: missed 2461 packets
    [rtsp @ 000001f27cfe9200] max delay reached. need to consume packet
    [rtsp @ 000001f27cfe9200] RTP: missed 733 packets
    frame=   46 fps=0.8 q=-1.0 Lq=-1.0 q=-1.0 q=-1.0 q=-1.0 size=    1790kB time=00:00:59.99 bitrate= 244.4kbits/s speed=1.04x
    video:119011kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Could somebody please help me optimize the ffmpeg command ?

  • Anomalie #4364 : MYSQL 5.7 - Erreurs avec les dates à 0

    2 août 2019, par cedric -

    Mais le problème principal c’est qu’on utilise aussi des dates floues de type 2019-06-00 ou meme 2019-00-00 quand le jour ou le mois ne sont pas connus.
    Ce n’est pas accepté non plus par le mode strict de mySQL mais pour le coup c’est bien plus compliqué à gérer pour ne pas perdre la feature
    Chez moi j’ai changé le sql mode par défaut dans le my.ini (ou équivalent mariaDB)

  • Anomalie #4276 : fonctions non définies dans porte_plume_pipelines.php

    24 janvier 2019, par François Palangié

    Bonjour,

    Vous avez raison c’est la version 1.18.3 que j’ai maintenant, 1.18.1
    devait être le numéro de version avant que je réinstalle la dernière
    version de SPIP.

    Le problème était le même avec la 18.1.1 et la 18.1.3 . Le problème est
    intervenu un matin sans que j’ai rien changé, je suppose que c’est mon
    hébergeur qui a changé l’environnement et que c’est la cause du
    problème... mais c’est curieux que cela produise ce type d’erreur !

    Cordialement,

    François

    Le 24/01/2019 à 12:59, a écrit :

    La demande #4276 <https://core.spip.net/issues/4276#change-14694> a
    été mise à jour par Franck D .

    • Statut changé de /Nouveau/ à /Fermé/

    Hello :-)
    Spip 3.2.3 est dispo avec la version 1.18.3 de porte plume
    https://zone.spip.net/trac/spip-zone/browser/spip-zone/_core_/tags/spip-3.2.3/plugins/porte_plume/paquet.xml#L4
    J’ai vérifier le zip et c’est bien le cas
    https://files.spip.net/spip/archives/SPIP-v3.2.3.zip !
    Vous êtes sûr de la version que vous avez ?
    Franck


    Anomalie #4276 : fonctions non définies dans
    porte_plume_pipelines.php
    <https://core.spip.net/issues/4276#change-14694>

    • Auteur : François Palangié
    • Statut : Fermé
    • Priorité : Normal
    • Assigné à :
    • Catégorie :
    • Version cible :
    • Resolution :
    • Navigateur :

    Environnement :

    Problème :
    Le site fonctionne, mais quand on tente d’accéder à la partie
    privée on a ce message d’erreur, qui persiste même après une
    réinstallation de SPIP :
    Fatal error : Uncaught Error : Call to undefined function barre_outils_css_icones() in /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php:152
    Stack trace :
    #0 /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php(129) : porte_plume_insert_head_css(’

    &lt;script type=&quot;t...', true)&lt;br /&gt;&lt;a class=&quot;issue tracker-1 status-5 priority-4 priority-default closed&quot; title=&quot;Anomalie: Document distant .zip uploadés et non gardés distants (Fermé)&quot; href=&quot;https://core.spip.net/issues/1&quot;&gt;#1&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/ecrire/inc/utils.php(199): porte_plume_insert_head_prive_css('&lt;script type=&quot;t...')&lt;br /&gt;&lt;a class=&quot;issue tracker-1 status-5 priority-4 priority-default closed&quot; title=&quot;Anomalie: Filtres sur chaines de langues de nouveau cassés (Fermé)&quot; href=&quot;https://core.spip.net/issues/2&quot;&gt;#2&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/tmp/cache/charger_pipelines.php(596): minipipe('porte_plume_ins...', '&lt;script type=&quot;t...')&lt;br /&gt;&lt;a class=&quot;issue tracker-1 status-5 priority-3 priority-lowest closed&quot; title=&quot;Anomalie: problème de gestion de cache lors de l'installation de SPIP (Fermé)&quot; href=&quot;https://core.spip.net/issues/3&quot;&gt;#3&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/ecrire/inc/utils.php(265): execute_pipeline_header_prive_css('&lt;script type=&quot;t...')&lt;br /&gt;&lt;a class=&quot;issue tracker-2 status-5 priority-4 priority-default closed&quot; title=&quot;Evolution: forum privé-&gt;public (Fermé)&quot; href=&quot;https://core.spip.net/issues/4&quot;&gt;#4&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/tmp/cache/skel/html_c44cf6e196e37af7575f04c7aba04247.php(72): pipeline('header_prive_cs...', '&lt;script type=&quot;t...')&lt;br /&gt;&lt;a class=&quot;issue tracker-2 status-5 priority-4 priority-default closed&quot; title=&quot;Evolution: traduction francophone de la zone utilisant Trac (Fermé)&quot; href=&quot;https://core.spip.net/issues/5&quot;&gt;#5&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/ecrire/public/parametrer.php(128): html_c44cf6e196e37af7575f04c7aba04247(Array, Array)&lt;br /&gt;&lt;a class=&quot;issue tracker-1 status-5 priority-4 priority-default closed&quot; title=&quot;Anomalie: Renseigner les champs &quot;component&quot;, &quot;version&quot;, .. (Fermé)&quot; href=&quot;https://core.spip.net/issues/6&quot;&gt;#6&lt;/a&gt; /var/www/vhosts/voyart.org/httpdocs/ecr in /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php on line 152&lt;/p&gt;<br />
    <br />
    <br />
            &lt;p&gt;Le problème est contourné en renommant le répertoire &lt;br /&gt;plugin-dist/porteplume&lt;br /&gt;Le problème ne dépend pas du navigateur firefox, edge, chrome&lt;br /&gt;Aucun problème sur le SPIP de développement installé avec &lt;br /&gt;EasyPHP-devserver sur mon ordinateur perso&lt;/p&gt;<br />
    <br />
    <br />
    &lt;hr /&gt;<br />
    <br />
    <br />
            &lt;p&gt;Vous recevez ce mail car vous êtes impliqués sur ce projet.&lt;br /&gt;Pour changer les préférences d'envoi de mail, allez sur &lt;br /&gt;&lt;a class=&quot;external&quot; href=&quot;http://core.spip.net/my/account&quot;&gt;http://core.spip.net/my/account&lt;/a&gt;&lt;/p&gt;<br />
    <br />
    <br />
    &lt;/blockquote&gt;<br />
    <br />
            &lt;p&gt;---&lt;br /&gt;Cet email a fait l'objet d'une analyse antivirus par AVG.&lt;br /&gt;&lt;a class=&quot;external&quot; href='http://www.avg.com/'&gt;http://www.avg.com&lt;/a&gt;&lt;/p&gt;