Jump to content

DVR Recording Random Lengths


Recommended Posts

Posted

So, I am new to Emby, but like what I have seen so far.  The only issue I am running into is that if I set a show to record, sometimes it records the entire show or sometimes it will record the first few seconds to minutes of the show.  Seems very odd.  I moved my DVR file location to another drive, thinking that might have been the issue, but it is still occurring.  I have enabled permission for Everyone for Read/Write on the DVR folder.  Is there something else I am missing?

 

Thanks!  

Posted

Hi there, can we look at a specific example? thanks !

maegibbons
Posted

The first thing we need to know is the Tuner type?

 

I am guessing this is IPTV using m3u where these types of problems are common.

 

If its a Local tuner such as HDHR or Hauppage then this is very unusual.

 

Krs

 

Mark

Posted

It is IPTV.  My best guess is that the connection might be going out as the stream is closed randomly?

 

2018-10-13 02:25:00.012 Info App: Recording timer fired for Man on the Moon.
2018-10-13 02:25:00.013 Debug LiveTvMediaSourceProvider: MediaSources: [{"Protocol":"Http","Id":"7578d12514eb83ee5ac59b1858726319","Path":"http://vapi. .tv/play/7857.ts?token=eyJ1c2VybmFtZSI6InZzbXlzdHJlYW1zX2NoYXJsZXNwY3JvbXdlbGwiLCJwYXNzd29yZCI6ImJvb25lMSJ9","Type":"Default","IsRemote":true,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"OpenToken":"LiveTvChannel_14d690105dd0dbac0a40ec8649639921_7578d12514eb83ee5ac59b1858726319","RequiresClosing":true,"BufferMs":1500,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"VideoRange":"SDR","DisplayTitle":"","IsInterlaced":true,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"Formats":[],"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36"}}]
2018-10-13 02:25:00.013 Info App: Opening channel stream from Emby, external channel Id: m3u_2d932c3ca6d25fe2c0e0ad2142c8e7ee765fa1f0e2250495dbbfb9fff6895e22
2018-10-13 02:25:00.013 Info App: Streaming Channel m3u_2d932c3ca6d25fe2c0e0ad2142c8e7ee765fa1f0e2250495dbbfb9fff6895e22
2018-10-13 02:25:00.013 Info App: Opening SharedHttpStream Live stream from http://vapi. .tv/play/7857.ts?token=eyJ1c2VybmFtZSI6InZzbXlzdHJlYW1zX2NoYXJsZXNwY3JvbXdlbGwiLCJwYXNzd29yZCI6ImJvb25lMSJ9
2018-10-13 02:25:00.013 Info HttpClient: GET http://vapi. .tv/play/7857.ts?token=eyJ1c2VybmFtZSI6InZzbXlzdHJlYW1zX2NoYXJsZXNwY3JvbXdlbGwiLCJwYXNzd29yZCI6ImJvb25lMSJ9
2018-10-13 02:25:00.955 Info HttpClient: Http response 200 from http://vapi. .tv/play/7857.ts?token=eyJ1c2VybmFtZSI6InZzbXlzdHJlYW1zX2NoYXJsZXNwY3JvbXdlbGwiLCJwYXNzd29yZCI6ImJvb25lMSJ9 after 941ms. HeadersConnection=close, X-Playback-Id=d4bb85d0bae519a6b7c968cd51fa0dfb8785cfec
2018-10-13 02:25:00.955 Info App: Beginning SharedHttpStream stream to C:\Users\truez\AppData\Roaming\Emby-Server\programdata\transcoding-temp\2f167dcdc3f14949bccfdbae3a7c5fb6.ts
2018-10-13 02:25:00.955 Info App: Live stream opened after 941.7501ms
2018-10-13 02:25:00.955 Info App: Returning mediasource streamId 7578d12514eb83ee5ac59b1858726319, mediaSource.Id 7578d12514eb83ee5ac59b1858726319, mediaSource.LiveStreamId null
2018-10-13 02:25:00.955 Info MediaSourceManager: Waiting 3000ms before probing the live stream
2018-10-13 02:25:03.956 Info MediaEncoder: C:\Users\truez\AppData\Roaming\Emby-Server\system\ffprobe.exe -analyzeduration 3000000 -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2f167dcdc3f14949bccfdbae3a7c5fb6/stream.ts"-threads 0 -v info -print_format json -show_streams -show_format
2018-10-13 02:25:04.075 Info HttpServer: HTTP GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2f167dcdc3f14949bccfdbae3a7c5fb6/stream.ts. UserAgent: Lavf/58.12.100
2018-10-13 02:25:04.126 Info HttpServer: HTTP Response 500 to 127.0.0.1. Time: 51ms. http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2f167dcdc3f14949bccfdbae3a7c5fb6/stream.ts 
2018-10-13 02:25:04.131 Info MediaSourceManager: Live tv media info probe took 3.1757839 seconds
2018-10-13 02:25:04.131 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"7578d12514eb83ee5ac59b1858726319","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2f167dcdc3f14949bccfdbae3a7c5fb6/stream.ts","Type":"Default","Container":"mpegts","IsRemote":true,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_7578d12514eb83ee5ac59b1858726319","RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"h264","ColorTransfer":"bt709","ColorPrimaries":"bt709","ColorSpace":"bt709","TimeBase":"1/90000","CodecTimeBase":"1001/60000","VideoRange":"SDR","DisplayTitle":"1080PH264","NalLengthSize":"0","IsInterlaced":false,"BitRate":20000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":42,"IsAnamorphic":false},{"Codec":"aac","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":55500,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":20055500,"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36"},"AnalyzeDurationMs":3000}
2018-10-13 02:25:04.131 Info App: Beginning recording. Will record for 119.931137146667 minutes.
2018-10-13 02:25:04.131 Info App: Writing file to path: D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.136 Debug LibraryMonitor: New file refresher created for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).nfo
2018-10-13 02:25:04.146 Info App: Triggering refresh on D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.146 Info App: Refreshing recording parent D:\DVR
2018-10-13 02:25:04.146 Info App: Copying recording stream to file D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.347 Debug App: Running FFProbeProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.347 Debug App: Running MovieNfoProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.347 Debug App: Running MovieDbProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:04.347 Info App: MovieDbProvider: Finding id for item: Man on the Moon
2018-10-13 02:25:04.938 Debug App: Running OmdbItemProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:05.422 Debug App: Running MovieDbImageProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:25:05.528 Debug App: Running FanartMovieImageProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 02:26:04.143 Debug LibraryMonitor: Timer stopped.
2018-10-13 02:26:04.144 Info LibraryMonitor: DVR (D:\DVR) will be refreshed.
2018-10-13 03:16:12.831 Info HttpServer: HTTP GET http://192.168.0.15:8096/emby/system/info/public. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:12.831 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 0ms. http://192.168.0.15:8096/emby/system/info/public 
2018-10-13 03:16:12.872 Info HttpServer: HTTP GET http://192.168.0.15:8096/emby/System/Info. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:12.873 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 1ms. http://192.168.0.15:8096/emby/System/Info 
2018-10-13 03:16:12.926 Info HttpServer: HTTP GET http://192.168.0.15:8096/emby/Users/1d20b0adc1f04b17828cc0bdd25ee26a. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:12.926 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 1ms. http://192.168.0.15:8096/emby/Users/1d20b0adc1f04b17828cc0bdd25ee26a 
2018-10-13 03:16:12.952 Info HttpServer: HTTP GET http://192.168.0.15:8096/emby/DisplayPreferences/usersettings?userId=1d20b0adc1f04b17828cc0bdd25ee26a&client=emby. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:12.953 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 1ms. http://192.168.0.15:8096/emby/DisplayPreferences/usersettings?userId=1d20b0adc1f04b17828cc0bdd25ee26a&client=emby 
2018-10-13 03:16:13.143 Info HttpServer: HTTP POST http://192.168.0.15:8096/emby/Sync/Data. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:13.143 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 1ms. http://192.168.0.15:8096/emby/Sync/Data 
2018-10-13 03:16:13.227 Info HttpServer: HTTP GET http://192.168.0.15:8096/emby/Sync/Items/Ready?TargetId=41d8832af689d295. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:13.227 Debug App: Returning 0 ready sync items for targetId 41d8832af689d295
2018-10-13 03:16:13.227 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 1ms. http://192.168.0.15:8096/emby/Sync/Items/Ready?TargetId=41d8832af689d295 
2018-10-13 03:16:13.284 Info HttpServer: HTTP POST http://192.168.0.15:8096/emby/Sync/Data. UserAgent: Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPWS28.46-21-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.100 Safari/537.36
2018-10-13 03:16:13.286 Info HttpServer: HTTP Response 200 to 192.168.0.19. Time: 2ms. http://192.168.0.15:8096/emby/Sync/Data 
2018-10-13 03:23:13.746 Info App: Deleting temp files C:\Users\truez\AppData\Roaming\Emby-Server\programdata\transcoding-temp\2f167dcdc3f14949bccfdbae3a7c5fb6.ts
2018-10-13 03:24:16.174 Info App: Live Stream ended.
2018-10-13 03:24:16.177 Info App: Recording completed to file D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 03:24:16.177 Info App: Recording completed: D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 03:24:16.177 Info MediaSourceManager: Live stream 7578d12514eb83ee5ac59b1858726319 consumer count is now 0
2018-10-13 03:24:16.177 Info MediaSourceManager: Closing live stream a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_7578d12514eb83ee5ac59b1858726319
2018-10-13 03:24:16.177 Info App: Closing SharedHttpStream
2018-10-13 03:24:16.177 Info MediaSourceManager: Live stream a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_7578d12514eb83ee5ac59b1858726319 closed successfully
2018-10-13 03:24:16.177 Info App: Triggering refresh on D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 03:24:16.178 Info App: Refreshing recording parent D:\DVR
2018-10-13 03:24:16.295 Debug App: Refreshing D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts due to date modified timestamp change.
2018-10-13 03:24:16.295 Debug App: Running FFProbeProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 03:24:16.295 Debug MediaEncoder: C:\Users\truez\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format
2018-10-13 03:24:16.367 Debug App: Running MovieNfoProvider for D:\DVR\Man on the Moon (1999)\Man on the Moon (1999).ts
2018-10-13 03:43:34.474 Info TaskManager: IntervalTrigger fired for task: Convert media
2018-10-13 03:43:34.474 Info TaskManager: Queueing task SyncConvertScheduledTask
2018-10-13 03:43:34.474 Info TaskManager: Executing Convert media
2018-10-13 03:43:34.474 Info TaskManager: Queueing task ServerSyncScheduledTask
2018-10-13 03:43:34.474 Info TaskManager: Convert media Completed after 0 minute(s) and 0 seconds
2018-10-13 03:43:34.474 Info TaskManager: Executing Cloud & Folder Sync
2018-10-13 03:43:34.475 Info TaskManager: Cloud & Folder Sync Completed after 0 minute(s) and 0 seconds
2018-10-13 03:43:34.478 Info TaskManager: ExecuteQueuedTasks
2018-10-13 03:43:34.499 Info TaskManager: ExecuteQueuedTasks
2018-10-13 03:43:34.536 Info TaskManager: IntervalTrigger fired for task: Cloud & Folder Sync
2018-10-13 03:43:34.536 Info TaskManager: Queueing task ServerSyncScheduledTask
2018-10-13 03:43:34.536 Info TaskManager: Executing Cloud & Folder Sync
2018-10-13 03:43:34.537 Info TaskManager: Cloud & Folder Sync Completed after 0 minute(s) and 0 seconds
2018-10-13 03:43:34.540 Info TaskManager: ExecuteQueuedTasks
Posted

There is a setting called "Auto-loop live streams" in the M3U tuner setup.

Enable this if it's not checked already and see if this helps.

 

That is exactly what that setting is for (your issue).

Posted

Thanks @@cayars.  I will give this a shot and report back.  I'll set a couple things up to record today and see if they all successfully record the entire duration.

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