put text to screen from acces_demux module
Posted: 23 Aug 2013 01:16
Hi all,
I wrote a access-demux module for DASH (yes I know there is already DASH implementation available) and I would like to print the actual Bitrate (measured by DASH client) directly on the screen from my access_demuxer.
My idea was to use marquee (marq.c) but I am not sure how to do it.
I tried to get the marquee in the open function and it seems to work
but how can I print something to the screen in the demux function?
Can anyone help me? Or maybe there is another way to do it?
Thank you very much
I wrote a access-demux module for DASH (yes I know there is already DASH implementation available) and I would like to print the actual Bitrate (measured by DASH client) directly on the screen from my access_demuxer.
My idea was to use marquee (marq.c) but I am not sure how to do it.
I tried to get the marquee in the open function and it seems to work
Code: Select all
someClass->p_text = (filter_t*)vlc_object_create( VLC_OBJECT(p_demux), sizeof(filter_t) );
someClass->p_text->fmt_out.video.i_width = someClass->p_text->fmt_out.video.i_visible_width = 1920;
someClass->p_text->fmt_out.video.i_height = someClass->p_text->fmt_out.video.i_visible_height = 1080;
someClass->p_text->p_module = module_need( someClass->p_text, "sub source", "marq", true );
Can anyone help me? Or maybe there is another way to do it?
Thank you very much