Log in

View Full Version : raw .264 stream with SEI


Rouhi
13th June 2013, 08:04
Hi
I used ffmpeg to encode a video to a raw .264 video stream. Unfortunately the generated .264 does not provide any time frame and ffplay can not play it in a proper frame per second. Does anyone know how can i activate SEI timing in a raw .264 stream ? the type of encoder is not important for me. i just need a .264 with timing of each frame.

imcold
13th June 2013, 19:32
You probably meant VUI, I believe. Anyway, what's wrong with x264's raw h264 output? It has both SEI and VUI, iirc.

kieranrk
13th June 2013, 22:30
x264 doesn't write the timecode SEI largely because I have no idea how to deal with pulldown.

Rouhi
14th June 2013, 04:45
I extract the I-Frames in my work. I am looking for a method to find out the time of each i-frame that i extract from video stream. thats why i looking for SEI as a VUI parameter.
I dont know why SEI can cause problem with pulldown!! whats that?

Guest
14th June 2013, 11:37
I am looking for a method to find out the time of each i-frame that i extract from video stream. If you know the frame number and the frame rate, can't you calculate the time?

Rouhi
18th June 2013, 02:14
No it is not as easy as that.. In some videos the i-frame rate is very high and the i-frame count can not help you in those situations.

Guest
18th June 2013, 12:31
I didn't mention I-frame counts at all, so I cannot follow your point.

You can determine the frame numbers of the I frames. Then you can calculate their times using the frame rate.