Ask Your Question

hb15's profile - activity

2017-06-27 07:05:45 -0600 commented question Can we get the PTS value of the frame

Yeah, I am familiar with ffmpeg compilation and all but I wanted to have same frame timestamp when frame is received in ffmpeg and opencv at same time.

I can receive live stream in both OpenCV and FFMPEG but time between start of app might be different so if I can get perfect value of PTS of video from TS, then that will be very perfect.

I mean I can map frame which I am processing in OpenCV and ffmpeg received PTS for that frame so that will be unique and proper number which I can referred for processed frame.

2017-06-27 06:30:01 -0600 commented question Can we get the PTS value of the frame

@berak, Thanks for your quick reply.

I can see my ffmpeg prints, when I build ffmpeg statically and then compile OpenCV and run OpenCV app to get frame etc.

But I am not sure how to make interface to get PTS from ffmpeg. I am new to OpenCV but worked for different development in FFMPEG.

In above thread you mentioned 'you probably need to interface with ffmpeg/gstreamer directly, to achieve this', Can you please give me some idea or link how to do this?

2017-06-27 05:00:19 -0600 commented question Can we get the PTS value of the frame

@berak, Can you please help me out if you came across any way to do this?

2017-06-27 04:57:28 -0600 commented question Can we get the PTS value of the frame

I am facing same issue, I need PTS of live video stream while processing frame in OpenCV. I mean what is value of PTS (in PES header of Transport stream) of particular frame on which currently I am doing processing in OpenCV.

Can some one give me some hint whether this is doable or not?