Recherche avancée

Médias (91)

Autres articles (75)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8591)

  • Révision 23679 : report de r23678

    20 juillet 2017, par brunobergot@gmail.com

    Bugfix dans recup_date() quand on lui passe une chaîne du type 2017-07

  • Monit not restarting ffmpeg live stream when disconnected

    21 juillet 2017, par digibread

    No matter what I try I cannot get Monit to restart my ffmpeg live stream even though my bash script works from the command line. I start the ffmpeg live stream and all is working. Monit status shows that is ffmpeg is running. I then reboot the camera and the connection is lost, Monit tries to start it with the log file entries below. the config files.
    Here is my setup. Any help is greatly appreciated.

    Monit Status

    Process 'ffmpeg'
    status                       Running
    monitoring status            Monitored
    monitoring mode              active
    on reboot                    start
    pid                          17349
    parent pid                   1
    uid                          0
    effective uid                0
    gid                          0
    uptime                       0m
    threads                      1
    children                     0
    cpu                          0.0%
    cpu total                    0.0%
    memory                       8.3% [40.4 MB]
    memory total                 8.3% [40.4 MB]
    port response time           -
    data collected               Fri, 21 Jul 2017 15:36:31

    My bash file in /etc/init.d/monitoring1.sh

    #!/bin/bash
    pid_file="/var/run/ffmpeg.pid"

    case "$1" in
    restart)
       /etc/init.d/monitoring1.sh stop
       /etc/init.d/monitoring1.sh start
        ;;

    start)
       rm $pid_file
       /usr/bin/ffmpeg -timeout -1 -i rtsp://user:pw@mydomain:port/h264Preview_01_sub http://localhost:8090/monitoring1.ffm &
       ch_pid=$!
       echo "Start Monitoring1: ffmpeg = $ch_pid";
       echo $ch_pid > $pid_file
        ;;

    stop)
       echo "Stop ffmpeg Monitoring1";
       kill `cat $pid_file` &> /dev/null
        ;;
    *)
      echo "Usage: /etc/init.d/streambash.sh {start|stop|restart}"
      exit 1
       ;;
    esac
    exit 0
    echo $pid_file

    My /etc/monit/conf-available/ffmpeg

    check process ffmpeg with pidfile /var/run/ffmpeg.pid
    group nogroup
    start program = "/bin/bash /etc/init.d/monitoring1.sh start"
    stop program = "/bin/bash /etc/init.d/monitoring1.sh stop"
    if failed host localhost port 8090 type tcp with timeout 15 seconds for 5 cycles
      then restart

    /var/log/monit.log

    [UTC Jul 21 15:36:31] info     : 'ffmpeg' process is running with pid 17349
    [UTC Jul 21 15:36:31] debug    : 'ffmpeg' zombie check succeeded
    [UTC Jul 21 15:36:31] debug    : 'ffmpeg' connection test paused for 13 s while the process is starting
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' process is running with pid 17349
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' zombie check succeeded
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' succeeded testing protocol [DEFAULT] at [localhost]:8090 [TCP/IP] [response time 1.152 ms]
    [UTC Jul 21 15:37:01] debug    : 'ffmpeg' connection succeeded to [localhost]:8090 [TCP/IP]
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:43:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' process test failed [pid=17349] -- No such process
    [UTC Jul 21 15:43:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:43:02] debug    : Start Monitoring1: ffmpeg = 17421
    [UTC Jul 21 15:43:02] debug    : 'ffmpeg' started
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:43:32] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' process test failed [pid=17421] -- No such process
    [UTC Jul 21 15:43:32] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:43:32] debug    : Start Monitoring1: ffmpeg = 17430
    [UTC Jul 21 15:43:32] debug    : 'ffmpeg' started
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:44:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17430] -- No such process
    [UTC Jul 21 15:44:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:44:02] debug    : Start Monitoring1: ffmpeg = 17436
    [UTC Jul 21 15:44:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:03] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:03] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:04] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:05] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:06] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:07] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:08] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:09] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:10] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:11] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:12] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:13] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:14] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:15] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:16] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:17] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:18] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:19] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:20] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:21] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:22] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:23] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:24] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:25] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:26] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:27] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:28] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:29] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:30] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:31] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:32] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:44:32] error    : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17436
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] error    : 'ffmpeg' process is not running
    [UTC Jul 21 15:45:02] info     : 'ffmpeg' trying to restart
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] debug    : 'ffmpeg' process test failed [pid=17436] -- No such process
    [UTC Jul 21 15:45:02] info     : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
    [UTC Jul 21 15:45:03] debug    : Start Monitoring1: ffmpeg = 17448
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:03] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:04] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:06] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:07] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:08] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:09] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:10] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:11] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:12] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:13] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:14] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:15] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:16] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:17] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:18] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:19] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:20] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:21] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:22] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:23] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:24] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:25] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:26] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:27] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:28] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:29] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:30] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:31] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:32] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:33] debug    : 'ffmpeg' process test failed [pid=17448] -- No such process
    [UTC Jul 21 15:45:33] error    : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17448
  • WebM live streaming via DASH

    4 juin 2018, par ewack

    I am following the instructions here to try to make WebM live streaming via DASH. My input is from an Axis camera and it is streaming as h264 encoding. I am using node to spin up the ffmpeg processes. I am able to create the .hdr file and the .chk files. The .mpd file is even created but it’s empty and I get an error saying :

    Could not write header for output file #0 (incorrect codec parameters ?): Operation not permittedStream mapping: Stream #0:0 -> #0:0 (copy)

    Here’s all of my code :

    var express = require('express');
    spawn = require('child_process').spawn;

    var app = express();

    app.use(express.static(__dirname + '/public'));

    app.listen(8080);
    console.log("Running on Port 8080");

    var ffmpeg1 = spawn('ffmpeg', [
       '-y',
       //video
       '-i', 'rtsp://admin:password@192.168.1.54:554/axis-media/media.amp?videocodec=h264&resolution=1280x720',

       '-map', '0:0',
       '-pix_fmt', 'yuv420p',
       '-color_range', '2',
       '-c:v', 'libvpx-vp9',

       '-s', '1280x720',
       '-keyint_min', '25',
       '-g', '25',

       // //VP9_LIVE_PARAMS
       '-speed', '6',
       '-tile-columns', '4',
       '-frame-parallel', '1',
       '-threads', '8',
       '-static-thresh', '0',
       '-max-intra-rate', '300',
       '-deadline', 'realtime',
       '-lag-in-frames', '0',
       '-error-resilient', '1',

       '-f', 'webm_chunk',
       '-header', 'public/glass_360.hdr',
       '-chunk_start_index', '1',
       'public/glass_360_%d.chk',
    ]);


    setTimeout(()=> {
     var ffmpeg2 = spawn('ffmpeg', [
       '-y',
       '-f', 'webm_dash_manifest',
       '-live', '1',
       '-i', 'public/glass_360.hdr',
       '-c', 'copy',
       '-map', '0',
       '-r', '25',
       '-framerate', '25',

       '-f', 'webm_dash_manifest',
       '-live', '1',

       '-adaptation_sets', '"id=0,streams=0"',
       '-chunk_start_index', '1',
       '-chunk_duration_ms', '2000',
       '-time_shift_buffer_depth', '7200',
       '-minimum_update_period', '7200',

       'public/glass_live_manifest.mpd'
     ]);
     ffmpeg2.stdout.on('data',
         function (data) {
             console.log('ff2std: ' + data);
         }
     );

     ffmpeg2.stderr.on('data',
         function (data) {
             console.log('ff2err: ' + data);
         }
     );
    }, 5000);

    ffmpeg1.stdout.on('data',
       function (data) {
           console.log('ff1std: ' + data);
       }
    );

    ffmpeg1.stderr.on('data',
       function (data) {
           console.log('ff1err: ' + data);
       }
    );

    Here is all of my output :

    Running on Port 8080
    ff1err: ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda

    ff1err:   libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100

    ff1err: Input #0, rtsp, from 'rtsp://admin:password@192.168.1.54:554/axis-media/media.amp?videocodec=h264&resolution=1280x720':
     Metadata:
       title           : Session streamed with GStreamer
       comment         : rtsp-server
     Duration: N/A, start: 0.033344
    ff1err: , bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 180k tbc

    ff1err: [swscaler @ 0x7f8df281bc00] deprecated pixel format used, make sure you did set range correctly

    ff1err: [libvpx-vp9 @ 0x7f8df2800600] v1.6.1

    ff1err: Output #0, webm_chunk, to 'public/glass_360_%d.chk':
     Metadata:
       title           : Session streamed with GStreamer
       comment         : rtsp-server
       encoder         : Lavf57.56.101

    ff1err:     Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 200 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.64.101 libvpx-vp9
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
    Press [q] to stop, [?] for help

    ff1err: frame=   10 fps=0.0 q=0.0 size=N/A time=00:00:00.36 bitrate=N/A speed=0.71x    
    ff1err: frame=   25 fps= 25 q=0.0 size=N/A time=00:00:00.96 bitrate=N/A speed=0.946x    
    ff1err: frame=   40 fps= 26 q=0.0 size=N/A time=00:00:01.56 bitrate=N/A speed=1.03x    
    ff1err: frame=   55 fps= 27 q=0.0 size=N/A time=00:00:02.16 bitrate=N/A speed=1.07x    
    ff1err: frame=   70 fps= 28 q=0.0 size=N/A time=00:00:02.76 bitrate=N/A speed=1.09x    
    ff1err: frame=   85 fps= 28 q=0.0 size=N/A time=00:00:03.36 bitrate=N/A speed=1.11x    
    ff2err: ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda

    ff2err:   libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100

    ff2err: [webm_dash_manifest @ 0x7fbc5b80b400] Could not find codec parameters for stream 0 (Video: vp9, none, 1280x720): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options

    ff2err: Input #0, webm_dash_manifest, from 'public/glass_360.hdr':
     Metadata:
       title           : Session streamed with GStreamer
       encoder         : Lavf57.56.101
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: vp9, none, 1280x720
    ff2err: , SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
       Metadata:
         webm_dash_manifest_file_name: glass_360.hdr
         webm_dash_manifest_track_number: 1

    ff2err: Could not write header for output file #0 (incorrect codec parameters ?): Operation not permittedStream mapping:
     Stream #0:0 -> #0:0 (copy)

    ff2err:     Last message repeated 1 times

    ff1err: frame=  101 fps= 29 q=0.0 size=N/A time=00:00:04.00 bitrate=N/A speed=1.13x    
    ff1err: frame=  116 fps= 29 q=0.0 size=N/A time=00:00:04.60 bitrate=N/A speed=1.14x    
    ff1err: frame=  131 fps= 29 q=0.0 size=N/A time=00:00:05.20 bitrate=N/A speed=1.15x    
    ff1err: frame=  146 fps= 29 q=0.0 size=N/A time=00:00:05.80 bitrate=N/A speed=1.15x    
    ff1err: frame=  161 fps= 29 q=0.0 size=N/A time=00:00:06.40 bitrate=N/A speed=1.15x    
    ff1err: frame=  177 fps= 29 q=0.0 size=N/A time=00:00:07.04 bitrate=N/A speed=1.16x    
    ff1err: frame=  192 fps= 29 q=0.0 size=N/A time=00:00:07.64 bitrate=N/A speed=1.16x    
    ff1err: frame=  207 fps= 29 q=0.0 size=N/A time=00:00:08.24 bitrate=N/A speed=1.16x    
    ff1err: frame=  222 fps= 29 q=0.0 size=N/A time=00:00:08.84 bitrate=N/A speed=1.17x    
    ff1err: frame=  237 fps= 29 q=0.0 size=N/A time=00:00:09.44 bitrate=N/A speed=1.17x    
    ff1err: frame=  252 fps= 29 q=0.0 size=N/A time=00:00:10.04 bitrate=N/A speed=1.17x  

    Why is ffmpeg creating an empty .mpd file ?