command line was:
ffmpeg.exe -i rtsp://192.168.0.7:554/ch0_unicast_0 -y -vcodec copy -f mp4 record.mp4
Input stream is RTSP from a nearby Vigilant camera, H264 coded. Need only to copy frames, no encoding at all.
Output gives:
ffmpeg.exe -i rtsp://192.168.0.7:554/ch0_unicast_0 -y -vcodec copy record.mp4
FFmpeg version SVN-r25588, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 27 2010 04:06:41 with gcc 4.4.2
configuration: –enable-gpl –enable-version3 –enable-libgsm –enable-pthread
s –enable-libvorbis –enable-libtheora –enable-libspeex –enable-libmp3lame —
enable-libopenjpeg –enable-libschroedinger –enable-libopencore_amrwb –enable-
libopencore_amrnb –enable-libvpx –arch=x86 –enable-runtime-cpudetect –enable
-libxvid –enable-libx264 –extra-libs=’-lx264 -lpthread’ –enable-librtmp –ext
ra-libs=’-lrtmp -lpolarssl -lws2_32 -lwinmm’ –target-os=mingw32 –enable-avisyn
th –cross-prefix=i686-mingw32- –cc=’ccache i686-mingw32-gcc’ –enable-memalign
-hack
libavutil 50.32. 3 / 50.32. 3
libavcore 0. 9. 1 / 0. 9. 1
libavcodec 52.93. 0 / 52.93. 0
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.53. 0 / 1.53. 0
libswscale 0.12. 0 / 0.12. 0
[h264 @ 01ff2020] concealing 1620 DC, 1620 AC, 1620 MV errors
Last message repeated 4 times
[rtsp @ 01d0d690] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (18
0000/1) -> 90000.00 (180000/2)
Input #0, rtsp, from ‘rtsp://192.168.0.7:554/ch0_unicast_0’:
Metadata:
title : Session of first stream
comment : First Codec Stream
Duration: N/A, start: 0.055689, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 720×576, 90k tbr, 90k tbn, 180k tbc
Output #0, mp4, to ‘record.mp4’:
Metadata:
encoder : Lavf52.84.0
Stream #0.0: Video: libx264, yuv420p, 720×576, q=2-31, 90k tbn, 90k tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mp4 @ 020f0050] pts has no value
Last message repeated 31 times
[mp4 @ 020f0050] st:0 error, pts < dts
av_interleaved_write_frame(): Operation not permitted