Problem with clockoverlay and theoraenc

Fabrício Ceolin ceolin at ulevel.com
Wed Mar 23 06:03:21 PDT 2011


Hi Kapil,

I really want 2 fps. I solve the problem adding a is-live at videosource.
It's make sense, isn't?

gst-launch videotestsrc do-timestamp=true is-live=true pattern=0 !
videoscale method=1 ! videorate !
video/x-raw-yuv,format=\(fourcc\)AYUV,framerate=2/1,width=6
deo/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1
top=-240 left=-320 ! mix. videotestsrc do-timestamp=true is-live=true
pattern=1 ! videoscale method=1 ! video
width=640,height=480 ! ffmpegcolorspace ! videoscale method=1 !
video/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1 top=0
left=0 ! mix. videotestsrc do-timesta
orate !
video/x-raw-yuv,format=\(fourcc\)AYUV,framerate=2/1,width=640,height=480 !
ffmpegcolorspace  ! videoscale method=1 !
video/x-raw-yuv,width=320,height=240 ! videobox borde
mestamp=true is-live=true pattern=0 ! videoscale method=1 ! videorate !
video/x-raw-yuv,format=\(fourcc\)AYUV,framerate=2/1,width=640,height=480 !
ffmpegcolorspace ! videoscale m
order-alpha=0 alpha=1 top=0 left=-320 ! mix. videomixer name=mix  !
ffmpegcolorspace ! clockoverlay ypad=5 halign=right valign=bottom
shaded-background=false font-desc=\"DejaVuSa
eoraenc name=theora1 ! oggmux name=oggmux1 ! filesink name=fsink1
location=/tmp/test1.ogg t1.

Thanks!

On Wed, Mar 23, 2011 at 9:14 AM, Kapil Agrawal <kapil.agl at gmail.com> wrote:

> You seem to have done  a typo mistake,
> please change the framerate from 2 to >=25 fps in the capsfilter :)
>
> Best
> Kapil
>
> 2011/3/16 Fabrício Ceolin <ceolin at ulevel.com>
>
>> Hi,
>>
>> I'm testing the following complex pipeline:
>>
>> gst-launch videotestsrc do-timestamp=true pattern=0 ! videoscale method=1
>> ! videorate !
>> video/x-raw-yuv,format=\(fourcc\)UYVY,framerate=2/1,width=640,height=480 !
>> ffmpegcolorspace ! videoscale method=1 !
>> video/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1
>> top=-240 left=-320 ! mix. videotestsrc do-timestamp=true pattern=1 !
>> videoscale method=1 ! videorate !
>> video/x-raw-yuv,format=\(fourcc\)UYVY,framerate=2/1,width=640,height=480 !
>> ffmpegcolorspace ! videoscale method=1 !
>> video/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1 top=0
>> left=0 ! mix. videotestsrc do-timestamp=true pattern=0 ! videoscale method=1
>> ! videorate !
>> video/x-raw-yuv,format=\(fourcc\)UYVY,framerate=2/1,width=640,height=480 !
>> ffmpegcolorspace  ! videoscale method=1 !
>> video/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1
>> top=-240 left=0 ! mix. videotestsrc do-timestamp=true pattern=0 ! videoscale
>> method=1 ! videorate !
>> video/x-raw-yuv,format=\(fourcc\)UYVY,framerate=2/1,width=640,height=480 !
>> ffmpegcolorspace ! videoscale method=1 !
>> video/x-raw-yuv,width=320,height=240 ! videobox border-alpha=0 alpha=1 top=0
>> left=-320 ! mix. videomixer name=mix  ! ffmpegcolorspace ! *clockoverlay*ypad=5 halign=right valign=bottom shaded-background=false
>> font-desc=\"DejaVuSans Bold 10\" time-format=\"%Y/%m/%d %H:%M:%S\" ! queue !
>> theoraenc name=theora1 ! oggmux name=oggmux1 ! filesink name=fsink1
>> location=/tmp/test1.ogg t1.
>>
>> It's simulate my environment, that gets 4 640x480 YUV video source,
>> converts to one video 640x480 with 4 320x240 on each quadrant.
>>
>> See the clockoverlay at near end. When I'm playing the test1ogg, the clock
>> is very slowed compared to real time.
>>
>> Is it a bug or a error on pipeline setup?
>>
>> Thanks
>>
>> --
>> Fabrício Ceolin
>> ulevel.com
>> Diretor Executivo
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
> twitter handle: @gst_kaps
> http://www.linkedin.com/in/kapilagrawal
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Fabrício Ceolin
ulevel.com
Diretor Executivo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110323/dd78cce8/attachment-0001.htm>


More information about the gstreamer-devel mailing list