Re: [FFmpeg-user] H264 IP-camera dump causes wrong duration/bitrate
Is it possible that your camera actually captures at a lower framerate at night/in low light condition? I think framerate is fixed rate. The probrem is in frame detection. Talking about the sample, the bitrate at night has bigger than day time one. I think the frame in night doesn't need more bitrate. That's way I think frame detection has problem. * http://temp1.shirase.tk/1505151230.mp4 This file is a sample in day time. The duration of this file is 00:01:07.20. The bit rate of this file is 3005 kb/s * http://temp1.shirase.tk/1505152058.mp4 This file is a sample in night time. The duration is 00:00:24.00. The bit rate of this file is 5545 kb/s. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] H264 IP-camera dump causes wrong duration/bitrate
I tried to encode to mpeg / mp4 before, and the result was same. So, I think the problem is input data or decoder , not encorder! Are there any idea to investigate this problem? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] H264 IP-camera dump causes wrong duration/bitrate
I got H264 livestream dump from my IP-camera with ffmpeg. The movies get shorter than real time in night time, although the length is correct in day time. The command line I did is below. I used segment function with segment time = 60. So, I expect the duration of each mp4 file is about 60 seconds. ffmpeg -i http://temp2.shirase.tk/livestream.cgi?user=guestpwd=gueststreamid=0audio=0filename=; -y -vcodec copy \ -loglevel verbose \ -movflags faststart+empty_moov \ -f segment \ -segment_atclocktime 1 \ -segment_time 60 \ -reset_timestamps 1 \ -strftime 1 \ %y%m%d%H%M.mp4 /dev/zero 2 dump.log The files below is the sample files and console log. * http://temp1.shirase.tk/1505151230.mp4 This file is a sample in day time. The duration of this file is 00:01:07.20. * http://temp1.shirase.tk/1505152058.mp4 This file is a sample in night time. The duration is 00:00:24.00. * http://temp1.shirase.tk/dump.log console log. I posted this problem to ffmpeg forum before. ( http://ffmpeg.gusari.org/viewtopic.php?f=11t=2013 ) But I could not get any solution. I also asked about h264 : data partitioning to ffmpeg-devel after I found this message. https://ffmpeg.org/pipermail/ffmpeg-devel/2015-May/172614.html But it's not my trouble. Regard. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user