[FFmpeg-user] stream specific start time

Stefano Sabatini stefasab at gmail.com
Thu Oct 11 13:15:32 CEST 2012


On date Thursday 2012-10-04 14:05:37 -0600, Roger Pack encoded:
> In today's ffmpeg, we get:
> 
> [13:53:07]     Duration: 00:00:00.00, start: 0.220000, bitrate: N/A
> [13:53:07]       Stream #0:0: Video: h264 (High), yuv420p, 1920x1080,
> 30 tbr, 1k tbn, 60 tbc
> [13:53:07]       Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
> 
> The confusing part (for me) with this output is...which one starts at
> 0.22? audio? video? I guess you can't tell.

> Suggestion/feature request: show per stream where it starts.  I could
> work on it if there were a chance of it being committed.

The reported duration is the one given in the format header (which may
be inaccurate) or is guessed from the bitrate. As for each audio/video
stream I don't know if it is even available.

A possibly useful feature which we could implement is computing
duration+start time+end time and print them in the ffprobe output (it
will imply -read_packets).

Feature requests are welcome, patches even more.
-- 
ffmpeg-user random tip #18
Gmane ffmpeg-user archive:
http://dir.gmane.org/gmane.comp.video.ffmpeg.user


More information about the ffmpeg-user mailing list