How to record stream using libVLC on Android?

This forum is about all development around libVLC.
Steiner
New Cone
New Cone
Posts: 6
Joined: 01 Aug 2015 15:28

How to record stream using libVLC on Android?

Postby Steiner » 25 Jun 2016 18:06

Please tell me how to save video stream to disk as a file?
I tried to add:
media.addOption(":sout=#duplicate{dst=std{access=file,mux=mp4,dst=\"/storage/emulated/0/file1.ts\"}}");
But no result:(

Steiner
New Cone
New Cone
Posts: 6
Joined: 01 Aug 2015 15:28

Re: How to record stream using libVLC on Android?

Postby Steiner » 28 Jun 2016 10:20

I have a suspicion that the theoretical recording does not work because of the parameter "--disable-sout" in the configuration file, and replace it if it theoretically should work.
Someone can tell something about this?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to record stream using libVLC on Android?

Postby Jean-Baptiste Kempf » 28 Jun 2016 10:23

remove the duplicate and, yes, you need --enable-sout for this
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Steiner
New Cone
New Cone
Posts: 6
Joined: 01 Aug 2015 15:28

Re: How to record stream using libVLC on Android?

Postby Steiner » 28 Jun 2016 10:50

I am so sorry, removed topic from "VLC for Android and Chrome OS"
I will try

Steiner
New Cone
New Cone
Posts: 6
Joined: 01 Aug 2015 15:28

Re: How to record stream using libVLC on Android?

Postby Steiner » 28 Jun 2016 12:02

I tried, bet have this error:(
Makefile:502: *** Download and check target not defined for sout. Stop.
contribs: make fetch failed

lucksg
New Cone
New Cone
Posts: 2
Joined: 12 Oct 2018 19:36

Re: How to record stream using libVLC on Android?

Postby lucksg » 12 Oct 2018 20:39

Hi Steiner,

Did you get to record the stream?

Thanks


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests