:SOUT in marx tester

This forum is about all development around libVLC.
tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

:SOUT in marx tester

Postby tamiro44 » 11 Mar 2009 16:56

Hi,
In 0.8.6 versions we could write addTarget(options...).
For example, beside the MRL we could save the stream to file.
How can i activate it now?

Thanks,
Tamiro.

mohamnag
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Mar 2009 16:04

Re: :SOUT in marx tester

Postby mohamnag » 12 Mar 2009 16:37

Hi,
I'm exactly searching for such a thing, have you found any way? It would be great to let me know.
Thanks in advance.

tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

Re: :SOUT in marx tester

Postby tamiro44 » 15 Mar 2009 08:08

In prevoius versions (0.8.6) we could just addTarget with options.
We will continue to search and post the answer here.

mohamnag
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Mar 2009 16:04

Re: :SOUT in marx tester

Postby mohamnag » 15 Mar 2009 17:32

I have just found a way to pass the whole sout option like ":sout=#duplicate{dst=std{access=file,dst=c:\tmp.ps}}" as "--sout=#duplicate{dst=std{access=file,dst=c:\tmp.ps}}" (pay attention to first : replaced with --) to AddAndPlay method as options string and it worked very well.

tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

Re: :SOUT in marx tester

Postby tamiro44 » 15 Mar 2009 17:53

Thanks alot it worked for me.
Can you do that dinamycally? with add_option?

mohamnag
Blank Cone
Blank Cone
Posts: 11
Joined: 12 Mar 2009 16:04

Re: :SOUT in marx tester

Postby mohamnag » 16 Mar 2009 15:11

I don't know, I have not tested that while I have to create the object for each stream. But I would be glad to know if you tested it and it answered.

tamiro44
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 15 Feb 2009 15:21

Re: :SOUT in marx tester

Postby tamiro44 » 18 Mar 2009 08:57

add_option is a function of Media object and i didn't managed to understand how can you do it.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests