ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
Add timecode field to FFmpegStream
Describe the solution you'd like When I run:
ffprobe -show_streams <some_media>
I get something like timecode=N/A
, but FFmpegStream
does not even have this field. According to FFmpeg docs:
- MPEG1/2 timecode is extracted from the GOP, and is available in the video stream details (-show_streams, see timecode)
- MOV timecode is extracted from tmcd track, so is available in the tmcd stream metadata (-show_streams, see TAG:timecode).
- DV, GXF and AVI timecodes are available in format metadata (-show_format, see TAG:timecode).
While I have access to tags (TAG:timecode
), I still cannot access videoStream.timecode
.
Describe alternatives you've considered
Can't think of any. Rather rewrite cli wrapper or extract timecode from the GOP
myself :)