tellytv / telly

An IPTV proxy
MIT License
770 stars 106 forks source link

telly transcoder #115

Closed tombowditch closed 6 years ago

tombowditch commented 6 years ago

With the recent issues it's obvious telly is going to need some sort of transcoding solution in the future.

I am thinking something to do with ffmpeg? Plex seems to like `.ts. / MPEG-TS.

hazcod commented 6 years ago

There are go bindings available for ffmpeg: https://github.com/giorgisio/goav Funny enough, while Plex likes MPEG-TS, they use HLS to stream from the server to the client.

frznman commented 6 years ago

Is converting really necessary? My m3u8s have .ts in them. Wouldn't Plex be able to read those?

For example: https://byubhls-i.akamaihd.net/hls/live/267187/byutvhls/master_4064.m3u8

gitAuss1e commented 6 years ago

Any update on this? Thanks!

lobosrul commented 6 years ago

On a related note , I'm using ffmpeg to record iptv with "-stimeout 10000000" set. Seems a much more reliable way to record, with Plex about a quarter of everything I record has an error. Would be worth piping the output of ffmpeg into Plex?

robbiet480 commented 6 years ago

Fixed via https://github.com/tellytv/telly/commit/2130ad62bf17f6279a2201a7badaeecd60070fe9