[Libav-user] one error message produced by mov

qw applemax82 at 163.com
Sat Oct 10 10:11:18 CEST 2015


Hi,


I'm confused with below source code.


http://ffmpeg.org/doxygen/trunk/movenc_8c_source.html#l02214
http://ffmpeg.org/doxygen/2.6/movenc_8c_source.html#l02211


In mov_write_mdhd_tag(), there is one condition I'm really confused:


    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");
    }


I have checked ISO/IEC 14496-12, which allows version = 1. And I think mov should be compliant with ISO/IEC 14496-12, and in mov' mdhd box version can be set to 1. Why does ffmpeg report error message here?


Thanks!


B.R.


Andrew



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20151010/e859758f/attachment.html>


More information about the Libav-user mailing list