Opened 13 years ago
Closed 13 years ago
#599 closed defect (fixed)
Retrieving bad duration from h264 mov file
Reported by: | Deron Kazmaier | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | mov duration |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description (last modified by )
When executing the command "ffmpeg -i h264_bad_duration.mov", ffmpeg returns the below details. The important (wrong) part is Duration. The video duration is (roughly) 30 seconds, but ffmpeg shows it as 5:34.49. It does appear to play correctly in mplayer (though it reports the same wrong duration, which should be no surprise).
File located at http://usmediavault.com/h264_bad_duration.mov
I tried uploading to upload.ffmpeg.org, but was unable to.
Thanks for looking at this.
Deron Kazmaier
deron@faroutliving.com
ffmpeg version N-34139-gad2d597, Copyright (c) 2000-2011 the FFmpeg developers built on Oct 28 2011 12:57:49 with gcc 4.5.2 configuration: --enable-gpl libavutil 51. 22. 0 / 51. 22. 0 libavcodec 53. 23. 0 / 53. 23. 0 libavformat 53. 17. 0 / 53. 17. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 45. 1 / 2. 45. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Seems stream 1 codec frame rate differs from container frame rate: 11988.00 (11988/1) -> 59.94 (2997/50) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'h264_bad_duration.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2011-10-27 20:31:39 Duration: 00:05:34.49, start: 0.000000, bitrate: 2775 kb/s Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 2636 kb/s, 5.37 fps, 59.94 tbr, 5994 tbn, 11988 tbc Metadata: creation_time : 2011-10-27 20:31:39 handler_name : ?Apple Alias Data Handler At least one output file must be specified
Attachments (1)
Change History (3)
comment:1 by , 13 years ago
Component: | undetermined → avformat |
---|---|
Description: | modified (diff) |
Keywords: | mov added; h264 bad removed |
Reproduced by developer: | set |
Status: | new → open |
by , 13 years ago
Attachment: | 0001-Fixes-wrong-duration-in-.mov-file.-Issue-599.patch added |
---|
Patch for this bug.
Note:
See TracTickets
for help on using tickets.
QuickTime and vlc show the correct duration of 29 seconds.