siong1987 / siongTime-tvos

siongTime tvos app
32 stars 2 forks source link

TVVLCKit on Apple TV #1

Open siong1987 opened 8 years ago

siong1987 commented 8 years ago

If we can get TVVLCKit on Apple TV, it will help a lot on playing the video/audio stream that we want without worrying about the file format.

falk commented 8 years ago

Perhaps ffmpeg could be run on the appletv instead of the web backend: https://github.com/kewlbear/FFmpeg-iOS-build-script

siong1987 commented 8 years ago

@falk yes, that's exactly what I am looking at. it will be cool if someone can get it up and running on the AppleTV.

falk commented 8 years ago

There is also https://gist.github.com/wtsnz/ade50e67ae6b006c1db3

siong1987 commented 8 years ago

@falk i tried the above script too. the TVVLCKit didn't work as expected.

falk commented 8 years ago

I think you can use buildMobileVLCKit.sh from the official repo now: https://code.videolan.org/videolan/VLCKit/tree/iOS-2.7

There is also the precompiled lib from this post: https://forum.videolan.org/viewtopic.php?f=36&t=128638&start=40#p433969

siong1987 commented 8 years ago

@falk awesome. you should try it out this weekend and see whether it works :)

siong1987 commented 8 years ago

@falk if you successfully build it, let me know. i can figure it out from there.

falk commented 8 years ago

I will try to get it up and running in between work and my thesis.

falk commented 8 years ago

Also found https://github.com/sylverb/NAStify which seems to have a working tvos app using tvvlckit

siong1987 commented 8 years ago

@falk awesome thanks! let me know once you have it up and running.

falk commented 8 years ago

I have not had the time to look at it, but have another idea: Present the streams from a dlna server like https://github.com/Janhouse/torrent-stream-dlna and let localcast/infuse/some other dlna player browse the folders and play the stream.

siong1987 commented 8 years ago

@falk the goal is to get rid of server dependency. i don't think that it will be ideal.

falk commented 8 years ago

Here is as vlc example project: https://forum.videolan.org/viewtopic.php?f=36&t=129799

siong1987 commented 8 years ago

@falk have you tried to get it work?

falk commented 8 years ago

Have not had the time. But just found https://github.com/pepibumur/PopcornTimeTV

siong1987 commented 8 years ago

@falk that is cool. does it work?

falk commented 8 years ago

Yes, atm it is hard coded to play a torrent, but I think it can be combined with the interface you have already made.

siong1987 commented 8 years ago

@falk also, it is using the default AVPlayerViewController. it won't work with most video formats for BT tho.

falk commented 8 years ago

It seems they are going to use vlckit.