Opened 13 years ago
Last modified 10 years ago
#766 open enhancement
Extend ffmpeg's timecode extraction
Reported by: | TimNich | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | |
Cc: | ffmpeg.org@kabsi.de | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Whilst many formats support adding timecode with the -timecode feature currently only the GXF format supports presenting this timecode in the metadata, with mpeg being read using the new ffprobe feature from commit fbe6e29646582fb97317ff3e7214a04ae74c9bef
For consistency it would be good if all formats for which it is valid to present a -timecode value to the muxer allowed extracting that timecode in the demuxer.
Ideally both reading and writing of timecode should be extended to all those formats that support it, which would include mxf and mov.
Given that "burnt in" timecode can now be added to any format using the drawtext filter. This would complete ffmpeg's capabilities in this area.
Change History (8)
follow-up: 4 comment:1 by , 13 years ago
comment:4 by , 13 years ago
Replying to ubitux:
Just an update of the current state: read is supported by all the common formats except MXF, and write by all the common formats except MOV (http://ffmpeg.org/general.html#Timecode).
MXF is now supported since ad029c2....
comment:5 by , 13 years ago
Component: | FFmpeg → avformat |
---|---|
Status: | new → open |
Do we have a DV S314M sample that needs this enhancement?
comment:6 by , 13 years ago
Sample video files:
- http://tinyurl.com/6p5njvf : record/start timestamp is 20:23:03:12
- http://tinyurl.com/6p9mtu3 : record/start timestamp is 17:30:15:01
comment:7 by , 10 years ago
Please see the sample "dv03-timecode.avi" provided for download via Dropbox:
https://www.dropbox.com/sh/766m02ndwwxk4nv/AAAX4-XKwYi6zq2mdmgc42Z8a?lst
Mediainfo extracts the timecode of the first frame as "00:58:35:14".
However, ffprobe does not, just try for yourself:
ffprobe -show_streams -show_format dv03-timecode.avi
This seemingly contradicts ffprobe's man page which contends "AVI timecodes are available in format metadata".
comment:8 by , 10 years ago
Cc: | added |
---|
Just an update of the current state: read is supported by all the common formats except MXF, and write by all the common formats except MOV (http://ffmpeg.org/general.html#Timecode).