From 406f8d9c9a10267299d6eefd0672bd4f4c9342b4 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 24 Jan 2019 12:52:50 +0100 Subject: [PATCH] lavf/movenc: Mention video_track_timescale as option to fix the timescale. Smarter improvements for this error message were suggested in the past but this is certainly an improvement. --- libavformat/movenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index adaff4c5e9..65be2968a1 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2741,8 +2741,8 @@ static int mov_write_mdhd_tag(AVIOContext *pb, MOVMuxContext *mov, if (version != 0 && track->mode == MODE_MOV) { av_log(NULL, AV_LOG_ERROR, "FATAL error, file duration too long for timebase, this file will not be\n" - "playable with quicktime. Choose a different timebase or a different\n" - "container format\n"); + "playable with QuickTime. Choose a different timebase with " + "-video_track_timescale or a different container format\n"); } return 32;