Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (50)

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7478)

  • ffmpeg cmd not running through nodejs getting error like error initializing filter \'select\' with args \'"not(mod(n\'\n']"

    22 juillet 2019, par Nileshdeora1122

    hello everyone i need your help i’m working on ffmpeg as following by blog post https://contextneutral.com/snippet/how-to-run-ffmpeg-from-inside-of-nodejs
    now i’m doing the same my ffmpeg command running successfully on the terminal but not working with nodejs.
    basicaly i’m trying to run :

    "ffmpeg -loglevel panic -y -i "video.mp4" -frames 1 -q:v 1 -vf "select=not(mod(n\,40)),scale=-1:120,tile=100x1" video_preview.jpg "

    my nodejs code looklike this :

    let ffmpeg = spawn(
    'ffmpeg', [
    '-i', `${ Inputvideofile }`,
    '-y',
    '-frames',1,
    '-q:v', '1',
    '-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 "  ',
    `${ outpputImgstripe }`
    ]);
    ffmpeg.on('exit', (statusCode) => {
       console.log(statusCode)
     if (statusCode === 0) {
        console.log('conversion successful')
     }
    })
    ffmpeg
     .stderr
     .on('data', (err) => {
       console.log('err:', new String(err))
     })

    module.exports = router;

    The error im getting is :

    Error initializing filter \'select\' with args \'"not(mod(n\'\n']
    err: [String: 'Error reinitializing filters!\nFailed to inject frame into filter network: Invalid argument\nError while processing the decoded data for stream #0:0\n']
    err: [String: 'Conversion failed!\n']
    1

    i think the error is :

    '-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 "  ',

    but don’t know how to solve pls help me

  • ffmpeg 4.1.4 wav to mp3 error of "deprecated pixel format used" [on hold]

    26 août 2019, par yang jia
    [swscaler @ 0xc946d000] deprecated pixel format used, make sure you did set range correctly

    [mp3 @ 0xc9621600] Frame rate very high for a muxer not efficiently supporting it.

       Please consider specifying a lower framerate, a different muxer or -vsync 2

    [auto_resampler_0 @ 0xd8e73be0] [SWR @ 0xc8058000] Output channel layout '6 channels (FLC+BC+SL+SR+TC+TFL)' is not supported

    [auto_resampler_0 @ 0xd8e73be0] Failed to configure output pad on auto_resampler_0

    Error reinitializing filters!

    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0
    --------- beginning of crash
    2019-02-26 16:04:58.368 27737-27737/com.blplayer.jbl.blplayer A/libc: Fatal signal 7 (SIGBUS), code 1, fault addr 0xc5ca in tid 27737 (er.jbl.blplayer)

    cmd

    ffmpeg -i test.wav  -acodec libmp3lame -ar 8000 -ac 2 -y wav2mp3.mp3

    This is the log :

    enter image description here

    then on Mac it success egg
    ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3

    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from ’input.wav’ :
    Metadata :
    encoder : Lavf58.20.100
    Duration : 00:02:08.29, bitrate : 256 kb/s
    Stream #0:0 : Audio : pcm_s16le (1[0][0][0] / 0x0001), 8000 Hz, stereo, s16, 256 kb/s
    Stream mapping :
    Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))

    Output #0, mp3, to ’output.mp3’ :
    Metadata :
    TSSE : Lavf58.31.104
    Stream #0:0 : Audio : mp3 (libmp3lame), 44100 Hz, stereo, s16p, 192 kb/s
    Metadata :
    encoder : Lavc58.55.101 libmp3lame

    but on android it gets error

  • Connection timed out RTSP stream exited with error"

    30 septembre 2019, par fw08

    I am building an web application on AWS Cloud that requires to stream a recorded/live video over the global network. I purchased an IP camera(GV-AVD4710) and NVR(GV-SNVR0811) for our application. In future I need to stream no. of cameras on my application.

    While Camera in use With NVR, I have connected the NVR in our local network and the camera at channel_1 of NVR. Now the lets assume NVR is getting an IP of 192.168.1.203. So for rtsp streaming URL for channel_1 will be "rtsp://id:password@192.168.1.203:554/ch1" as per manufacturer’s specification. For camera streaming I am using "ffmpeg" multimedia framework (https://github.com/xpcrts/Steaming-IP-Camera-Nodejs ). So it is working fine. I tested it and working well in local network. Code that is running on the server

    Stream = require('node-rtsp-stream')
    stream = new Stream({
       name: 'name',
       streamUrl: 'rtsp://ID:PASSWORD@abcxyz.com:554/ch1',
       wsPort:3000,
       ffmpegOptions: {
           '-stats': '',
           '-r': 30
       }
    })

    and Code running at client side which is independent of any plug-ins

    <div>
          <canvas width="auto" height="auto"></canvas>
          <code class="echappe-js">&lt;script type=&quot;text/javascript&quot; src='http://stackoverflow.com/feeds/tag/jsmpeg.min.js'&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;<br />
               var canvas = document.getElementById('chanel1');<br />
               var websocket = new WebSocket(&quot;ws://34.202.222.188:3000&quot;);<br />
               var player= new jsmpeg(websocket, {canvas:canvas, autoplay:true, loop:true})<br />
          &lt;/script&gt;

    When I made this IP address available for public, and then the problem begins. It is not working and giving an error :

    "[tcp @ 0x563911f0a340] Connection to tcp://192.168.1.205:554?timeout=0 failed: Connection timed out
    rtsp://admin:admin@192.168.1.205: Connection timed out RTSP stream exited with error"

    In Camera Without NVR, I connected camera directly to our local network and so got an rtsp url like rtsp ://id:password@192.168.1.205/media/video1. Same happens again. Works well in local, but not working when I am making this available on public network.

    How can stream video over global network ? Is it possible to implement these logic using ffmpeg multimedia framework ? Does VLC can help in these cases ?

    I would like to reiterate that, In future there are no. of cameras needs to be stream.

Boussole SPIP

SPIP.net-La documentation officielle et téléchargement de (...) SPIP Code-La documentation du code de SPIP Programmer SPIP-La documentation pour développer avec (...) Traduire SPIP-Espace de traduction de SPIP et de ses (...) Plugins SPIP-L'annuaire des plugins SPIP SPIP-Contrib-L'espace des contributions à SPIP Forge SPIP-L'espace de développement de SPIP et de ses (...) Discuter sur SPIP-Les nouveaux forums de la communauté (...) SPIP Party-L'agenda des apéros et autres rencontres (...) Médias SPIP-La médiathèque de SPIP SPIP Syntaxe-Tester l'édition de texte dans SPIP