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

iOS, iPad, iPhone, tvOS specific usage questions
rowa
Blank Cone
Blank Cone
Posts: 30
Joined: 29 Jan 2013 04:34

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

Postby rowa » 27 Jul 2015 06:23

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

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 27 Jul 2015 19:11

Well, you need to provide detailed steps, logs, and the exact error message. "Something like that" is not enough to help you.

rowa
Blank Cone
Blank Cone
Posts: 30
Joined: 29 Jan 2013 04:34

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

Postby rowa » 29 Jul 2015 11:23

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."
:)

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

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

Postby dfuhrmann » 29 Jul 2015 20:32

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.

wayneshiau
New Cone
New Cone
Posts: 3
Joined: 25 Aug 2015 08:32

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

Postby wayneshiau » 17 Nov 2015 07:13

Hi
Did you solved this problem?

MeghaJain
New Cone
New Cone
Posts: 7
Joined: 03 Feb 2016 12:47

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

Postby MeghaJain » 24 Feb 2016 10:08

I also want to do the same. Any luck with this problem?

MeghaJain
New Cone
New Cone
Posts: 7
Joined: 03 Feb 2016 12:47

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

Postby MeghaJain » 26 Feb 2016 14:47

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.

MeghaJain
New Cone
New Cone
Posts: 7
Joined: 03 Feb 2016 12:47

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

Postby MeghaJain » 01 Mar 2016 08:16

Hey dfuhrmann and rowa
Any help would be appreciated.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 29 guests