Recherche avancée

Médias (91)

Autres articles (39)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4753)

  • 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

  • Sporadic "Error parsing Cues... Operation not permitted" errors when trying to generate a DASH manifest

    22 novembre 2023, par kshetline

    I have already-generated .webm audio and video files (1 audio, 3 video resolutions for each video I want to stream). The video has been generated not (directly) by ffmpeg, but HandbrakeCLI 1.7.0, with V9 encoding. The audio (which has never caused an error) is generated by ffmpeg using libvorbis.

    


    Most of the time ffmpeg (version 6.1) creates a manifest without any problem. Sporadically, however, "Error parsing Cues" comes up (frequently with the latest videos I've been trying to process) and I can't create a manifest. Since this is happening during an automated process to process many videos for streaming, the audio and video sources are being created exactly the same way whether ffmpeg succeeds or fails in generating a manifest, making this all the more confusing.

    


    The video files ffmpeg chokes on play perfectly well using VLC, and mediainfo doesn't show any problems with these files.

    


    Here's the way I've been (sometimes successfully, sometimes not) generating a manifest, with extra logging added :

    


    ffmpeg -v 9 -loglevel 99 \
  -f webm_dash_manifest -i '.\Sample Video.v480.webm' \
  -f webm_dash_manifest -i '.\Sample Video.v720.webm' \
  -f webm_dash_manifest -i '.\Sample Video.v1080.webm' \
  -f webm_dash_manifest -i '.\Sample Video.audio.webm' \
  -c copy -map 0 -map 1 -map 2 -map 3 \
  -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1,2 id=1,streams=3" \
  '.\Sample Video.mpd'


    


    Here's the result when it fails :

    


    ffmpeg version 6.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webm_dash_manifest'.
Reading option '-i' ... matched as output url with argument '.\Sample Video.v480.webm'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webm_dash_manifest'.
Reading option '-i' ... matched as output url with argument '.\Sample Video.v720.webm'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webm_dash_manifest'.
Reading option '-i' ... matched as output url with argument '.\Sample Video.v1080.webm'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webm_dash_manifest'.
Reading option '-i' ... matched as output url with argument '.\Sample Video.audio.webm'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '2'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '3'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webm_dash_manifest'.
Reading option '-adaptation_sets' ... matched as AVOption 'adaptation_sets' with argument 'id=0,streams=0,1,2 id=1,streams=3'.
Reading option '.\Sample Video.mpd' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url .\Sample Video.v480.webm.
Applying option f (force format) with argument webm_dash_manifest.
Successfully parsed a group of options.
Opening an input file: .\Sample Video.v480.webm.
[webm_dash_manifest @ 000002bbcb41dc80] Opening '.\Sample Video.v480.webm' for reading
[file @ 000002bbcb41e300] Setting default whitelist 'file,crypto,data'
st:0 removing common factor 1000000 from timebase
[webm_dash_manifest @ 000002bbcb41dc80] Error parsing Cues
[AVIOContext @ 000002bbcb41e5c0] Statistics: 102283 bytes read, 4 seeks
[in#0 @ 000002bbcb41dac0] Error opening input: Operation not permitted
Error opening input file .\Sample Video.v480.webm.
Error opening input files: Operation not permitted


    


    This is mediainfo for the offending input file, Sample Video.v480.webm :

    


    General
Complete name                            : .\Sample Video.v480.webm
Format                                   : WebM
Format version                           : Version 2
File size                                : 628 MiB
Duration                                 : 1 h 34 min
Overall bit rate                         : 926 kb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2023-11-21 16:48:35 UTC
Writing application                      : HandBrake 1.7.0 2023111500
Writing library                          : Lavf60.16.100

Video
ID                                       : 1
Format                                   : VP9
Format profile                           : 0
Codec ID                                 : V_VP9
Duration                                 : 1 h 34 min
Bit rate                                 : 882 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.106
Stream size                              : 598 MiB (95%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709


    


    I don't know if I need different command line options, or whether this might be an ffmpeg or Handbrake bug. It has taken many, many hours to generate these video files (VP9 is painfully slow to encode), so I hate to do a lot of this over again, especially doing it again encoding the video with ffmpeg instead of Handbrake, as Handbrake is (oddly enough, considering it uses ffmpeg under the hood) noticeably faster.

    


    I have no idea what these "Cues" are that ffmpeg wants and can't parse, or how I would change them.

    


  • I want to print HLS files using ffmpeg in aws lambda (python)

    14 avril 2021, par 최우선

    I implemented it through the link(https://aws.amazon.com/ko/blogs/media/processing-user-generated-content-using-aws-lambda-and-ffmpeg/) here, and it works well.

    


    s3_source_bucket = event['Records'][0]['s3']['bucket']['name']
s3_source_key = event['Records'][0]['s3']['object']['key']

s3_source_basename = os.path.splitext(os.path.basename(s3_source_key))[0]
s3_destination_filename = s3_source_basename + ".m3u8"

s3_client = boto3.client('s3')
s3_source_signed_url = s3_client.generate_presigned_url('get_object',
    Params={'Bucket': s3_source_bucket, 'Key': s3_source_key},
    ExpiresIn=SIGNED_URL_TIMEOUT)


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls -"
command1 = shlex.split(ffmpeg_cmd)
p1 = subprocess.run(command1, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

resp = s3_client.put_object(Body=p1.stdout, Bucket=S3_DESTINATION_BUCKET, Key=s3_destination_filename)


    


    However, the actual output through ffmpeg is multiple files. For example test.m3u8, test0.ts, test1.ts .....

    


    But when I print p1.stdout, it looks like multiple files (test.m3u8,test0.ts....) are merged into one file.

    


    Is there a way to get the actual output multiple files (test.m3u8,test0.ts......) from p1.stdout ? Please help.