[gst-devel] BaseSink "sync" property

Jon Burgess jkburges at gmail.com
Fri May 15 05:04:27 CEST 2009


Wim,


>  Make sure you
> have a recent ffmpeg package (reordered buffers had bad timestamps in
> earlier versions). The payloader is probably fine, even for slightly
> older versions.
>

Following are some logs coming from the ffmpeg mpeg4 decoder regarding
timestamps.  You can see for the logs for the working machine, the
timestamps are space roughly 0.04s apart, which is what you would expect
given that the source is 25fps.

You can see however for the logs for the problematic machine that the
timestamps are screwy.  Is this what you are talking about when you say "bad
timestamp"?  I am 95% certain that I am using the same versions of things on
both machines, since I'm simply installing from the ubuntu hardy
repositories, except that one is 32 bit and the other 64 bit (so the actual
binaries are different, but versions should still be the same).

But perhaps there is some way I can confirm the actual gst-ffmpeg version
being used?

Regards,
Jono


Working:

0:00:01.237419704  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.102562000 , duration:99:99:99.999999999
0:00:01.306241770  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.139551711 , duration:99:99:99.999999999
0:00:01.316244244  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.176506239 , duration:99:99:99.999999999
0:00:01.338948668  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.213386342 , duration:99:99:99.999999999
0:00:01.399731074  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.250260548 , duration:99:99:99.999999999
0:00:01.422369099  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.283770455 , duration:99:99:99.999999999
0:00:01.440448951  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.320239652 , duration:99:99:99.999999999
0:00:01.449542617  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.356918412 , duration:99:99:99.999999999
0:00:01.459472298  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.393491259 , duration:99:99:99.999999999
0:00:01.472673740  6149 0x81794b0 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.429931637 , duration:99:99:99.999999999

...and now for the machine where things are not working:

0:00:00.231219707 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.137639000 , duration:99:99:99.999999999
0:00:00.468823081 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.144858000 , duration:99:99:99.999999999
0:00:00.513567557 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.149006000 , duration:99:99:99.999999999
0:00:00.558580652 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.182364000 , duration:99:99:99.999999999
0:00:00.603579779 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.219611000 , duration:99:99:99.999999999
0:00:00.651310643 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.561297000 , duration:99:99:99.999999999
0:00:00.696407062 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.561314000 , duration:99:99:99.999999999
0:00:00.741025400 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.561324000 , duration:99:99:99.999999999
0:00:00.786186774 15955 0x775710 LOG                 ffmpeg
gstffmpegdec.c:1173:clip_video_buffer:<ffdec_mpeg40> clipped
timestamp:0:00:00.562606000 , duration:99:99:99.999999999
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090515/bec75e81/attachment.htm>


More information about the gstreamer-devel mailing list