Jump to content

Can play IPTV but fail to record to .ts files


Recommended Posts

Posted

Hello emby community!

 

I'm struggeling getting the Live TV working right. I used to use tvheadend but would like to swith to the embedded emby IPTV service.

 

I imported a m3u (Telekom Entertain) and I can watch the Live TV stream through emby and also VLC. But when I try to record to .ts I get the following error:

2017-12-29 21:53:17.410 Info App: Recording timer fired.
2017-12-29 21:53:17.411 Info App: Opening recording stream from tuner provider
2017-12-29 21:53:17.411 Info App: Streaming Channel m3u_efa18622fbb68bc40797a80204fc1316303964707afcc13cd360af440d0df3e1
2017-12-29 21:53:17.411 Info App: Live stream opened after 0,001ms
2017-12-29 21:53:17.411 Info App: Returning mediasource streamId 303964707afcc13cd360af440d0df3e1, mediaSource.Id 4b4fd0728ab948b09216daf2caf0539a_303964707afcc13cd360af440d0df3e1, mediaSource.LiveStreamId null
2017-12-29 21:53:17.411 Info App: Beginning recording. Will record for 41.70980135 minutes.
2017-12-29 21:53:17.411 Info App: Writing file to path: /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.ts
2017-12-29 21:53:17.412 Info HttpClient: HttpClientManager GET: rtp://239.35.10.5:10000
2017-12-29 21:53:17.412 Info App: New recording scheduled
2017-12-29 21:53:17.412 Info HttpServer: HTTP Response 204 to 79.245.173.56. Time: 14ms. http://emby.mulzi.eu:8096/LiveTv/Timers 
2017-12-29 21:53:17.413 Error HttpClient: Error ConnectFailure getting response from rtp://239.35.10.5:10000
	*** Error Report ***
	Version: 3.2.60.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.9.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue May  2 22:25:43 UTC 2017)
	Processor count: 4
	Program data path: /var/lib/emby-server
	Application directory: /usr/lib/emby-server/bin
	System.Net.WebException: Error: ConnectFailure (Network is unreachable) ---> System.Net.Sockets.SocketException: Network is unreachable
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	System.Net.WebException
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): Network is unreachable
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	
2017-12-29 21:53:17.415 Error App: Error recording to /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.ts
	*** Error Report ***
	Version: 3.2.60.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 4.9.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue May  2 22:25:43 UTC 2017)
	Processor count: 4
	Program data path: /var/lib/emby-server
	Application directory: /usr/lib/emby-server/bin
	MediaBrowser.Model.Net.HttpException: Error: ConnectFailure (Network is unreachable) ---> System.Net.WebException: Error: ConnectFailure (Network is unreachable) ---> System.Net.Sockets.SocketException: Network is unreachable
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	   --- End of inner exception stack trace ---
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () [0x00753] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsync>c__async1.MoveNext () [0x00096] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.LiveTv.EmbyTV.DirectRecorder+<RecordFromMediaSource>c__async1.MoveNext () [0x000bd] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV+<RecordStream>c__async14.MoveNext () [0x004e2] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	MediaBrowser.Model.Net.HttpException
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () [0x00753] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsync>c__async1.MoveNext () [0x00096] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.LiveTv.EmbyTV.DirectRecorder+<RecordFromMediaSource>c__async1.MoveNext () [0x000bd] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV+<RecordStream>c__async14.MoveNext () [0x004e2] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	InnerException: System.Net.WebException
	System.Net.WebException: Error: ConnectFailure (Network is unreachable) ---> System.Net.Sockets.SocketException: Network is unreachable
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): Network is unreachable
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <5641e4edad4f4464ba58c620a7b8ea48>:0 
	
2017-12-29 21:53:17.415 Info App: Live stream 4b4fd0728ab948b09216daf2caf0539a_303964707afcc13cd360af440d0df3e1 consumer count is now 0
2017-12-29 21:53:17.415 Info App: Closing live stream 4b4fd0728ab948b09216daf2caf0539a_303964707afcc13cd360af440d0df3e1
2017-12-29 21:53:17.415 Info App: Closing LiveStream
2017-12-29 21:53:17.415 Info App: Live stream 4b4fd0728ab948b09216daf2caf0539a_303964707afcc13cd360af440d0df3e1 closed successfully
2017-12-29 21:53:17.415 Info App: Triggering refresh on /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.ts
2017-12-29 21:53:17.416 Info App: Refreshing recording parent /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig
2017-12-29 21:53:17.416 Info App: Retrying recording in 60 seconds.

If needed I can provide a complete log tomorrow - can't restart the server right now.

 

What's funny is that if I turn on the conversion to .mkv, the recording starts just fine:

