我正在尝试在桌面上保存相机流的更新图像。
avconv -i rtsp://admin:[email protected]/h264 -f image2 -r 1
/home/nuc/Images/img.jpg
协议
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[h264 @ 0x1eb8180] RTP: missed 5 packets
[h264 @ 0x1eb8180] concealing 2447 DC, 2447 AC, 2447 MV errors
[rtsp @ 0x1eb4020] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://admin:[email protected]/h264':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000044, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 1920x1080, 25 fps, 45k tbr, 90k tbn, 50 tbc
Output #0, image2, to '/home/nuc/Bilder/img.jpg':
Metadata:
title : Media Presentation
encoder : Lavf54.20.4
Stream #0.0: Video: mjpeg, yuvj420p, 1920x1080, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press ctrl-c to stop encoding
[h264 @ 0x1fe5740] concealing 2447 DC, 2447 AC, 2447 MV errors
错误:
Could not get frame filename number 2 from pattern '/home/nuc/Bilder/img.jpg'
av_interleaved_write_frame(): Input/output error
nuc@nuc:~$