Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (47)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (5154)

  • Revision 30332 : On passe la génération de la file d’attente et donc des inserts en base ...

    29 juillet 2009, par kent1@… — Log

    On passe la génération de la file d’attente et donc des inserts en base dans l’action spipmotion_ajouter_file
    On ajoute un suffixe au nom de fichier -encoded pour éviter de boucler sur les encodages
    On clean aussi un chouilla

  • extract subtitle from video ffmpeg. subs.srt : Invalid argument

    3 juillet 2019, par evgeni fotia
       let filename_ext = file.path.split('/').pop()
       let filename = filename_ext.split('.').slice(0, filename_ext.split('.').length-1).join('.')

       var result = ffmpeg({
         MEMFS: [{name: filename_ext, data: buffer}],
         arguments: ["-i", filename_ext, "-map", "0:s:0", "subs.srt"],
         // Ignore stdin read requests
         stdin: function() {},
       });
       // Write out.webm to disk.
       var out = result.MEMFS[0];
       fs.outputFile(pathname + '/' + out.name, Buffer(out.data), 'binary');

    I get the following

       ffmpeg version n3.1.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with emcc (Emscripten gcc/clang-like replacement) 1.36.7 ()
     configuration: --cc=emcc --enable-cross-compile --target-os=none --arch=x86 --disable-runtime-cpudetect --disable-asm --disable-fast-unaligned --disable-pthreads --disable-w32threads --disable-os2threads --disable-debug --disable-stripping --disable-all --enable-ffmpeg --enable-avcodec --enable-avformat --enable-avutil --enable-swresample --enable-swscale --enable-avfilter --disable-network --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --enable-decoder=vp8 --enable-decoder=vp9 --enable-decoder=theora --enable-decoder=mpeg2video --enable-decoder=mpeg4 --enable-decoder=h264 --enable-decoder=hevc --enable-decoder=png --enable-decoder=mjpeg --enable-decoder=vorbis --enable-decoder=opus --enable-decoder=mp3 --enable-decoder=ac3 --enable-decoder=aac --enable-decoder=ass --enable-decoder=ssa --enable-decoder=srt --enable-decoder=webvtt --enable-demuxer=matroska --enable-demuxer=ogg --enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=flv --enable-demuxer=mpegps --enable-demuxer=image2 --enable-demuxer=mp3 --enable-demuxer=concat --enable-protocol=file --enable-filter=aresample --enable-filter=scale --enable-filter=crop --enable-filter=overlay --disable-bzlib --disable-iconv --disable-libxcb --disable-lzma --disable-sdl --disable-securetransport --disable-xlib --disable-zlib --enable-encoder=libvpx_vp8 --enable-encoder=libopus --enable-encoder=mjpeg --enable-muxer=webm --enable-muxer=ogg --enable-muxer=null --enable-muxer=image2 --enable-filter=subtitles --enable-libass --enable-libopus --enable-libvpx --extra-cflags=-I../libvpx/dist/include --extra-ldflags=-L../libvpx/dist/lib
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
    [h264 @ 0x7d7510] Warning: not compiled with thread support, using thread emulation
    [aac @ 0x7d81c0] Warning: not compiled with thread support, using thread emulation
    [ssa @ 0x7d8e30] Warning: not compiled with thread support, using thread emulation
    Input #0, matroska,webm, from 'censored filename.mkv':
     Metadata:
       encoder         : no_variable_data
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:23:40.13, start: 0.000000, bitrate: 2789 kb/s
       Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
       Metadata:
         BPS             : 2658044
         BPS-eng         : 2658044
         DURATION        : 00:23:40.045000000
         DURATION-eng    : 00:23:40.045000000
         NUMBER_OF_FRAMES: 34047
         NUMBER_OF_FRAMES-eng: 34047
         NUMBER_OF_BYTES : 471817808
         NUMBER_OF_BYTES-eng: 471817808
         _STATISTICS_WRITING_APP: no_variable_data
         _STATISTICS_WRITING_APP-eng: no_variable_data
         _STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
         _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
       Metadata:
         BPS             : 128000
         BPS-eng         : 128000
         DURATION        : 00:23:40.109000000
         DURATION-eng    : 00:23:40.109000000
         NUMBER_OF_FRAMES: 61159
         NUMBER_OF_FRAMES-eng: 61159
         NUMBER_OF_BYTES : 22721748
         NUMBER_OF_BYTES-eng: 22721748
         _STATISTICS_WRITING_APP: no_variable_data
         _STATISTICS_WRITING_APP-eng: no_variable_data
         _STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
         _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:2(eng): Subtitle: ass (default)
       Metadata:
         BPS             : 110
         BPS-eng         : 110
         DURATION        : 00:23:25.280000000
         DURATION-eng    : 00:23:25.280000000
         NUMBER_OF_FRAMES: 298
         NUMBER_OF_FRAMES-eng: 298
         NUMBER_OF_BYTES : 19407
         NUMBER_OF_BYTES-eng: 19407
         _STATISTICS_WRITING_APP: no_variable_data
         _STATISTICS_WRITING_APP-eng: no_variable_data
         _STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
         _STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:3: Attachment: ttf
       Metadata:
         filename        : OpenSans-Semibold.ttf
         mimetype        : application/x-truetype-font
    [NULL @ 0x9eac90] Unable to find a suitable output format for 'subs.srt'
    subs.srt: Invalid argument

    the file is a mkv video file

    Other info

    Codecs:
    D..... = Decoding supported
    .E.... = Encoding supported
    ..V... = Video codec
    ..A... = Audio codec
    ..S... = Subtitle codec
    ...I.. = Intra frame-only codec
    ....L. = Lossy compression
    .....S = Lossless compression
    -------
    ..VI.. 012v                 Uncompressed 4:2:2 10-bit
    ..V.L. 4xm                  4X Movie
    ..VI.S 8bps                 QuickTime 8BPS video
    ..VIL. a64_multi            Multicolor charset for Commodore 64
    ..VIL. a64_multi5           Multicolor charset for Commodore 64, extended with 5th color (colram)
    ..V..S aasc                 Autodesk RLE
    ..VIL. aic                  Apple Intermediate Codec
    ..VI.S alias_pix            Alias/Wavefront PIX image
    ..VIL. amv                  AMV Video
    ..V.L. anm                  Deluxe Paint Animation
    ..V.L. ansi                 ASCII/ANSI art
    ..V..S apng                 APNG (Animated Portable Network Graphics) image
    ..VIL. asv1                 ASUS V1
    ..VIL. asv2                 ASUS V2
    ..VIL. aura                 Auravision AURA
    ..VIL. aura2                Auravision Aura 2
    ..V... avrn                 Avid AVI Codec
    ..VI.. avrp                 Avid 1:1 10-bit RGB Packer
    ..V.L. avs                  AVS (Audio Video Standard) video
    ..VI.. avui                 Avid Meridien Uncompressed
    ..VI.. ayuv                 Uncompressed packed MS 4:4:4:4
    ..V.L. bethsoftvid          Bethesda VID video
    ..V.L. bfi                  Brute Force & Ignorance
    ..V.L. binkvideo            Bink video
    ..VI.. bintext              Binary text
    ..VI.S bmp                  BMP (Windows and OS/2 bitmap)
    ..V..S bmv_video            Discworld II BMV video
    ..VI.S brender_pix          BRender PIX image
    ..V.L. c93                  Interplay C93
    ..V.L. cavs                 Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
    ..V.L. cdgraphics           CD Graphics video
    ..VIL. cdxl                 Commodore CDXL video
    ..V.L. cfhd                 Cineform HD
    ..V.L. cinepak              Cinepak
    ..VIL. cljr                 Cirrus Logic AccuPak
    ..VI.S cllc                 Canopus Lossless Codec
    ..V.L. cmv                  Electronic Arts CMV video
    ..V... cpia                 CPiA video format
    ..V..S cscd                 CamStudio
    ..VIL. cyuv                 Creative YUV (CYUV)
    ..V.LS daala                Daala
    ..VILS dds                  DirectDraw Surface image decoder
    ..V.L. dfa                  Chronomaster DFA
    ..V.LS dirac                Dirac
    ..VIL. dnxhd                VC3/DNxHD
    ..VI.S dpx                  DPX (Digital Picture Exchange) image
    ..V.L. dsicinvideo          Delphine Software International CIN video
    ..VIL. dvvideo              DV (Digital Video)
    ..V..S dxa                  Feeble Files/ScummVM DXA
    ..VI.S dxtory               Dxtory
    ..VIL. dxv                  Resolume DXV
    ..V.L. escape124            Escape 124
    ..V.L. escape130            Escape 130
    ..VILS exr                  OpenEXR image
    ..V..S ffv1                 FFmpeg video codec #1
    ..VI.S ffvhuff              Huffyuv FFmpeg variant
    ..V.L. fic                  Mirillis FIC
    ..V..S flashsv              Flash Screen Video v1
    ..V.L. flashsv2             Flash Screen Video v2
    ..V..S flic                 Autodesk Animator Flic video
    ..V.L. flv1                 FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
    ..V..S fraps                Fraps
    ..VI.S frwu                 Forward Uncompressed
    ..V.L. g2m                  Go2Meeting
    ..V..S gif                  GIF (Graphics Interchange Format)
    ..V.L. h261                 H.261
    D.V.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
    ..V.L. h263i                Intel H.263
    ..V.L. h263p                H.263+ / H.263-1998 / H.263 version 2
    D.V.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    ..VIL. hap                  Vidvox Hap decoder
    D.V.L. hevc                 H.265 / HEVC (High Efficiency Video Coding)
    ..V.L. hnm4video            HNM 4 video
    ..VIL. hq_hqa               Canopus HQ/HQA
    ..VIL. hqx                  Canopus HQX
    ..VI.S huffyuv              HuffYUV
    ..V.L. idcin                id Quake II CIN video
    ..VI.. idf                  iCEDraw text
    ..V.L. iff_ilbm             IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN
    ..V.L. indeo2               Intel Indeo 2
    ..V.L. indeo3               Intel Indeo 3
    ..V.L. indeo4               Intel Indeo Video Interactive 4
    ..V.L. indeo5               Intel Indeo Video Interactive 5
    ..V.L. interplayvideo       Interplay MVE video
    ..VILS jpeg2000             JPEG 2000
    ..VILS jpegls               JPEG-LS
    ..VIL. jv                   Bitmap Brothers JV video
    ..V.L. kgv1                 Kega Game Video
    ..V.L. kmvc                 Karl Morton's video codec
    ..VI.S lagarith             Lagarith lossless
    ..VI.S ljpeg                Lossless JPEG
    ..VI.S loco                 LOCO
    ..VI.S m101                 Matrox Uncompressed SD
    ..V.L. mad                  Electronic Arts Madcow Video
    ..VI.S magicyuv             MagicYUV Lossless Video
    ..VIL. mdec                 Sony PlayStation MDEC (Motion DECoder)
    ..V.L. mimic                Mimic
    DEVIL. mjpeg                Motion JPEG
    ..VIL. mjpegb               Apple MJPEG-B
    ..V.L. mmvideo              American Laser Games MM Video
    ..V.L. motionpixels         Motion Pixels video
    ..V.L. mpeg1video           MPEG-1 video
    D.V.L. mpeg2video           MPEG-2 video
    D.V.L. mpeg4                MPEG-4 part 2
    ..V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
    ..V.L. msa1                 MS ATC Screen
    ..V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
    ..V.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
    ..V.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3
    ..V..S msrle                Microsoft RLE
    ..V.L. mss1                 MS Screen 1
    ..VIL. mss2                 MS Windows Media Video V9 Screen
    ..V.L. msvideo1             Microsoft Video 1
    ..VI.S mszh                 LCL (LossLess Codec Library) MSZH
    ..V.L. mts2                 MS Expression Encoder Screen
    ..VIL. mvc1                 Silicon Graphics Motion Video Compressor 1
    ..VIL. mvc2                 Silicon Graphics Motion Video Compressor 2
    ..V.L. mxpeg                Mobotix MxPEG video
    ..V.L. nuv                  NuppelVideo/RTJPEG
    ..V.L. paf_video            Amazing Studio Packed Animation File Video
    ..VI.S pam                  PAM (Portable AnyMap) image
    ..VI.S pbm                  PBM (Portable BitMap) image
    ..VI.S pcx                  PC Paintbrush PCX image
    ..VI.S pgm                  PGM (Portable GrayMap) image
    ..VI.S pgmyuv               PGMYUV (Portable GrayMap YUV) image
    ..VIL. pictor               Pictor/PC Paint
    ..V..S png                  PNG (Portable Network Graphics) image
    ..VI.S ppm                  PPM (Portable PixelMap) image
    ..VIL. prores               Apple ProRes (iCodec Pro)
    ..VIL. ptx                  V.Flash PTX image
    ..VI.S qdraw                Apple QuickDraw
    ..V.L. qpeg                 Q-team QPEG
    ..V..S qtrle                QuickTime Animation (RLE) video
    ..VI.S r10k                 AJA Kona 10-bit RGB Codec
    ..VI.S r210                 Uncompressed RGB 10-bit
    ..VI.S rawvideo             raw video
    ..VIL. rl2                  RL2 video
    ..V.L. roq                  id RoQ video
    ..V.L. rpza                 QuickTime video (RPZA)
    ..V..S rscc                 innoHeim/Rsupport Screen Capture Codec
    ..V.L. rv10                 RealVideo 1.0
    ..V.L. rv20                 RealVideo 2.0
    ..V.L. rv30                 RealVideo 3.0
    ..V.L. rv40                 RealVideo 4.0
    ..V.L. sanm                 LucasArts SANM/SMUSH video
    ..V..S screenpresso         Screenpresso
    ..VI.S sgi                  SGI image
    ..VI.S sgirle               SGI RLE 8-bit
    ..VI.S sheervideo           BitJazz SheerVideo
    ..V.L. smackvideo           Smacker video
    ..V.L. smc                  QuickTime Graphics (SMC)
    ..V... smvjpeg              Sigmatel Motion Video
    ..V.LS snow                 Snow
    ..VIL. sp5x                 Sunplus JPEG (SP5X)
    ..VI.S sunrast              Sun Rasterfile image
    ..V.L. svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
    ..V.L. svq3                 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
    ..VI.S targa                Truevision Targa image
    ..VI.. targa_y216           Pinnacle TARGA CineWave YUV16
    ..V.L. tdsc                 TDSC
    ..V.L. tgq                  Electronic Arts TGQ video
    ..V.L. tgv                  Electronic Arts TGV video
    D.V.L. theora               Theora
    ..VIL. thp                  Nintendo Gamecube THP video
    ..V.L. tiertexseqvideo      Tiertex Limited SEQ video
    ..VI.S tiff                 TIFF image
    ..VIL. tmv                  8088flex TMV
    ..V.L. tqi                  Electronic Arts TQI video
    ..V.L. truemotion1          Duck TrueMotion 1.0
    ..V.L. truemotion2          Duck TrueMotion 2.0
    ..V.L. truemotion2rt        Duck TrueMotion 2.0 Real Time
    ..V..S tscc                 TechSmith Screen Capture Codec
    ..V.L. tscc2                TechSmith Screen Codec 2
    ..VIL. txd                  Renderware TXD (TeXture Dictionary) image
    ..V.L. ulti                 IBM UltiMotion
    ..VI.S utvideo              Ut Video
    ..VI.S v210                 Uncompressed 4:2:2 10-bit
    ..VI.S v210x                Uncompressed 4:2:2 10-bit
    ..VI.. v308                 Uncompressed packed 4:4:4
    ..VI.. v408                 Uncompressed packed QT 4:4:4:4
    ..VI.S v410                 Uncompressed 4:4:4 10-bit
    ..V.L. vb                   Beam Software VB
    ..VI.S vble                 VBLE Lossless Codec
    ..V.L. vc1                  SMPTE VC-1
    ..V.L. vc1image             Windows Media Video 9 Image v2
    ..VIL. vcr1                 ATI VCR1
    ..VIL. vixl                 Miro VideoXL
    ..V.L. vmdvideo             Sierra VMD video
    ..V..S vmnc                 VMware Screen Codec / VMware Video
    D.V.L. vp3                  On2 VP3
    ..V.L. vp5                  On2 VP5
    ..V.L. vp6                  On2 VP6
    ..V.L. vp6a                 On2 VP6 (Flash version, with alpha channel)
    ..V.L. vp6f                 On2 VP6 (Flash version)
    ..V.L. vp7                  On2 VP7
    DEV.L. vp8                  On2 VP8 (encoders: libvpx )
    D.V.L. vp9                  Google VP9
    ..VILS webp                 WebP
    ..V.L. wmv1                 Windows Media Video 7
    ..V.L. wmv2                 Windows Media Video 8
    ..V.L. wmv3                 Windows Media Video 9
    ..V.L. wmv3image            Windows Media Video 9 Image
    ..VIL. wnv1                 Winnov WNV1
    ..V..S wrapped_avframe      AVFrame to AVPacket passthrough
    ..V.L. ws_vqa               Westwood Studios VQA (Vector Quantized Animation) video
    ..V.L. xan_wc3              Wing Commander III / Xan
    ..V.L. xan_wc4              Wing Commander IV / Xxan
    ..VI.. xbin                 eXtended BINary text
    ..VI.S xbm                  XBM (X BitMap) image
    ..VIL. xface                X-face image
    ..VI.S xwd                  XWD (X Window Dump) image
    ..VI.. y41p                 Uncompressed YUV 4:1:1 12-bit
    ..VI.S ylc                  YUY2 Lossless Codec
    ..V.L. yop                  Psygnosis YOP Video
    ..VI.. yuv4                 Uncompressed packed 4:2:0
    ..V..S zerocodec            ZeroCodec Lossless Video
    ..VI.S zlib                 LCL (LossLess Codec Library) ZLIB
    ..V..S zmbv                 Zip Motion Blocks Video
    ..A.L. 4gv                  4GV (Fourth Generation Vocoder)
    ..A.L. 8svx_exp             8SVX exponential
    ..A.L. 8svx_fib             8SVX fibonacci
    D.A.L. aac                  AAC (Advanced Audio Coding)
    ..A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
    D.A.L. ac3                  ATSC A/52A (AC-3)
    ..A.L. adpcm_4xm            ADPCM 4X Movie
    ..A.L. adpcm_adx            SEGA CRI ADX ADPCM
    ..A.L. adpcm_afc            ADPCM Nintendo Gamecube AFC
    ..A.L. adpcm_aica           ADPCM Yamaha AICA
    ..A.L. adpcm_ct             ADPCM Creative Technology
    ..A.L. adpcm_dtk            ADPCM Nintendo Gamecube DTK
    ..A.L. adpcm_ea             ADPCM Electronic Arts
    ..A.L. adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
    ..A.L. adpcm_ea_r1          ADPCM Electronic Arts R1
    ..A.L. adpcm_ea_r2          ADPCM Electronic Arts R2
    ..A.L. adpcm_ea_r3          ADPCM Electronic Arts R3
    ..A.L. adpcm_ea_xas         ADPCM Electronic Arts XAS
    ..A.L. adpcm_g722           G.722 ADPCM
    ..A.L. adpcm_g726           G.726 ADPCM
    ..A.L. adpcm_g726le         G.726 ADPCM little-endian
    ..A.L. adpcm_ima_amv        ADPCM IMA AMV
    ..A.L. adpcm_ima_apc        ADPCM IMA CRYO APC
    ..A.L. adpcm_ima_dat4       ADPCM IMA Eurocom DAT4
    ..A.L. adpcm_ima_dk3        ADPCM IMA Duck DK3
    ..A.L. adpcm_ima_dk4        ADPCM IMA Duck DK4
    ..A.L. adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
    ..A.L. adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
    ..A.L. adpcm_ima_iss        ADPCM IMA Funcom ISS
    ..A.L. adpcm_ima_oki        ADPCM IMA Dialogic OKI
    ..A.L. adpcm_ima_qt         ADPCM IMA QuickTime
    ..A.L. adpcm_ima_rad        ADPCM IMA Radical
    ..A.L. adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
    ..A.L. adpcm_ima_wav        ADPCM IMA WAV
    ..A.L. adpcm_ima_ws         ADPCM IMA Westwood
    ..A.L. adpcm_ms             ADPCM Microsoft
    ..A.L. adpcm_mtaf           ADPCM MTAF
    ..A.L. adpcm_psx            ADPCM Playstation
    ..A.L. adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
    ..A.L. adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
    ..A.L. adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
    ..A.L. adpcm_swf            ADPCM Shockwave Flash
    ..A.L. adpcm_thp            ADPCM Nintendo THP
    ..A.L. adpcm_thp_le         ADPCM Nintendo THP (Little-Endian)
    ..A.L. adpcm_vima           LucasArts VIMA audio
    ..A.L. adpcm_xa             ADPCM CDROM XA
    ..A.L. adpcm_yamaha         ADPCM Yamaha
    ..A..S alac                 ALAC (Apple Lossless Audio Codec)
    ..A.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand)
    ..A.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand)
    ..A..S ape                  Monkey's Audio
    ..A.L. atrac1               ATRAC1 (Adaptive TRansform Acoustic Coding)
    ..A.L. atrac3               ATRAC3 (Adaptive TRansform Acoustic Coding 3)
    ..A.L. atrac3p              ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)
    ..A.L. avc                  On2 Audio for Video Codec
    ..A.L. binkaudio_dct        Bink Audio (DCT)
    ..A.L. binkaudio_rdft       Bink Audio (RDFT)
    ..A.L. bmv_audio            Discworld II BMV audio
    ..A.L. celt                 Constrained Energy Lapped Transform (CELT)
    ..A.L. comfortnoise         RFC 3389 Comfort Noise
    ..A.L. cook                 Cook / Cooker / Gecko (RealAudio G2)
    ..A.L. dsd_lsbf             DSD (Direct Stream Digital), least significant bit first
    ..A.L. dsd_lsbf_planar      DSD (Direct Stream Digital), least significant bit first, planar
    ..A.L. dsd_msbf             DSD (Direct Stream Digital), most significant bit first
    ..A.L. dsd_msbf_planar      DSD (Direct Stream Digital), most significant bit first, planar
    ..A.L. dsicinaudio          Delphine Software International CIN audio
    ..A.L. dss_sp               Digital Speech Standard - Standard Play mode (DSS SP)
    ..A..S dst                  DST (Direct Stream Transfer)
    ..A.LS dts                  DCA (DTS Coherent Acoustics)
    ..A.L. dvaudio              DV audio
    ..A.L. eac3                 ATSC A/52B (AC-3, E-AC-3)
    ..A.L. evrc                 EVRC (Enhanced Variable Rate Codec)
    ..A..S flac                 FLAC (Free Lossless Audio Codec)
    ..A.L. g723_1               G.723.1
    ..A.L. g729                 G.729
    ..A.L. gsm                  GSM
    ..A.L. gsm_ms               GSM Microsoft variant
    ..A.L. iac                  IAC (Indeo Audio Coder)
    ..A.L. ilbc                 iLBC (Internet Low Bitrate Codec)
    ..A.L. imc                  IMC (Intel Music Coder)
    ..A.L. interplay_dpcm       DPCM Interplay
    ..A.L. interplayacm         Interplay ACM
    ..A.L. mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
    ..A.L. mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
    ..A.L. metasound            Voxware MetaSound
    ..A..S mlp                  MLP (Meridian Lossless Packing)
    ..A.L. mp1                  MP1 (MPEG audio layer 1)
    ..A.L. mp2                  MP2 (MPEG audio layer 2)
    D.A.L. mp3                  MP3 (MPEG audio layer 3)
    ..A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3)
    ..A.L. mp3on4               MP3onMP4
    ..A..S mp4als               MPEG-4 Audio Lossless Coding (ALS)
    ..A.L. musepack7            Musepack SV7
    ..A.L. musepack8            Musepack SV8
    ..A.L. nellymoser           Nellymoser Asao
    DEA.L. opus                 Opus (Opus Interactive Audio Codec) (encoders: libopus )
    ..A.L. paf_audio            Amazing Studio Packed Animation File Audio
    ..A.L. pcm_alaw             PCM A-law / G.711 A-law
    ..A..S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
    ..A..S pcm_dvd              PCM signed 20|24-bit big-endian
    ..A..S pcm_f32be            PCM 32-bit floating point big-endian
    ..A..S pcm_f32le            PCM 32-bit floating point little-endian
    ..A..S pcm_f64be            PCM 64-bit floating point big-endian
    ..A..S pcm_f64le            PCM 64-bit floating point little-endian
    ..A..S pcm_lxf              PCM signed 20-bit little-endian planar
    ..A.L. pcm_mulaw            PCM mu-law / G.711 mu-law
    ..A..S pcm_s16be            PCM signed 16-bit big-endian
    ..A..S pcm_s16be_planar     PCM signed 16-bit big-endian planar
    ..A..S pcm_s16le            PCM signed 16-bit little-endian
    ..A..S pcm_s16le_planar     PCM signed 16-bit little-endian planar
    ..A..S pcm_s24be            PCM signed 24-bit big-endian
    ..A..S pcm_s24daud          PCM D-Cinema audio signed 24-bit
    ..A..S pcm_s24le            PCM signed 24-bit little-endian
    ..A..S pcm_s24le_planar     PCM signed 24-bit little-endian planar
    ..A..S pcm_s32be            PCM signed 32-bit big-endian
    ..A..S pcm_s32le            PCM signed 32-bit little-endian
    ..A..S pcm_s32le_planar     PCM signed 32-bit little-endian planar
    ..A..S pcm_s8               PCM signed 8-bit
    ..A..S pcm_s8_planar        PCM signed 8-bit planar
    ..A..S pcm_u16be            PCM unsigned 16-bit big-endian
    ..A..S pcm_u16le            PCM unsigned 16-bit little-endian
    ..A..S pcm_u24be            PCM unsigned 24-bit big-endian
    ..A..S pcm_u24le            PCM unsigned 24-bit little-endian
    ..A..S pcm_u32be            PCM unsigned 32-bit big-endian
    ..A..S pcm_u32le            PCM unsigned 32-bit little-endian
    ..A..S pcm_u8               PCM unsigned 8-bit
    ..A.L. pcm_zork             PCM Zork
    ..A.L. qcelp                QCELP / PureVoice
    ..A.L. qdm2                 QDesign Music Codec 2
    ..A.L. qdmc                 QDesign Music
    ..A.L. ra_144               RealAudio 1.0 (14.4K)
    ..A.L. ra_288               RealAudio 2.0 (28.8K)
    ..A..S ralf                 RealAudio Lossless
    ..A.L. roq_dpcm             DPCM id RoQ
    ..A..S s302m                SMPTE 302M
    ..A.L. sdx2_dpcm            DPCM Squareroot-Delta-Exact
    ..A..S shorten              Shorten
    ..A.L. sipr                 RealAudio SIPR / ACELP.NET
    ..A.L. smackaudio           Smacker audio
    ..A.L. smv                  SMV (Selectable Mode Vocoder)
    ..A.L. sol_dpcm             DPCM Sol
    ..A... sonic                Sonic
    ..A... sonicls              Sonic lossless
    ..A.L. speex                Speex
    ..A..S tak                  TAK (Tom's lossless Audio Kompressor)
    ..A..S truehd               TrueHD
    ..A.L. truespeech           DSP Group TrueSpeech
    ..A..S tta                  TTA (True Audio)
    ..A.L. twinvq               VQF TwinVQ
    ..A.L. vmdaudio             Sierra VMD audio
    D.A.L. vorbis               Vorbis
    ..A.L. voxware              Voxware RT29 Metasound
    ..A... wavesynth            Wave synthesis pseudo-codec
    ..A.LS wavpack              WavPack
    ..A.L. westwood_snd1        Westwood Audio (SND1)
    ..A..S wmalossless          Windows Media Audio Lossless
    ..A.L. wmapro               Windows Media Audio 9 Professional
    ..A.L. wmav1                Windows Media Audio 1
    ..A.L. wmav2                Windows Media Audio 2
    ..A.L. wmavoice             Windows Media Audio Voice
    ..A.L. xan_dpcm             DPCM Xan
    ..A.L. xma1                 Xbox Media Audio 1
    ..A.L. xma2                 Xbox Media Audio 2
    ..D... bin_data             binary data
    ..D... dvd_nav_packet       DVD Nav packet
    ..D... klv                  SMPTE 336M Key-Length-Value (KLV) metadata
    ..D... otf                  OpenType font
    ..D... timed_id3            timed ID3 metadata
    ..D... ttf                  TrueType font
    D.S... ass                  ASS (Advanced SSA) subtitle (decoders: ssa ass )
    ..S... dvb_subtitle         DVB subtitles
    ..S... dvb_teletext         DVB teletext
    ..S... dvd_subtitle         DVD subtitles
    ..S... eia_608              EIA-608 closed captions
    ..S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles
    ..S... hdmv_text_subtitle   HDMV Text subtitle
    ..S... jacosub              JACOsub subtitle
    ..S... microdvd             MicroDVD subtitle
    ..S... mov_text             MOV text
    ..S... mpl2                 MPL2 subtitle
    ..S... pjs                  PJS (Phoenix Japanimation Society) subtitle
    ..S... realtext             RealText subtitle
    ..S... sami                 SAMI subtitle
    ..S... srt                  SubRip subtitle with embedded timing
    ..S... ssa                  SSA (SubStation Alpha) subtitle
    ..S... stl                  Spruce subtitle format
    D.S... subrip               SubRip subtitle (decoders: srt )
    ..S... subviewer            SubViewer subtitle
    ..S... subviewer1           SubViewer v1 subtitle
    ..S... text                 raw UTF-8 text
    ..S... vplayer              VPlayer subtitle
    D.S... webvtt               WebVTT subtitle
    ..S... xsub                 XSUB
  • How to save rtsp stream without packet loss by using FFMPEG

    11 avril 2021, par sumit singh

    I am saving stream of live camera by using FFMPEG. When i am trying to save the video some data packets are loss so the video is not playing properly.I am using following FFMPEG Library

    



    The command which i am sending is-

    



     String[] cmd = {"-y", "-i", "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov", "-c:v", "libx264", "-acodec", "aac","-t", time, file_path};
 execFFmpegBinary(cmd);


    



    I am also try this command but the result is same

    



    String[] cmd = { "-y", "-rtsp_transport", "tcp", "-i",  "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov", "-c:v", "libx264", "-preset", "slow", "-b:v", "500k", "-maxrate", "500k", "-bufsize", "3000k", "-vf", "scale=-1:480", "-threads", "0", "-codec:a", "libfdk_aac", "-b:a", "128k", "-t", time, file_path};


    



    Here is the log of command output-

    



    07-15 15:16:55.180 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.180 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 455 packets
        07-15 15:16:55.190 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.190 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 16 packets
        07-15 15:16:55.300 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.300 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 13 packets
        07-15 15:16:55.310 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] mb_type 58 in P slice too large at 31 16
        07-15 15:16:55.320 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] error while decoding MB 31 16
        07-15 15:16:55.330 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 918 DC, 918 AC, 918 MV errors in P frame
        07-15 15:16:55.330 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.330 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 55 packets
        07-15 15:16:55.340 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.340 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 19 packets
        07-15 15:16:55.340 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.350 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 1 packets
        07-15 15:16:55.350 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] out of range intra chroma pred mode at 7 28
        07-15 15:16:55.350 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] error while decoding MB 7 28
        07-15 15:16:55.360 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] concealing 402 DC, 402 AC, 402 MV errors in P frame
        07-15 15:16:55.360 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] P sub_mb_type 8 out of range at 28 14
        07-15 15:16:55.370 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] error while decoding MB 28 14
        07-15 15:16:55.370 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] concealing 1011 DC, 1011 AC, 1011 MV errors in P frame
        07-15 15:16:55.380 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45afe200] cbp too large (132) at 12 20
        07-15 15:16:55.380 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45afe200] error while decoding MB 12 20
        07-15 15:16:55.390 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45afe200] concealing 757 DC, 757 AC, 757 MV errors in P frame
        07-15 15:16:55.640 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  173 fps=3.6 q=28.0 size=     657kB time=00:00:23.84 bitrate= 225.8kbits/s speed=0.502x
        07-15 15:16:55.840 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.910 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 520 packets
        07-15 15:16:55.920 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.920 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 2 packets
        07-15 15:16:55.920 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:55.920 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 56 packets
        07-15 15:16:55.930 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] concealing 800 DC, 800 AC, 800 MV errors in P frame
        07-15 15:16:56.010 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 311 DC, 311 AC, 311 MV errors in P frame
        07-15 15:16:56.720 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  174 fps=3.6 q=28.0 size=     674kB time=00:00:23.88 bitrate= 231.0kbits/s speed=0.497x
        07-15 15:16:57.050 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  175 fps=3.6 q=28.0 size=     675kB time=00:00:29.00 bitrate= 190.6kbits/s speed=0.596x
        07-15 15:16:57.350 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  177 fps=3.6 q=28.0 size=     686kB time=00:00:30.36 bitrate= 185.1kbits/s speed=0.617x
        07-15 15:16:58.610 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  182 fps=3.6 q=28.0 size=     703kB time=00:00:30.56 bitrate= 188.3kbits/s speed=0.609x
        07-15 15:16:59.120 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:59.120 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 23 packets
        07-15 15:16:59.190 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  184 fps=3.6 q=28.0 size=     709kB time=00:00:30.64 bitrate= 189.6kbits/s speed=0.602x
        07-15 15:16:59.200 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 69 DC, 69 AC, 69 MV errors in P frame
        07-15 15:16:59.370 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:59.440 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 35 packets
        07-15 15:16:59.440 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] concealing 338 DC, 338 AC, 338 MV errors in I frame
        07-15 15:16:59.920 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  187 fps=3.6 q=28.0 size=     716kB time=00:00:30.76 bitrate= 190.7kbits/s speed=0.595x
        07-15 15:16:59.920 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:16:59.990 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 20 packets
        07-15 15:16:59.990 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45afe200] concealing 489 DC, 489 AC, 489 MV errors in P frame
        07-15 15:17:01.980 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  190 fps=3.5 q=28.0 size=     737kB time=00:00:30.88 bitrate= 195.4kbits/s speed=0.575x
        07-15 15:17:01.980 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:01.980 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 35 packets
        07-15 15:17:02.060 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:02.060 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 10 packets
        07-15 15:17:02.230 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:02.230 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 10 packets
        07-15 15:17:02.270 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] dquant out of range (124) at 15 35
        07-15 15:17:02.270 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] error while decoding MB 15 35
        07-15 15:17:02.280 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] concealing 79 DC, 79 AC, 79 MV errors in P frame
        07-15 15:17:02.280 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:02.280 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 76 packets
        07-15 15:17:02.290 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 805 DC, 805 AC, 805 MV errors in P frame
        07-15 15:17:02.510 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:02.510 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 40 packets
        07-15 15:17:02.600 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  194 fps=3.6 q=28.0 size=     747kB time=00:00:31.04 bitrate= 197.1kbits/s speed=0.57x
        07-15 15:17:02.610 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:02.610 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 60 packets
        07-15 15:17:02.610 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] concealing 526 DC, 526 AC, 526 MV errors in P frame
        07-15 15:17:02.620 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] concealing 197 DC, 197 AC, 197 MV errors in P frame
        07-15 15:17:03.380 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  195 fps=3.5 q=28.0 size=     751kB time=00:00:31.08 bitrate= 198.1kbits/s speed=0.562x
        07-15 15:17:03.570 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:03.640 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 474 packets
        07-15 15:17:03.640 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:03.650 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 109 packets
        07-15 15:17:03.650 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] negative number of zero coeffs at 28 22
        07-15 15:17:03.650 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] error while decoding MB 28 22
        07-15 15:17:03.660 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] concealing 651 DC, 651 AC, 651 MV errors in P frame
        07-15 15:17:03.660 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x458737c0] concealing 1074 DC, 1074 AC, 1074 MV errors in P frame
        07-15 15:17:03.920 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  195 fps=3.5 q=28.0 size=     751kB time=00:00:31.08 bitrate= 198.1kbits/s speed=0.557x
        07-15 15:17:05.530 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  199 fps=3.5 q=25.0 size=     766kB time=00:00:32.84 bitrate= 191.2kbits/s speed=0.573x
        07-15 15:17:06.250 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  202 fps=3.5 q=22.0 size=     784kB time=00:00:32.96 bitrate= 194.8kbits/s speed=0.568x
        07-15 15:17:07.130 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  205 fps=3.5 q=28.0 size=     800kB time=00:00:33.08 bitrate= 198.2kbits/s speed=0.562x
        07-15 15:17:08.960 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  207 fps=3.4 q=28.0 size=     811kB time=00:00:35.32 bitrate= 188.0kbits/s speed=0.581x
        07-15 15:17:09.560 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:09.560 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 133 packets
        07-15 15:17:09.660 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  210 fps=3.4 q=28.0 size=     817kB time=00:00:35.84 bitrate= 186.8kbits/s speed=0.584x
        07-15 15:17:09.670 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:09.670 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 14 packets
        07-15 15:17:09.680 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 410 DC, 410 AC, 410 MV errors in I frame
        07-15 15:17:09.770 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x4581bb60] concealing 72 DC, 72 AC, 72 MV errors in P frame
        07-15 15:17:10.730 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:10.730 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 24 packets
        07-15 15:17:10.740 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:10.740 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 56 packets
        07-15 15:17:11.410 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  212 fps=3.4 q=28.0 size=     819kB time=00:00:35.92 bitrate= 186.8kbits/s speed=0.574x
        07-15 15:17:11.510 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.510 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 14 packets
        07-15 15:17:11.510 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] concealing 77 DC, 77 AC, 77 MV errors in P frame
        07-15 15:17:11.520 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  213 fps=3.4 q=28.0 size=     820kB time=00:00:35.96 bitrate= 186.8kbits/s speed=0.568x
        07-15 15:17:11.520 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.520 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 10 packets
        07-15 15:17:11.670 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.720 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 82 packets
        07-15 15:17:11.730 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.730 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 41 packets
        07-15 15:17:11.740 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45c42680] concealing 1343 DC, 1343 AC, 1343 MV errors in I frame
        07-15 15:17:11.740 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.750 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 240 packets
        07-15 15:17:11.890 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.900 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 7 packets
        07-15 15:17:11.900 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:11.900 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 63 packets
        07-15 15:17:11.940 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] out of range intra chroma pred mode at 42 32
        07-15 15:17:11.950 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] error while decoding MB 42 32
        07-15 15:17:11.960 25713-25713/com.github.sampleffmpeg V/output: progress : [h264 @ 0x45ab8020] concealing 187 DC, 187 AC, 187 MV errors in P frame
        07-15 15:17:12.420 25713-25713/com.github.sampleffmpeg V/output: progress : [rtsp @ 0x420391c0] max delay reached. need to consume packet
        07-15 15:17:12.420 25713-25713/com.github.sampleffmpeg V/output: progress : [NULL @ 0x4203ba00] RTP: missed 9 packets
        07-15 15:17:12.830 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  217 fps=3.4 q=24.0 size=     881kB time=00:00:36.12 bitrate= 199.7kbits/s speed=0.562x
        07-15 15:17:32.710 25713-25713/com.github.sampleffmpeg V/output: progress : frame=  217 fps=2.6 q=-1.0 Lsize=    1192kB time=00:00:59.48 bitrate= 164.2kbits/s speed=0.703x
        07-15 15:17:32.720 25713-25713/com.github.sampleffmpeg V/output: progress : video:1190kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.207405%
        07-15 15:17:32.820 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] frame I:4     Avg QP:17.76  size: 23826
        07-15 15:17:32.820 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] frame P:141   Avg QP:20.25  size:  7361
        07-15 15:17:32.830 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] frame B:72    Avg QP:23.59  size:  1173
        07-15 15:17:32.830 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] consecutive B-frames: 54.4%  1.8%  6.9% 36.9%
        07-15 15:17:32.840 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] mb I  I16..4: 23.2% 42.9% 34.0%
        07-15 15:17:32.840 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] mb P  I16..4:  3.6%  3.2%  1.9%  P16..4: 27.9%  6.4%  4.8%  0.0%  0.0%    skip:52.3%
        07-15 15:17:32.850 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 20.2%  1.0%  0.3%  direct: 1.1%  skip:77.2%  L0:42.5% L1:53.9% BI: 3.7%
        07-15 15:17:32.860 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] 8x8 transform intra:38.4% inter:29.9%
        07-15 15:17:32.860 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] coded y,uvDC,uvAC intra: 49.0% 31.1% 15.6% inter: 12.9% 10.5% 1.3%
        07-15 15:17:32.870 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] i16 v,h,dc,p: 72%  6%  5% 17%
        07-15 15:17:32.870 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45% 16% 17%  2%  4%  3%  4%  5%  3%
        07-15 15:17:32.880 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 19% 15%  5%  6%  4% 10%  9%  6%
        07-15 15:17:32.880 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] i8c dc,h,v,p: 46% 12% 40%  3%
        07-15 15:17:32.880 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] Weighted P-Frames: Y:0.0% UV:0.0%
        07-15 15:17:32.890 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] ref P L0: 78.9%  6.1%  9.5%  5.6%
        07-15 15:17:32.890 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] ref B L0: 87.4%  9.5%  3.1%
        07-15 15:17:32.890 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] ref B L1: 95.5%  4.5%
        07-15 15:17:32.900 25713-25713/com.github.sampleffmpeg V/output: progress : [libx264 @ 0x420a54c0] kb/s:163.45
        07-15 15:17:32.900 25713-25713/com.github.sampleffmpeg V/output: SUCCESS with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
        built with gcc 4.8 (GCC)
        configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
        libavutil      55. 17.103 / 55. 17.103
        libavcodec     57. 24.102 / 57. 24.102
        libavformat    57. 25.100 / 57. 25.100
        libavdevice    57.  0.101 / 57.  0.101
        libavfilter     6. 31.100 /  6. 31.100
        libswscale      4.  0.100 /  4.  0.100
        libswresample   2.  0.101 /  2.  0.101
        libpostproc    54.  0.100 / 54.  0.100
        [udp @ 0x4203b040] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
        [udp @ 0x4203c040] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
        Input #0, rtsp, from 'rtsp://81.109.95.91:3000/stream':
        Metadata:
        title           : Session streamed with GStreamer
        comment         : rtsp-server
        Duration: N/A, start: 0.080000, bitrate: N/A
        Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 720x576, 25 fps, 25 tbr, 90k tbn, 180k tbc
        [libx264 @ 0x420a54c0] using cpu capabilities: none!
        [libx264 @ 0x420a54c0] profile High, level 3.0
        [libx264 @ 0x420a54c0] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
        Output #0, matroska, to '/storage/emulated/0/recording15072016-031605.mkv':
        Metadata:
        title           : Session streamed with GStreamer
        comment         : rtsp-server
        encoder         : Lavf57.25.100
        Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576, q=-1--1, 25 fps, 1k tbn, 25 tbc
        Metadata:
        encoder         : Lavc57.24.102 libx264
        Side data:
        unknown side data type 10 (24 bytes)
        Stream mapping:
        Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
        Press [q] to stop, [?] for help
        frame=   23 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
        [rtsp @ 0x420391c0] max delay reached. need to consume packet
        [NULL @ 0x4203ba00] RTP: missed 29 packets
        [h264 @ 0x45afe200] concealing 104 DC, 104 AC, 104 MV errors in P frame
        frame=   42 fps= 41 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
        frame=   47 fps= 17 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
        frame=   52 fps= 14 q=28.0 size=      36kB time=00:00:00.24 bitrate=1231.4kbits/s speed=0.0655x
        frame=   55 fps= 12 q=28.0 size=      46kB time=00:00:00.36 bitrate=1036.1kbits/s speed=0.0783x
        [rtsp @ 0x420391c0] max delay reached. need to con


    



    How to save rtsp stream without packet loss with good quality ? Any help will be appreciated.