2017-12-29 21:52:25.192 Info App: Recording timer fired.
2017-12-29 21:52:25.193 Info App: Opening recording stream from tuner provider
2017-12-29 21:52:25.193 Info App: Streaming Channel m3u_efa18622fbb68bc40797a80204fc1316303964707afcc13cd360af440d0df3e1
2017-12-29 21:52:25.193 Info App: Live stream opened after 0ms
2017-12-29 21:52:25.193 Info App: Returning mediasource streamId 303964707afcc13cd360af440d0df3e1, mediaSource.Id c0dd5aa880e04ce787bc7b4ef1063ac5_303964707afcc13cd360af440d0df3e1, mediaSource.LiveStreamId null
2017-12-29 21:52:25.193 Info App: Beginning recording. Will record for 42.5801030666667 minutes.
2017-12-29 21:52:25.193 Info App: Writing file to path: /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:25.197 Info App: /usr/bin/ffmpeg -async 1 -vsync -1 -fflags +igndts -analyzeduration 5000000 -i "rtp://239.35.10.5:10000" -t 00:42:34.806 -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)"  -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 25000000 -maxrate 25000000 -bufsize (25000000*2) -vsync -1 -profile:v high -level 41 -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 aac -strict experimental -ab 320000 -sn -y "/RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv"
2017-12-29 21:52:25.236 Info App: Triggering refresh on /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:25.236 Info App: Refreshing recording parent /RAID-Z1/Filme/Aufnahmen
2017-12-29 21:52:25.241 Info App: ffmpeg recording process started for /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:25.241 Info App: New recording scheduled
2017-12-29 21:52:32.738 Info App: Creating Season NameSeasonUnknown entry for SOKO Leipzig
2017-12-29 21:52:56.534 Info App: Stopping ffmpeg recording process for /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.534 Info App: Calling recording process.WaitForExit for /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.742 Info App: FFMpeg recording exited with code 0 for /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.742 Info App: Recording completed to file /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.742 Info App: Recording completed: /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.742 Info App: Live stream c0dd5aa880e04ce787bc7b4ef1063ac5_303964707afcc13cd360af440d0df3e1 consumer count is now 0
2017-12-29 21:52:56.742 Info App: Closing live stream c0dd5aa880e04ce787bc7b4ef1063ac5_303964707afcc13cd360af440d0df3e1
2017-12-29 21:52:56.742 Info App: Closing LiveStream
2017-12-29 21:52:56.742 Info App: Live stream c0dd5aa880e04ce787bc7b4ef1063ac5_303964707afcc13cd360af440d0df3e1 closed successfully
2017-12-29 21:52:56.742 Info App: Triggering refresh on /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig/SOKO Leipzig 2017-12-29 - Einsam.mkv
2017-12-29 21:52:56.743 Info App: Refreshing recording parent /RAID-Z1/Filme/Aufnahmen/SOKO Leipzig

So it's not just a permission issue. But sadly that's not working either, because FFMpeg doesn't like the stream format. From time to time there is a change in the audio codec (like from mp2 to ac3) which causes FFMpeg to insert some hours of audio delay. Additionally, FFMpeg chooses just one audio stream and sometimes this happens to be the one for blind people...

 

So I would really like to get the recording to .ts working.

 

Thanks for your help,

Mulzi

 

P.S: My emby installation is behind a nginx reverse proxy on Debian 8.

 

Posted

Right now you would have to use the conversion feature because we haven't implemented direct stream access via rtp. We'll try to add that soon, but until then we need that extra layer from ffmpeg to handle the rtp protocol for us.

 

If you can produce an m3u with http urls it should work fine.

Posted

Hello Luke!

 

Thanks for your fast reply. I'm glad it seems like I didn't messed anything up.

 

What do you mean by "produce an m3u with http urls"? Is there a way to convert these url's or can I just replace rtp:// with http:// ?

Posted

Sorry, nevermind, forget I said that because I don't think you can do that.

Posted

Nevermind. Just hope that rtp support arrives soon.  :)

 

Can a donated beer speed this up???  :D

Posted

Hey Luke,

 

you just lead me to a (<modesty off>  ;) ) genial idea for a temporal fix:

 

I can use my still running tvheadend service to convert the rtp stream to a http stream. Tvheadend offers a link for every channel like

 

http://IP:9981/stream/channel/0c04888d0610af66a15874e0d931df14?ticket=4e814fcb027d0ee25debb99f8f9479e12b536261

 

They can be modified to http://User:Pass@IP:9981/stream/channel/0c04888d0610af66a15874e0d931df14 in order to permanently log in as the right user in tvheadend.

 

These url's can be imported in emby which allows recording to .ts.

 

Hope somebody finds this helpful!

  • 2 weeks later...
Posted

imported a m3u (Telekom Entertain) and I can watch the Live TV stream through emby and also VLC.

Hi MulziSAW,

how good is Live TV streaming working?

I don't care so much about recording. But I would like to use my AppleTV 4K for watching Live TV (Telekom Entertain).

Currently I don't have Telekom Entertain.

Posted

Hi!

 

In principle my workaround runs really well. I think it's ideal till emby natively supports rtp streams.

 

I just have some problems with my shield - doesn't really like the ts. stream either in live view or from a recording. All other devices I have (Android Phone/Tablet, Webbrowser) work flawlessly.

 

Greetings!

  • 2 weeks later...
Posted

Right now you would have to use the conversion feature because we haven't implemented direct stream access via rtp. We'll try to add that soon, but until then we need that extra layer from ffmpeg to handle the rtp protocol for us.

 

If you can produce an m3u with http urls it should work fine.

 

@@Luke - Do we need to use conversion for all m3u recordings?  I seem to get that if the url is http:// then it should record without conversion. Mine is not. It acts like it is and the server log states it is recording but I get about a 2kb file.

 

If I set to convert it records normally.  Just curious.

 

About 0855 in the log

server-63651841214.txt

Posted

It really depends on what kind of stream your iptv provider is sending back.

Posted

And yes, yours will require using it.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...