Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (111)

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

  • 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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (11982)

  • Ffmpeg stream stops after a couple of seconds

    28 juin 2019, par Connor Woodford

    I have an http stream of an mkv file that I am trying to transcode to mp4 via ffmpeg. Here is the command I enter to start the stream ffmpeg -i "input.mkv" -f mpeg1video -vf "scale=640:480" -r 20 "http://localhost:port". The stream starts fine. Here is what the stream gives me at first :

    Metadata:
         title           : Chapter 17
       Stream #0:0(eng): Video: mpeg1video, yuv420p, 640x480 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 24 fps, 24 tbn, 24 tbc
       Metadata:
         BPS-eng         : 31632108
         DURATION-eng    : 02:03:42.289875000
         NUMBER_OF_FRAMES-eng: 177957
         NUMBER_OF_BYTES-eng: 29347831113
         SOURCE_ID-eng   : 001011
         _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.2 win(x64-release)
         _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-18 22:53:22
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
         encoder         : Lavc58.31.102 mpeg1video
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    frame=  111 fps=0.0 q=6.2 size=     212kB time=00:00:04.54 bitrate= 382.2kbits/s speed=8.82x

    but after this shows up it hangs for a while then it gives me this :

    av_interleaved_write_frame(): Unknown errorime=00:00:05.24 bitrate= 788.3kbits/s speed=10.5x
    Error writing trailer of http://192.168.1.19:4012: Error number -10054 occurred
    frame=  128 fps=1.1 q=12.1 Lsize=     646kB time=00:00:05.84 bitrate= 905.0kbits/s speed=0.0487x
    video:343kB audio:274kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.639489%
    [http @ 000001cb1fdac780] URL read error:  -10054
    Conversion failed!

    Here is my http server in node.js :

    const express = require('express')
    const port = port
    var ffmpeg = require('ffmpeg');
    var http = require('http')

    var server = http.createServer(function(req, res) {
       res.writeHead(200, {'Content-Type': 'video/mp4'});
    })

    server.listen(port, 'ipAddress')
    console.log(`Example app on port ${port}!`);
  • No such filter : '"' Error initializing complex filters [duplicate]

    28 juin 2019, par sachin

    This question already has an answer here :

    I am trying add some text on video, but I am getting :

    No such filter:
     Error initializing complex filters.
     Invalid argument

    Below command using for adding text -

    In Java :

    String complexCommand = "ffmpeg -i "+ savedVideoFilePath +" -filter_complex \"[0:v][1:v]overlay=10:10,drawtext=text="+"'"+ timestamp +"'" + "\""+ " -c:a copy -movflags +faststart " +output_path;

    In string format :

    ffmpeg -i /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/sample.mp4 -filter_complex "[0:v][1:v]overlay=10:10,drawtext=text='12-08-2019_11:00pm'" -c:a copy -movflags +faststart /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/output_1052019163054.mp4
    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
         built with gcc 4.8 (GCC)
         configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
         libavutil      55. 17.103 / 55. 17.103
         libavcodec     57. 24.102 / 57. 24.102
         libavformat    57. 25.100 / 57. 25.100
         libavdevice    57.  0.101 / 57.  0.101
         libavfilter     6. 31.100 /  6. 31.100
         libswscale      4.  0.100 /  4.  0.100
         libswresample   2.  0.101 /  2.  0.101
         libpostproc    54.  0.100 / 54.  0.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/com.rs.vir.debug/files/appname/videos/sample.mp4':
         Metadata:
           major_brand     : mp42
           minor_version   : 0
           compatible_brands: isommp42
           creation_time   : 2019-06-10 10:18:21
           com.android.version: 8.1.0
         Duration: 00:00:12.18, start: 0.000000, bitrate: 2176 kb/s
           Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x480, 1920 kb/s, SAR 1:1 DAR 3:2, 16.66 fps, 16.67 tbr, 90k tbn, 180k tbc (default)
           Metadata:
             rotate          : 90
             creation_time   : 2019-06-10 10:18:21
             handler_name    : VideoHandle
           Side data:
             displaymatrix: rotation of -90.00 degrees
           Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
           Metadata:
             creation_time   : 2019-06-10 10:18:21
             handler_name    : SoundHandle
       [AVFilterGraph @ 0xe772d080] No such filter: '"'
       Error initializing complex filters.
       Invalid argument

    Anything I need to add or change command, give me any idea ?

  • Shaka Player : ignore empty AdaptationSet

    24 juin 2019, par Mitya

    I’m trying to play DASH stream in Shaka Player.
    Sometimes the stream doesn’t have an audio source and its manifest file contains an empty AdaptationSet entry.
    In this case Shaka Player returns the manifest parsing error :

    | DASH_EMPTY_ADAPTATION_SET | 4003 | number |  The DASH Manifest contained an AdaptationSet with no Representations. |

    Is it possible to ignore this error somehow and play the video without audio source ?

    Example of manifest file :

    <?xml version="1.0" encoding="utf-8"?>
    <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" minimumupdateperiod="PT4S" suggestedpresentationdelay="PT4S" availabilitystarttime="2019-06-24T13:38:04Z" publishtime="2019-06-24T13:38:34Z" timeshiftbufferdepth="PT14.9S" minbuffertime="PT9.9S">
       <programinformation>
           
       </programinformation>
       <period start="PT0.0S">
           <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">
               <representation mimetype="video/mp4" codecs="avc1.640028" bandwidth="2000000" width="1920" height="1080" framerate="20/1">
                   <segmenttemplate timescale="10240" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="5">
                       <segmenttimeline>
                           <s t="201697" d="51190" r="2"></s>
                       </segmenttimeline>
                   </segmenttemplate>
               </representation>
           </adaptationset>
           <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">
           </adaptationset>
       </period>
    </mpd>