ffprobe pts output in a format like hh:mm:ss:ms
Hello, The followiing output of : ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 "21 Bridges.ts" 0.044000,K__, 0.124000,___, 0.084000,___, 0.064000,___, 0.104000,___, 0.204000,___, 0.164000,___, 0.144000,___, 0.184000,___, 0.284000,___, 0.244000,___, 0.224000,___, 0.264000,___, 0.364000,___, 0.324000,___, ... Is it possible to get a timestamp format like : hh:mm:ss:ms ? Also I search for the description of all possible flags like "K". Regards Richard
Am 30.10.25 um 13:35 schrieb Richard Bartczak via ffmpeg-user:
Hello,
The followiing output of :
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 "21 Bridges.ts"
0.044000,K__, 0.124000,___, 0.084000,___, 0.064000,___, 0.104000,___, 0.204000,___, 0.164000,___, 0.144000,___, 0.184000,___, 0.284000,___, 0.244000,___, 0.224000,___, 0.264000,___, 0.364000,___, 0.324000,___,
...
Is it possible to get a timestamp format like : hh:mm:ss:ms ?
Also I search for the description of all possible flags like "K".
Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
I am soory, I have found it "-sex..." ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -sexagesimal -of csv=print_section=0 "21 Bridges.ts" 0:00:00.044000,K__, 0:00:00.124000,___, 0:00:00.084000,___, 0:00:00.064000,___, 0:00:00.104000,___, 0:00:00.204000,___, 0:00:00.164000,___, 0:00:00.144000,___, 0:00:00.184000,___, 0:00:00.284000,___, 0:00:00.244000,___, 0:00:00.224000,___, 0:00:00.264000,___, 0:00:00.364000,___, 0:00:00.324000,___, Now the description of the flags still open. Regards Richard
On Thu, Oct 30, 2025 at 1:01 PM Richard Bartczak via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Am 30.10.25 um 13:35 schrieb Richard Bartczak via ffmpeg-user:
Hello,
The followiing output of :
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 "21 Bridges.ts"
0.044000,K__, 0.124000,___, 0.084000,___, 0.064000,___, 0.104000,___, 0.204000,___, 0.164000,___, 0.144000,___, 0.184000,___, 0.284000,___, 0.244000,___, 0.224000,___, 0.264000,___, 0.364000,___, 0.324000,___,
...
Is it possible to get a timestamp format like : hh:mm:ss:ms ?
Also I search for the description of all possible flags like "K".
Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
I am soory, I have found it "-sex..."
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -sexagesimal -of csv=print_section=0 "21 Bridges.ts"
0:00:00.044000,K__, 0:00:00.124000,___, 0:00:00.084000,___, 0:00:00.064000,___, 0:00:00.104000,___, 0:00:00.204000,___, 0:00:00.164000,___, 0:00:00.144000,___, 0:00:00.184000,___, 0:00:00.284000,___, 0:00:00.244000,___, 0:00:00.224000,___, 0:00:00.264000,___, 0:00:00.364000,___, 0:00:00.324000,___,
Now the description of the flags still open.
This output here does not look like correct timestamp format. pts/presentation timestamps need stream timebase which is rational integer number, to be used within conversions into hours/minutes/seconds.. format. Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
Am 30.10.25 um 14:06 schrieb Paul B Mahol:
On Thu, Oct 30, 2025 at 1:01 PM Richard Bartczak via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
Am 30.10.25 um 13:35 schrieb Richard Bartczak via ffmpeg-user: > Hello, > > The followiing output of : > > ffprobe -loglevel error -select_streams v:0 -show_entries > packet=pts_time,flags -of csv=print_section=0 "21 Bridges.ts" > > 0.044000,K__, > 0.124000,___, > 0.084000,___, > 0.064000,___, > 0.104000,___, > 0.204000,___, > 0.164000,___, > 0.144000,___, > 0.184000,___, > 0.284000,___, > 0.244000,___, > 0.224000,___, > 0.264000,___, > 0.364000,___, > 0.324000,___, > > ... > > Is it possible to get a timestamp format like : hh:mm:ss:ms ? > > Also I search for the description of all possible flags like "K". > > Regards > > Richard > > _______________________________________________ > ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org > To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
I am soory, I have found it "-sex..."
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -sexagesimal -of csv=print_section=0 "21 Bridges.ts"
0:00:00.044000,K__, 0:00:00.124000,___, 0:00:00.084000,___, 0:00:00.064000,___, 0:00:00.104000,___, 0:00:00.204000,___, 0:00:00.164000,___, 0:00:00.144000,___, 0:00:00.184000,___, 0:00:00.284000,___, 0:00:00.244000,___, 0:00:00.224000,___, 0:00:00.264000,___, 0:00:00.364000,___, 0:00:00.324000,___,
Now the description of the flags still open.
This output here does not look like correct timestamp format. pts/presentation timestamps need stream timebase which is rational integer number, to be used within conversions into hours/minutes/seconds.. format.
Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
It is from https://ffmpeg.org/ffprobe-all.html 3.4 Main options -sexagesimal Use sexagesimal format HH:MM:SS.MICROSECONDS for time values. 0:10:04.684000,K__, 0:10:04.764000,___, 0:10:04.724000,___, 0:10:04.704000,___, 0:10:04.744000,___, 0:10:04.844000,___, 0:10:04.804000,___, 0:10:04.784000,___, 0:10:04.824000,___, the same without "sexagesimal" : 604.684000,K__, 604.764000,___, 604.724000,___, 604.704000,___, 604.744000,___, 604.844000,___, 604.804000,___, 604.784000,___, 604.824000,___, I see no difference, what is wrong and what is the right parameter ? Regards Richard
Paul B Mahol via ffmpeg-user (HE12025-10-30):
This output here does not look like correct timestamp format. pts/presentation timestamps need stream timebase which is rational integer number, to be used within conversions into hours/minutes/seconds.. format.
ffprobe outputs the integer timestamp and the time base if asked to. This float column is there for convenience, and it succeeds at it. -- Nicolas George
On Thu, Oct 30, 2025 at 3:19 PM Nicolas George via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Paul B Mahol via ffmpeg-user (HE12025-10-30):
This output here does not look like correct timestamp format. pts/presentation timestamps need stream timebase which is rational integer number, to be used within conversions into hours/minutes/seconds.. format.
ffprobe outputs the integer timestamp and the time base if asked to. This float column is there for convenience, and it succeeds at it.
The old output did not look like valid one, the newer ones posted looks valid.
-- Nicolas George _______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
Paul B Mahol (HE12025-10-30):
The old output did not look like valid one, the newer ones posted looks valid.
Both outputs are valid. -- Nicolas George
On Thu, Oct 30, 2025 at 3:42 PM Nicolas George via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Paul B Mahol (HE12025-10-30):
The old output did not look like valid one, the newer ones posted looks valid.
Both outputs are valid.
One of them goes back in time, multiple times.
-- Nicolas George _______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
Paul B Mahol (HE12025-10-30):
One of them goes back in time, multiple times.
They are different expression for the same numbers. Do not violate reply-to headers, thank you very much. -- Nicolas George
On Thu, Oct 30, 2025 at 3:50 PM Nicolas George via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Paul B Mahol (HE12025-10-30):
One of them goes back in time, multiple times.
They are different expression for the same numbers.
0:00:00.044000,K__, 0:00:00.124000,___, 0:00:00.084000,___, 0:00:00.064000,___, 0:00:00.104000,___, 0:00:00.204000,___, 0:00:00.164000,___, 0:00:00.144000,___, 0:00:00.184000,___, 0:00:00.284000,___, 0:00:00.244000,___, 0:00:00.224000,___, 0:00:00.264000,___, 0:00:00.364000,___, 0:00:00.324000,___, vs 0.044000,K__, 0.124000,___, 0.084000,___, 0.064000,___, 0.104000,___, 0.204000,___, 0.164000,___, 0.144000,___, 0.184000,___, 0.284000,___, 0.244000,___, 0.224000,___, 0.264000,___, 0.364000,___, 0.324000,___, which is nonsense
Do not violate reply-to headers, thank you very much.
-- Nicolas George _______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
On Thu, Oct 30, 2025 at 4:11 PM Nicolas George via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Paul B Mahol (HE12025-10-30): …
0:00:00.324000,___,
0.324000,___,
which is nonsense
Get a clue, they are the exact same value.
That was not my point at all. And you removed all other lines. But you be you...
Do not Cc me again.
-- Nicolas George _______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
Paul B Mahol via ffmpeg-user (HE12025-10-30):
That was not my point at all.
Your point one of two equal outputs were right and the other not.
And you removed all other lines.
You mean: several lines to show that the PTS are not in order? I wanted to spare you the embarrassment, I thought you would not want people to notice such a glaring mistake by you. -- Nicolas George
On Thu, Oct 30, 2025 at 1:01 PM Richard Bartczak via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote:
Am 30.10.25 um 13:35 schrieb Richard Bartczak via ffmpeg-user:
Hello,
The followiing output of :
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -of csv=print_section=0 "21 Bridges.ts"
0.044000,K__, 0.124000,___, 0.084000,___, 0.064000,___, 0.104000,___, 0.204000,___, 0.164000,___, 0.144000,___, 0.184000,___, 0.284000,___, 0.244000,___, 0.224000,___, 0.264000,___, 0.364000,___, 0.324000,___,
...
Is it possible to get a timestamp format like : hh:mm:ss:ms ?
Also I search for the description of all possible flags like "K".
Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
I am soory, I have found it "-sex..."
ffprobe -loglevel error -select_streams v:0 -show_entries packet=pts_time,flags -sexagesimal -of csv=print_section=0 "21 Bridges.ts"
0:00:00.044000,K__, 0:00:00.124000,___, 0:00:00.084000,___, 0:00:00.064000,___, 0:00:00.104000,___, 0:00:00.204000,___, 0:00:00.164000,___, 0:00:00.144000,___, 0:00:00.184000,___, 0:00:00.284000,___, 0:00:00.244000,___, 0:00:00.224000,___, 0:00:00.264000,___, 0:00:00.364000,___, 0:00:00.324000,___,
Now the description of the flags still open.
Yea, that looks not documented at all. Quick grep shows nothing in doc/. From ffprobe source code it is: K stands for key_frame inside packet D stands for discard packet C stand for corrupt packets
Regards
Richard
_______________________________________________ ffmpeg-user mailing list -- ffmpeg-user@ffmpeg.org To unsubscribe send an email to ffmpeg-user-leave@ffmpeg.org
participants (3)
-
Nicolas George -
Paul B Mahol -
Richard Bartczak