Search found 14 matches

Go to advanced search

by diman23
10 Apr 2014 20:05
Forum: Development around libVLC
Topic: switching hls streams of different bit rates
Replies: 7
Views: 4792

Re: switching hls streams of different bit rates

Hi everyone, does VLC 2.0.8 support switching in HLS? Or is it only possible with 2.1.x?
by diman23
07 Sep 2013 03:41
Forum: Development around libVLC
Topic: How to develop a new unsupported fourcc decoder
Replies: 4
Views: 853

Re: How to develop a new unsupported fourcc decoder

==> Vlc seems to say that it is not possible.... everything is possible :) are you implementing on windows or linux? out of tree right? did you check if your decoder appear in plugin list? (could VLC load your dll/so) I saw that you set score to 0. set_capability( "decoder", 0 ). did you ...
by diman23
07 Sep 2013 03:25
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

vlc does not seem to know that my stream contains a subtitles. Best regards Hi what do you mean exactly? Did you check the loggs? does VLC open some subtitle decoder after you add elem. stream? Or did you just forgot to enable subtitles Track? after setting es_format_t and call to es_out_Add(...) v...
by diman23
05 Sep 2013 16:37
Forum: Development around libVLC
Topic: demux_New is called twice in InputSourceInit
Replies: 3
Views: 413

Re: demux_New is called twice in InputSourceInit

access_demux module is an acces AND a demux 2 in 1 https://wiki.videolan.org/Hacker_Guide/Access_Demux/ e.g. in access_demux you can open a file on your own demultiplex it and send information to a decoder. in a simple demux module you need to read from elementary stream (stream_Read) and in an acce...
by diman23
03 Sep 2013 16:28
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

I don't want to waste my time to figure out how the text renderer is setting its parameters, so setting --freetype-color 0 --freetype-rel-fontsize 40 is much easier way. and --subsdec-align 1 puts them to bottom left corner. (I have no idea if it is possible to put them to upper left or right positi...
by diman23
03 Sep 2013 14:51
Forum: Development around libVLC
Topic: demux_New is called twice in InputSourceInit
Replies: 3
Views: 413

Re: demux_New is called twice in InputSourceInit

no guaranty but I think that:
vlc first tries to open an access_demuxer if it fails, than it opens an acces module first, and then it opens a demuxer (this is the second time demux_New is called)
by diman23
03 Sep 2013 14:21
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

of course I can change the properties of text rendering in advanced options. But I wonder why there are those members in subs_format_t ( i_x_origin and i_y_origin ) if they have no effect :(
by diman23
02 Sep 2013 13:07
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

I have another question about formatting subtitles: I just want to change the position of subtitles or the size. But setting subs_format_t has no effect, I also tried to use es_out_Control( p_demux->out, ES_OUT_SET_ES_FMT, pcThis->p_infoTrack->p_es, &pcThis->p_infoTrack->fmt ); but nothin helps....
by diman23
02 Sep 2013 11:03
Forum: Development around libVLC
Topic: Adding new decoder
Replies: 7
Views: 12548

Re: Adding new decoder

read https://wiki.videolan.org/Hacker_Guide/Decoder/ and look at other decoders source code. Try to implement a simple "hello world" decoder first. in your open function you need to analyse the es_format_t decoder_t::fmt_in look at http://www.videolan.org/developers/vlc/doc/doxygen/html/st...
by diman23
30 Aug 2013 16:35
Forum: Development around libVLC
Topic: Adding new decoder
Replies: 7
Views: 12548

Re: Adding new decoder

If you want to use your own decoder library I would write my own VLC plugin. (if the library is coded properly then writing a new plugin 4 VLC is not a big deal) you can write in tree or out of tree. Just look in the code how other decoders are implemented. and of course https://wiki.videolan.org/De...
by diman23
30 Aug 2013 16:17
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

all parameters were sufficient I just put wrong pts and dts to the block. :)
everything works fine now.
by diman23
23 Aug 2013 17:32
Forum: Development around libVLC
Topic: Module loading problems.
Replies: 2
Views: 545

Re: Module loading problems.

vlc -vvv --list should tell you why it does not load it.
on windows append --extraintf=logger
by diman23
23 Aug 2013 16:59
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

Re: put text to screen from acces_demux module

Thank you for reply Im trying now to create my own subtitles track in order to do the same thing. in my open functiopn I do following to initialize and add ES es_format_Init( &infoSubtitle.fmt, SPU_ES, VLC_FOURCC( 's','u','b','t' ) ); infoSubtitle.fmt.i_codec = VLC_FOURCC( 's','u','b','t' ); inf...
by diman23
23 Aug 2013 01:16
Forum: Development around libVLC
Topic: put text to screen from acces_demux module
Replies: 9
Views: 970

put text to screen from acces_demux module

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...

Go to advanced search