Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (59)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (6593)

  • Issue when streaming some TV channels threw ffMpeg

    7 octobre 2016, par Raphael Serievic

    I am trying to stream a TV Tuner feed with ffMpeg through udp.

    The ffMpeg command line I use is the following :

    ffmpeg.exe -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profile:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576-b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/

    Where :

    • 1317 is the program id (channel)
    • 10.150.112.107 is where I want to stream the TV channel
    • 239.255.255.9 is where I receive the original TV channel’s feed from my TV Tuner

    My problem is that with some program IDs it is working and with some others it is not : it is working with 1572 ("channel 10 hd") but not with 1317 ("7flix Sydney").

    The output of this command-line for channel 1572 (where it works) is the following :

    C:\Program Files (x86)\Tuner Manager\ServerModule> ffmpeg.exe
    -i udp://@239.255.255.7:1234 -map 0:p:1572:0 -profile:v baseline -crf 30 -prese
    t ultrafast -vcodec libx264 -r 25 -vf scale=720:576 -    b:v 500k -f rtp udp://1
    0.150.112.107:15048/ -map 0:p:1572:1 -acodec pcm_mulaw -strict experimental -ar
    8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
    ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      54. 23.101 / 54. 23.101
     libavcodec     56. 37.100 / 56. 37.100
     libavformat    56. 31.102 / 56. 31.102
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [NULL @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
       Last message repeated 2 times
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
       Last message repeated 3 times
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
       Last message repeated 3 times
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 2 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 3 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 4 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 5 (Unknow
    n: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 8 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 9 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 10 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 14 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 15 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 16 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 25 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 26 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 27 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 29 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 30 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 31 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'udp://@239.255.255.7:1234':
     Duration: N/A, start: 64984.698511, bitrate: N/A
     Program 1569
       Metadata:
         service_name    : ONE
         service_provider: TEN Sydney
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
       Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
       Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
     Program 1573
       Metadata:
         service_name    : TEN Digital
         service_provider: TEN Sydney
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
       Stream #0:17[0x200]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:18[0x28a](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 256 kb/s
       Stream #0:19[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
     Program 1574
       Metadata:
         service_name    : TVSN
         service_provider: TEN Sydney
       Stream #0:6[0x206]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
       Stream #0:28[0x2b2](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 192 kb/s
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:29[0x3eb]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:30[0x3f5]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:31[0x3ff]: Unknown: none ([12][0][0][0] / 0x000C)
     Program 1575
       Metadata:
         service_name    : ONE
         service_provider: TEN Sydney
       Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
       Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
     Program 1576
       Metadata:
         service_name    : ELEVEN
         service_provider: TEN Sydney
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:8[0x3e9]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:9[0x3f3]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:10[0x3fd]: Unknown: none ([12][0][0][0] / 0x000C)
       Stream #0:11[0x204]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:12[0x2a9](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 192 kb/s
       Stream #0:13[0x242](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
     Program 1577
       Metadata:
         service_name    : SpreeTV
         service_provider: TEN Sydney
       Stream #0:0[0x208]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
       Stream #0:1[0x2bc](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stere
    o, s16p, 192 kb/s
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:3[0x3ec]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:4[0x3f6]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:5[0x400]: Unknown: none ([12][0][0][0] / 0x000C)
     Program 1572
       Metadata:
         service_name    : TEN HD
         service_provider: TEN Sydney
       Stream #0:20[0x1ff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv
    , bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:21[0x289](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side
    ), fltp, 448 kb/s
       Stream #0:22[0x23f](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
    [NULL @ 0000000005af6de0] Unable to find a suitable output format for 'pipe:'
    pipe:: Invalid argument

    The output of this command-line for channel 1317 (where it does not works) is the following :

    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.
    C:\Users\Administrator.TMC>"C:\Program Files (x86)\Tv Tuner Mana
    ger\ServerModule\ffmpeg.exe" -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profi
    le:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576
    -b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -
    strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
    ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      54. 23.101 / 54. 23.101
     libavcodec     56. 37.100 / 56. 37.100
     libavformat    56. 31.102 / 56. 31.102
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [NULL @ 0000000004789600] non-existing PPS 0 referenced
    [h264 @ 0000000004789600] decode_slice_header error
    [h264 @ 0000000004789600] no frame!
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [NULL @ 000000000472a060] non-existing PPS 0 referenced
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
    [h264 @ 0000000004789600] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0000000004789600] decode_slice_header error
    [h264 @ 0000000004789600] no frame!
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
       Last message repeated 2 times
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [mpegts @ 0000000004710020] Could not find codec parameters for stream 3 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0000000004710020] Could not find codec parameters for stream 4 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'udp://@239.255.255.9:1234':
     Duration: N/A, start: 77183.898689, bitrate: N/A
     Program 1312
       Metadata:
         service_name    : 7 Sydney
         service_provider: Seven Network
       Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
       Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 256 kb/s
       Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1313
       Metadata:
         service_name    : 7 Sydney
         service_provider: Seven Network
       Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
       Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 256 kb/s
       Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1314
       Metadata:
         service_name    : 7TWO Sydney
         service_provider: Seven Network
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:18[0x221]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:10[0x222](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
       Stream #0:5[0x224](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1315
       Metadata:
         service_name    : 7mate Sydney
         service_provider: Seven Network
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:13[0x231]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:15[0x232](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 256 kb/s
       Stream #0:12[0x234](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1316
       Metadata:
         service_name    : 7HD Sydney
         service_provider: Seven Network
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:6[0x241]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 19
    20x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:16[0x243](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, ster
    eo, fltp, 384 kb/s
       Stream #0:8[0x244](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1317
       Metadata:
         service_name    : 7flix Sydney
         service_provider: Seven Network
       Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:11[0x251]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 12500 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
       Stream #0:9[0x253](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 128 kb/s
       Stream #0:14[0x254](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 1320
       Metadata:
         service_name    : RACING.COM
         service_provider: Seven Network
       Stream #0:7[0x281]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 64
    0x576 [SAR 8:5 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:17[0x282](eng): Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011
    ), 48000 Hz, stereo, fltp
       Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
    Cannot map stream #0:3 - unsupported type.

    Thanks for your help

  • Segmenting an audio stream or audio only file

    15 janvier 2013, par Luuk D. Jansen

    There is need for an audio only link for HTTP-live streaming. I now use the segmenter in FFMPEG for the video, and that works great. However, when giving an audio-file the segmenter does not seem to work, just creates one segment.

    The call to FFMPEG for the segmentation is :

    ffmpeg -i data/media/1/2/encoded.mp3 -y -c copy -flags global_header
    -map 0 -f segment -segment_time 10 -segment_list data/media/1/2/fileList.txt -segment_format libmp3lame
    data/media/1/2/segment_%05d.mp3

    I did put as the -segment_format 'libmp3lame' in, but it doesn't seem to make a difference.

    The first step is the encoding, this is the bedbug output :

    20:11:36,158 DEBUG ~ FFMPEG: ffmpeg version 0.10.2.git-d3d5e84 Copyright (c) 2000-2012 the FFmpeg developers
    20:11:36,158 DEBUG ~ FFMPEG:   built on May  2 2012 19:00:38 with clang 3.0 (tags/Apple/clang-211.10.1)
    20:11:36,158 DEBUG ~ FFMPEG:   configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm
    20:11:36,158 DEBUG ~ FFMPEG:   libavutil      51. 44.100 / 51. 44.100
    20:11:36,158 DEBUG ~ FFMPEG:   libavcodec     54. 12.100 / 54. 12.100
    20:11:36,158 DEBUG ~ FFMPEG:   libavformat    54.  3.100 / 54.  3.100
    20:11:36,158 DEBUG ~ FFMPEG:   libavdevice    53.  4.100 / 53.  4.100
    20:11:36,158 DEBUG ~ FFMPEG:   libavfilter     2. 66.101 /  2. 66.101
    20:11:36,158 DEBUG ~ FFMPEG:   libswscale      2.  1.100 /  2.  1.100
    20:11:36,158 DEBUG ~ FFMPEG:   libswresample   0. 10.100 /  0. 10.100
    20:11:36,158 DEBUG ~ FFMPEG:   libpostproc    52.  0.100 / 52.  0.100
    20:11:36,162 DEBUG ~ FFMPEG: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'data/media/1/1/test.m4a':
    20:11:36,162 DEBUG ~ FFMPEG:   Metadata:
    20:11:36,162 DEBUG ~ FFMPEG:     major_brand     : mp42
    20:11:36,162 DEBUG ~ FFMPEG:     minor_version   : 1
    20:11:36,163 DEBUG ~ FFMPEG:     compatible_brands: mp42mp41
    20:11:36,163 DEBUG ~ FFMPEG:     creation_time   : 2011-12-07 18:53:04
    20:11:36,163 DEBUG ~ FFMPEG:   Duration: 00:00:24.20, start: 0.000000, bitrate: 40 kb/s
    20:11:36,163 DEBUG ~ FFMPEG:     Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, s16, 39 kb/s
    20:11:36,163 DEBUG ~ FFMPEG:     Metadata:
    20:11:36,163 DEBUG ~ FFMPEG:       creation_time   : 2011-12-07 18:53:04
    20:11:36,163 DEBUG ~ FFMPEG:       handler_name    : Apple Sound Media Handler
    20:11:36,170 DEBUG ~ FFMPEG: [mpegts @ 0x7fe4c404d000] muxrate VBR, pcr every 4 pkts, sdt every 200, pat/pmt every 40 pkts
    20:11:36,171 DEBUG ~ FFMPEG: Output #0, mpegts, to '/Users/Luuk/Documents/Java/idoms-server/data/media/1/2/encoded.mp3':
    20:11:36,171 DEBUG ~ FFMPEG:   Metadata:
    20:11:36,171 DEBUG ~ FFMPEG:     major_brand     : mp42
    20:11:36,171 DEBUG ~ FFMPEG:     minor_version   : 1
    20:11:36,171 DEBUG ~ FFMPEG:     compatible_brands: mp42mp41
    20:11:36,171 DEBUG ~ FFMPEG:     creation_time   : 2011-12-07 18:53:04
    20:11:36,171 DEBUG ~ FFMPEG:     encoder         : Lavf54.3.100
    20:11:36,171 DEBUG ~ FFMPEG:     Stream #0:0(eng): Audio: mp3, 48000 Hz, stereo, s16, 64 kb/s
    20:11:36,171 DEBUG ~ FFMPEG:     Metadata:
    20:11:36,171 DEBUG ~ FFMPEG:       creation_time   : 2011-12-07 18:53:04
    20:11:36,171 DEBUG ~ FFMPEG:       handler_name    : Apple Sound Media Handler
    20:11:36,171 DEBUG ~ FFMPEG: Stream mapping:
    20:11:36,171 DEBUG ~ FFMPEG:   Stream #0:0 -> #0:0 (aac -> libmp3lame)
    20:11:36,171 DEBUG ~ FFMPEG: Press [q] to stop, [?] for help
    20:11:36,673 DEBUG ~ FFMPEG: size=     109kB time=00:00:12.79 bitrate=  69.5kbits/s    
    20:11:37,156 DEBUG ~ FFMPEG: size=     209kB time=00:00:24.24 bitrate=  70.7kbits/s    
    20:11:37,156 DEBUG ~ FFMPEG: video:0kB audio:190kB global headers:0kB muxing overhead 10.301383%

    Then the next is the segmentation (version 0.10.2 cannot do both at the same time yet) :

    20:11:37,211 DEBUG ~ FFMPEG: ffmpeg version 0.10.2.git-d3d5e84 Copyright (c) 2000-2012 the FFmpeg developers
       20:11:37,212 DEBUG ~ FFMPEG:   built on May  2 2012 19:00:38 with clang 3.0 (tags/Apple/clang-211.10.1)
       20:11:37,212 DEBUG ~ FFMPEG:   configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm
       20:11:37,212 DEBUG ~ FFMPEG:   libavutil      51. 44.100 / 51. 44.100
       20:11:37,212 DEBUG ~ FFMPEG:   libavcodec     54. 12.100 / 54. 12.100
       20:11:37,212 DEBUG ~ FFMPEG:   libavformat    54.  3.100 / 54.  3.100
       20:11:37,212 DEBUG ~ FFMPEG:   libavdevice    53.  4.100 / 53.  4.100
       20:11:37,212 DEBUG ~ FFMPEG:   libavfilter     2. 66.101 /  2. 66.101
       20:11:37,212 DEBUG ~ FFMPEG:   libswscale      2.  1.100 /  2.  1.100
       20:11:37,212 DEBUG ~ FFMPEG:   libswresample   0. 10.100 /  0. 10.100
       20:11:37,212 DEBUG ~ FFMPEG:   libpostproc    52.  0.100 / 52.  0.100
       20:11:37,226 DEBUG ~ FFMPEG: [mpegts @ 0x7fccc2049800] max_analyze_duration 5000000 reached at 5016000
       20:11:37,226 DEBUG ~ FFMPEG: Input #0, mpegts, from '/Users/Luuk/Documents/Java/idoms-server/data/media/1/2/encoded.mp3':
       20:11:37,226 DEBUG ~ FFMPEG:   Duration: 00:00:24.12, start: 1.376978, bitrate: 71 kb/s
       20:11:37,226 DEBUG ~ FFMPEG:   Program 1
       20:11:37,226 DEBUG ~ FFMPEG:     Metadata:
       20:11:37,226 DEBUG ~ FFMPEG:       service_name    : Service01
       20:11:37,226 DEBUG ~ FFMPEG:       service_provider: FFmpeg
       20:11:37,226 DEBUG ~ FFMPEG:     Stream #0:0[0x100](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 64 kb/s
       20:11:37,226 DEBUG ~ FFMPEG: Output #0, segment, to '/Users/Luuk/Documents/Java/idoms-server/data/media/1/2/segment_%05d.mp3':
       20:11:37,226 DEBUG ~ FFMPEG:   Metadata:
       20:11:37,226 DEBUG ~ FFMPEG:     encoder         : Lavf54.3.100
       20:11:37,226 DEBUG ~ FFMPEG:     Stream #0:0(eng): Audio: mp3 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 64 kb/s
       20:11:37,226 DEBUG ~ FFMPEG: Stream mapping:
       20:11:37,226 DEBUG ~ FFMPEG:   Stream #0:0 -> #0:0 (copy)
       20:11:37,226 DEBUG ~ FFMPEG: Press [q] to stop, [?] for help
       20:11:37,238 DEBUG ~ FFMPEG: size=       0kB time=00:00:24.28 bitrate=   0.0kbits/s    
       20:11:37,238 DEBUG ~ FFMPEG: video:0kB audio:190kB global headers:0kB muxing overhead -100.000000%
  • live video streaming not playing on dash.js player using ffmpeg, nginx-rtmp in raspberry pi

    15 août 2016, par sparks

    I am trying to stream a live video from raspberry pi & pi camera module to web browser.But the video doesn’t play.I am using Nginx-rtmp and ffmpeg to process the video. On the client side i use dash js player trying to play the video but no luck.I see the warning on the terminal

    [flv @ 0x2c3b950] Failed to update header with correct duration.
    [flv @ 0x2c3b950] Failed to update header with correct filesize.

    But i am not sure if this could be the issue. Anybody knows what might be wrong ?I don’t expect a straight answer but i am sure somebody can guide me in the right direction. Thank you in advance. Here is my set up

    Nginx.conf

    events {
     worker_connections  1024;
    }


    http     {
           include       mime.types;
           default_type  application/octet-stream;


    sendfile        on;

    keepalive_timeout  65;

    server {
       listen       80;
       server_name 192.168.1.114 localhost;
       location / {
           root   /var/www;
           index  index.html index.htm;
       }


       location /dash {
           root /var/www;
           add_header Cache-Control no-cache;
       }

        location /dash.js{
           root /var/www;
         }

        location /hls {
          types {
           application/vnd.apple.mpegurl m3u8;
           video/mp2t ts;
         }

         root /var/www;
         index index.html;
         add_header Cache-Control no-cache;
       }

       location /rtmpcontrol{
           rtmp_control all;
        }

       location /rtmpstat{
           rtmp_stat all;
        }

       #error_page  404              /404.html;


              error_page   500 502 503 504  /50x.html;
       location = /50x.html {
           root   html;
       }

          }
    rtmp {
      server {
       listen 1935;

       chunk_size 4000;

       application rtmp {
           live on;
           hls on;
           dash on;
           dash_path /var/www/dash;
           hls_path /var/www/hls;
       }
     }
    }

    baseline.html

       
       
       
       

       
       

       
       

       
       <code class="echappe-js">&lt;script src='http://stackoverflow.com/feeds/tag/dash.all.js'&gt;&lt;/script&gt;
    &lt;script&gt;<br />
           function getUrlVars() {<br />
               var vars = {};<br />
               var parts = window.location.href.replace(/[?&amp;amp;]+([^=&amp;amp;]+)=([^&amp;amp;]*)/gi, function(m,key,value) {<br />
                   vars[key] = value;<br />
               });<br />
               return vars;<br />
           }<br />
    <br />
           function startVideo() {<br />
               var vars = getUrlVars(),<br />
                   url = &quot;http://192.168.1.114:80/dash/stream.mpd&quot;,<br />
                   video,<br />
                   context,<br />
                   player;<br />
    <br />
               if (vars &amp;amp;&amp;amp; vars.hasOwnProperty(&quot;url&quot;)) {<br />
                   url = vars.url;<br />
               }<br />
    <br />
               video = document.querySelector(&quot;.dash-video-player video&quot;);<br />
               context = new Dash.di.DashContext();<br />
               player = new MediaPlayer(context);<br />
    <br />
               player.startup();<br />
    <br />
               player.attachView(video);<br />
               player.setAutoPlay(false);<br />
    <br />
               player.attachSource(url);<br />
           }<br />
       &lt;/script&gt;

    &lt;body onload=&quot;startVideo()&quot;&gt;

    How i grab and push video stream

    raspivid -w 640 -h 480 -fps 25 -t 0 -b 1800000 -o - | ffmpeg -y -f h264 -i - -vcodec libx264  -f flv -rtmp_buffer 100 -rtmp_live live rtmp://localhost:1935/rtmp/stream

    When i run the above command, i see the following on the terminal

       ffmpeg version N-81256-gd3426fb Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration: --enable-gpl --enable-libx264 --enable-nonfree
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 51.100 / 57. 51.100
     libavformat    57. 44.100 / 57. 44.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 49.100 /  6. 49.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 640x480, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    [tcp @ 0x2c3c850] Connection to tcp://localhost:1935 failed (Connection refused), trying next address
    [libx264 @ 0x2c50d80] using cpu capabilities: ARMv6 NEON
    [libx264 @ 0x2c50d80] profile High, level 3.0
    [libx264 @ 0x2c50d80] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [flv @ 0x2c3b950] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, flv, to 'rtmp://localhost:1935/rtmp/stream':
     Metadata:
       encoder         : Lavf57.44.100
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x480, q=-1--1, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.51.100 libx264
       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) -> h264 (libx264))
    ^Cmmal: Aborting program.0 size=     930kB time=00:00:45.44 bitrate= 167.7kbits/s speed=1.03x    

    [flv @ 0x2c3b950] Failed to update header with correct duration.
    [flv @ 0x2c3b950] Failed to update header with correct filesize.
    frame= 1197 fps= 26 q=-1.0 Lsize=     976kB time=00:00:47.76 bitrate= 167.5kbits/s speed=1.04x    
    video:953kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.484349%
    [libx264 @ 0x2c50d80] frame I:5     Avg QP:18.91  size:  3600
    [libx264 @ 0x2c50d80] frame P:299   Avg QP:21.38  size:  1486
    [libx264 @ 0x2c50d80] frame B:893   Avg QP:20.62  size:   574
    [libx264 @ 0x2c50d80] consecutive B-frames:  0.4%  0.0%  1.0% 98.6%
    [libx264 @ 0x2c50d80] mb I  I16..4: 10.1% 87.1%  2.8%
    [libx264 @ 0x2c50d80] mb P  I16..4:  3.8%  7.4%  0.0%  P16..4: 34.2%  2.1%  1.5%  0.0%  0.0%    skip:51.0%
    [libx264 @ 0x2c50d80] mb B  I16..4:  0.2%  0.3%  0.0%  B16..8: 20.1%  0.4%  0.0%  direct: 3.8%  skip:75.1%  L0:48.6% L1:50.9% BI: 0.6%
    [libx264 @ 0x2c50d80] 8x8 transform intra:68.1% inter:97.0%
    [libx264 @ 0x2c50d80] coded y,uvDC,uvAC intra: 10.1% 27.5% 1.8% inter: 2.0% 12.9% 0.1%
    [libx264 @ 0x2c50d80] i16 v,h,dc,p: 18% 20%  9% 53%
    [libx264 @ 0x2c50d80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 11% 58%  2%  2%  1%  2%  1%  1%
    [libx264 @ 0x2c50d80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 26% 30%  3%  4%  4%  6%  2%  2%
    [libx264 @ 0x2c50d80] i8c dc,h,v,p: 66% 18% 15%  1%
    [libx264 @ 0x2c50d80] Weighted P-Frames: Y:1.7% UV:1.3%
    [libx264 @ 0x2c50d80] ref P L0: 58.2%  2.2% 25.5% 14.1%  0.1%
    [libx264 @ 0x2c50d80] ref B L0: 81.7% 13.3%  5.0%
    [libx264 @ 0x2c50d80] ref B L1: 93.6%  6.4%
    [libx264 @ 0x2c50d80] kb/s:162.87
    Exiting normally, received signal 2.

    On my var/www/dash directory

    stream-0.m4a  stream-19200.m4a  stream-29200.m4a  
    stream-9600.m4a    stream-init.m4a  stream.mpd      stream-raw.m4v
    stream-0.m4v  stream-19200.m4v  stream-29200.m4v  stream-9600.m4v    stream-init.m4v  stream-raw.m4a