Results 1 to 2 of 2

Thread: Time as overlay

  1. #1

    Question Time as overlay

    I can add time text as overlay but the seconds does not tick ? it is just static text

    how can i make the time update with each frame

    	        Date dNow = new Date();
    		SimpleDateFormat ft = new SimpleDateFormat("hh:mm:ss");
    		
    		wowzaText = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.white, 66,15,100);
    		wowzaTextShadow = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.darkGray, 66,15,100);
    		
    		brImage.addOverlayImage(wowzaText, 0, 0);
    		wowzaText.addOverlayImage(wowzaTextShadow, 1, 1);

  2. #2

    Default

    Still looking for a solution


    Quote Originally Posted by asimkhan View Post
    I can add time text as overlay but the seconds does not tick ? it is just static text

    how can i make the time update with each frame

    	        Date dNow = new Date();
    		SimpleDateFormat ft = new SimpleDateFormat("hh:mm:ss");
    		
    		wowzaText = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.white, 66,15,100);
    		wowzaTextShadow = new OverlayImage(ft.format(dNow), 12, "SansSerif", Font.BOLD, Color.darkGray, 66,15,100);
    		
    		brImage.addOverlayImage(wowzaText, 0, 0);
    		wowzaText.addOverlayImage(wowzaTextShadow, 1, 1);

Similar Threads

  1. Replies: 5
    Last Post: 10-17-2013, 06:37 AM
  2. RTSP stream with picture overlay
    By Kent WOW in forum AddOn: Transcoder
    Replies: 5
    Last Post: 03-29-2013, 05:25 PM
  3. Overlay wont disappear ? :/
    By dreamhawk in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 07-12-2012, 06:24 AM
  4. Replies: 1
    Last Post: 06-14-2012, 04:08 AM
  5. Adjusting Overlay Opacity in Runtime
    By arminz in forum General Forum
    Replies: 2
    Last Post: 04-20-2012, 05:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •