2018-01-18 12:36 GMT+01:00 George Andguladze <[email protected]>:
>> As a work-around, you can record the stream with something else than ogg >> (for example avi) and then re-encode that file, the result should contain >> sane >> timestamps. >> If you use the option "-rtsp_transport tcp" you should not see the errors >> that >> are in your console output, "-qscale 2" ensures maximum quality, you can >> reduce the bitrate when encoding to ogg. > > Tried it and while it does normalize the video duration and makes audio > constantly heard, the audio does not match the video's time - I can see > people talking on the video but there is only silent noise (same noise > when the room is empty) output from the audio. The following works here: $ ffmpeg -rtsp_transport tcp -i rtsp... -qscale 2 -acodec copy -y out.avi I am happy if somebody convinces me that there is a bug in FFmpeg (and not in the Hikvision server)! Carl Eugen _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
