[FFmpeg-trac] #1937(undetermined:open): cdxl: wrong duration
FFmpeg
trac at avcodec.org
Wed Dec 12 03:49:48 CET 2012
#1937: cdxl: wrong duration
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: cdxl | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by ami_stuff):
the correct duration shoud be calculated like this:
int64_t filesize = avio_size(s->pb);
st->duration = (filesize /* - audiotrack_size */ ) / video_size /
calculated_fps;
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1937#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list