Wykorzystanie polecenia:
ffmpeg -i http://192.168.2.116:81/12 -c copy /mnt/sda1/test_http.mkv
daje taki wynik:
root@OpenWrt:~# ffmpeg -i http://192.168.2.116:81/12 -c copy /mnt/sda1/test_http.mkv
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7.5.0 (OpenWrt GCC 7.5.0 r11272-e290024717)
configuration: --enable-cross-compile --cross-prefix=mipsel-openwrt-linux-musl- --arch=mipsel --cpu=24kc --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-altivec --disable-vsx --disable-power8 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-inline-asm --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-mmi --disable-fast-unaligned --disable-runtime-cpudetect --disable-asm --disable-inline-asm --disable-x86asm --enable-avresample --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=hevc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-muxer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --disable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-libopus --enable-small --enable-libshine
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
[tcp @ 0x76b82f50] Connection to tcp://192.168.2.116:81 failed: Connection refused
http://192.168.2.116:81/12: Connection refused
root@OpenWrt:~#
Nieco inne wywołanie:
root@OpenWrt:~# ffmpeg -i http://192.168.2.116:554/12 -c copy /mnt/sda1/test_http.mkv
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7.5.0 (OpenWrt GCC 7.5.0 r11272-e290024717)
configuration: --enable-cross-compile --cross-prefix=mipsel-openwrt-linux-musl- --arch=mipsel --cpu=24kc --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-altivec --disable-vsx --disable-power8 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-inline-asm --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-mmi --disable-fast-unaligned --disable-runtime-cpudetect --disable-asm --disable-inline-asm --disable-x86asm --enable-avresample --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=hevc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-muxer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --disable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-libopus --enable-small --enable-libshine
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
[http @ 0x76befe70] HTTP error 400 Bad Request
http://192.168.2.116:554/12: Server returned 400 Bad Request
root@OpenWrt:~#
Kamery, które testuję na skw92a działają w podobnej konfiguracji na innej maszynie, czyli: OpenWrt 18.06, ffmpeg w wersji ffmpeg version 3.2.10 i ffmpeg version 3.4.7 ( na jednym i drugim ffmpegu jest zgrywanie do pliku bez problemów)... postaram się zdobyć większą ilość danych o tych przypadkach.
Na maszynie, na której to działa:
root@OpenWrt:~# ffmpeg -codecs
ffmpeg version 3.2.10 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (OpenWrt GCC 7.3.0 r7258-5eb055306f)
configuration: --enable-cross-compile --cross-prefix=arm-openwrt-linux-muslgnu eabi- --arch=arm --target-os=linux --prefix=/usr --pkg-config=pkg-config --enabl e-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable -debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disabl e-runtime-cpudetect --enable-lto --enable-vfp --disable-neon --disable-yasm --en able-avresample --enable-small
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
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
-------
D.VI.. 012v
D.V.L. 4xm
D.VI.S 8bps
.EVIL. a64_multi (encoders: a64multi )
.EVIL. a64_multi5 (encoders: a64multi5 )
D.V..S aasc
D.VIL. aic
DEVI.S alias_pix
DEVIL. amv
D.V.L. anm
D.V.L. ansi
DEV..S apng
DEVIL. asv1
DEVIL. asv2
D.VIL. aura
D.VIL. aura2
D.V... avrn
DEVI.. avrp
D.V.L. avs
DEVI.. avui
DEVI.. ayuv
D.V.L. bethsoftvid
D.V.L. bfi
D.V.L. binkvideo
D.VI.. bintext
DEVI.S bmp
D.V..S bmv_video
D.VI.S brender_pix
D.V.L. c93
D.V.L. cavs
D.V.L. cdgraphics
D.VIL. cdxl
D.V.L. cfhd
DEV.L. cinepak
DEVIL. cljr
D.VI.S cllc
D.V.L. cmv (decoders: eacmv )
D.V... cpia
D.V..S cscd (decoders: camstudio )
D.VIL. cyuv
..V.LS daala
D.VILS dds
D.V.L. dfa
DEV.LS dirac (encoders: vc2 )
DEVIL. dnxhd
DEVI.S dpx
D.V.L. dsicinvideo
DEVIL. dvvideo
D.V..S dxa
D.VI.S dxtory
D.VIL. dxv
D.V.L. escape124
D.V.L. escape130
D.VILS exr
DEV..S ffv1
DEVI.S ffvhuff
D.V.L. fic
DEV..S flashsv
DEV.L. flashsv2
D.V..S flic
DEV.L. flv1 (decoders: flv ) (encoders: flv )
D.V..S fraps
D.VI.S frwu
D.V.L. g2m
DEV..S gif
DEV.L. h261
DEV.L. h263
D.V.L. h263i
DEV.L. h263p
D.V.LS h264
D.VIL. hap
D.V.L. hevc
D.V.L. hnm4video
D.VIL. hq_hqa
D.VIL. hqx
DEVI.S huffyuv
D.V.L. idcin (decoders: idcinvideo )
D.VI.. idf
D.V.L. iff_ilbm (decoders: iff )
D.V.L. indeo2
D.V.L. indeo3
D.V.L. indeo4
D.V.L. indeo5
D.V.L. interplayvideo
DEVILS jpeg2000
DEVILS jpegls
D.VIL. jv
D.V.L. kgv1
D.V.L. kmvc
D.VI.S lagarith
.EVI.S ljpeg
D.VI.S loco
D.VI.S m101
D.V.L. mad (decoders: eamad )
D.VI.S magicyuv
D.VIL. mdec
D.V.L. mimic
DEVIL. mjpeg
D.VIL. mjpegb
D.V.L. mmvideo
D.V.L. motionpixels
DEV.L. mpeg1video
DEV.L. mpeg2video (decoders: mpeg2video mpegvideo )
DEV.L. mpeg4
..V.L. mpegvideo_xvmc
D.V.L. msa1
D.V.L. msmpeg4v1
DEV.L. msmpeg4v2
DEV.L. msmpeg4v3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
D.V..S msrle
D.V.L. mss1
D.VIL. mss2
DEV.L. msvideo1
D.VI.S mszh
D.V.L. mts2
D.VIL. mvc1
D.VIL. mvc2
D.V.L. mxpeg
D.V.L. nuv
D.V.L. paf_video
DEVI.S pam
DEVI.S pbm
DEVI.S pcx
DEVI.S pgm
DEVI.S pgmyuv
D.VIL. pictor
DEV..S png
DEVI.S ppm
DEVIL. prores (decoders: prores prores_lgpl ) (encoders: prores prores_aw prores_ks )
D.VIL. ptx
D.VI.S qdraw
D.V.L. qpeg
DEV..S qtrle
DEVI.S r10k
DEVI.S r210
DEVI.S rawvideo
D.VIL. rl2
DEV.L. roq (decoders: roqvideo ) (encoders: roqvideo )
D.V.L. rpza
D.V..S rscc
DEV.L. rv10
DEV.L. rv20
D.V.L. rv30
D.V.L. rv40
D.V.L. sanm
D.V..S screenpresso
DEVI.S sgi
D.VI.S sgirle
D.VI.S sheervideo
D.V.L. smackvideo (decoders: smackvid )
D.V.L. smc
D.V... smvjpeg
DEV.LS snow
D.VIL. sp5x
DEVI.S sunrast
DEV.L. svq1
D.V.L. svq3
DEVI.S targa
D.VI.. targa_y216
D.V.L. tdsc
D.V.L. tgq (decoders: eatgq )
D.V.L. tgv (decoders: eatgv )
D.V.L. theora
D.VIL. thp
D.V.L. tiertexseqvideo
DEVI.S tiff
D.VIL. tmv
D.V.L. tqi (decoders: eatqi )
D.V.L. truemotion1
D.V.L. truemotion2
D.V.L. truemotion2rt
D.V..S tscc (decoders: camtasia )
D.V.L. tscc2
D.VIL. txd
D.V.L. ulti (decoders: ultimotion )
DEVI.S utvideo
DEVI.S v210
D.VI.S v210x
DEVI.. v308
DEVI.. v408
DEVI.S v410
D.V.L. vb
D.VI.S vble
D.V.L. vc1
D.V.L. vc1image
D.VIL. vcr1
D.VIL. vixl (decoders: xl )
D.V.L. vmdvideo
D.V..S vmnc
D.V.L. vp3
D.V.L. vp5
D.V.L. vp6
D.V.L. vp6a
D.V.L. vp6f
D.V.L. vp7
D.V.L. vp8
D.V.L. vp9
D.VILS webp
DEV.L. wmv1
DEV.L. wmv2
D.V.L. wmv3
D.V.L. wmv3image
D.VIL. wnv1
.EV..S wrapped_avframe
D.V.L. ws_vqa (decoders: vqavideo )
D.V.L. xan_wc3
D.V.L. xan_wc4
D.VI.. xbin
DEVI.S xbm
DEVIL. xface
DEVI.S xwd
DEVI.. y41p
D.VI.S ylc
D.V.L. yop
DEVI.. yuv4
D.V..S zerocodec
DEVI.S zlib
DEV..S zmbv
..A.L. 4gv
D.A.L. 8svx_exp
D.A.L. 8svx_fib
DEA.L. aac (decoders: aac aac_fixed )
D.A.L. aac_latm
DEA.L. ac3 (decoders: ac3 ac3_fixed ) (encoders: ac3 ac3_fixe d )
D.A.L. adpcm_4xm
DEA.L. adpcm_adx
D.A.L. adpcm_afc
D.A.L. adpcm_aica
D.A.L. adpcm_ct
D.A.L. adpcm_dtk
D.A.L. adpcm_ea
D.A.L. adpcm_ea_maxis_xa
D.A.L. adpcm_ea_r1
D.A.L. adpcm_ea_r2
D.A.L. adpcm_ea_r3
D.A.L. adpcm_ea_xas
DEA.L. adpcm_g722 (decoders: g722 ) (encoders: g722 )
DEA.L. adpcm_g726 (decoders: g726 ) (encoders: g726 )
D.A.L. adpcm_g726le (decoders: g726le )
D.A.L. adpcm_ima_amv
D.A.L. adpcm_ima_apc
D.A.L. adpcm_ima_dat4
D.A.L. adpcm_ima_dk3
D.A.L. adpcm_ima_dk4
D.A.L. adpcm_ima_ea_eacs
D.A.L. adpcm_ima_ea_sead
D.A.L. adpcm_ima_iss
D.A.L. adpcm_ima_oki
DEA.L. adpcm_ima_qt
D.A.L. adpcm_ima_rad
D.A.L. adpcm_ima_smjpeg
DEA.L. adpcm_ima_wav
D.A.L. adpcm_ima_ws
DEA.L. adpcm_ms
D.A.L. adpcm_mtaf
D.A.L. adpcm_psx
D.A.L. adpcm_sbpro_2
D.A.L. adpcm_sbpro_3
D.A.L. adpcm_sbpro_4
DEA.L. adpcm_swf
D.A.L. adpcm_thp
D.A.L. adpcm_thp_le
D.A.L. adpcm_vima
D.A.L. adpcm_xa
DEA.L. adpcm_yamaha
DEA..S alac
D.A.L. amr_nb (decoders: amrnb )
D.A.L. amr_wb (decoders: amrwb )
D.A..S ape
D.A.L. atrac1
D.A.L. atrac3
D.A.L. atrac3p (decoders: atrac3plus )
D.A.L. avc (decoders: on2avc )
D.A.L. binkaudio_dct
D.A.L. binkaudio_rdft
D.A.L. bmv_audio
..A.L. celt
DEA.L. comfortnoise
D.A.L. cook
D.A.L. dsd_lsbf
D.A.L. dsd_lsbf_planar
D.A.L. dsd_msbf
D.A.L. dsd_msbf_planar
D.A.L. dsicinaudio
D.A.L. dss_sp
D.A..S dst
DEA.LS dts (decoders: dca ) (encoders: dca )
D.A.L. dvaudio
DEA.L. eac3
D.A.L. evrc
DEA..S flac
DEA.L. g723_1
D.A.L. g729
D.A.L. gsm
D.A.L. gsm_ms
D.A.L. iac
..A.L. ilbc
D.A.L. imc
D.A.L. interplay_dpcm
D.A.L. interplayacm
D.A.L. mace3
D.A.L. mace6
D.A.L. metasound
DEA..S mlp
D.A.L. mp1 (decoders: mp1 mp1float )
DEA.L. mp2 (decoders: mp2 mp2float ) (encoders: mp2 mp2fixed )
D.A.L. mp3 (decoders: mp3 mp3float )
D.A.L. mp3adu (decoders: mp3adu mp3adufloat )
D.A.L. mp3on4 (decoders: mp3on4 mp3on4float )
D.A..S mp4als (decoders: als )
D.A.L. musepack7 (decoders: mpc7 )
D.A.L. musepack8 (decoders: mpc8 )
DEA.L. nellymoser
D.A.L. opus
D.A.L. paf_audio
DEA.L. pcm_alaw
D.A..S pcm_bluray
D.A..S pcm_dvd
DEA..S pcm_f32be
DEA..S pcm_f32le
DEA..S pcm_f64be
DEA..S pcm_f64le
D.A..S pcm_lxf
DEA.L. pcm_mulaw
DEA..S pcm_s16be
DEA..S pcm_s16be_planar
DEA..S pcm_s16le
DEA..S pcm_s16le_planar
DEA..S pcm_s24be
DEA..S pcm_s24daud
DEA..S pcm_s24le
DEA..S pcm_s24le_planar
DEA..S pcm_s32be
DEA..S pcm_s32le
DEA..S pcm_s32le_planar
DEA..S pcm_s64be
DEA..S pcm_s64le
DEA..S pcm_s8
DEA..S pcm_s8_planar
DEA..S pcm_u16be
DEA..S pcm_u16le
DEA..S pcm_u24be
DEA..S pcm_u24le
DEA..S pcm_u32be
DEA..S pcm_u32le
DEA..S pcm_u8
D.A.L. pcm_zork
D.A.L. qcelp
D.A.L. qdm2
..A.L. qdmc
DEA.L. ra_144 (decoders: real_144 ) (encoders: real_144 )
D.A.L. ra_288 (decoders: real_288 )
D.A..S ralf
DEA.L. roq_dpcm
DEA..S s302m
D.A.L. sdx2_dpcm
D.A..S shorten
D.A.L. sipr
D.A.L. smackaudio (decoders: smackaud )
..A.L. smv
D.A.L. sol_dpcm
DEA... sonic
.EA... sonicls
..A.L. speex
D.A..S tak
DEA..S truehd
D.A.L. truespeech
DEA..S tta
D.A.L. twinvq
D.A.L. vmdaudio
DEA.L. vorbis
..A.L. voxware
D.A... wavesynth
DEA.LS wavpack
D.A.L. westwood_snd1 (decoders: ws_snd1 )
D.A..S wmalossless
D.A.L. wmapro
DEA.L. wmav1
DEA.L. wmav2
D.A.L. wmavoice
D.A.L. xan_dpcm
D.A.L. xma1
D.A.L. xma2
..D... bin_data
..D... dvd_nav_packet
..D... klv
..D... otf
..D... scte_35
..D... timed_id3
..D... ttf
DES... ass (decoders: ssa ass ) (encoders: ssa ass )
DES... dvb_subtitle (decoders: dvbsub ) (encoders: dvbsub )
..S... dvb_teletext
DES... dvd_subtitle (decoders: dvdsub ) (encoders: dvdsub )
D.S... eia_608 (decoders: cc_dec )
D.S... hdmv_pgs_subtitle (decoders: pgssub )
..S... hdmv_text_subtitle
D.S... jacosub
D.S... microdvd
DES... mov_text
D.S... mpl2
D.S... pjs
D.S... realtext
D.S... sami
..S... srt
..S... ssa
D.S... stl
DES... subrip (decoders: srt subrip ) (encoders: srt subrip )
D.S... subviewer
D.S... subviewer1
DES... text
D.S... vplayer
DES... webvtt
DES... xsub
Działanie ffmpega jest takie:
root@OpenWrt:~# ffmpeg -rtsp_transport tcp -i rtsp://192.168.3.177:1183/11 -c:v copy -c:a copy -map 0 -strftime 1 -t 8 /mnt/mmcblk0p3/cam_service/videos/test.mkv
ffmpeg version 3.2.10 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (OpenWrt GCC 7.3.0 r7258-5eb055306f)
configuration: --enable-cross-compile --cross-prefix=arm-openwrt-linux-muslgnueabi- --arch=arm --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-runtime-cpudetect --enable-lto --enable-vfp --disable-neon --disable-yasm --enable-avresample --enable-small
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
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://192.168.3.177:1183/11':
Metadata:
title : 10
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264, yuvj420p(pc, bt709, progressive), 1920x1080, 25 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Output #0, matroska, to '/mnt/mmcblk0p3/cam_service/videos/test.mkv':
Metadata:
title : 10
encoder : Lavf57.56.101
Stream #0:0: Video: h264 (H264 / 0x34363248), yuvj420p(pc, bt709, progressive), 1920x1080, q=2-31, 25 tbr, 1k tbn, 90k tbc
Stream #0:1: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 0xb5d7a1d0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
frame= 80 fps= 15 q=-1.0 Lsize= 374kB time=00:00:07.98 bitrate= 383.6kbits/s speed= 1.5x
video:307kB audio:62kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.127429%
root@OpenWrt:~# ^C
Na SKW92A:
root@OpenWrt:~# ffmpeg -codecs
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7.5.0 (OpenWrt GCC 7.5.0 r11272-e290024717)
configuration: --enable-cross-compile --cross-prefix=mipsel-openwrt-linux-musl - --arch=mipsel --cpu=24kc --target-os=linux --prefix=/usr --pkg-config=pkg-conf ig --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdev s --disable-altivec --disable-vsx --disable-power8 --disable-armv5te --disable-a rmv6 --disable-armv6t2 --disable-inline-asm --disable-mipsdsp --disable-mipsdspr 2 --disable-mipsfpu --disable-msa --disable-mmi --disable-fast-unaligned --disab le-runtime-cpudetect --disable-asm --disable-inline-asm --disable-x86asm --enabl e-avresample --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=h evc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-mu xer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --di sable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-libopus -- enable-small --enable-libshine
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
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
-------
D.VI.S 012v
D.V.L. 4xm
D.VI.S 8bps
.EVIL. a64_multi (encoders: a64multi )
.EVIL. a64_multi5 (encoders: a64multi5 )
D.V..S aasc
D.VIL. aic
DEVI.S alias_pix
DEVIL. amv
D.V.L. anm
D.V.L. ansi
DEV..S apng
DEVIL. asv1
DEVIL. asv2
D.VIL. aura
D.VIL. aura2
..V.L. av1
D.V... avrn
DEVI.S avrp
D.V.L. avs
DEVI.S avui
DEVI.S ayuv
D.V.L. bethsoftvid
D.V.L. bfi
D.V.L. binkvideo
D.VI.. bintext
D.VI.S bitpacked
DEVI.S bmp
D.V..S bmv_video
D.VI.S brender_pix
D.V.L. c93
D.V.L. cavs
D.V.L. cdgraphics
D.VIL. cdxl
D.V.L. cfhd
DEV.L. cinepak
D.V.L. clearvideo
DEVIL. cljr
D.VI.S cllc
D.V.L. cmv (decoders: eacmv )
D.V... cpia
D.V..S cscd (decoders: camstudio )
D.VIL. cyuv
..V.LS daala
D.VILS dds
D.V.L. dfa
DEV.LS dirac (encoders: vc2 )
DEVIL. dnxhd
DEVI.S dpx
D.V.L. dsicinvideo
DEVIL. dvvideo
D.V..S dxa
D.VI.S dxtory
D.VIL. dxv
D.V.L. escape124
D.V.L. escape130
D.VILS exr
DEV..S ffv1
DEVI.S ffvhuff
D.V.L. fic
DEVI.S fits
DEV..S flashsv
DEV.L. flashsv2
D.V..S flic
DEV.L. flv1 (decoders: flv ) (encoders: flv )
D.V..S fmvc
D.VI.S fraps
D.VI.S frwu
D.V.L. g2m
D.V.L. gdv
DEV..S gif
DEV.L. h261
DEV.L. h263 (decoders: h263 h263_v4l2m2m ) (encoders: h263 h26 3_v4l2m2m )
D.V.L. h263i
DEV.L. h263p
DEV.LS h264 (decoders: h264_v4l2m2m ) (encoders: h264_v4l2m2m )
D.VIL. hap
..V.L. hevc
D.V.L. hnm4video
D.VIL. hq_hqa
D.VIL. hqx
DEVI.S huffyuv
D.V.L. idcin (decoders: idcinvideo )
D.VI.. idf
D.V.L. iff_ilbm (decoders: iff )
D.V.L. indeo2
D.V.L. indeo3
D.V.L. indeo4
D.V.L. indeo5
D.V.L. interplayvideo
DEVILS jpeg2000
DEVILS jpegls
D.VIL. jv
D.V.L. kgv1
D.V.L. kmvc
D.VI.S lagarith
.EVI.S ljpeg
D.VI.S loco
D.VI.S m101
D.V.L. mad (decoders: eamad )
D.VI.S magicyuv
D.VIL. mdec
D.V.L. mimic
DEVIL. mjpeg
D.VIL. mjpegb
D.V.L. mmvideo
D.V.L. motionpixels
DEV.L. mpeg1video (decoders: mpeg1video mpeg1_v4l2m2m )
DEV.L. mpeg2video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m )
DEV.L. mpeg4 (decoders: mpeg4 mpeg4_v4l2m2m ) (encoders: mpeg4 mpeg4_v4l2m2m )
..V.L. mpegvideo_xvmc
D.V.L. msa1
D.VI.S mscc
D.V.L. msmpeg4v1
DEV.L. msmpeg4v2
DEV.L. msmpeg4v3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
D.V..S msrle
D.V.L. mss1
..VIL. mss2
DEV.L. msvideo1
D.VI.S mszh
D.V.L. mts2
D.VIL. mvc1
D.VIL. mvc2
D.V.L. mxpeg
D.V.L. nuv
D.V.L. paf_video
DEVI.S pam
DEVI.S pbm
DEVI.S pcx
DEVI.S pgm
DEVI.S pgmyuv
D.VIL. pictor
D.VIL. pixlet
DEV..S png
DEVI.S ppm
DEVIL. prores (decoders: prores prores_lgpl ) (encoders: prores prores_aw prores_ks )
D.VI.S psd
D.VIL. ptx
D.VI.S qdraw
D.V.L. qpeg
DEV..S qtrle
DEVI.S r10k
DEVI.S r210
DEVI.S rawvideo
D.VIL. rl2
DEV.L. roq (decoders: roqvideo ) (encoders: roqvideo )
D.V.L. rpza
D.V..S rscc
DEV.L. rv10
DEV.L. rv20
D.V.L. rv30
D.V.L. rv40
D.V.L. sanm
D.V.LS scpr
D.V..S screenpresso
DEVI.S sgi
D.VI.S sgirle
D.VI.S sheervideo
D.V.L. smackvideo (decoders: smackvid )
D.V.L. smc
D.V... smvjpeg
DEV.LS snow
D.VIL. sp5x
D.VIL. speedhq
D.VI.S srgc
DEVI.S sunrast
..V..S svg
DEV.L. svq1
D.V.L. svq3
DEVI.S targa
D.VI.S targa_y216
D.V.L. tdsc
D.V.L. tgq (decoders: eatgq )
D.V.L. tgv (decoders: eatgv )
D.V.L. theora
D.VIL. thp
D.V.L. tiertexseqvideo
DEVI.S tiff
D.VIL. tmv
D.V.L. tqi (decoders: eatqi )
D.V.L. truemotion1
D.V.L. truemotion2
D.V.L. truemotion2rt
D.V..S tscc (decoders: camtasia )
D.V.L. tscc2
D.VIL. txd
D.V.L. ulti (decoders: ultimotion )
DEVI.S utvideo
DEVI.S v210
D.VI.S v210x
DEVI.S v308
DEVI.S v408
DEVI.S v410
D.V.L. vb
D.VI.S vble
D.V.L. vc1 (decoders: vc1_v4l2m2m )
..V.L. vc1image
D.VIL. vcr1
D.VIL. vixl (decoders: xl )
D.V.L. vmdvideo
D.V..S vmnc
D.V.L. vp3
D.V.L. vp5
D.V.L. vp6
D.V.L. vp6a
D.V.L. vp6f
D.V.L. vp7
DEV.L. vp8 (decoders: vp8 vp8_v4l2m2m ) (encoders: vp8_v4l2m2 m )
D.V.L. vp9 (decoders: vp9 vp9_v4l2m2m )
D.VILS webp
DEV.L. wmv1
DEV.L. wmv2
..V.L. wmv3
..V.L. wmv3image
D.VIL. wnv1
DEV..S wrapped_avframe
D.V.L. ws_vqa (decoders: vqavideo )
D.V.L. xan_wc3
D.V.L. xan_wc4
D.VI.. xbin
DEVI.S xbm
DEVIL. xface
D.VI.S xpm
DEVI.S xwd
DEVI.S y41p
D.VI.S ylc
D.V.L. yop
DEVI.S yuv4
D.V..S zerocodec
DEVI.S zlib
DEV..S zmbv
..A.L. 4gv
D.A.L. 8svx_exp
D.A.L. 8svx_fib
DEA.L. aac (decoders: aac aac_fixed )
D.A.L. aac_latm
DEA.L. ac3 (decoders: ac3 ac3_fixed ) (encoders: ac3 ac3_fixe d )
D.A.L. adpcm_4xm
DEA.L. adpcm_adx
D.A.L. adpcm_afc
D.A.L. adpcm_aica
D.A.L. adpcm_ct
D.A.L. adpcm_dtk
D.A.L. adpcm_ea
D.A.L. adpcm_ea_maxis_xa
D.A.L. adpcm_ea_r1
D.A.L. adpcm_ea_r2
D.A.L. adpcm_ea_r3
D.A.L. adpcm_ea_xas
DEA.L. adpcm_g722 (decoders: g722 ) (encoders: g722 )
DEA.L. adpcm_g726 (decoders: g726 ) (encoders: g726 )
DEA.L. adpcm_g726le (decoders: g726le ) (encoders: g726le )
D.A.L. adpcm_ima_amv
D.A.L. adpcm_ima_apc
D.A.L. adpcm_ima_dat4
D.A.L. adpcm_ima_dk3
D.A.L. adpcm_ima_dk4
D.A.L. adpcm_ima_ea_eacs
D.A.L. adpcm_ima_ea_sead
D.A.L. adpcm_ima_iss
D.A.L. adpcm_ima_oki
DEA.L. adpcm_ima_qt
D.A.L. adpcm_ima_rad
D.A.L. adpcm_ima_smjpeg
DEA.L. adpcm_ima_wav
D.A.L. adpcm_ima_ws
DEA.L. adpcm_ms
D.A.L. adpcm_mtaf
D.A.L. adpcm_psx
D.A.L. adpcm_sbpro_2
D.A.L. adpcm_sbpro_3
D.A.L. adpcm_sbpro_4
DEA.L. adpcm_swf
D.A.L. adpcm_thp
D.A.L. adpcm_thp_le
D.A.L. adpcm_vima
D.A.L. adpcm_xa
DEA.L. adpcm_yamaha
DEAI.S alac
D.A.L. amr_nb (decoders: amrnb )
D.A.L. amr_wb (decoders: amrwb )
D.A..S ape
D.A.L. atrac1
..A.L. atrac3
D.A..S atrac3al
D.A.L. atrac3p (decoders: atrac3plus )
D.A..S atrac3pal (decoders: atrac3plusal )
D.A.L. avc (decoders: on2avc )
D.A.L. binkaudio_dct
D.A.L. binkaudio_rdft
D.A.L. bmv_audio
..A.L. celt
DEA.L. comfortnoise
D.A.L. cook
D.A.L. dolby_e
D.A.L. dsd_lsbf
D.A.L. dsd_lsbf_planar
D.A.L. dsd_msbf
D.A.L. dsd_msbf_planar
D.A.L. dsicinaudio
D.A.L. dss_sp
D.A..S dst
DEA.LS dts (decoders: dca ) (encoders: dca )
D.A.L. dvaudio
DEA.L. eac3
D.A.L. evrc
DEAI.S flac
DEA.L. g723_1
D.A.L. g729
D.A.L. gremlin_dpcm
D.A.L. gsm
D.A.L. gsm_ms
D.A.L. iac
..A.L. ilbc
D.A.L. imc
D.A.L. interplay_dpcm
D.A.L. interplayacm
D.A.L. mace3
D.A.L. mace6
D.A.L. metasound
DEA..S mlp
D.A.L. mp1 (decoders: mp1 mp1float )
DEA.L. mp2 (decoders: mp2 mp2float ) (encoders: mp2 mp2fixed )
DEA.L. mp3 (decoders: mp3 mp3float ) (encoders: libshine )
D.A.L. mp3adu (decoders: mp3adu mp3adufloat )
D.A.L. mp3on4 (decoders: mp3on4 mp3on4float )
D.A..S mp4als (decoders: als )
D.A.L. musepack7 (decoders: mpc7 )
D.A.L. musepack8 (decoders: mpc8 )
DEA.L. nellymoser
DEA.L. opus (decoders: opus libopus ) (encoders: opus libopus )
D.A.L. paf_audio
DEA.L. pcm_alaw
D.A..S pcm_bluray
D.A..S pcm_dvd
D.A..S pcm_f16le
D.A..S pcm_f24le
DEA..S pcm_f32be
DEA..S pcm_f32le
DEA..S pcm_f64be
DEA..S pcm_f64le
D.A..S pcm_lxf
DEA.L. pcm_mulaw
DEA..S pcm_s16be
DEA..S pcm_s16be_planar
DEA..S pcm_s16le
DEA..S pcm_s16le_planar
DEA..S pcm_s24be
DEA..S pcm_s24daud
DEA..S pcm_s24le
DEA..S pcm_s24le_planar
DEA..S pcm_s32be
DEA..S pcm_s32le
DEA..S pcm_s32le_planar
DEA..S pcm_s64be
DEA..S pcm_s64le
DEA..S pcm_s8
DEA..S pcm_s8_planar
DEA..S pcm_u16be
DEA..S pcm_u16le
DEA..S pcm_u24be
DEA..S pcm_u24le
DEA..S pcm_u32be
DEA..S pcm_u32le
DEA..S pcm_u8
D.A.L. pcm_zork
D.A.L. qcelp
D.A.L. qdm2
D.A.L. qdmc
DEA.L. ra_144 (decoders: real_144 ) (encoders: real_144 )
D.A.L. ra_288 (decoders: real_288 )
D.A..S ralf
DEA.L. roq_dpcm
DEA..S s302m
D.A.L. sdx2_dpcm
D.A..S shorten
D.A.L. sipr
D.A.L. smackaudio (decoders: smackaud )
..A.L. smv
D.A.L. sol_dpcm
DEA... sonic
.EA... sonicls
..A.L. speex
D.AI.S tak
DEA..S truehd
D.A.L. truespeech
DEAI.S tta
D.A.L. twinvq
D.A.L. vmdaudio
DEA.L. vorbis
..A.L. voxware
D.A... wavesynth
DEAILS wavpack
D.A.L. westwood_snd1 (decoders: ws_snd1 )
D.A..S wmalossless
D.A.L. wmapro
DEA.L. wmav1
DEA.L. wmav2
D.A.L. wmavoice
D.A.L. xan_dpcm
D.A.L. xma1
D.A.L. xma2
..D... bin_data
..D... dvd_nav_packet
..D... klv
..D... otf
..D... scte_35
..D... timed_id3
..D... ttf
DES... ass (decoders: ssa ass ) (encoders: ssa ass )
DES... dvb_subtitle (decoders: dvbsub ) (encoders: dvbsub )
..S... dvb_teletext
DES... dvd_subtitle (decoders: dvdsub ) (encoders: dvdsub )
D.S... eia_608 (decoders: cc_dec )
D.S... hdmv_pgs_subtitle (decoders: pgssub )
..S... hdmv_text_subtitle
D.S... jacosub
D.S... microdvd
DES... mov_text
D.S... mpl2
D.S... pjs
D.S... realtext
D.S... sami
..S... srt
..S... ssa
D.S... stl
DES... subrip (decoders: srt subrip ) (encoders: srt subrip )
D.S... subviewer
D.S... subviewer1
DES... text
D.S... vplayer
DES... webvtt
DES... xsub
Działanie ffmpega jest takie:
root@OpenWrt:~# ffmpeg -rtsp_transport tcp -i rtsp://192.168.2.116:554/11 -c:v copy -c:a copy -map 0 -strftime 1 -t 8 /mnt/sda1/test10.mkv
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7.5.0 (OpenWrt GCC 7.5.0 r11272-e290024717)
configuration: --enable-cross-compile --cross-prefix=mipsel-openwrt-linux-musl- --arch=mipsel --cpu=24kc --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-altivec --disable-vsx --disable-power8 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-inline-asm --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-mmi --disable-fast-unaligned --disable-runtime-cpudetect --disable-asm --disable-inline-asm --disable-x86asm --enable-avresample --disable-decoder=atrac3 --disable-decoder=h264 --disable-decoder=hevc --disable-decoder=vc1 --disable-muxer=h264 --disable-muxer=hevc --disable-muxer=vc1 --disable-demuxer=h264 --disable-demuxer=hevc --disable-demuxer=vc1 --disable-parser=h264 --disable-parser=hevc --disable-parser=vc1 --enable-libopus --enable-small --enable-libshine
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
[h264_v4l2m2m @ 0x77e6c530] Could not find a valid device
[h264_v4l2m2m @ 0x77e6c530] can't configure decoder
[rtsp @ 0x77b30770] Failed to open codec in avformat_find_stream_info
[h264_v4l2m2m @ 0x77e6c530] Could not find a valid device
[h264_v4l2m2m @ 0x77e6c530] can't configure decoder
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://192.168.2.116:554/11':
Metadata:
title : 10
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264, none, 1920x1080, 90k tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Output #0, matroska, to '/mnt/sda1/test10.mkv':
Metadata:
title : 10
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (H264 / 0x34363248), none, 1920x1080, q=2-31, 90k tbr, 1k tbn, 90k tbc
Stream #0:1: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 Lsize= 66kB time=00:00:07.98 bitrate= 67.8kbits/s speed=0.711x
video:0kB audio:62kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.698438%
root@OpenWrt:~# ^C