Neet help for xTeVe, FFmpeg and LiveTV

Server Version#: QNap TVS-463 with Version 5.0.0
Player Version#:
Tuner Make/Model: xTeVe 2.2.0
Guide/Lineup name:
Using XMLTV?: yes
Channel number/Name: SRF

Hi

I have QNap NAS with Plex, xTeVe and FFmpeg
Plex Version: 4.69.1
xTeVe Version 2.2.0
FFmpeg Version 5.0.0

I hope you can help me. Sorry for my bad english.

I try to see IPTV Streams on Plex.

on xTeVe i set this settings:

Buffer Size: 5 MB
Timeout for new client connections: 500
FFmpeg Options: -hide_banner -loglevel error -i [URL] -c copy -f mpegts pipe:1

Here the log file from xTeVe:

2022-02-28 21:57:42 [xTeVe] Buffer: true [ffmpeg]
2022-02-28 21:57:42 [xTeVe] Buffer Size: 4096 KB
2022-02-28 21:57:42 [xTeVe] Channel Name: VIP SW: SRF 1 FHD
2022-02-28 21:57:42 [xTeVe] Client User-Agent: Lavf/58.65.101
2022-02-28 21:57:43 [xTeVe] Streaming Status: Playlist: Schweiz Neu - Tuner: 1 / 1
2022-02-28 21:57:43 [xTeVe] FFMPEG path: /usr/bin/ffmpeg
2022-02-28 21:57:43 [xTeVe] Streaming URL: http://tunestream.me:8080/XXXXXXX/XXXXXXXX/9165
2022-02-28 21:57:43 [xTeVe] FFMPEG: Processing data
2022-02-28 21:57:43 [xTeVe] Streaming Status: Receive data from FFMPEG
2022-02-28 21:57:43 [xTeVe] FFMPEG log: [mpegts @ 0x55e0732fe560] dimensions not set
2022-02-28 21:57:43 [xTeVe] [ERROR] FFMPEG error (Streaming was stopped by third party transcoder (FFmpeg / VLC)) - EC: 1204
2022-02-28 21:57:43 [xTeVe] FFMPEG log: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
2022-02-28 21:57:43 [xTeVe] FFMPEG log:
2022-02-28 21:57:43 [xTeVe] Streaming Status: Client has terminated the connection
2022-02-28 21:57:43 [xTeVe] Streaming Status: Channel: VIP SW: SRF 1 FHD (Clients: 0)
2022-02-28 21:57:44 [xTeVe] Streaming Status: Channel: VIP SW: SRF 1 FHD - No client is using this channel anymore. Streaming Server connection has ended
2022-02-28 21:57:44 [xTeVe] Streaming Status: Playlist: Schweiz Neu - Tuner: 0 / 1

If i try with xTeVe as Buffer in xTeVe settings i receive this error:

2022-02-28 23:28:06 [xTeVe] Buffer: true [xteve]
2022-02-28 23:28:06 [xTeVe] Buffer Size: 4096 KB
2022-02-28 23:28:06 [xTeVe] Channel Name: VIP SW: SRF 1 FHD
2022-02-28 23:28:06 [xTeVe] Client User-Agent: Lavf/58.65.101
2022-02-28 23:28:07 [xTeVe] Streaming Status: Playlist: Schweiz Neu - Tuner: 1 / 1
2022-02-28 23:28:07 [xTeVe] Streaming Type: [TS]
2022-02-28 23:28:07 [xTeVe] Streaming URL: http://tunestream.me:8080/XXXXXX/XXXXXXXX/9165
2022-02-28 23:28:07 [xTeVe] Content Type: text/html; charset=UTF-8
2022-02-28 23:28:07 [xTeVe] Streaming Status: HTTP Response Status [401] Unauthorized
2022-02-28 23:28:07 [xTeVe] Error with this URL: http://tunestream.me:8080/XXXXXX/XXXXXXXX/9165
2022-02-28 23:28:07 [xTeVe] [ERROR] Unauthorized (This error message comes from the provider) - EC: 4004
2022-02-28 23:28:07 [xTeVe] Streaming Status: Playlist: Schweiz Neu - Tuner: 0 / 1

Thanks for your Help.

If i put the Streaming URL on VLC is working. But not with FFmpeg, xTeVe and Plex.

Thanks for your help.

Greetings
Chris

It tells you the problem in the log. The provider is returning with an error saying your connection is unauthorized.

To start with you should turn the Stream Buffer to “No Buffer”. It’s not needed because Plex Media Server acts as it’s own buffer.

Also, set the number of tuners at the top of the settings page to the number of connections you are allowed.

I can’t help you beyond this.

Hi

Thanks for your answer.
I have try this. But is also not working.

Here the log from Plex:

Mar 01, 2022 11:13:36.452 [0x7f22da801b38] Fehlersuche — DVR:Segmenter: Stopping idle session: http://192.XXX.XXX.XXX:34400/stream/b00c6eda9f9052f84fadd4f9f52e78ee.
Mar 01, 2022 11:13:36.452 [0x7f22da801b38] Fehlersuche — Deleting media item 39989.
Mar 01, 2022 11:13:36.454 [0x7f22da801b38] Fehlersuche — Was connected to metadata item 31506, count is now 0.
Mar 01, 2022 11:13:36.454 [0x7f22da801b38] Fehlersuche — Destroying metadata item 31506 (Ukraine-Konflikt: Droht eine neue Wirtschaftskrise?)
Mar 01, 2022 11:13:36.459 [0x7f22da801b38] Fehlersuche — Transcoder: Cleaning old transcode directories.
Mar 01, 2022 11:13:36.459 [0x7f22da801b38] Fehlersuche — Whacked session b334fe2a-cd78-4932-b5f2-db633125a7c5, 0 remaining.
Mar 01, 2022 11:13:36.459 [0x7f22da801b38] Fehlersuche — Streaming Resource: Terminated session 0x7f22d8a79b28:b334fe2a-cd78-4932-b5f2-db633125a7c5 with reason Client stopped playback.
Mar 01, 2022 11:13:36.459 [0x7f22da801b38] Fehlersuche — Streaming Resource: Removing session 0x7f22d8a79b28:b334fe2a-cd78-4932-b5f2-db633125a7c5

Thanks for your Help.

Greetings
Chris

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.