| 1 | C:\ffmpeg>C:\ffmpeg\bin\ffmpeg -y -c:v h264 -r 10 -guess_layout_max 5000 -ac 1 -rtsp_transport tcp -thread_queue_size 512 -i "rtsp://192.168.2.15/stream0?user=******&password=******" -f dash -use_template 0 -single_file 0 -init_seg_name E:\hls\cameray_segment_00000.$ext$ -media_seg_name E:\hls\cameray_segment_$Number%05d$.$ext$ -c:a libfdk_aac -c:v libx264 -b:v 1024K -profile:v baseline -maxrate 1024K -bufsize 8M -an -crf 18 -r 10 -g 30 -ignore_io_errors 1 -streaming 1 -use_timeline 0 -seg_duration 15 -window_size 3 -extra_window_size 1 -dash_segment_type auto E:\hls\cameray.mpd
|
|---|
| 2 | ffmpeg version N-92644-gfe0416f8a1 Copyright (c) 2000-2018 the FFmpeg developers
|
|---|
| 3 | built with gcc 8.2.1 (GCC) 20181201
|
|---|
| 4 | configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
|
|---|
| 5 | libavutil 56. 24.101 / 56. 24.101
|
|---|
| 6 | libavcodec 58. 41.102 / 58. 41.102
|
|---|
| 7 | libavformat 58. 23.102 / 58. 23.102
|
|---|
| 8 | libavdevice 58. 6.101 / 58. 6.101
|
|---|
| 9 | libavfilter 7. 46.101 / 7. 46.101
|
|---|
| 10 | libswscale 5. 4.100 / 5. 4.100
|
|---|
| 11 | libswresample 3. 4.100 / 3. 4.100
|
|---|
| 12 | libpostproc 55. 4.100 / 55. 4.100
|
|---|
| 13 | [rtsp @ 000002648b41de40] Stream #0: not enough frames to estimate rate; consider increasing probesize
|
|---|
| 14 | Input #0, rtsp, from 'rtsp://192.168.2.15/stream0?user=******&password=******':
|
|---|
| 15 | Metadata:
|
|---|
| 16 | title : RTSP/RTP stream from anjvision ipcamera
|
|---|
| 17 | Duration: N/A, start: 0.000000, bitrate: N/A
|
|---|
| 18 | Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x720, 90k tbr, 90k tbn, 180k tbc
|
|---|
| 19 | Stream mapping:
|
|---|
| 20 | Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
|
|---|
| 21 | Press [q] to stop, [?] for help
|
|---|
| 22 | [libx264 @ 000002648be24c40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
|
|---|
| 23 | [libx264 @ 000002648be24c40] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
|
|---|
| 24 | [libx264 @ 000002648be24c40] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 keyint_min=3 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1024 vbv_bufsize=8000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
|
|---|
| 25 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00000.mp4' for writing
|
|---|
| 26 | Output #0, dash, to 'E:\hls\cameray.mpd':
|
|---|
| 27 | Metadata:
|
|---|
| 28 | title : RTSP/RTP stream from anjvision ipcamera
|
|---|
| 29 | encoder : Lavf58.23.102
|
|---|
| 30 | Stream #0:0: Video: h264 (libx264), yuvj420p(pc), 1280x720, q=-1--1, 1024 kb/s, 10 fps, 10240 tbn, 10 tbc
|
|---|
| 31 | Metadata:
|
|---|
| 32 | encoder : Lavc58.41.102 libx264
|
|---|
| 33 | Side data:
|
|---|
| 34 | cpb: bitrate max/min/avg: 1024000/0/1024000 buffer size: 8000000 vbv_delay: -1
|
|---|
| 35 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00001.mp4.tmp' for writing
|
|---|
| 36 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing=3.42x
|
|---|
| 37 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00002.mp4.tmp' for writing
|
|---|
| 38 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing=1.53x
|
|---|
| 39 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00003.mp4.tmp' for writing
|
|---|
| 40 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing= 1.3x
|
|---|
| 41 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00004.mp4.tmp' for writing
|
|---|
| 42 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing=1.21x
|
|---|
| 43 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00005.mp4.tmp' for writing
|
|---|
| 44 | [dash @ 000002648be3e740] failed to delete E:\hls\cameray_segment_00001.mp4: Invalid argument
|
|---|
| 45 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing
|
|---|
| 46 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00006.mp4.tmp' for writing
|
|---|
| 47 | [dash @ 000002648be3e740] failed to delete E:\hls\cameray_segment_00002.mp4: Invalid argument
|
|---|
| 48 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray.mpd.tmp' for writing
|
|---|
| 49 | [dash @ 000002648be3e740] Opening 'E:\hls\cameray_segment_00007.mp4.tmp' for writing
|
|---|
| 50 | [dash @ 000002648be3e740] failed to delete E:\hls\cameray_segment_00003.mp4: Invalid argument
|
|---|
| 51 | [
|
|---|