Page 1 of 1
VLC iOS H264 decoder.
Posted: 13 Jul 2014 08:43
by Nikhil T
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
Re: VLC iOS H264 decoder.
Posted: 13 Jul 2014 17:17
by fkuehne
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?
Re: VLC iOS H264 decoder.
Posted: 14 Jul 2014 07:57
by Nikhil T
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
Re: VLC iOS H264 decoder.
Posted: 15 Jul 2014 20:31
by Nikhil T
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
Re: VLC iOS H264 decoder.
Posted: 17 Jul 2014 11:54
by fkuehne
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.
Re: VLC iOS H264 decoder.
Posted: 07 Aug 2019 06:38
by vinu
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?
Re: VLC iOS H264 decoder.
Posted: 16 Aug 2019 11:16
by fkuehne
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".
Re: VLC iOS H264 decoder.
Posted: 30 Aug 2019 08:01
by vinu
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.