Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (88)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Use, discuss, criticize

    13 avril 2011, par

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

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

  • How to stop ffmpeg m3u8 download if not getting any stream update ?

    6 juillet 2022, par TheNoFace

    I'm making a bash script to download m3u8 stream on particular time using crontab.

    



    Sometimes server-sent stream url is invalid or stream stops because server fails to stream.
In both cases, playlist.m3u8 and chunk.m3u8 are both downloadable but stream file pieces in chunk.m3u8 don't update any longer. But ffmpeg keeps downloading "nothing" since chunk.m3u8 file contains any new streams.

    



    Input command :

    



    ffmpeg -i 'https://link.to/playlist.m3u8' -c copy -o '~/filename.ts'


    



    On abnormal cases :

    



    [generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[download] Destination: ~/filename.ts
ffmpeg version 4.2.2-1ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-3ubuntu1)
  configuration: --prefix=/usr --extra-version=1ubuntu1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')
[hls @ 0xaaaad4c595f0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/1080p_754675733_1591264503510_4560_0_1520.ts' for reading
[hls @ 0xaaaad4c595f0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/1080p_3899144139_1591264506510_4563_0_1521.ts' for reading
Input #0, hls, from 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/chunklist_1080p.m3u8?_lsu_sa_=34293a1b681e3215730af2d06bd2331c0bf63558842b19103c567c089eb73f39a386cb3a3216e4f841953991fe21c6821af7de68487ee7832b07d8818204ea0d16305d82b0a6e32c815f1544c9b7ae73e8ff4b51b90a3efb7035fb3dabb087e9134cb2e39733138d4f353073864f335e15e0a250c7e3cb61d4aaf83615efe414&_lsu_et_=1591292344':
  Duration: N/A, start: 4560.000000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709), 1080x1920 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:~/filename.ts.part':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709), 1080x1920 [SAR 1:1 DAR 9:16], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[https @ 0xaaaad4f28ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/1080p_2058418743_1591264509510_4566_0_1522.ts' for reading
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')
[https @ 0xaaaad55bfd50] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/chunklist_1080p.m3u8?_lsu_sa_=34293a1b681e3215730af2d06bd2331c0bf63558842b19103c567c089eb73f39a386cb3a3216e4f841953991fe21c6821af7de68487ee7832b07d8818204ea0d16305d82b0a6e32c815f1544c9b7ae73e8ff4b51b90a3efb7035fb3dabb087e9134cb2e39733138d4f353073864f335e15e0a250c7e3cb61d4aaf83615efe414&_lsu_et_=1591292344' for reading
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')
[https @ 0xaaaad55bfd50] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/chunklist_1080p.m3u8?_lsu_sa_=34293a1b681e3215730af2d06bd2331c0bf63558842b19103c567c089eb73f39a386cb3a3216e4f841953991fe21c6821af7de68487ee7832b07d8818204ea0d16305d82b0a6e32c815f1544c9b7ae73e8ff4b51b90a3efb7035fb3dabb087e9134cb2e39733138d4f353073864f335e15e0a250c7e3cb61d4aaf83615efe414&_lsu_et_=1591292344' for reading
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')
[https @ 0xaaaad55bfd50] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/chunklist_1080p.m3u8?_lsu_sa_=34293a1b681e3215730af2d06bd2331c0bf63558842b19103c567c089eb73f39a386cb3a3216e4f841953991fe21c6821af7de68487ee7832b07d8818204ea0d16305d82b0a6e32c815f1544c9b7ae73e8ff4b51b90a3efb7035fb3dabb087e9134cb2e39733138d4f353073864f335e15e0a250c7e3cb61d4aaf83615efe414&_lsu_et_=1591292344' for reading
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')
[https @ 0xaaaad55bfd50] Opening 'https://now-livecloud.pstatic.net/lip2_kr/anmss0003/nsmu2pe5nj6lx4hhtmsv4fmlbam0a4qelq/chunklist_1080p.m3u8?_lsu_sa_=34293a1b681e3215730af2d06bd2331c0bf63558842b19103c567c089eb73f39a386cb3a3216e4f841953991fe21c6821af7de68487ee7832b07d8818204ea0d16305d82b0a6e32c815f1544c9b7ae73e8ff4b51b90a3efb7035fb3dabb087e9134cb2e39733138d4f353073864f335e15e0a250c7e3cb61d4aaf83615efe414&_lsu_et_=1591292344' for reading
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T08:39:03.510Z"')
[hls @ 0xaaaad4c595f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T09:55:03.510Z')

...and still goes on until server stops serving playlist.m3u8 file.


    



    On normal case :

    



    [generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[download] Destination: ~/filename.ts
ffmpeg version 4.2.2-1ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-3ubuntu1)
  configuration: --prefix=/usr --extra-version=1ubuntu1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:01.419Z')
[hls @ 0xaaaaded3a5f0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_2140588392_1591268161419_3627_0_1209.ts' for reading
[hls @ 0xaaaaded3a5f0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_1159973342_1591268164419_3630_0_1210.ts' for reading
Input #0, hls, from 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832':
  Duration: N/A, start: 3627.000000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/bt709/bt709), 1080x1920 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:~/filename.ts.part':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709), 1080x1920 [SAR 1:1 DAR 9:16], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_3958358483_1591268167419_3633_0_1211.ts' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:04.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_3853948217_1591268170419_3636_0_1212.ts' for reading
frame=  269 fps= 95 q=-1.0 size=    3072kB time=00:00:09.01 bitrate=2792.9kbits/s speed=3.18x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:07.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_2889557048_1591268173419_3639_0_1213.ts' for reading
frame=  359 fps= 61 q=-1.0 size=    4096kB time=00:00:12.01 bitrate=2791.9kbits/s speed=2.04x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:10.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_3485591329_1591268176419_3642_0_1214.ts' for reading
frame=  449 fps= 50 q=-1.0 size=    5120kB time=00:00:15.00 bitrate=2795.2kbits/s speed=1.67x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:13.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_2256435886_1591268179419_3645_0_1215.ts' for reading
frame=  539 fps= 45 q=-1.0 size=    6144kB time=00:00:18.01 bitrate=2794.2kbits/s speed= 1.5x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:16.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_1520430104_1591268182419_3648_0_1216.ts' for reading
frame=  629 fps= 42 q=-1.0 size=    7168kB time=00:00:21.02 bitrate=2793.4kbits/s speed=1.39x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:22.419Z')
[https @ 0xaaaadf009ae0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_2229049379_1591268185419_3651_0_1217.ts' for reading
[https @ 0xaaaadf02f510] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_2659945939_1591268188419_3654_0_1218.ts' for reading
frame=  719 fps= 40 q=-1.0 size=    8192kB time=00:00:24.00 bitrate=2795.3kbits/s speed=1.32x    
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:22.419Z')
[https @ 0xaaaadf6e02c0] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/chunklist_1080p.m3u8?_lsu_sa_=31b94f1b48b03755160d6263630248165b873b582123194d369663096e903e691d87ab6c3fb63dfd517e3cf1d320760604ceaed2b168d017061fe4d08822506a7314482b165f2011119469a5c2486518636d7a0eea9dba559babdca7edaf80bb087564aa35bf9df154fc6bb35f54dd397e99a576174fe805da71c8b5cc86feb4&_lsu_et_=1591298832' for reading
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-VERSION:3')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-ALLOW-CACHE:NO')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-DATERANGE:ID="nmss-daterange",START-DATE="2020-06-04T09:55:34.419Z"')
[hls @ 0xaaaaded3a5f0] Skip ('#EXT-X-PROGRAM-DATE-TIME:2020-06-04T10:56:25.419Z')
[https @ 0xaaaadf02f510] Opening 'https://now-livecloud.pstatic.net/lip2_kr/cnmss0003/hbt6zn63jhkvtx8exbddrfrlbc8ioxe4ux/1080p_4119016691_1591268191419_3657_0_1219.ts' for reading
frame=  899 fps= 40 q=-1.0 size=   10240kB time=00:00:30.00 bitrate=2796.0kbits/s speed=1.32x

...and still goes on until server stops serving playlist.m3u8 file.


    



    So, how can I make ffmpeg to stop when there's update no more on chunk.m3u8 file after some tries ?

    


  • CJEU rules US cloud servers don’t comply with GDPR and what this means for web analytics

    17 juillet 2020, par Jake Thornton

    Breaking news : On July 16, 2020, the Court of Justice of the European Union (CJEU) has ruled that any cloud services hosted in the US are incapable of complying with the GDPR and EU privacy laws.

    In August 2016, the EU-US Privacy Shield framework came into effect, which “protects the fundamental rights of anyone in the EU whose personal data is transferred to the United States for commercial purposes. It allows the free transfer of data to companies that are certified in the US under the Privacy Shield.” – European Commission website

    However after today’s CJEU ruling, this Privacy Shield framework became invalidated due to significant differences between EU and US privacy laws.

    European privacy law activist Max Schrems summarises with “The Court clarified for a second time now that there is a clash between EU privacy law and US surveillance law. As the EU will not change its fundamental rights to please the NSA, the only way to overcome this clash is for the US to introduce solid privacy rights for all people – including foreigners. Surveillance reform thereby becomes crucial for the business interests of Silicon Valley.” – noyb website

    Today’s ruling also continues to spark concern into the legitimacy of US privacy laws which doesn’t fully protect people’s personal data when hosted on cloud servers based in the US.

    Web analytics hosted on US cloud servers don’t comply with GDPR

    How will this affect you ?

    For any business operating a website in the EU or if you have traffic coming to your website from EU visitors, you need to know what data you’re capturing and where this data is being stored.

    Here’s what Maja Smoltczyk (Berlin’s Commissioner for Data Protection and Freedom of Information) says :

    Controllers who transfer personal data to the USA, especially when using cloud-based services, are now required to switch immediately to service providers based in the European Union or a country that can
    ensure an adequate level of data protection. 
    The CJEU has made it refreshingly clear that data exports are not just financial decisions, as people’s fundamental rights must also be considered as a matter of priority. This ruling will put
    an end to the transfer of personal data to the USA
    for the sake of convenience or to cut costs.

    The controller is you (not Google) and by transferring data to the US you are at risk of being fined up to €20 million or 4% of your annual worldwide turnover for not being GDPR compliant. 

    It’s you who has to take action, not Google or other US companies. The court’s decision has immediate effect. While we assume there will be a grace period, companies should act now as finding and implementing alternatives solution can take a while. 

    Can no data be exported outside the EU anymore ?

    Data can still be exported outside the EU if an adequate level of data protection is guaranteed. This is the case for some trading partners of the EU such as New Zealand, Japan, Switzerland, and Canada. They have been certified by the EU as having a comparable level of privacy protection and therefore demonstrate adequacy at a country level.

    Necessary data can still flow to countries like the US too. This is for example the case when someone books a hotel in the US or when sending an email to someone in the US. Backups for disaster recovery and most other reasons don’t qualify as necessary.

    In all other cases you can still send data to countries like the US if you get explicit and informed consent from a user. Meaning the user has been informed about all possible risks of sending the data to the US and who can access the data (for example the US government).

    How this affects Google Analytics and Google Tag Manager users

    If your website is using Google Analytics, the safest bet is to deactivate it immediately. Otherwise, you must ask for consent from everyone who visits your website and inform them that the data will be processed in the United States under less strict privacy laws and all associated risks. If you don’t, you could be liable to privacy law infringements and face being fined for not complying with the GDPR. This also applies to Google Tag Manager as it transfers the IP address to the US which is considered personal data under the GDPR.

    Consent needs to be :

    • Freely given (the user must have a choice to not give consent and be able to opt out at any time) 
    • Informed (you need to disclose who is processing the data, what data is processed, where the data will be stored and how to opt out) 
    • Specific (consent is only valid for the specific informed purpose) 
    • Unambiguous (for example pre-ticked boxes or similar aren’t allowed)
    Web analytics that complies with GDPR

    If users don’t give you consent, you are not allowed to track them using Google Analytics or any other US based cloud solution.

    Update August 19, 2020

    A month after this ruling, over 100 complaints have been filed against websites for continuing to send data to the US via Google Analytics or Facebook, by the European privacy campaign group noyb. It’s clear Google and Facebook fall under US surveillance laws such as FISA 702 and the court clearly ruled these companies cannot rely on SCCs to transfer data to the US. Anyone still using Google Analytics is now at risk of facing fines and compensation damages

    How this affects Matomo users

    Our cloud servers are based in Germany.

    Matomo On-Premise users choose the location of their data themselves. If the servers are located in the EU nothing changes. If the servers are located outside the EU and the website targets EU users and tracks personal data, then you need to assess whether you are required to ask for tracking consent.

    If the data is stored inside the EU you can use Matomo without asking for any consent and you can continue tracking users even if they reject a consent screen which greatly increases the quality of your data.

    Want to avoid informing users about transferring their data to the US and all associated risks ?

    Try Matomo now for free ! No credit card required.

  • ffmpeg - convert video file with 1 frame video and 4 minutes audio to HTML5 video

    4 juin 2020, par d3im

    Have this input video - it's 1 frame video (=picture) with audio :

    



        Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:04:34.55, start: 0.000000, bitrate: 122 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 480x360 [SAR 1:1 DAR 4:3], 6375600 kb/s, 90k fps, 90k tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 120 kb/s (default)
    Metadata:
      handler_name    : SoundHandler


    



    I need to convert it to mp4 with video track of length of audio for HTML5 - but ffmpeg (4.2.3) says :

    



    Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x55f35bf28100] Note, the VBR setting is unsupported and only works with some parameter combinations
Too many packets buffered for output stream 0:1.
[libfdk_aac @ 0x55f35bf28100] 2 frames left in the queue on closing
Conversion failed!


    



    Converting audio or video alone is successful.

    



    Converting with -c:v copy is successful but it's not what I need.

    



    adding -max_muxing_queue_size 9999 didn't help.

    



    EDIT :

    



    full command :

    



    ffmpeg -i input.mp4 -c:a libfdk_aac -vbr 2 -c:v libx264 -crf 28 -profile:v high -level 41 -vf format=yuv420p -sn -sample_fmt s16 -ac 1 -threads 0 -map_metadata -1 low.mp4


    



    full log :

    



    ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.0 (Gentoo 9.3.0 p2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.2.3/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mtune=haswell' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-version3 --enable-version3 --disable-indev=oss --disable-outdev=oss --enable-version3 --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --disable-libtls --disable-libxml2 --enable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libdrm --enable-libjack --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --enable-libfdk-aac --enable-libopenjpeg --enable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --enable-librtmp --disable-libssh --enable-libspeex --enable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-cuda-llvm --disable-libflite --enable-frei0r --disable-libfribidi --disable-fontconfig --enable-ladspa --disable-libass --disable-libtesseract --enable-lv2 --enable-libfreetype --enable-libvidstab --disable-librubberband --disable-libzmq --disable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --enable-libaom --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=haswell --disable-doc --disable-htmlpages --enable-manpages
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:04:34.55, start: 0.000000, bitrate: 122 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 480x360 [SAR 1:1 DAR 4:3], 6375600 kb/s, 90k fps, 90k tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 120 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x55fb6c86b080] Note, the VBR setting is unsupported and only works with some parameter combinations
Too many packets buffered for output stream 0:1.
[libfdk_aac @ 0x55fb6c86b080] 2 frames left in the queue on closing
Conversion failed!


    



    debug verbosity :

    



    ffmpeg -v debug -i input.mp4 -c:a libfdk_aac -vbr 2 -c:v libx264 -crf 28 -profile:v high -level 41 -vf format=yuv420p -sn -sample_fmt s16 -ac 1 -threads 0 -map_metadata -1 low.mp4
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.0 (Gentoo 9.3.0 p2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.2.3/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=haswell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mtune=haswell' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-version3 --enable-version3 --disable-indev=oss --disable-outdev=oss --enable-version3 --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --disable-libtls --disable-libxml2 --enable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libdrm --enable-libjack --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --enable-libfdk-aac --enable-libopenjpeg --enable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --enable-librtmp --disable-libssh --enable-libspeex --enable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-cuda-llvm --disable-libflite --enable-frei0r --disable-libfribidi --disable-fontconfig --enable-ladspa --disable-libass --disable-libtesseract --enable-lv2 --enable-libfreetype --enable-libvidstab --disable-librubberband --disable-libzmq --disable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --enable-libaom --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=haswell --disable-doc --disable-htmlpages --enable-manpages
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'input.mp4'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libfdk_aac'.
Reading option '-vbr' ... matched as AVOption 'vbr' with argument '2'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '28'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'high'.
Reading option '-level' ... matched as AVOption 'level' with argument '41'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'format=yuv420p'.
Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
Reading option '-sample_fmt' ... matched as option 'sample_fmt' (set sample format) with argument 's16'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '0'.
Reading option '-map_metadata' ... matched as option 'map_metadata' (set metadata information of outfile from infile) with argument '-1'.
Reading option 'low.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url input.mp4.
Successfully parsed a group of options.
Opening an input file: input.mp4.
[NULL @ 0x559fb7ecda40] Opening 'input.mp4' for reading
[file @ 0x559fb7ece4c0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Processing st: 0, edit list 0 - media time: 0, duration: 90
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Processing st: 1, edit list 0 - media time: 1024, duration: 12106376
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] drop a frame at curr_cts: 0 @ 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] Before avformat_find_stream_info() pos: 48725 bytes read:65536 seeks:0 nb_streams:2
[h264 @ 0x559fb7ecf6c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x559fb7ecf6c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] demuxer injecting skip 1024 / discard 0
[aac @ 0x559fb7ed1180] skip 1024 / discard 0 samples due to side data
[h264 @ 0x559fb7ecf6c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x559fb7ecf6c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x559fb7ecf6c0] Format yuvj420p chosen by get_format().
[h264 @ 0x559fb7ecf6c0] Reinit context to 480x368, pix_fmt: yuvj420p
[h264 @ 0x559fb7ecf6c0] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x559fb7ecda40] After avformat_find_stream_info() pos: 4059034 bytes read:98304 seeks:1 frames:46
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:04:34.55, start: 0.000000, bitrate: 122 kb/s
    Stream #0:0(und), 1, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuvj420p(pc, left), 480x360 (480x368) [SAR 1:1 DAR 4:3], 0/1, 6375600 kb/s, 90k fps, 90k tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 45, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 120 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Successfully opened the file.
Parsing a group of options: output url low.mp4.
Applying option c:a (codec name) with argument libfdk_aac.
Applying option c:v (codec name) with argument libx264.
Applying option profile:v (set profile) with argument high.
Applying option vf (set video filters) with argument format=yuv420p.
Applying option sn (disable subtitle) with argument 1.
Applying option sample_fmt (set sample format) with argument s16.
Applying option ac (set number of audio channels) with argument 1.
Applying option map_metadata (set metadata information of outfile from infile) with argument -1.
Successfully parsed a group of options.
Opening an output file: low.mp4.
File 'low.mp4' already exists. Overwrite ? [y/N] y
[file @ 0x559fb7ef6e40] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
[h264 @ 0x559fb7f2ee40] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x559fb7f2ee40] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[aac @ 0x559fb7ed3980] skip 1024 / discard 0 samples due to side data
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[graph_1_in_0_1 @ 0x559fb7f431c0] Setting 'time_base' to value '1/44100'
[graph_1_in_0_1 @ 0x559fb7f431c0] Setting 'sample_rate' to value '44100'
[graph_1_in_0_1 @ 0x559fb7f431c0] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 0x559fb7f431c0] Setting 'channel_layout' to value '0x3'
[graph_1_in_0_1 @ 0x559fb7f431c0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[format_out_0_1 @ 0x559fb8109140] Setting 'sample_fmts' to value 's16'
[format_out_0_1 @ 0x559fb8109140] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000'
[format_out_0_1 @ 0x559fb8109140] Setting 'channel_layouts' to value '0x4'
[format_out_0_1 @ 0x559fb8109140] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[AVFilterGraph @ 0x559fb7f3eb80] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0x559fb810a000] [SWR @ 0x559fb810a380] Using fltp internally between filters
[auto_resampler_0 @ 0x559fb810a000] [SWR @ 0x559fb810a380] Matrix coefficients:
[auto_resampler_0 @ 0x559fb810a000] [SWR @ 0x559fb810a380] FC: FL:0.500000 FR:0.500000 
[auto_resampler_0 @ 0x559fb810a000] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
[libfdk_aac @ 0x559fb7ef7080] Note, the VBR setting is unsupported and only works with some parameter combinations
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 44 times
[h264 @ 0x559fb7f2ee40] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x559fb7f2ee40] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x559fb7f2ee40] Format yuvj420p chosen by get_format().
[h264 @ 0x559fb7f2ee40] Reinit context to 480x368, pix_fmt: yuvj420p
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[h264 @ 0x559fb7f2ee40] no picture 
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 81 times
Too many packets buffered for output stream 0:1.
[AVIOContext @ 0x559fb7ed3780] Statistics: 0 seeks, 0 writeouts
[libfdk_aac @ 0x559fb7ef7080] 2 frames left in the queue on closing
[AVIOContext @ 0x559fb7ed6880] Statistics: 131072 bytes read, 2 seeks
Conversion failed!


    



    EDIT 2 :

    



    The original file is converted by online tool which uses ffmpeg also.
The source file was .mp3 with jpeg cover inside. But I wasn't able to simulate online tool's behavior = to convert cover to one-frame video.