Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (31)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6184)

  • What flags should enable to get maximum performance using ffpeg ?

    19 octobre 2017, par Sam

    I am using windows, my application is using opencv and for codecs, we have used ffmpeg. We see the performance is very slow, we want to improve it by compiling ffmpeg with all flags which could take hardware and GPU acceleation into consideration.
    I did ./configure --help inside the ffmpeg source, I see below list option, can you please tell which all can really imporve the performance. Note that we would like to take advantage of hardware and gpu capabilities.

    $ ./configure —help
    Usage : configure [options]
    Options : [defaults in brackets after descriptions]

    Help options :
    —help print this message
    —quiet Suppress showing informative output
    —list-decoders show all available decoders
    —list-encoders show all available encoders
    —list-hwaccels show all available hardware accelerators
    —list-demuxers show all available demuxers
    —list-muxers show all available muxers
    —list-parsers show all available parsers
    —list-protocols show all available protocols
    —list-bsfs show all available bitstream filters
    —list-indevs show all available input devices
    —list-outdevs show all available output devices
    —list-filters show all available filters

    Standard options :
    —logfile=FILE log tests and output to FILE [ffbuild/config.log]
    —disable-logging do not log configure debug information
    —fatal-warnings fail if any configure warning is generated
    —prefix=PREFIX install in PREFIX [/usr/local]
    —bindir=DIR install binaries in DIR [PREFIX/bin]
    —datadir=DIR install data files in DIR [PREFIX/share/ffmpeg]
    —docdir=DIR install documentation in DIR [PREFIX/share/doc/ffmpeg ]
    —libdir=DIR install libs in DIR [PREFIX/lib]
    —shlibdir=DIR install shared libs in DIR [LIBDIR]
    —incdir=DIR install includes in DIR [PREFIX/include]
    —mandir=DIR install man page in DIR [PREFIX/share/man]
    —pkgconfigdir=DIR install pkg-config files in DIR [LIBDIR/pkgconfig]
    —enable-rpath use rpath to allow installing libraries in paths
    not part of the dynamic linker search path
    use rpath when linking programs (USE WITH CARE)
    —install-name-dir=DIR Darwin directory name for installed targets

    Licensing options :
    —enable-gpl allow use of GPL code, the resulting libs
    and binaries will be under GPL [no]
    —enable-version3 upgrade (L)GPL to version 3 [no]
    —enable-nonfree allow use of nonfree code, the resulting libs
    and binaries will be unredistributable [no]

    Configuration options :
    —disable-static do not build static libraries [no]
    —enable-shared build shared libraries [no]
    —enable-small optimize for size instead of speed
    —disable-runtime-cpudetect disable detecting CPU capabilities at runtime (sma ller binary)
    —enable-gray enable full grayscale support (slower color)
    —disable-swscale-alpha disable alpha channel support in swscale
    —disable-all disable building components, libraries and programs
    —disable-autodetect disable automatically detected external libraries [no ]

    Program options :
    —disable-programs do not build command line programs
    —disable-ffmpeg disable ffmpeg build
    —disable-ffplay disable ffplay build
    —disable-ffprobe disable ffprobe build
    —disable-ffserver disable ffserver build

    Documentation options :
    —disable-doc do not build documentation
    —disable-htmlpages do not build HTML documentation pages
    —disable-manpages do not build man documentation pages
    —disable-podpages do not build POD documentation pages
    —disable-txtpages do not build text documentation pages

    Component options :
    —disable-avdevice disable libavdevice build
    —disable-avcodec disable libavcodec build
    —disable-avformat disable libavformat build
    —disable-swresample disable libswresample build
    —disable-swscale disable libswscale build
    —disable-postproc disable libpostproc build
    —disable-avfilter disable libavfilter build
    —enable-avresample enable libavresample build [no]
    —disable-pthreads disable pthreads [autodetect]
    —disable-w32threads disable Win32 threads [autodetect]
    —disable-os2threads disable OS/2 threads [autodetect]
    —disable-network disable network support [no]
    —disable-dct disable DCT code
    —disable-dwt disable DWT code
    —disable-error-resilience disable error resilience code
    —disable-lsp disable LSP code
    —disable-lzo disable LZO decoder code
    —disable-mdct disable MDCT code
    —disable-rdft disable RDFT code
    —disable-fft disable FFT code
    —disable-faan disable floating point AAN (I)DCT code
    —disable-pixelutils disable pixel utils in libavutil

    Individual component options :
    —disable-everything disable all components listed below
    —disable-encoder=NAME disable encoder NAME
    —enable-encoder=NAME enable encoder NAME
    —disable-encoders disable all encoders
    —disable-decoder=NAME disable decoder NAME
    —enable-decoder=NAME enable decoder NAME
    —disable-decoders disable all decoders
    —disable-hwaccel=NAME disable hwaccel NAME
    —enable-hwaccel=NAME enable hwaccel NAME
    —disable-hwaccels disable all hwaccels
    —disable-muxer=NAME disable muxer NAME
    —enable-muxer=NAME enable muxer NAME
    —disable-muxers disable all muxers
    —disable-demuxer=NAME disable demuxer NAME
    —enable-demuxer=NAME enable demuxer NAME
    —disable-demuxers disable all demuxers
    —enable-parser=NAME enable parser NAME
    —disable-parser=NAME disable parser NAME
    —disable-parsers disable all parsers
    —enable-bsf=NAME enable bitstream filter NAME
    —disable-bsf=NAME disable bitstream filter NAME
    —disable-bsfs disable all bitstream filters
    —enable-protocol=NAME enable protocol NAME
    —disable-protocol=NAME disable protocol NAME
    —disable-protocols disable all protocols
    —enable-indev=NAME enable input device NAME
    —disable-indev=NAME disable input device NAME
    —disable-indevs disable input devices
    —enable-outdev=NAME enable output device NAME
    —disable-outdev=NAME disable output device NAME
    —disable-outdevs disable output devices
    —disable-devices disable all devices
    —enable-filter=NAME enable filter NAME
    —disable-filter=NAME disable filter NAME
    —disable-filters disable all filters
    —disable-v4l2_m2m disable V4L2 mem2mem code [autodetect]

    External library support :

    Using any of the following switches will allow FFmpeg to link to the
    corresponding external library. All the components depending on that library
    will become enabled, if all their other dependencies are met and they are not
    explicitly disabled. E.g. —enable-libwavpack will enable linking to
    libwavpack and allow the libwavpack encoder to be built, unless it is
    specifically disabled with —disable-encoder=libwavpack.

    Note that only the system libraries are auto-detected. All the other external
    libraries must be explicitly enabled.

    Also note that the following help text describes the purpose of the libraries
    themselves, not all their features will necessarily be usable by FFmpeg.

    —disable-alsa disable ALSA support [autodetect]
    —disable-appkit disable Apple AppKit framework [autodetect]
    —disable-avfoundation disable Apple AVFoundation framework [autodetect]
    —enable-avisynth enable reading of AviSynth script files [no]
    —disable-bzlib disable bzlib [autodetect]
    —disable-coreimage disable Apple CoreImage framework [autodetect]
    —enable-chromaprint enable audio fingerprinting with chromaprint [no]
    —enable-frei0r enable frei0r video filtering [no]
    —enable-gcrypt enable gcrypt, needed for rtmp(t)e support
    if openssl, librtmp or gmp is not used [no]
    —enable-gmp enable gmp, needed for rtmp(t)e support
    if openssl or librtmp is not used [no]
    —enable-gnutls enable gnutls, needed for https support
    if openssl is not used [no]
    —disable-iconv disable iconv [autodetect]
    —disable-jack disable libjack support [autodetect]
    —enable-jni enable JNI support [no]
    —enable-ladspa enable LADSPA audio filtering [no]
    —enable-libass enable libass subtitles rendering,
    needed for subtitles and ass filter [no]
    —enable-libbluray enable BluRay reading using libbluray [no]
    —enable-libbs2b enable bs2b DSP library [no]
    —enable-libcaca enable textual display using libcaca [no]
    —enable-libcelt enable CELT decoding via libcelt [no]
    —enable-libcdio enable audio CD grabbing with libcdio [no]
    —enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
    and libraw1394 [no]
    —enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
    —enable-libflite enable flite (voice synthesis) support via libflite [ no]
    —enable-libfontconfig enable libfontconfig, useful for drawtext filter [no]
    —enable-libfreetype enable libfreetype, needed for drawtext filter [no]
    —enable-libfribidi enable libfribidi, improves drawtext filter [no]
    —enable-libgme enable Game Music Emu via libgme [no]
    —enable-libgsm enable GSM de/encoding via libgsm [no]
    —enable-libiec61883 enable iec61883 via libiec61883 [no]
    —enable-libilbc enable iLBC de/encoding via libilbc [no]
    —enable-libkvazaar enable HEVC encoding via libkvazaar [no]
    —enable-libmodplug enable ModPlug via libmodplug [no]
    —enable-libmp3lame enable MP3 encoding via libmp3lame [no]
    —enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no ]
    —enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
    —enable-libopencv enable video filtering via libopencv [no]
    —enable-libopenh264 enable H.264 encoding via OpenH264 [no]
    —enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
    —enable-libopenmpt enable decoding tracked files via libopenmpt [no]
    —enable-libopus enable Opus de/encoding via libopus [no]
    —enable-libpulse enable Pulseaudio input via libpulse [no]
    —enable-librsvg enable SVG rasterization via librsvg [no]
    —enable-librubberband enable rubberband needed for rubberband filter [no]
    —enable-librtmp enable RTMP[E] support via librtmp [no]
    —enable-libshine enable fixed-point MP3 encoding via libshine [no]
    —enable-libsmbclient enable Samba protocol via libsmbclient [no]
    —enable-libsnappy enable Snappy compression, needed for hap encoding [n o]
    —enable-libsoxr enable Include libsoxr resampling [no]
    —enable-libspeex enable Speex de/encoding via libspeex [no]
    —enable-libssh enable SFTP protocol via libssh [no]
    —enable-libtesseract enable Tesseract, needed for ocr filter [no]
    —enable-libtheora enable Theora encoding via libtheora [no]
    —enable-libtwolame enable MP2 encoding via libtwolame [no]
    —enable-libv4l2 enable libv4l2/v4l-utils [no]
    —enable-libvidstab enable video stabilization using vid.stab [no]
    —enable-libvmaf enable vmaf filter via libvmaf [no]
    —enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
    —enable-libvorbis enable Vorbis en/decoding via libvorbis,
    native implementation exists [no]
    —enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no]
    —enable-libwavpack enable wavpack encoding via libwavpack [no]
    —enable-libwebp enable WebP encoding via libwebp [no]
    —enable-libx264 enable H.264 encoding via x264 [no]
    —enable-libx265 enable HEVC encoding via x265 [no]
    —enable-libxavs enable AVS encoding via xavs [no]
    —enable-libxcb enable X11 grabbing using XCB [autodetect]
    —enable-libxcb-shm enable X11 grabbing shm communication [autodetect]
    —enable-libxcb-xfixes enable X11 grabbing mouse rendering [autodetect]
    —enable-libxcb-shape enable X11 grabbing shape rendering [autodetect]
    —enable-libxvid enable Xvid encoding via xvidcore,
    native MPEG-4/Xvid encoder exists [no]
    —enable-libxml2 enable XML parsing using the C library libxml2 [no]
    —enable-libzimg enable z.lib, needed for zscale filter [no]
    —enable-libzmq enable message passing via libzmq [no]
    —enable-libzvbi enable teletext support via libzvbi [no]
    —disable-lzma disable lzma [autodetect]
    —enable-decklink enable Blackmagic DeckLink I/O support [no]
    —enable-libndi_newtek enable Newteck NDI I/O support [no]
    —enable-mediacodec enable Android MediaCodec support [no]
    —enable-libmysofa enable libmysofa, needed for sofalizer filter [no]
    —enable-openal enable OpenAL 1.1 capture support [no]
    —enable-opencl enable OpenCL code
    —enable-opengl enable OpenGL rendering [no]
    —enable-openssl enable openssl, needed for https support
    if gnutls is not used [no]
    —disable-sndio disable sndio support [autodetect]
    —disable-schannel disable SChannel SSP, needed for TLS support on
    Windows if openssl and gnutls are not used [autodetec t]
    —disable-sdl2 disable sdl2 [autodetect]
    —disable-securetransport disable Secure Transport, needed for TLS support
    on OSX if openssl and gnutls are not used [autodetect ]
    —disable-xlib disable xlib [autodetect]
    —disable-zlib disable zlib [autodetect]

    The following libraries provide various hardware acceleration features :
    —disable-audiotoolbox disable Apple AudioToolbox code [autodetect]
    —disable-cuda disable dynamically linked Nvidia CUDA code [autodete ct]
    —enable-cuda-sdk enable CUDA features that require the CUDA SDK [no]
    —disable-cuvid disable Nvidia CUVID support [autodetect]
    —disable-d3d11va disable Microsoft Direct3D 11 video acceleration code [autodetect]
    —disable-dxva2 disable Microsoft DirectX 9 video acceleration code [ autodetect]
    —enable-libdrm enable DRM code (Linux) [no]
    —enable-libmfx enable Intel MediaSDK (AKA Quick Sync Video) code via libmfx [no]
    —enable-libnpp enable Nvidia Performance Primitives-based code [no]
    —enable-mmal enable Broadcom Multi-Media Abstraction Layer (Raspbe rry Pi) via MMAL [no]
    —disable-nvenc disable Nvidia video encoding code [autodetect]
    —enable-omx enable OpenMAX IL code [no]
    —enable-omx-rpi enable OpenMAX IL code for Raspberry Pi [no]
    —enable-rkmpp enable Rockchip Media Process Platform code [no]
    —disable-vaapi disable Video Acceleration API (mainly Unix/Intel) co de [autodetect]
    —disable-vda disable Apple Video Decode Acceleration code [autodet ect]
    —disable-vdpau disable Nvidia Video Decode and Presentation API for Unix code [autodetect]
    —disable-videotoolbox disable VideoToolbox code [autodetect]

    Toolchain options :
    —arch=ARCH select architecture []
    —cpu=CPU select the minimum required CPU (affects
    instruction selection, may crash on older CPUs)
    —cross-prefix=PREFIX use PREFIX for compilation tools []
    —progs-suffix=SUFFIX program name suffix []
    —enable-cross-compile assume a cross-compiler is used
    —sysroot=PATH root of cross-build tree
    —sysinclude=PATH location of cross-build system headers
    —target-os=OS compiler targets OS []
    —target-exec=CMD command to run executables on target
    —target-path=DIR path to view of build directory on target
    —target-samples=DIR path to samples directory on target
    —tempprefix=PATH force fixed dir/prefix instead of mktemp for checks
    —toolchain=NAME set tool defaults according to NAME
    —nm=NM use nm tool NM [nm -g]
    —ar=AR use archive tool AR [ar]
    —as=AS use assembler AS []
    —ln_s=LN_S use symbolic link tool LN_S [ln -s -f]
    —strip=STRIP use strip tool STRIP [strip]
    —windres=WINDRES use windows resource compiler WINDRES [windres]
    —x86asmexe=EXE use nasm-compatible assembler EXE [nasm]
    —cc=CC use C compiler CC [gcc]
    —cxx=CXX use C compiler CXX [g++]
    —objcc=OCC use ObjC compiler OCC [gcc]
    —dep-cc=DEPCC use dependency generator DEPCC [gcc]
    —nvcc=NVCC use Nvidia CUDA compiler NVCC [nvcc]
    —ld=LD use linker LD []
    —pkg-config=PKGCONFIG use pkg-config tool PKGCONFIG [pkg-config]
    —pkg-config-flags=FLAGS pass additional flags to pkgconf []
    —ranlib=RANLIB use ranlib RANLIB [ranlib]
    —doxygen=DOXYGEN use DOXYGEN to generate API doc [doxygen]
    —host-cc=HOSTCC use host C compiler HOSTCC
    —host-cflags=HCFLAGS use HCFLAGS when compiling for host
    —host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host
    —host-ld=HOSTLD use host linker HOSTLD
    —host-ldflags=HLDFLAGS use HLDFLAGS when linking for host
    —host-libs=HLIBS use libs HLIBS when linking for host
    —host-os=OS compiler host OS []
    —extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
    —extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
    —extra-objcflags=FLAGS add FLAGS to OBJCFLAGS []
    —extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
    —extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS []
    —extra-ldlibflags=ELDFLAGS add ELDFLAGS to LDLIBFLAGS []
    —extra-libs=ELIBS add ELIBS []
    —extra-version=STRING version string suffix []
    —optflags=OPTFLAGS override optimization-related compiler flags
    —nvccflags=NVCCFLAGS override nvcc flags [-gencode arch=compute_30,code=sm _30 -O2]
    —build-suffix=SUFFIX library name suffix []
    —enable-pic build position-independent code
    —enable-thumb compile for Thumb instruction set
    —enable-lto use link-time optimization
    —env="ENV=override" override the environment variables

    Advanced options (experts only) :
    —malloc-prefix=PREFIX prefix malloc and related names with PREFIX
    —custom-allocator=NAME use a supported custom allocator
    —disable-symver disable symbol versioning
    —enable-hardcoded-tables use hardcoded tables instead of runtime generation
    —disable-safe-bitstream-reader
    disable buffer boundary checking in bitreaders
    (faster, but may crash)
    —sws-max-filter-size=N the max filter size swscale uses [256]

    Optimization options (experts only) :
    —disable-asm disable all assembly optimizations
    —disable-altivec disable AltiVec optimizations
    —disable-vsx disable VSX optimizations
    —disable-power8 disable POWER8 optimizations
    —disable-amd3dnow disable 3DNow ! optimizations
    —disable-amd3dnowext disable 3DNow ! extended optimizations
    —disable-mmx disable MMX optimizations
    —disable-mmxext disable MMXEXT optimizations
    —disable-sse disable SSE optimizations
    —disable-sse2 disable SSE2 optimizations
    —disable-sse3 disable SSE3 optimizations
    —disable-ssse3 disable SSSE3 optimizations
    —disable-sse4 disable SSE4 optimizations
    —disable-sse42 disable SSE4.2 optimizations
    —disable-avx disable AVX optimizations
    —disable-xop disable XOP optimizations
    —disable-fma3 disable FMA3 optimizations
    —disable-fma4 disable FMA4 optimizations
    —disable-avx2 disable AVX2 optimizations
    —disable-aesni disable AESNI optimizations
    —disable-armv5te disable armv5te optimizations
    —disable-armv6 disable armv6 optimizations
    —disable-armv6t2 disable armv6t2 optimizations
    —disable-vfp disable VFP optimizations
    —disable-neon disable NEON optimizations
    —disable-inline-asm disable use of inline assembly
    —disable-x86asm disable use of standalone x86 assembly
    —disable-mipsdsp disable MIPS DSP ASE R1 optimizations
    —disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations
    —disable-msa disable MSA optimizations
    —disable-mipsfpu disable floating point MIPS optimizations
    —disable-mmi disable Loongson SIMD optimizations
    —disable-fast-unaligned consider unaligned accesses slow

    Developer options (useful when working on FFmpeg itself) :
    —disable-debug disable debugging symbols
    —enable-debug=LEVEL set the debug level []
    —disable-optimizations disable compiler optimizations
    —enable-extra-warnings enable more compiler warnings
    —disable-stripping disable stripping of executables and shared libraries
    —assert-level=level 0(default), 1 or 2, amount of assertion testing,
    2 causes a slowdown at runtime.
    —enable-memory-poisoning fill heap uninitialized allocated space with arbitra ry data
    —valgrind=VALGRIND run "make fate" tests through valgrind to detect memo ry
    leaks and errors, using the specified valgrind binary .
    Cannot be combined with —target-exec
    —enable-ftrapv Trap arithmetic overflows
    —samples=PATH location of test samples for FATE, if not set use
    $FATE_SAMPLES at make invocation time.
    —enable-neon-clobber-test check NEON registers for clobbering (should be
    used only for debugging purposes)
    —enable-xmm-clobber-test check XMM registers for clobbering (Win64-only ;
    should be used only for debugging purposes)
    —enable-random randomly enable/disable components
    —disable-random
    —enable-random=LIST randomly enable/disable specific components or
    —disable-random=LIST component groups. LIST is a comma-separated list
    of NAME[:PROB] entries where NAME is a component
    (group) and PROB the probability associated with
    NAME (default 0.5).
    —random-seed=VALUE seed value for —enable/disable-random
    —disable-valgrind-backtrace do not print a backtrace under Valgrind
    (only applies to —disable-optimizations builds)
    —enable-osfuzz Enable building fuzzer tool
    —libfuzzer=PATH path to libfuzzer
    —ignore-tests=TESTS comma-separated list (without "fate-" prefix
    in the name) of tests whose result is ignored
    —enable-linux-perf enable Linux Performance Monitor API

    NOTE : Object files are built at the place where configure is launched.

  • Time lapse video using ffmpeg

    18 octobre 2017, par Rich S

    I’m trying to create a time-lapse video from 376 separate images. I want to adjust the framerate to get the best/smoothest result, but my video only includes 343 of the frames in the file.

    I’m using a text file (sequence.txt) to list the files..

    file 'images\20171016T040000Z.jpg'
    duration 0.1
    file 'images\20171016T040140Z.jpg'
    duration 0.1
    file 'images\20171016T040320Z.jpg'
    duration 0.1
    etc...

    And then running

    ffmpeg -safe 0 -f concat -i sequence.txt -pix_fmt yuv420p -y out.mp4

    As far as I can tell, the actual frame-rate of the output file will be 25fps (the default), and the duration of each frame will be 1/10 second. So there will be a few input frames duplicated for each output frame. But this shouldn’t be a problem.

    Why would the video only show the first 343 frames - actually I’ve just noticed that it’s exactly 90% of the required length.

    EDIT

    The log from running the ffmpeg is below

    ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 76.100 / 55. 76.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.101 / 57. 82.101
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, concat, from 'sequence.txt':
     Duration: 00:00:32.80, start: 0.000000, bitrate: 4 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2688x1520 [SAR 1:1 DAR 168:95], 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [swscaler @ 00000000021d8d20] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0000000001f61920] using SAR=1/1
    [libx264 @ 0000000001f61920] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0000000001f61920] profile High, level 5.0
    [libx264 @ 0000000001f61920] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=12 lookahead_threads=2 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, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf57.82.101
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 2688x1520 [SAR 1:1 DAR 168:95], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.106.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=   34 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=20 drop=0 speed=   0x    
    frame=   49 fps= 45 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=29 drop=0 speed=   0x    
    frame=   61 fps= 35 q=28.0 size=     768kB time=00:00:00.08 bitrate=78571.4kbits/s dup=36 drop=0 speed=0.046x    
    frame=   71 fps= 30 q=28.0 size=    1536kB time=00:00:00.48 bitrate=26210.9kbits/s dup=42 drop=0 speed=0.201x    
    frame=   86 fps= 29 q=28.0 size=    3328kB time=00:00:01.08 bitrate=25242.0kbits/s dup=51 drop=0 speed=0.37x    
    frame=   91 fps= 25 q=28.0 size=    3840kB time=00:00:01.28 bitrate=24574.8kbits/s dup=54 drop=0 speed=0.356x    
    frame=   99 fps= 24 q=28.0 size=    4352kB time=00:00:01.60 bitrate=22281.4kbits/s dup=59 drop=0 speed=0.389x    
    frame=  116 fps= 23 q=28.0 size=    6400kB time=00:00:02.28 bitrate=22994.5kbits/s dup=69 drop=0 speed=0.459x    
    frame=  121 fps= 22 q=28.0 size=    6912kB time=00:00:02.48 bitrate=22831.3kbits/s dup=72 drop=0 speed=0.447x    
    frame=  139 fps= 23 q=28.0 size=    8704kB time=00:00:03.20 bitrate=22281.8kbits/s dup=83 drop=0 speed=0.523x    
    frame=  141 fps= 21 q=28.0 size=    8960kB time=00:00:03.28 bitrate=22377.7kbits/s dup=84 drop=0 speed=0.494x    
    frame=  149 fps= 21 q=28.0 size=    9728kB time=00:00:03.60 bitrate=22136.2kbits/s dup=89 drop=0 speed=0.499x    
    frame=  166 fps= 20 q=28.0 size=   11776kB time=00:00:04.28 bitrate=22539.2kbits/s dup=99 drop=0 speed=0.526x    
    frame=  174 fps= 20 q=28.0 size=   12288kB time=00:00:04.60 bitrate=21883.0kbits/s dup=104 drop=0 speed=0.525x    
    frame=  191 fps= 20 q=28.0 size=   14336kB time=00:00:05.28 bitrate=22242.3kbits/s dup=114 drop=0 speed=0.546x    
    frame=  199 fps= 19 q=28.0 size=   15104kB time=00:00:05.60 bitrate=22094.8kbits/s dup=119 drop=0 speed=0.543x    
    frame=  216 fps= 19 q=28.0 size=   17152kB time=00:00:06.28 bitrate=22373.9kbits/s dup=129 drop=0 speed=0.559x    
    frame=  224 fps= 19 q=28.0 size=   17920kB time=00:00:06.60 bitrate=22242.3kbits/s dup=134 drop=0 speed=0.558x    
    frame=  239 fps= 19 q=28.0 size=   20224kB time=00:00:07.20 bitrate=23010.2kbits/s dup=143 drop=0 speed=0.583x    
    frame=  244 fps= 19 q=28.0 size=   21760kB time=00:00:07.40 bitrate=24088.7kbits/s dup=146 drop=0 speed=0.575x    
    frame=  254 fps= 18 q=28.0 size=   23552kB time=00:00:07.80 bitrate=24735.4kbits/s dup=152 drop=0 speed=0.567x    
    frame=  261 fps= 18 q=28.0 size=   25856kB time=00:00:08.08 bitrate=26214.2kbits/s dup=156 drop=0 speed=0.564x    
    frame=  266 fps= 18 q=28.0 size=   27648kB time=00:00:08.28 bitrate=27353.9kbits/s dup=159 drop=0 speed=0.555x    
    frame=  279 fps= 18 q=28.0 size=   32000kB time=00:00:08.80 bitrate=29788.9kbits/s dup=167 drop=0 speed=0.557x    
    frame=  286 fps= 17 q=28.0 size=   34048kB time=00:00:09.08 bitrate=30718.0kbits/s dup=171 drop=0 speed=0.555x    
    frame=  294 fps= 17 q=28.0 size=   36096kB time=00:00:09.40 bitrate=31457.1kbits/s dup=176 drop=0 speed=0.553x    
    frame=  301 fps= 17 q=28.0 size=   38400kB time=00:00:09.68 bitrate=32497.0kbits/s dup=180 drop=0 speed=0.551x    
    frame=  314 fps= 17 q=28.0 size=   41984kB time=00:00:10.20 bitrate=33718.7kbits/s dup=188 drop=0 speed=0.556x    
    frame=  324 fps= 17 q=28.0 size=   45568kB time=00:00:10.60 bitrate=35216.1kbits/s dup=194 drop=0 speed=0.562x    
    frame=  331 fps= 17 q=28.0 size=   47104kB time=00:00:10.88 bitrate=35466.3kbits/s dup=198 drop=0 speed=0.557x    
    frame=  341 fps= 17 q=28.0 size=   49408kB time=00:00:11.28 bitrate=35881.9kbits/s dup=204 drop=0 speed=0.556x    
    frame=  354 fps= 17 q=28.0 size=   52736kB time=00:00:11.80 bitrate=36611.1kbits/s dup=212 drop=0 speed=0.561x    
    frame=  366 fps= 17 q=28.0 size=   55808kB time=00:00:12.28 bitrate=37229.4kbits/s dup=219 drop=0 speed=0.563x    
    frame=  379 fps= 17 q=28.0 size=   59136kB time=00:00:12.80 bitrate=37846.8kbits/s dup=227 drop=0 speed=0.568x    
    frame=  391 fps= 17 q=28.0 size=   62208kB time=00:00:13.28 bitrate=38373.9kbits/s dup=234 drop=0 speed=0.57x    
    frame=  401 fps= 17 q=28.0 size=   64512kB time=00:00:13.68 bitrate=38631.6kbits/s dup=240 drop=0 speed=0.566x    
    frame=  416 fps= 17 q=28.0 size=   68352kB time=00:00:14.28 bitrate=39211.3kbits/s dup=249 drop=0 speed=0.571x    
    frame=  429 fps= 17 q=28.0 size=   71424kB time=00:00:14.80 bitrate=39534.0kbits/s dup=257 drop=0 speed=0.575x    
    frame=  441 fps= 17 q=28.0 size=   74752kB time=00:00:15.28 bitrate=40076.3kbits/s dup=264 drop=0 speed=0.574x    
    frame=  454 fps= 17 q=28.0 size=   78080kB time=00:00:15.80 bitrate=40482.8kbits/s dup=272 drop=0 speed=0.578x    
    frame=  466 fps= 17 q=28.0 size=   81152kB time=00:00:16.28 bitrate=40835.0kbits/s dup=279 drop=0 speed=0.58x    
    frame=  476 fps= 16 q=28.0 size=   83456kB time=00:00:16.68 bitrate=40987.3kbits/s dup=285 drop=0 speed=0.577x    
    frame=  489 fps= 17 q=28.0 size=   87552kB time=00:00:17.20 bitrate=41699.0kbits/s dup=293 drop=0 speed=0.584x    
    frame=  494 fps= 16 q=28.0 size=   89088kB time=00:00:17.40 bitrate=41942.9kbits/s dup=296 drop=0 speed=0.58x    
    frame=  504 fps= 16 q=28.0 size=   91392kB time=00:00:17.80 bitrate=42060.7kbits/s dup=302 drop=0 speed=0.582x    
    frame=  509 fps= 16 q=28.0 size=   92672kB time=00:00:18.00 bitrate=42175.9kbits/s dup=305 drop=0 speed=0.579x    
    frame=  519 fps= 16 q=28.0 size=   95488kB time=00:00:18.40 bitrate=42512.8kbits/s dup=311 drop=0 speed=0.582x    
    frame=  526 fps= 16 q=28.0 size=   97280kB time=00:00:18.68 bitrate=42661.4kbits/s dup=315 drop=0 speed=0.581x    
    frame=  531 fps= 16 q=28.0 size=   98816kB time=00:00:18.88 bitrate=42875.9kbits/s dup=318 drop=0 speed=0.574x    
    frame=  544 fps= 16 q=28.0 size=  102144kB time=00:00:19.40 bitrate=43132.0kbits/s dup=326 drop=0 speed=0.574x    
    frame=  559 fps= 16 q=28.0 size=  106496kB time=00:00:20.00 bitrate=43620.6kbits/s dup=335 drop=0 speed=0.575x    
    frame=  571 fps= 16 q=28.0 size=  110080kB time=00:00:20.48 bitrate=44031.9kbits/s dup=342 drop=0 speed=0.573x    
    frame=  584 fps= 16 q=28.0 size=  113920kB time=00:00:21.00 bitrate=44439.5kbits/s dup=350 drop=0 speed=0.577x    
    frame=  596 fps= 16 q=28.0 size=  116992kB time=00:00:21.48 bitrate=44618.0kbits/s dup=357 drop=0 speed=0.579x    
    frame=  606 fps= 16 q=28.0 size=  119808kB time=00:00:21.88 bitrate=44856.7kbits/s dup=363 drop=0 speed=0.577x    
    frame=  616 fps= 16 q=28.0 size=  122368kB time=00:00:22.28 bitrate=44992.6kbits/s dup=369 drop=0 speed=0.58x    
    frame=  624 fps= 16 q=28.0 size=  124672kB time=00:00:22.60 bitrate=45190.7kbits/s dup=374 drop=0 speed=0.58x    
    frame=  631 fps= 16 q=28.0 size=  126464kB time=00:00:22.88 bitrate=45279.3kbits/s dup=378 drop=0 speed=0.576x    
    frame=  639 fps= 16 q=28.0 size=  128512kB time=00:00:23.20 bitrate=45377.9kbits/s dup=383 drop=0 speed=0.577x    
    frame=  651 fps= 16 q=28.0 size=  132096kB time=00:00:23.68 bitrate=45697.9kbits/s dup=390 drop=0 speed=0.575x    
    frame=  664 fps= 16 q=28.0 size=  135936kB time=00:00:24.20 bitrate=46015.9kbits/s dup=398 drop=0 speed=0.577x    
    frame=  676 fps= 16 q=28.0 size=  139264kB time=00:00:24.68 bitrate=46225.6kbits/s dup=405 drop=0 speed=0.578x    
    frame=  686 fps= 16 q=28.0 size=  141824kB time=00:00:25.08 bitrate=46324.5kbits/s dup=411 drop=0 speed=0.577x    
    frame=  699 fps= 16 q=28.0 size=  145152kB time=00:00:25.60 bitrate=46448.5kbits/s dup=419 drop=0 speed=0.577x    
    frame=  711 fps= 16 q=28.0 size=  148480kB time=00:00:26.08 bitrate=46639.0kbits/s dup=426 drop=0 speed=0.576x    
    frame=  724 fps= 16 q=28.0 size=  152320kB time=00:00:26.60 bitrate=46909.9kbits/s dup=434 drop=0 speed=0.576x    
    frame=  734 fps= 16 q=28.0 size=  155136kB time=00:00:27.00 bitrate=47069.3kbits/s dup=440 drop=0 speed=0.578x    
    frame=  741 fps= 16 q=28.0 size=  157440kB time=00:00:27.28 bitrate=47278.0kbits/s dup=444 drop=0 speed=0.576x    
    frame=  754 fps= 16 q=28.0 size=  160768kB time=00:00:27.80 bitrate=47374.4kbits/s dup=452 drop=0 speed=0.576x    
    frame=  766 fps= 16 q=28.0 size=  164352kB time=00:00:28.28 bitrate=47608.5kbits/s dup=459 drop=0 speed=0.575x    
    frame=  779 fps= 16 q=28.0 size=  167936kB time=00:00:28.80 bitrate=47768.3kbits/s dup=467 drop=0 speed=0.578x    
    frame=  791 fps= 16 q=28.0 size=  171264kB time=00:00:29.28 bitrate=47916.4kbits/s dup=474 drop=0 speed=0.578x    
    frame=  801 fps= 16 q=28.0 size=  174080kB time=00:00:29.68 bitrate=48047.8kbits/s dup=480 drop=0 speed=0.577x    
    frame=  809 fps= 16 q=28.0 size=  176128kB time=00:00:30.00 bitrate=48094.6kbits/s dup=485 drop=0 speed=0.577x    
    frame=  819 fps= 16 q=28.0 size=  178944kB time=00:00:30.40 bitrate=48220.6kbits/s dup=491 drop=0 speed=0.577x    
    frame=  820 fps= 15 q=-1.0 Lsize=  194048kB time=00:00:32.68 bitrate=48642.4kbits/s dup=492 drop=0 speed=0.581x    
    video:194033kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.007522%
    [libx264 @ 0000000001f61920] frame I:20    Avg QP:20.40  size:446315
    [libx264 @ 0000000001f61920] frame P:212   Avg QP:25.37  size:629518
    [libx264 @ 0000000001f61920] frame B:588   Avg QP:26.30  size: 95757
    [libx264 @ 0000000001f61920] consecutive B-frames:  3.4%  2.4%  1.5% 92.7%
    [libx264 @ 0000000001f61920] mb I  I16..4:  0.1% 99.2%  0.7%
    [libx264 @ 0000000001f61920] mb P  I16..4:  0.3% 28.7%  0.4%  P16..4: 21.3% 24.3% 16.3%  0.0%  0.0%    skip: 8.8%
    [libx264 @ 0000000001f61920] mb B  I16..4:  0.0%  2.8%  0.1%  B16..8:  7.0%  3.6%  1.7%  direct: 4.9%  skip:80.0%  L0:38.4% L1:18.0% BI:43.6%
    [libx264 @ 0000000001f61920] 8x8 transform intra:97.6% inter:89.5%
    [libx264 @ 0000000001f61920] coded y,uvDC,uvAC intra: 94.6% 71.9% 10.1% inter: 29.0% 20.0% 0.5%
    [libx264 @ 0000000001f61920] i16 v,h,dc,p: 15% 39% 26% 20%
    [libx264 @ 0000000001f61920] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 11% 46%  5%  5%  5%  6%  5%  9%
    [libx264 @ 0000000001f61920] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 12% 13%  9% 10% 10% 11% 10% 14%
    [libx264 @ 0000000001f61920] i8c dc,h,v,p: 51% 25% 20%  4%
    [libx264 @ 0000000001f61920] Weighted P-Frames: Y:48.6% UV:34.4%
    [libx264 @ 0000000001f61920] ref P L0: 36.9% 13.0% 18.1% 21.0% 11.0%
    [libx264 @ 0000000001f61920] ref B L0: 59.1% 21.9% 19.0%
    [libx264 @ 0000000001f61920] ref B L1: 99.7%  0.3%
    [libx264 @ 0000000001f61920] kb/s:48460.77
    [Finished in 57.7s]
  • Convert TS-Stream to MKV with ffmpeg [on hold]

    17 septembre 2018, par night4awk

    I’m using ffmpeg 3.2.7 and I have a problem converting a ts-file lossless to mkv.
    The source file is a dumped IPTV-stream recorded with dumprtp (from dvbstream 0.5).

    ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv

    The convertion is successful, but the output file is pixelated every few seconds.

    When I’m converting it with MKVToolnix everything looks fine.

    Does anyone has a solution for that problem ?
    Maybe some option to sync the stream correctly ?

    Here’s a sample output :

    # ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv
    ffmpeg version 3.2.7 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (OpenWrt GCC 6.3.0 r212-46f973b)
     configuration: --enable-cross-compile --cross-prefix=i486-openwrt-linux-gnu- --arch=i386 --target-os=linux --prefix=/opt --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-avresample --enable-libopus --enable-small --enable-gpl --enable-libmp3lame --enable-libx264
     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
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [NULL @ 0x81f9580] SPS unavailable in decode_picture_timing
    [NULL @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 7 times
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] SPS unavailable in decode_picture_timing
    [h264 @ 0x81f9580] non-existing PPS 0 referenced
    [h264 @ 0x81f9580] decode_slice_header error
    [h264 @ 0x81f9580] no frame!
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 1 times
    [h264 @ 0x81f9580] Missing reference picture, default is 2147483647
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x81f9580] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 3 times
    [h264 @ 0x81f9580] reference picture missing during reorder
       Last message repeated 2 times
    [h264 @ 0x81f9580] Missing reference picture, default is 65627
       Last message repeated 2 times
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 1 times
    [h264 @ 0x81f9580] mmco: unref short failure
       Last message repeated 3 times
    [h264 @ 0x81f9580] Increasing reorder buffer to 2
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 295 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 13 times
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mp3 @ 0x81fb860] Header missing
       Last message repeated 2 times
    [mpegts @ 0x81f6280] decoding for stream 1 failed
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
       Last message repeated 1 times
    [mpegts @ 0x81f6280] Could not find codec parameters for stream 1 (Audio: mp3, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'Test.ts':
     Duration: 00:01:00.54, start: 48882.340000, bitrate: 3181 kb/s
       Stream #0:0[0x100]: Video: h264, yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x103]: Audio: mp3, 0 channels, s16p
       Stream #0:2[0x102]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0:3[0x101]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
    Output #0, matroska, to 'Test.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], q=2-31, 25 fps, 50 tbr, 1k tbn, 90k tbc
       Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 192 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:2 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
    .
    .
    .
    [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] changing packet size to 192
       [mpegts @ 0x81f6280] changing packet size to 188
    [mpegts @ 0x81f6280] PES packet size mismatch
    frame= 2971 fps=2674 q=-1.0 Lsize=   17441kB time=00:00:59.90 bitrate=2385.2kbits/s speed=53.9x    
    video:16037kB audio:1410kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Thank you