Page 1 of 1

How to enable the 'sout' module while compiling VLCKit?

Posted: 27 Jul 2015 06:23
by rowa
I'm going to add the record feature to VLCKit,
I modified the file 'vlc >> extras >> packages >> ios >>rules.mak'
removed the 'stream-filter-record' and 'stream_out' from blacklist,
and modified the '--disable-sout' to '--enabled-sout',
then I patched the patch 606(https://patches.videolan.org/patch/606/),
but it didn't work, compile fails, it returns the message like 'no configure or dependencies found for sout'.

while I disabled the sout module, compile finished successfully, but the record feature didn't works,
may someone has a solution for it, thanks

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 27 Jul 2015 19:11
by dfuhrmann
Well, you need to provide detailed steps, logs, and the exact error message. "Something like that" is not enough to help you.

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 29 Jul 2015 11:23
by rowa

Code: Select all

SDKROOT not specified, assuming /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk [info] Building tools You are ready to build VLC and its contribs make: `.gas' is up to date. [info] Building contrib for iOS in '/Users/niehaibo/Documents/iOS64_build/VLCKit_all/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneOS-armv7' [info] LD FLAGS SELECTED = '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -Wl,-ios_version_min,6.1' /Users/niehaibo/Documents/iOS64_build/VLCKit_all/MobileVLCKit/ImportedSources/vlc Makefile:468: *** Download and check target not defined for sout. Stop.
Above is the error message,
"Makefile:468: *** Download and check target not defined for sout. Stop."
:)

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 29 Jul 2015 20:32
by dfuhrmann
Well this is not a complete log at all.

AFAIK enabling sout is currently not really tested by the developers, so I cannot really help you here. I can only advise that you should dig further to get a meaningful error message and error log, and find you why this error is printed at all. So maybe you need to take a closer look at the compile scripts used.

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 17 Nov 2015 07:13
by wayneshiau
Hi
Did you solved this problem?

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 24 Feb 2016 10:08
by MeghaJain
I also want to do the same. Any luck with this problem?

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 26 Feb 2016 14:47
by MeghaJain
I am also trying to enable sout for VLC iOS but no luck. I changed following things and still it dint work :
1. In buildMobileVLCKit.sh - Commented following lines so that it does not always go to git to fetch new code.
#git pull --rebase
#git reset --hard ${TESTEDHASH}
#git am ../../patches/*.patch

2. In VLC > build-iOS-iPhoneOS > arm64 > config.sh defined sout and vlm :
/* Define to 1 for stream output support. */
#define ENABLE_SOUT 1

/* Define if you want the VideoLAN manager support */
#define ENABLE_VLM

3. Repeated the above step for armv7 and armv7s, i386 and x86_64.

4. In VLC > extras > package > iOS > build.sh enabled following:
--enable-disc --enable-sout \

Commented : # make fetch

5.In VLC > modules > makefile.am changed -
if ENABLE_SOUT
include access_output/Makefile.am
include mux/Makefile.am
include stream_out/Makefile.am
endif

to

include access_output/Makefile.am
include mux/Makefile.am
include stream_out/Makefile.am

6. Similarly removed if sout enable condition from this file . VLC > src > makefile.am

libvlccore_la_SOURCES += $(SOURCES_libvlc_sout)
libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm)

7. Then compiled the VLC code with sudo ./buildMobileVLCKit.sh -f. But dint get out files in the framework and sout is not enabled.

Do I have to drag and drop the VLCStreamOutput.h and VLCStreamOutput.m files in MobileVLCKit.xcodeproj because i want these files and sout to be enabled in my vlc.
Please let me know what I need to do next.

Re: How to enable the 'sout' module while compiling VLCKit?

Posted: 01 Mar 2016 08:16
by MeghaJain
Hey dfuhrmann and rowa
Any help would be appreciated.