VLC iOS H264 decoder.

iOS, iPad, iPhone, tvOS specific usage questions
Nikhil T
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Feb 2014 11:26

VLC iOS H264 decoder.

Postby Nikhil T » 13 Jul 2014 08:43

Hi,

I was wondering if any one of you could help me to find out which H264 decoder is VLC iOS player using? Is it ffmpeg?
I have created a video player using ffmpeg to play H264 files, but it looks my ffmpeg player is not keeping up with the performance of VLC player.

Any help appreciated.

Thanks in advance,
Nikhil.T

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

Re: VLC iOS H264 decoder.

Postby fkuehne » 13 Jul 2014 17:17

We are using libav as the decoder backend with a quite optimized rendering pipeline within VLC and a few custom speed tricks in our libav configuration.

Maybe you want to consider using MobileVLCKit, an ObjC framework around libvlc, as your player so you don't have to reimplement all of that on your own?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Nikhil T
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Feb 2014 11:26

Re: VLC iOS H264 decoder.

Postby Nikhil T » 14 Jul 2014 07:57

Hi Felix,

Thank you very much for your help.

Your suggestion has been well taken. I' m gonna work on this from now onwards.

Thanks,
Nikhil.T

Nikhil T
Blank Cone
Blank Cone
Posts: 16
Joined: 26 Feb 2014 11:26

Re: VLC iOS H264 decoder.

Postby Nikhil T » 15 Jul 2014 20:31

Hi Felix,

Actually I can't use MobileVLCKit because in my real scenario I don't have a physical file in my application, its all H264 data packets coming from a server. So I think I should be using libav directly for decoding. Any other suggestions ? Also I can't use VLC rending modules as I have my custom way of rendering. Do you mind to share where should I look for the libav configuration in VLC Source code?

Thanks in advance,
- Nikhil

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

Re: VLC iOS H264 decoder.

Postby fkuehne » 17 Jul 2014 11:54

You know that VLC can play any kind of network streams, even on iOS, right?

For the options, check VLCLibrary.m in VLCKit.git as well as the related config files in /contrib within vlc.git.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

vinu
New Cone
New Cone
Posts: 4
Joined: 07 Aug 2019 06:07

Re: VLC iOS H264 decoder.

Postby vinu » 07 Aug 2019 06:38

Hi, in iOS i have a requirement to play H264 stream from USB. I have received it properly on app side. But could-not found an interface in VLC to input the stream to the player. The available sources are, playing from file, ur, and stream. Does the stream support directly from input stream?

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

Re: VLC iOS H264 decoder.

Postby fkuehne » 16 Aug 2019 11:16

This depends on the input stream format. It could work, but I'm not sure since I don't fully understand why you mean with "stream from USB".
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

vinu
New Cone
New Cone
Posts: 4
Joined: 07 Aug 2019 06:07

Re: VLC iOS H264 decoder.

Postby vinu » 30 Aug 2019 08:01

Hi, stream from USB means, i'm using a custom library to receive h264 packets from a USB device. Im getting the packets successfully on my iOS app. But couldnot found a native player to play it. Can i give the H264 packets to VLC directly to playback. I could not found an interface to add the H264 data.


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

Who is online

Users browsing this forum: No registered users and 4 guests