diff --git a/Sources/Extras/Accord.Video.FFMPEG.GPL/VideoFileWriter.cpp b/Sources/Extras/Accord.Video.FFMPEG.GPL/VideoFileWriter.cpp index 3efc8a53f..b05ad3019 100644 --- a/Sources/Extras/Accord.Video.FFMPEG.GPL/VideoFileWriter.cpp +++ b/Sources/Extras/Accord.Video.FFMPEG.GPL/VideoFileWriter.cpp @@ -759,7 +759,7 @@ namespace Accord { } if (timestamp >= TimeSpan::Zero) - data->video_st.next_pts = TimeSpanToPTS(timestamp, data->video_st.st, data->video_st.enc); + data->video_st.next_pts = TimeSpanToPTS(timestamp, data->video_st.st, data->video_st.enc)*0.5; data->send_video_frame(&data->video_st, (uint64_t*)bitmapData->Scan0.ToPointer(), bitmapData->Stride); }