Closed impca closed 6 years ago
I'll have a look into that. In the past there was a problem with framerate but I fixed that (and anyway it's correct from the media info you pasted).
There could be something around combination of audio and video or maybe some frames are skipped... But the difference is quite bit - nearly 10 minutes (~18k frames).
I have serious issues with that as well. For example a video with 663 frames has 795 after conversion. It gets even worse with longer sequences. A video with 6902 frames had 16548 (!!!) after conversion.
I am using revision 93370b5, as newer version do not work for me at all.
Using my test videos (generated) I've noticed that every second 6 frames are added. So on average videos will be 20% bigger. I'm trying to pinpoint the cause. For the moment modify script to use "speed" option ("old" encoder).
Fixed in newest commit. There was a missing -framerate
parameter that tells ffmpeg
about source material (stitched images) framerate. Default is 25 fps, this explains extra frame every 6th frame (~25/30).
Camera: 2016 model
I have noticed that when using gear360video.cmd without the --speed switch (ie using the slower, higher quality preset), the final video is slightly stretched, but the audio has correct length. So if I process a 46mn 47s long video, the final processed video is 56mn 5s long and audio goes out of sync.
Original video
Processed video:
With the fast preset (--speed), the video is processed correctly.
Any ideas why?