Command Lines with Xcode and iOS

macOS specific usage questions
Gobelz
Blank Cone
Blank Cone
Posts: 19
Joined: 17 Nov 2013 22:31

Command Lines with Xcode and iOS

Postby Gobelz » 06 Jan 2014 12:29

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.

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Command Lines with Xcode and iOS

Postby fkuehne » 06 Jan 2014 19:00

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Gobelz
Blank Cone
Blank Cone
Posts: 19
Joined: 17 Nov 2013 22:31

Re: Command Lines with Xcode and iOS

Postby Gobelz » 06 Jan 2014 20:33

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?

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Command Lines with Xcode and iOS

Postby fkuehne » 07 Jan 2014 10:13

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,
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests