[gst-devel] Bug in video stream timestamp / stalled video ?
SP GLE
spglegle at yahoo.fr
Mon Aug 7 09:19:12 CEST 2006
Hello,
using the 'freeze' element to convert an image to a
video stream results in a stalled video.
Reading an image file, producing a video stream an
displaying the result with a timeoverlay :
>>
gst-launch filesrc location=/tmp/hd2.jpg ! decodebin !
videorate ! freeze !
video/x-raw-yuv,framerate=\(fraction\)15/1 !
videoscale !
video/x-raw-yuv,format:fourcc=I420,width=300,height=100,framerate=\(fraction\)15/1
! timeoverlay ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: Element "ximagesink0" warns:
gstbasesink.c(1876): gst_base_sink_chain_unlocked ():
/pipeline0/ximagesink0:
Received buffer without a new-segment. Assuming
timestamps start from 0.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
<<
The image is properly displayed but the timeoverlay
does not increase, it's always '0:00:00.000'
Reading a video file, producing a video stream an
displaying the result with a timeoverlay :
>>
gst-launch filesrc location=/tmp/02_helix.3gp !
decodebin ! videorate ! freeze !
video/x-raw-yuv,framerate=\(fraction\)15/1 !
videoscale !
video/x-raw-yuv,format:fourcc=I420,width=300,height=100,framerate=\(fraction\)15/1
! timeoverlay ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
<<
Only the first frame of the video is displayed, the
timeoverlay is displayed and evolves but stops when
the end of the video file happens,
so the last value of displayed time is the duration of
the video.
Is this a bug or a feature ?
Thanks.
Laurent.
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
More information about the gstreamer-devel
mailing list