Jump to content

Recording problem through xTeVe with no apparent errors.


FrAllard

Recommended Posts

FrAllard

Hi,

 

I have to use xTeVe to stream from my IPTV provider, because I need to use a VPN since my ISP is actively blocking some streaming servers during some events that they have financial incentive in. I said enough I won't say more or this post is going to be very long.

xTeVe is you don't know emulate de HD Home Run and it works very good. I have it installed in a VPS and my network is connected to the VPS with a wireguard tunnel.

I can listen to a live feed for a very, very long time without any issue, but ben I record, it almost never record the hwole thing.

On the xTeve side I see "Client has terminated the connection" hinting that Emby choose to stop recording.

In emby log all I see is (I cleaned the log a lot I had a lot of activity that night on 3 or 4 clients and the log is very verbose. 

Begining of the recording 21h58 (2 minutes before the actual show)

2023-04-02 21:57:59.999 Info LiveTV: Recording timer fired for Vendre ou rénover au Québec.
2023-04-02 21:58:01.787 Info LiveTV: Found existing series based on provider ids: 1491497
2023-04-02 21:58:01.788 Info LiveTV: Found existing series based on path: Vendre ou rénover au Québec
2023-04-02 21:58:01.788 Info LiveTV: Getting media sources for recording from channel 2532269 CANAL VIE to record to /mnt/medias/Recorded TV/Vendre ou rénover au Québec (2017)/Season 3/Vendre ou rénover au Québec S03E02 La fin ou le début du rêve.ts
2023-04-02 21:58:01.788 Info LiveTV: Opening live stream for recording from channel 2532269 CANAL VIE to /mnt/medias/Recorded TV/Vendre ou rénover au Québec (2017)/Season 3/Vendre ou rénover au Québec S03E02 La fin ou le début du rêve.ts
2023-04-02 21:58:01.788 Info LiveTvManager: Opening channel stream, external channel Id: hdhr_1137
2023-04-02 21:58:01.788 Info LiveTV: Streaming Channel hdhr_1137, with streamId: native_bf87b606963423a3788580128c4d79a4_9d90093c82de82cad0e07f180b057bc6

When Emby decided that the show was over 22h00 (only 2 minutes of recording only, the show should have recorded 1h07 (2 min before and 5 after)

2023-04-02 22:00:54.436 Info SharedHttpPipelineSource: Live Stream ended.
2023-04-02 22:00:54.437 Info LiveTV: Recording completed to file /mnt/medias/Recorded TV/Vendre ou rénover au Québec (2017)/Season 3/Vendre ou rénover au Québec S03E02 La fin ou le début du rêve.ts
2023-04-02 22:00:54.437 Info LiveTV: Recording completed: /mnt/medias/Recorded TV/Vendre ou rénover au Québec (2017)/Season 3/Vendre ou rénover au Québec S03E02 La fin ou le début du rêve.ts
2023-04-02 22:00:54.437 Info MediaSourceManager: Live stream native_bf87b606963423a3788580128c4d79a4_9d90093c82de82cad0e07f180b057bc6 consumer count is now 0
2023-04-02 22:00:54.437 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_native_bf87b606963423a3788580128c4d79a4_9d90093c82de82cad0e07f180b057bc6
2023-04-02 22:00:54.437 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource
2023-04-02 22:00:54.447 Info SharedHttpPipelineSource: Deleting temp files /transcoding-temp/transcoding-temp/d15ff4cd0bfa4e75800687fa00b730d6.ts
2023-04-02 22:00:54.447 Info SharedHttpPipelineSource: SharedHttpPipelineSource is done streaming.
2023-04-02 22:00:54.448 Info MediaSourceManager: Live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_native_bf87b606963423a3788580128c4d79a4_9d90093c82de82cad0e07f180b057bc6 closed successfully

 

Is there a way to have a separate log for recordings in Emby instead of burrying this in the general log? A debug mode for recording would also be appreciated.

Link to comment
Share on other sites

FrAllard

I modifed the log to hide personal stuff like host names and ip addresses and the name of my cellphone. It would be a good thing if we cloud send logs so only admin like you could download them once uploaded.

embyserver-63816076800 (1).txt

Edited by FrAllard
Link to comment
Share on other sites

At different times the tuner does return unavailable errors. Is this when the problem occurred?

2023-04-02 07:46:01.266 Info HttpClient: Http response 503 from http://host9:5004/x_path1_x/x_path2_x after 10005ms. HeadersServer=HDHomeRun/1.0, Connection=close, Cache-Control=no-cache, X-HDHomeRun-Error=807 No Video Data
2023-04-02 07:46:01.281 Error LiveTV: Error in GetChannelStreamWithDirectStreamProvider
	*** Error Report ***
	Version: 1.2.3.4
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.15.0-69-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #76-Ubuntu
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /config
	Application path: /system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: ServiceUnavailable

 

Link to comment
Share on other sites

FrAllard

According to my first post it wasn't at that time that the problem occured.

2023-04-02 21:58:01.788 - Begining of recording

2023-04-02 22:00:54.448 - Premature end of recording

I will try to create a more usefull log, I have enabled verbose logging in xTeVe, so ffmpeg restreaming of xTeVe might give us more detail on what is happening.

Is there a way to have separate log from LiveTV or scheduled tv recording instead of burrying it in the system log?

Link to comment
Share on other sites

Hi, it's all part of the server log, but we do plan to have a recording history function in future updates. For now though you'll have to review the main server log. Are you still running into this?

Link to comment
Share on other sites

FrAllard

I'm still experiencing the same problem. I'm trying to catch it early so that I can track back the log in xTeVe. However, I believe that the verbose log in xTeVe overwrites the log that I can only see in the web UI. I'll need to double-check to be sure.

Thank you for following up. Your support is highly appreciated. This software is the best one I have ever paid for, and I'm delighted to have purchased a lifetime license!

  • Thanks 1
Link to comment
Share on other sites

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...