[FFmpeg-devel] [PATCH] Increase MOV_TIMESCALE for higher precision

Andrey Rikunov andrey.rikunov at gmail.com
Wed Mar 24 00:08:45 EET 2021


---
 libavformat/movenc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index cdbc407..8a152c0 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -29,7 +29,7 @@
 
 #define MOV_FRAG_INFO_ALLOC_INCREMENT 64
 #define MOV_INDEX_CLUSTER_SIZE 1024
-#define MOV_TIMESCALE 1000
+#define MOV_TIMESCALE 60000
 
 #define RTP_MAX_PACKET_SIZE 1450
 
-- 
2.7.4



More information about the ffmpeg-devel mailing list