Page 1 of 1

Command Lines with Xcode and iOS

Posted: 06 Jan 2014 12:29
by Gobelz
Hi all,

I want to make use of the customization that MobileVLC support. I'm using the command lines: https://wiki.videolan.org/VLC_command-line_help/

How can I implement this command lines to make use of.

Now I do this like:

Code: Select all

self.mediaOptions = [NSDictionary dictionaryWithObjectsAndKeys: @"25", @"es-fps", @"25", @"h264-fps", @"1", @"sout-transcode-hurry-up", @"1", @"sout-transcode-deinterlace", @"ffmpeg-deinterlace", @"sout-transcode-deinterlace-module", @"1", @"ffmpeg-hurry-up", nil]; VLCMedia *media = [VLCMedia mediaWithURL:url]; [media addOptions:self.mediaOptions];
The above command line is cut of, I use more command lines in original. Like scaling and setting the video width and height.
When using the above command lines, it seems there is no difference with or without using the command lines.

Can anyone say if this is the correct way implementing and making use of the command lines.

Thanks.

Re: Command Lines with Xcode and iOS

Posted: 06 Jan 2014 19:00
by fkuehne
Yes, syntax is fine.

However, you may not use VLC's stream-output and transcoding features on the iOS App Store so far as it wasn't fully relicensed from the GPL to the LGPL and so far, the GPL has to be considered as incompatible with the App Store's terms and conditions. For this reason, MobileVLCKit does not include any transcoding feature, either.
We will relicense these parts of libvlc later this year, but we are not there yet.

Re: Command Lines with Xcode and iOS

Posted: 06 Jan 2014 20:33
by Gobelz
Clear.

But if I use this command-line, especially changing video width and height, it has no effect. Even when I want to make use of scale, it has no effect. Why?

Re: Command Lines with Xcode and iOS

Posted: 07 Jan 2014 10:13
by fkuehne
This is impossible to tell without a log (hint: add@"-vvvv"). Did you fix sout compilation for iOS yourself? Otherwise, it shouldn't come as a surprise that those options are not available. It's also lacking a sout destination,