[MPlayer-users] Failed to save IP camera video stream
calvin chan
c_calvin2000 at yahoo.co.uk
Fri Nov 26 18:40:47 CET 2010
--- On Sat, 27/11/10, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> dumpstream does not work with rtsp, in the past people were
> told to use
> mencoder, nowadays I would suggest
> ffmpeg -i rtsp://192.168.2.6/play1.sdp -vcodec copy -acodec
> copy /home/test.avi
>
> Carl Eugen
--- On Sat, 27/11/10, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>dumpstream does not work with rtsp, in the past people were told to use
>mencoder, nowadays I would suggest
>ffmpeg -i rtsp://192.168.2.6/play1.sdp -vcodec copy -acodec copy /home/test.avi
Thanks a lot. That worked. However i encountered the following error right after it starts to save:
ffmpeg -i rtsp://192.168.2.6/play1.sdp -vcodec copy -acodec copy /home/test.avi
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
Input #0, rtsp, from 'rtsp://192.168.2.6/play1.sdp':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30k tbr, 90k tbn, 30k tbc
Stream #0.1: Audio: pcm_mulaw, 8000 Hz, stereo, s16, 128 kb/s
Output #0, avi, to '/home/test.avi':
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 90k tbn, 30k tbc
Stream #0.1: Audio: pcm_mulaw, 8000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[NULL @ 0x9ad03f0]error, non monotone timestamps 8906 >= 8906
av_interleaved_write_frame(): Error while opening file
Any idea how can i solve this error? Thanks.
More information about the MPlayer-users
mailing list