Recherche avancée

Médias (91)

Autres articles (40)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (4883)

  • ffmpeg streaming video not in sync

    3 avril 2019, par Tenaciousd93

    I have a problem saving a streaming with ffmpeg.
    The problem is that video is not in sync with audio.

    The video comes 2-3 seconds before the audio.

    I try by removing and editing options but nothing change, I make some research too and I try all solution described in this great answer posted here, but it didn’t work for me.

    I tried to download a chunk from playlist and I’ve got a .ts file with audio/video in sync.

    If I play the streaming with VLC player I can hear the audio without video for some seconds, then the video appear and is in sync with audio.

    ffplay play the same streaming correctly too : seems like there is the time information inside audio and video codec and can be played correctly in sync.

    How can I ask ffmpeg to take audio and video in sync ?

    If you need ffmpeg or ffplay outputs I will post them.


    Edit : as requested, I report the full ffmpeg output of a simple command to save stream output to file :

    $ ffmpeg -i http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/master.m3u8?hdnts=st=1554271074~exp=1554271524~acl=/*~hmac=14df2434241f7fd52f5a6012094367180f8567a1a733f7ef9eeef3dc7b46ebb2 -c copy out.mp4
    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-ffplay --enable-libmp3lame --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-nonfree
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_2_av-p.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_2_av-b.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_1_av-p.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_1_av-b.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_2_a-p.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_2_a-b.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_2_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_2_av-b.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_1_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_1_av-b.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_2_a-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427138_2_a-b.ts?sd=10&rebase=on' for reading
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdf0025e00] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] decode_slice_header error
    [h264 @ 0x7ffdf0028200] no frame!
    [NULL @ 0x7ffdf0025e00] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] decode_slice_header error
    [h264 @ 0x7ffdf0028200] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [NULL @ 0x7ffdf0025e00] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [h264 @ 0x7ffdf0028200] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] decode_slice_header error
    [h264 @ 0x7ffdf0028200] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [NULL @ 0x7ffdf0025e00] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] decode_slice_header error
    [h264 @ 0x7ffdf0028200] no frame!
    [NULL @ 0x7ffdf0025e00] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [h264 @ 0x7ffdf0028200] non-existing PPS 0 referenced
    [h264 @ 0x7ffdf0028200] decode_slice_header error
    [h264 @ 0x7ffdf0028200] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    [NULL @ 0x7ffdef028000] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] non-existing PPS 0 referenced
    [h264 @ 0x7ffdef02a400] decode_slice_header error
    [h264 @ 0x7ffdef02a400] no frame!
    Input #0, hls,applehttp, from 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/master.m3u8?hdnts=st=1554271074~exp=1554271524~acl=/*~hmac=14df2434241f7fd52f5a6012094367180f8567a1a733f7ef9eeef3dc7b46ebb2':
     Duration: N/A, start: 65871.264133, bitrate: N/A
     Program 0
       Metadata:
         variant_bitrate : 528000
       Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         variant_bitrate : 528000
       Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 528000
       Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 528000
     Program 1
       Metadata:
         variant_bitrate : 528000
       Stream #0:3: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 400x224, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         variant_bitrate : 528000
       Stream #0:4: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 528000
       Stream #0:5: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 528000
     Program 2
       Metadata:
         variant_bitrate : 1328000
       Stream #0:6: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv), 720x404, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         variant_bitrate : 1328000
       Stream #0:7: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 1328000
       Stream #0:8: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 1328000
     Program 3
       Metadata:
         variant_bitrate : 1328000
       Stream #0:9: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv), 720x404, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         variant_bitrate : 1328000
       Stream #0:10: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 1328000
       Stream #0:11: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 1328000
     Program 4
       Metadata:
         variant_bitrate : 128000
       Stream #0:12: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 128000
       Stream #0:13: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 128000
     Program 5
       Metadata:
         variant_bitrate : 128000
       Stream #0:14: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 128000
       Stream #0:15: Data: timed_id3 (ID3  / 0x20334449)
       Metadata:
         variant_bitrate : 128000
    Output #0, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv), 720x404, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
       Metadata:
         variant_bitrate : 1328000
       Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 528000
    Stream mapping:
     Stream #0:6 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [hls,applehttp @ 0x7ffdef800000] No longer receiving playlist 1rate=1167.5kbits/s speed=4.93x    
    [hls,applehttp @ 0x7ffdef800000] No longer receiving playlist 5
    [hls,applehttp @ 0x7ffdef800000] No longer receiving playlist 3
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427139_2_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427139_1_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] No longer receiving playlist 4
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427140_2_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427140_1_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_1_av-p.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427141_1_av-p.ts?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/index_2_av-p.m3u8?sd=10&rebase=on' for reading
    [hls,applehttp @ 0x7ffdef800000] Opening 'http://la7livehls-lh.akamaihd.net/i/livebkup_1@372883/segment155427141_2_av-p.ts?sd=10&rebase=on' for reading
    [mp4 @ 0x7ffdf0170600] Non-monotonous DTS in output stream 0:1; previous: 1440768, current: 1439744; changing to 1440769. This may result in incorrect timestamps in the output file.
    (...)
  • ffmpeg to convert file to webm returns in error

    14 avril 2019, par user3184895

    i have a self-recorded file in .ts format and want to convert it to three different formats(.mp4, .ogg and .webm).

    for that i use my brandnew debian9 with following commands :

    /usr/bin/ffmpeg -y -i source.ts -strict experimental -r 25 -b 18550k -bt 22792k -acodec aac -ac 2 -ar 48000 -ab 320k output.mp4

    /usr/bin/ffmpeg -y -i source.ts -r 25 -b 18550k -bt 22792k -vcodec libtheora -acodec libvorbis -ac 2 -ar 48000 -ab 320k output.ogg

    /usr/bin/ffmpeg -y -i source.ts -r 25 -b 18550k -bt 22792k -ac 2 -ar 48000 -ab 320k output.webm

    Source-File :

    General
    ID                                       : 1019 (0x3FB)
    Complete name                            : test.ts
    Format                                   : MPEG-TS
    File size                                : 85.9 MiB
    Duration                                 : 56 s 490 ms
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 12.7 Mb/s

    Video
    ID                                       : 5101 (0x13ED)
    Menu ID                                  : 10301 (0x283D)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : 27
    Duration                                 : 55 s 880 ms
    Bit rate                                 : 11.1 Mb/s
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 50.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.241
    Stream size                              : 74.1 MiB (86%)

    Audio #1
    ID                                       : 5102 (0x13EE)
    Menu ID                                  : 10301 (0x283D)
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 2
    Codec ID                                 : 3
    Duration                                 : 56 s 448 ms
    Bit rate mode                            : Constant
    Bit rate                                 : 256 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Delay relative to video                  : -1 s 136 ms
    Stream size                              : 1.72 MiB (2%)
    Language                                 : German

    Audio #2
    ID                                       : 5103 (0x13EF)
    Menu ID                                  : 10301 (0x283D)
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 2
    Codec ID                                 : 3
    Duration                                 : 56 s 448 ms
    Bit rate mode                            : Constant
    Bit rate                                 : 256 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Delay relative to video                  : -1 s 136 ms
    Stream size                              : 1.72 MiB (2%)
    descriptor_tag_extension                 : 6

    Audio #3
    ID                                       : 5106 (0x13F2)
    Menu ID                                  : 10301 (0x283D)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : 6
    Duration                                 : 56 s 480 ms
    Bit rate mode                            : Constant
    Bit rate                                 : 448 kb/s
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 spf)
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Delay relative to video                  : -1 s 168 ms
    Stream size                              : 3.02 MiB (4%)
    Language                                 : German

    Text
    ID                                       : 5105 (0x13F1)
    Menu ID                                  : 10301 (0x283D)
    Format                                   : DVB Subtitle
    Codec ID                                 : 6
    Duration                                 : 54 s 800 ms
    Delay relative to video                  : 2 s 520 ms
    Language                                 : German

    Other
    ID                                       : 5104 (0x13F0)-100
    Menu ID                                  : 10301 (0x283D)
    Format                                   : Teletext
    Language                                 : German

    Menu
    ID                                       : 5100 (0x13EC)
    Menu ID                                  : 10301 (0x283D)
    Duration                                 : 56 s 490 ms
    List                                     : 1170 (0x492) () / 1176 (0x498) () / 2171 (0x87B) () / 5101 (0x13ED) (AVC) / 5102 (0x13EE) (MPEG Audio, German) / 5103 (0x13EF) (MPEG Audio) / 5104 (0x13F0)-100 (Teletext, de) / 5105 (0x13F1) (DVB Subtitle, German) / 5106 (0x13F2) (AC-3, German) / 5108 (0x13F4) () / 5172 (0x1434) ()
    Language                                 :  /  /  /  / German /  / German / German / German

    Why i am doing that ? I just play arround with a privat intranet (web-application) to stream my own recorded files on different clients (Smartphone, Tablet, Desktop). Thats also the reason for the different formats (.mp4, .ogg, .webm)

    My current problem is : The command to convert it to .webm returns following error :

    /usr/bin/ffmpeg -y -i test.ts -r 25 -b 18550k -bt 22792k -ac 2 -ar 48000 -ab 320k output.webm
    ffmpeg version 3.2.12-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] SPS unavailable in decode_picture_timing
    [h264 @ 0x557535b03b40] non-existing PPS 0 referenced
    [h264 @ 0x557535b03b40] decode_slice_header error
    [h264 @ 0x557535b03b40] no frame!
    [mpegts @ 0x557535ade440] start time for stream 9 is not set in estimate_timings_from_pts
    [mpegts @ 0x557535ade440] PES packet size mismatch
    [mpegts @ 0x557535ade440] Could not find codec parameters for stream 0 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x557535ade440] Could not find codec parameters for stream 1 (Unknown: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x557535ade440] Could not find codec parameters for stream 2 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x557535ade440] Could not find codec parameters for stream 10 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'test.ts':
     Duration: 00:00:58.04, start: 86615.181389, bitrate: 12418 kb/s
     Program 10301
       Stream #0:0[0x492]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:1[0x498]: Unknown: none ([12][0][0][0] / 0x000C)
       Stream #0:2[0x87b]: Unknown: none ([11][0][0][0] / 0x000B)
       Stream #0:3[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
       Stream #0:4[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
       Stream #0:5[0x13ef](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
       Stream #0:6[0x13f0](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
       Stream #0:7[0x13f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
       Stream #0:8[0x13f2](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
       Stream #0:9[0x13f4]: Data: bin_data ([6][0][0][0] / 0x0006)
       Stream #0:10[0x1434]: Unknown: none ([11][0][0][0] / 0x000B)
     Program 10302
     Program 10303
     Program 10304
    Please use -b:a or -b:v, -b is ambiguous
    [libvpx-vp9 @ 0x557535ba6d00] v1.6.1
    Stream mapping:
     Stream #0:3 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
     Stream #0:4 -> #0:1 (mp2 (native) -> opus (libopus))
     Stream #0:6 -> #0:2 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
    Error while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height

    i dont understand the problem, because the convertions to .ogg or .mp4 are workin. So i cannot be a problem with the source-codecs. Does anyone have any idea what my problem might be

  • Problem using -to, combining -to with framerate change

    21 avril 2019, par LLL

    I have a question regarding the use of the -to option :

    In FFmpeg version 3 (at least 3.2.12 included in Debian 9), -to was an output only option. In more recent version it seems to be accepted as an input option as well (as written here https://www.ffmpeg.org/ffmpeg.html#Main-options) but I run into limitations when using in conjunction with -r.
    What I expect, if I increase the framerate of the input, is that the output will be shorter. But it is not the case if I’m not using the whole input :

    ffmpeg -r 30 -to 10 -i my18fpsFile.avi out.mp4

    out.mp4 will be 10 seconds long, so the input has been read further than 10 seconds in.
    In other terms, even as an input option, it seems to behave like an output option.

    Tested with ffmpeg version N-48102-g7cab5471b2-static https://johnvansickle.com/ffmpeg/ on Debian Stretch.

    Thanks for your advice or confirmation that this is not normal.

    Edit : Thank you Gyan for your reply and your explanation.

    While it seems to work, some testing makes me remember why I wasn’t satisfied with this solution :
    Stating -r as an input option forces the framerate for the reading of the input and ensures one frame in the input is one frame in the output. This is what I want.

    Using yours solution with the filter on the output does cause dropped frames sometimes (which I have never had with -r).
    However, some more testing draws me to the conclusion that the dropped frames problem happens only with an mkv container ! Your solution works fine with other containers (as far as I have tested), but with mkv (and various video codecs, it doesn’t seem to make a difference), I get a lot of dropped frames.
    Using -r with mkv causes no dropped frames.

    In conclusion, I’m not sure how to generalize this solution, as avoiding mkv is annoying for me.
    But thank you, and if anyone has some more experience or ideas, please chime in.

    Adding logs :
    Note the line :
    [avi @ 0x6cf6880] parser not found for codec rawvideo, packets or times may be invalid
    I guess it is the cause of the problem ? Is there a solution if the files are raw avi with no index ?

    Although the warning is the same, I don’t get dropped frames if I use the exact same command only with f.mov instead of mkv.

    ffmpeg -v 40 -to 10 -i f.avi -vf setpts=N/30/TB -r 30 f.mkv
    ffmpeg version N-48102-g7cab5471b2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 46.100 / 58. 46.100
     libavformat    58. 26.100 / 58. 26.100
     libavdevice    58.  6.101 / 58.  6.101
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    [avi @ 0x6cf6880] parser not found for codec rawvideo, packets or times may be invalid.
       Last message repeated 1 times
    Input #0, avi, from 'f.avi':
     Duration: 00:01:11.62, start: 0.000000, bitrate: 846067 kb/s
       Stream #0:0: Video: rawvideo, 1 reference frame, bgr24, 1632x1200, 846638 kb/s, 18 fps, 18 tbr, 18 tbn, 18 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [graph 0 input from stream 0:0 @ 0x6d0fc00] w:1632 h:1200 pixfmt:bgr24 tb:1000/17999 fr:17999/1000 sar:0/1 sws_param:flags=2
    [auto_scaler_0 @ 0x6d105c0] w:iw h:ih flags:'bicubic' interl:0
    [format @ 0x6cfe5c0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_setpts_0' and the filter 'format'
    [trim_in_0_0 @ 0x6d109c0] TB:0.055559 FRAME_RATE:17.999000 SAMPLE_RATE:nan
    [auto_scaler_0 @ 0x6d105c0] w:1632 h:1200 fmt:bgr24 sar:0/1 -> w:1632 h:1200 fmt:yuv444p sar:0/1 flags:0x4
    [libx264 @ 0x6cfb2c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x6cfb2c0] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
    [libx264 @ 0x6cfb2c0] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 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
    Output #0, matroska, to 'f.mkv':
     Metadata:
       encoder         : Lavf58.26.100
       Stream #0:0: Video: h264 (libx264), 1 reference frame (H264 / 0x34363248), yuv444p, 1632x1200, q=-1--1, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc58.46.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Past duration 0.666481 too large
    *** dropping frame 5 from stream 0 at ts 3
    Past duration 0.666191 too large
    *** dropping frame 9 from stream 0 at ts 8
    Past duration 0.665916 too large
    *** dropping frame 13 from stream 0 at ts 13
    Past duration 0.665642 too large
    *** dropping frame 17 from stream 0 at ts 18
    Past duration 0.665367 too large
    *** dropping frame 21 from stream 0 at ts 23
    Past duration 0.665092 too large
    *** dropping frame 25 from stream 0 at ts 28
    Past duration 0.664803 too large
    *** dropping frame 29 from stream 0 at ts 33me=00:00:00.00 bitrate=N/A dup=0 drop=6 speed=   0x    
    Past duration 0.664528 too large
    *** dropping frame 33 from stream 0 at ts 38
    Past duration 0.664253 too large
    *** dropping frame 37 from stream 0 at ts 43
    Past duration 0.663979 too large
    *** dropping frame 41 from stream 0 at ts 48
    Past duration 0.663689 too large
    *** dropping frame 45 from stream 0 at ts 53
    Past duration 0.663414 too large      1kB time=00:00:00.00 bitrate=N/A dup=0 drop=11 speed=   0x    
    *** dropping frame 49 from stream 0 at ts 58
    Past duration 0.663139 too large
    *** dropping frame 53 from stream 0 at ts 63ime=00:00:00.00 bitrate=5768.0kbits/s dup=0 drop=12 speed=0.00049x    
    Past duration 0.662865 too large
    *** dropping frame 57 from stream 0 at ts 68ime=00:00:00.13 bitrate=  43.0kbits/s dup=0 drop=13 speed=0.0514x    
    Past duration 0.662590 too large
    *** dropping frame 61 from stream 0 at ts 73ime=00:00:00.30 bitrate=  19.2kbits/s dup=0 drop=14 speed=0.094x    
    Past duration 0.662300 too large
    *** dropping frame 65 from stream 0 at ts 78ime=00:00:00.46 bitrate=  12.3kbits/s dup=0 drop=15 speed=0.125x    
    Past duration 0.662025 too large       1kB time=00:00:00.60 bitrate=   9.6kbits/s dup=0 drop=16 speed=0.142x    
    *** dropping frame 69 from stream 0 at ts 83
    Past duration 0.661751 too large       1kB time=00:00:00.76 bitrate=   7.5kbits/s dup=0 drop=17 speed=0.162x    
    *** dropping frame 73 from stream 0 at ts 88
    Past duration 0.661476 too large       1kB time=00:00:00.93 bitrate=   6.2kbits/s dup=0 drop=18 speed=0.175x    
    *** dropping frame 77 from stream 0 at ts 93
    Past duration 0.661201 too large
    *** dropping frame 81 from stream 0 at ts 98ime=00:00:01.13 bitrate=8036.9kbits/s dup=0 drop=19 speed=0.193x    
    Past duration 0.660912 too large
    *** dropping frame 85 from stream 0 at ts 103me=00:00:01.30 bitrate=7005.3kbits/s dup=0 drop=20 speed=0.204x    
    Past duration 0.660637 too large
    *** dropping frame 89 from stream 0 at ts 108me=00:00:01.46 bitrate=6208.3kbits/s dup=0 drop=21 speed=0.21x    
    Past duration 0.660362 too large
    *** dropping frame 93 from stream 0 at ts 113
    Past duration 0.660088 too large    1113kB time=00:00:01.76 bitrate=5154.9kbits/s dup=0 drop=23 speed=0.235x    
    *** dropping frame 97 from stream 0 at ts 118
    Past duration 0.659813 too large    1113kB time=00:00:01.83 bitrate=4969.4kbits/s dup=0 drop=24 speed=0.229x    
    *** dropping frame 101 from stream 0 at ts 123
    Past duration 0.659523 too large
    *** dropping frame 105 from stream 0 at ts 128e=00:00:02.13 bitrate=4270.8kbits/s dup=0 drop=25 speed=0.235x    
    Past duration 0.659248 too large
    *** dropping frame 109 from stream 0 at ts 133
    Past duration 0.658974 too large    2399kB time=00:00:02.43 bitrate=8075.2kbits/s dup=0 drop=27 speed=0.252x    
    *** dropping frame 113 from stream 0 at ts 138
    Past duration 0.658699 too large
    *** dropping frame 117 from stream 0 at ts 143e=00:00:02.63 bitrate=7462.1kbits/s dup=0 drop=28 speed=0.25x    
    Past duration 0.658424 too large
    *** dropping frame 121 from stream 0 at ts 148
    Past duration 0.658134 too large    2399kB time=00:00:02.93 bitrate=6699.1kbits/s dup=0 drop=30 speed=0.266x    
    *** dropping frame 125 from stream 0 at ts 153
    Past duration 0.657860 too large
    *** dropping frame 129 from stream 0 at ts 158e=00:00:03.13 bitrate=6271.6kbits/s dup=0 drop=31 speed=0.265x    
    Past duration 0.657585 too large
    *** dropping frame 133 from stream 0 at ts 163
    Past duration 0.657310 too large    2399kB time=00:00:03.33 bitrate=5895.4kbits/s dup=0 drop=33 speed=0.271x    
    *** dropping frame 137 from stream 0 at ts 168e=00:00:03.46 bitrate=5667.6kbits/s dup=0 drop=33 speed=0.269x    
    Past duration 0.657036 too large
    *** dropping frame 141 from stream 0 at ts 173
    Past duration 0.656746 too large
    No more output streams to write to, finishing.e=00:00:03.80 bitrate=5171.0kbits/s dup=0 drop=35 speed=0.279x    
    frame=  145 fps=8.0 q=-1.0 Lsize=    4590kB time=00:00:05.90 bitrate=6372.0kbits/s dup=0 drop=35 speed=0.326x    
    video:4588kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.042357%
    Input file #0 (f.avi):
     Input stream #0:0 (video): 181 packets read (1063411200 bytes); 181 frames decoded;
     Total: 181 packets (1063411200 bytes) demuxed
    Output file #0 (f.mkv):
     Output stream #0:0 (video): 145 frames encoded; 145 packets muxed (4698140 bytes);
     Total: 145 packets (4698140 bytes) muxed
    [AVIOContext @ 0x6cfe940] Statistics: 20 seeks, 33 writeouts
    [libx264 @ 0x6cfb2c0] frame I:4     Avg QP:25.17  size: 84331
    [libx264 @ 0x6cfb2c0] frame P:40    Avg QP:26.64  size: 47807
    [libx264 @ 0x6cfb2c0] frame B:101   Avg QP:27.85  size: 24236
    [libx264 @ 0x6cfb2c0] consecutive B-frames:  4.1%  8.3%  2.1% 85.5%
    [libx264 @ 0x6cfb2c0] mb I  I16..4: 29.5%  0.0% 70.5%
    [libx264 @ 0x6cfb2c0] mb P  I16..4: 12.0%  0.0% 20.1%  P16..4: 38.5% 16.5%  4.5%  0.0%  0.0%    skip: 8.4%
    [libx264 @ 0x6cfb2c0] mb B  I16..4:  1.8%  0.0%  2.7%  B16..8: 46.5% 11.4%  1.6%  direct: 7.6%  skip:28.4%  L0:40.6% L1:55.6% BI: 3.8%
    [libx264 @ 0x6cfb2c0] coded y,u,v intra: 55.9% 11.8% 19.2% inter: 22.1% 1.1% 2.6%
    [libx264 @ 0x6cfb2c0] i16 v,h,dc,p: 30% 15%  7% 48%
    [libx264 @ 0x6cfb2c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 16% 18%  7%  8%  8%  7%  7%  3%
    [libx264 @ 0x6cfb2c0] Weighted P-Frames: Y:17.5% UV:10.0%
    [libx264 @ 0x6cfb2c0] ref P L0: 54.3% 15.8% 20.0%  8.8%  1.2%
    [libx264 @ 0x6cfb2c0] ref B L0: 87.9%  9.3%  2.8%
    [libx264 @ 0x6cfb2c0] ref B L1: 95.9%  4.1%
    [libx264 @ 0x6cfb2c0] kb/s:6263.27
    [AVIOContext @ 0x6cff580] Statistics: 1063666996 bytes read, 4 seeks