ffmpeg -i 1.ts -vcodec copy -acodec copy 1.mkv ffmpeg version N-64278-g4d1fa38 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 27 2014 22:02:02 with gcc 4.8.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab - -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib libavutil 52. 90.101 / 52. 90.101 libavcodec 55. 68.100 / 55. 68.100 libavformat 55. 44.100 / 55. 44.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 9.100 / 4. 9.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [live_flv @ 045db5c0] Could not find codec parameters for stream 0 (Video: none, 665 kb/s): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, live_flv, from '1.ts': Metadata: Server : NGINX RTMP (github.com/arut/nginx-rtmp-module) displayWidth : 1536 displayHeight : 864 fps : 20 profile : level : Duration: 00:00:00.00, start: 5507.904000, bitrate: N/A Stream #0:0: Video: none, 665 kb/s, 1k tbr, 1k tbn, 1k tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 65 kb/s [matroska @ 0467ab00] Using AVStream.codec.time_base as a timebase hint to the m uxer is deprecated. Set AVStream.time_base instead. Output #0, matroska, to '1.mkv': Metadata: Server : NGINX RTMP (github.com/arut/nginx-rtmp-module) displayWidth : 1536 displayHeight : 864 fps : 20 profile : level : encoder : Lavf55.44.100 Stream #0:0: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 65 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Press [q] to stop, [?] for help size= 1790kB time=00:01:52.66 bitrate= 130.2kbits/s video:0kB audio:1753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.119917%