Page 1 of 1

Write media to file?

Posted: 26 Dec 2013 02:51
by dfdf
Is there such feature so I can write some periods of a media or the whole media in files?

Re: Write media to file?

Posted: 26 Dec 2013 05:27
by edwardw
No. Sout API is not implemented in libVLC, unless you want to extract the media out of the surface (which I'm not sure is possible).

Re: Write media to file?

Posted: 26 Dec 2013 12:55
by dfdf
Oh,thank you for telling me this bad news. :(

Re: Write media to file?

Posted: 26 Dec 2013 14:18
by edwardw
You can try with a media option of ":sout=...", but you need to do --enable-sout, and there isn't any guarantee that it will work at all.

Re: Write media to file?

Posted: 29 Dec 2013 04:25
by dfdf
You can try with a media option of ":sout=...", but you need to do --enable-sout, and there isn't any guarantee that it will work at all.
I'll try this way,thanks for pointing out.

Re: Write media to file?

Posted: 29 Dec 2013 04:33
by dfdf
You can try with a media option of ":sout=...", but you need to do --enable-sout, and there isn't any guarantee that it will work at all.
I'll try this way,thanks for pointing out.
But I see you said:
Re: enabled the sout module
Postby edwardw ยป Sun Dec 29, 2013 4:27 am

The module is probably blacklisted.
at this:
https://forum.videolan.org/viewtopic.php?f=35&t=116308

Re: Write media to file?

Posted: 29 Dec 2013 04:34
by edwardw
Then, you can look at the find_modules.sh and try to enable it...

Re: Write media to file?

Posted: 29 Dec 2013 04:45
by dfdf
Then, you can look at the find_modules.sh and try to enable it...
Ok,I will try,thank you again,dear Edwardw.