Jump to content

Recordings stop early and live streams have pauses


CharlieMurphy

Recommended Posts

CharlieMurphy

I'm over a week into my subscription to Emby to assess the Live TV functions. I haven't been able to give it a fair shake because something in my setup is making it unstable. I set some recordings and went to bed again last night. Two 30 minute shows finished but neither of the movies finished. My m3u list works great in VLC. I'm using xTeVe as a proxy and I'd much prefer to do it this way vs putting the m3u directly in Emby. I am using The m3u address to xTeVe and not the HDHomeRun method. In xTeVe, I'm using VLC for the "Stream Buffer"

Here's how my recordings stop:

2020-10-29 04:15:25.289 Info SharedHttpPipelineSource: Live Stream ended.
2020-10-29 04:15:25.289 Info LiveTV: Recording completed to file /mnt/recordings/[movie name]/[movie name].ts
2020-10-29 04:15:25.289 Info LiveTV: Recording completed: /mnt/recordings/[movie name]/[movie name].ts
2020-10-29 04:15:25.289 Info MediaSourceManager: Live stream 9e6c99767c5a7f6f2e1107d67e7dd070 consumer count is now 0
2020-10-29 04:15:25.289 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_9e6c99767c5a7f6f2e1107d67e7dd070
2020-10-29 04:15:25.289 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource
2020-10-29 04:15:25.291 Debug GraphRunner: Completion wait
2020-10-29 04:15:25.292 Debug GraphRunner: PipelinePacketizer: Complete PipeReader
2020-10-29 04:15:25.292 Debug GraphRunner: PipelinePacketizer: Close input
2020-10-29 04:15:25.292 Debug GraphRunner: PipelinePacketizer: Complete target
2020-10-29 04:15:25.292 Debug GraphRunner: PipelinePacketizer: Exit loop
2020-10-29 04:15:25.292 Debug GraphRunner: CloseInput
2020-10-29 04:15:25.292 Debug GraphRunner: CloseOutput
2020-10-29 04:15:25.292 Info MediaSourceManager: Live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_9e6c99767c5a7f6f2e1107d67e7dd070 closed successfully

And in xTeVe it looks like it closed gracefully:

2020-10-29 04:15:25 [xTeVe] Streaming Status:      Client has terminated the connection

I've tricked myself into thinking I had this worked out about a dozen times. At one point I used the "VLC / CVLC Options:" field in xTeVe to set a log location for VLC but didn't see anything that stood out in there. I could try that again if it would help.

Edited by CharlieMurphy
Link to comment
Share on other sites

CharlieMurphy

I've added "--verbose=2 --file-logging --logfile=vlc-log.txt" to my VLC options and set a recording of a movie that starts soon. I'll see what happens and post it.

Is this message in Emby log telling me that the stream is going down in xTeVe?

Info SharedHttpPipelineSource: Live Stream ended
Link to comment
Share on other sites

CharlieMurphy
main debug: Buffering 93%
main debug: Stream buffering done (1001 ms in 395 ms)
main debug: Decoder wait done in 0 ms
prefetch debug: end of stream
ts debug: Can't read TS packet at 1643761080
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: killing decoder fourcc `h264'
main debug: removing module "h264"
main debug: removing a sout input (sout_input: 0x558a686f6be0)
mux_ts debug: removing input pid=100
mux_ts debug: new PCR PID is 200
mux_ts debug: freeing video PID 100
main debug: killing decoder fourcc `mp4a'
main debug: removing module "mpeg4audio"
main debug: removing a sout input (sout_input: 0x558a686f6f80)
mux_ts debug: removing input pid=200
mux_ts debug: freeing audio PID 200
main warning: no more input streams for this mux
main debug: removing module "ts"
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "prefetch"
main debug: removing module "access"
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=std)
main debug: removing module "stream_out_standard"
main debug: removing module "mux_ts"
main debug: removing module "file"
file debug: file access output closed
main debug: destroying chain done
main debug: changing item without a request (current 0/1)
main debug: nothing to play

This is what I got in the VLC log played by xTeVe when the stream stopped. At the same time I had a stream playing in VLC in a windows virtual machine that hasn't stopped streaming in many many hours. Why would Windows VLC be stable while Linux Emby/xTeVe/VLC would not? Thanks to anyone who could take a look.

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