Gstreamer Timeoverlay componet不是从0开始:0:0

时间:2016-04-26 06:37:22

标签: video overlay gstreamer

我有gstreamer管道,它将时间叠加在视频上并显示出来。

这是以下的管道。

gst-launch-1.0 filesrc location=/home/uurmi/Desktop/VIDEO_101027_0.asf ! decodebin ! timeoverlay shaded-background=true font-desc="Sans, 25" halignment=1 valignment=4 ! xvimagesink

对于上述文件,时间仅从0:0:0.0开始。

但是当我使用.VOB扩展文件时,时间从0:14:24.0开始。

这是我用过的管道,

gst-launch-1.0 filesrc location=/home/uurmi/Desktop/VTS_01_2.VOB ! decodebin ! timeoverlay shaded-background=true font-desc="Sans, 25" halignment=1 valignment=4 ! xvimagesink

这是调试级别为3时的日志。

Setting pipeline to PAUSED ...
0:00:00.027069131 18247       0xf31840 WARN                 basesrc gstbasesrc.c:3483:gst_base_src_start_complete:<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
Redistribute latency...
0:00:00.040136086 18247 0x7fe7f00024f0 WARN                   libav gstavviddec.c:1289:gst_ffmpegviddec_video_frame: Change in interlacing ! picture:1, recorded:0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:03.079913046
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


New clock: GstSystemClock
^[[B0:01:19.945336482 18288 0x7fb33024ed00 ERROR                  libav :0:: ac-tex damaged at 42 19
0:01:19.945470619 18288 0x7fb3300024f0 ERROR                  libav :0:: Warning MVs not available
Got EOS from element "pipeline0".
Execution ended after 0:01:19.903521354
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

这是什么原因?以及如何解决它?

0 个答案:

没有答案