You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone. The problem is that I somehow need to get the timestamp from the video stream using Python. The only way I've seen and am using is this one: link. In it he modifies the ffmpeg log where he outputs ts to the console. And in Python, we use Popen to intercept this value.
I would also like to note my observation that when using this command: ffmpeg -i input-url -c:v copy -bsf:v trace_headers -f null -
this error. If this is a problem for getting ts, then it will be sad and i will have to leave the current method.
[trace_headers @ 0x60c6025132c0] User Data Unregistered
[trace_headers @ 0x60c6025132c0] Invalid SEI user data unregistered payload.
[trace_headers @ 0x60c6025132c0] Failed to read unit 2 (type 6).
Error applying bitstream filters to an output packet for stream #0:0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Overview
Hello everyone. The problem is that I somehow need to get the timestamp from the video stream using Python. The only way I've seen and am using is this one: link. In it he modifies the ffmpeg log where he outputs ts to the console. And in Python, we use Popen to intercept this value.
Other than that, I didn't find anything. Although I'm sure it can be obtained somehow without using other sub processes (I want to believe).
Investigation
I used these methods to get a timestamp:
Research
I have done the following:
Additional context
I would also like to note my observation that when using this command:
ffmpeg -i input-url -c:v copy -bsf:v trace_headers -f null -
this error. If this is a problem for getting ts, then it will be sad and i will have to leave the current method.
Beta Was this translation helpful? Give feedback.
All reactions