How can I get the real time in activity log

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
minpun
Posts: 2
Joined: Fri Mar 12, 2021 10:53 am

How can I get the real time in activity log

Post by minpun »

Description of problem or question:
Sometime I see in the activity log a message like

"sync: audio 0x4 time went backwards 42 ms, dropped 2 frames. PTS 219497407"

It's not an error message, but simply tells me that at "PTS 219497407" someting
unexpected happened with the audio track.
How can I get the real time in a .ts-file out of PTS 219497407
to get directly to that timestamp ?



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

1.3.2


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 7



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

sync: audio 0x4 time went backwards 42 ms, dropped 2 frames. PTS 219497407
Deleted User 11865

Re: How can I get the real time in activity log

Post by Deleted User 11865 »

HandBrake's internal timebase is 90 kHz, that's 90,000 ticks per second. PTS 219497407 is 219497407 / 90000 ~= 2438 seconds i.e. 40 minutes, 38 seconds.
minpun
Posts: 2
Joined: Fri Mar 12, 2021 10:53 am

Re: How can I get the real time in activity log

Post by minpun »

Works perfectly!
Thank you for your fast reply.
Post Reply