Тёмный

Swift - Installing and using VLCKit for iOS, tvOS, and macOS 

Essam Fahmy
Подписаться 10 тыс.
Просмотров 9 тыс.
50% 1

If you are an iOS developer who is preparing to establish a video streaming application, you probably started by using AVPlayer from the AVFoundation framework for the video streaming but you have ended up with the problem of support limitation. Right?
AVPlayer doesn’t support a lot of media so that developers start thinking of another media player.
VLCMediaPlayer from VLC SDK!
VLC Media Player supports a very wide range of media.
The problem: There is no well-explained reference (you may say, there is no reference at all!) to guide you on how to install and use the SDK.
I have faced the same problem as you and I started searching a lot and a lot. Every time, I find people saying “bla bla bla bla…” which made it worse!
Fortunately and eventually, I ended up understanding the process very well, and guess what? It’s very easy! And to make it easy for everyone else, I have decided to document it.
I will guide you guys step by step through the process of installing and using VLCKit, MobileVLCKit, and TVVLCKit. Keep in touch!
VLCKit: code.videolan....
Source Code: github.com/ess...

Наука

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@essam_fahmi
@essam_fahmi 5 лет назад
Hello guys 👋 First of all, thank u all for great comments ♥️ The one thing u should know, VLCKIT consumes much memory and storage than Apple AVKIT. Once u install VLCKIT, your project will extend up to 2 GB !! So to archive it, u need computer with high-end computing features. In our company, we use a mac pro with 16 RAM. Good luck.
@alexcannizaro3333
@alexcannizaro3333 11 месяцев назад
hey, Thanks a lot for the video, Can you help me add a controller over this to play / pause, and move forward / backend with progress bar and landscape mode. Actually I am developing an ios app where .mkv format needs to be played which is not possible with AVkit.
@cpramhofer
@cpramhofer 4 года назад
Wow! Great Video and it worked like a charm from the very beginning. Maybe you should produce more videos like this! Thanks a lot!
@essam_fahmi
@essam_fahmi 4 года назад
Thanks bro
@marawanturky8206
@marawanturky8206 5 лет назад
Awesome! Awesome! Awesome! The only reference for VLCKIT in apple development area !
@CarolaNitz
@CarolaNitz 5 лет назад
That and the samples in the project itself and VLC for iOS and tvOS who are build with VLCKit should help as reference as well. The project itself also has a doxygen documentation
@essam_fahmi
@essam_fahmi Год назад
@@CarolaNitz The documentation is not really enough as it is clear from the comments 👀
@c0nstancy879
@c0nstancy879 2 года назад
I’m a new developer, or wanna be one and can’t get this installed on by new tvOS or Xcode 13. Anyone got any ideas? Even until instructions aren’t working
@essam_fahmi
@essam_fahmi Год назад
I hope you find a solution for your question 🙏
@MarceloGil
@MarceloGil 3 года назад
Thank you so much for this. It was very helpful!!
@freeasabird83
@freeasabird83 5 лет назад
Great video thanks!! Will this play a Multicast UDP stream?
@essam_fahmi
@essam_fahmi 5 лет назад
I think it will. You can try it anyway :D
@onmars944
@onmars944 4 года назад
Good Tutorial , Well explained
@jfieqj
@jfieqj 5 лет назад
This is awesome, thank you. I am implementing VLCKit on macOS, but this helped me get that working. One thing I am having trouble with: when you resize the view that the media player object draws to, how do you get the video to letterbox (maintain aspect ratio) instead of stretching? I see that it will reset to the correct aspect ratio if I stop and start the video, but I don't understand how to keep it like this without restarting the video.
@essam_fahmi
@essam_fahmi 5 лет назад
Thanks
@sub040
@sub040 5 лет назад
thank you , can you show how to archive for ios ?
@امینرضایی-غ3ع
@امینرضایی-غ3ع 2 года назад
Hi , how can you install vlckit on macos? I tried it many times but i can't😪 When i import i recive an error that says (could not build modul "VLCKit") Please create a tutorial to install vlckit on macos
@essam_fahmi
@essam_fahmi Год назад
It should be the same process as I remember
@Axel-st4up
@Axel-st4up 2 года назад
I am following steps for iOS. Why do I get "ld: framework not found MobileVLCKit"? I did pod install and linked the binaries.
@essam_fahmi
@essam_fahmi 2 года назад
Check that you have the right requirements and the supported version of cocoapods here: github.com/videolan/vlckit
@Axel-st4up
@Axel-st4up 2 года назад
@@essam_fahmi Cocoapods version required is 1.4+ but the latest version is 1.11.2? How is that possible?
@cpangratz
@cpangratz 5 лет назад
Great video, thank you, it helped me a lot!!
@essam_fahmi
@essam_fahmi 5 лет назад
Christian Pangratz u welcome 💜
@MohitSingh-wo5qk
@MohitSingh-wo5qk 4 года назад
Hello, can I play Ogg audio in the background and how?
@essam_fahmi
@essam_fahmi 4 года назад
stackoverflow.com/questions/10804046/playing-an-ogg-stream-in-ios
@VirendraKumar-fe2sj
@VirendraKumar-fe2sj 2 года назад
Hi Dear, I am using VLCKIT for live streaming on MacOS application. It works fine on MacOS11 but facing "HIGH CPU USAGE" (70-100%) on MacOS12. Please help me to reduce the CPU usage.🙏
@امینرضایی-غ3ع
@امینرضایی-غ3ع 2 года назад
Hi , how can you install vlckit on macos? I tried it many times but i can't😪 When i import i recive an error that says (could not build modul "VLCKit")
@essam_fahmi
@essam_fahmi Год назад
As I remember, it is really hard to avoid this! I did not check it for years 👀
@essam_fahmi
@essam_fahmi Год назад
VLCKIT consumes much memory and storage than Apple AVKIT. Once u install VLCKIT, your project will extend up to 2 GB so to archive it, u need computer with high-end computing features. In our company, I remembere we used a mac pro with 16 RAM.
@Neolisk
@Neolisk 3 года назад
Needs a voice over.
@essam_fahmi
@essam_fahmi 2 года назад
Now I have a good toolkit for recording videos 😌
@cesarquiroga8629
@cesarquiroga8629 2 года назад
ogg streaming?
@essam_fahmi
@essam_fahmi Год назад
The following links may help you: 1- ajith.blog/how-to-play-ogg-files-on-iOS-with-VLCKit 2- code.videolan.org/videolan/VLCKit/-/issues/415
@alecmather
@alecmather 4 года назад
Most anticlimactic intro ever lol, giant music and transitions, and then all the sudden I could barely hear your voice lol
@essam_fahmi
@essam_fahmi 4 года назад
Lol :)
@user-ke9ws5jm5e
@user-ke9ws5jm5e Год назад
hello. VLCkit play test.ts video but no voice, can you help me ? thanks code: lazy var player: VLCMediaPlayer = { let p = VLCMediaPlayer() p.drawable = self.videoView let ss = Bundle.main.path(forResource: "aaa", ofType: "ts") let path = ss ?? "" p.media = VLCMedia(path: path) //p.media = VLCMedia(url: URL.init(string: path)!) return p }()
@essam_fahmi
@essam_fahmi Год назад
Unfortunately, I stopped working on VLCKit from a while, I wish you could solve this issue 🙏
Далее
iOS Swift Tutorial: Programmatic and Storyboard Segues
16:47
УГОСТИЛ БЕЛКУ МОРОЖЕНЫМ#cat #cats
00:14
Батя всех бургеров на 7000 ккал!
00:55
Elon Musk fires employees in twitter meeting DUB
1:58
AirPods 4 Review: Which Ones To Get?
11:26
Просмотров 1 млн
Swift: Custom Video Player
35:55
Просмотров 28 тыс.
How to Make an App in 8 Days (2024) - Full Walkthrough
3:00:49
Apple October Event LEAKS - 7 NEW Devices are COMING!
10:20
The BRIGHTEST Phone Flash In The World
0:46
Просмотров 23 млн