Hallo sirs, J am trying to capture a live video from a Vivotek PT7137 camera that output an mpeg4 stream: 1) with no parameter: root at xxxx:~/yyyy# /usr/bin/ffmpeg -i rtsp://192.168.3.253/live.sdp -f flv -y ../../httpd/html//kkkk.flv FFmpeg version SVN-r15137, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --cpu=i486 --arch=i486 --prefix=/usr --mandir=${prefix}/share/man libavutil 49.10. 0 / 49.10. 0 libavcodec 51.70. 0 / 51.70. 0 libavformat 52.21. 0 / 52.21. 0 libavdevice 52. 1. 0 / 52. 1. 0 built on Sep 1 2008 17:52:17, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Input #0, rtsp, from 'rtsp://192.168.3.253/live.sdp': Duration: N/A, start: 0.080000, bitrate: N/A Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1000.00 tb(r) Output #0, flv, to '../../httpd/html//kkkk.flv': Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1000.00 tb(c) Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding [flv @ 0x87d9f30]Error, Invalid timestamp=0, last=0 Video encoding failed 2) with parameter: root at xxxx:~/yyyy# /usr/bin/ffmpeg -i rtsp://192.168.3.253/live.sdp -f flv -r 15 -y ../../httpd/html//kkkk.flv FFmpeg version SVN-r15137, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --cpu=i486 --arch=i486 --prefix=/usr --mandir=${prefix}/share/man libavutil 49.10. 0 / 49.10. 0 libavcodec 51.70. 0 / 51.70. 0 libavformat 52.21. 0 / 52.21. 0 libavdevice 52. 1. 0 / 52. 1. 0 built on Sep 1 2008 17:52:17, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Input #0, rtsp, from 'rtsp://192.168.3.253/live.sdp': Duration: N/A, start: 0.080000, bitrate: N/A Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1000.00 tb(r) Output #0, flv, to '../../httpd/html//kkkk.flv': Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 15.00 tb(c) Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 247 fps= 20 q=10.0 Lsize= 728kB time=16.47 bitrate= 362.2kbits/s video:724kB audio:0kB global headers:0kB muxing overhead 0.558321% On case 2) the video plays with pauses [http://it.youtube.com/watch?v=erYhD_KFGvw], the total duration is the true time elapsed. Regards Santel ---- Nuova grafica e nuove funzionalit?! Crea subito Gratis la tua nuova Casella di Posta Katamail
participants (1)
-
kkksantel@katamail.com