Plex can't record TV.

@bubbapaul said:
I have changed the Plex dir so it is not on root c:/Plex I also re-booted my PC but still having the problem.

Your logs now show a different problem. Basically, PMS couldn’t identify the codec being used by the video and audio. Is this happening with every channel or just certain ones? We have seen this issue on certain channels, where the broadcaster does not provide the information we need. Please try recording some other channels and see if those also fail.

Hello, Folks. I hope I’m posting this in the correct place. I’m Having a real hard time getting my SHEILD and Plex DVR to consistently record programs. thinmgs were going just fine, then I had my external HDD keep disconnecting. I plugged it into the other USB port and it stays connected. Now, however, I’m having mystery failed recordings. I’ve attached my logs if any brave soul wants to help me. Thanks.

What are you trying to record? What time was it scheduled to start/end? Might help to know what we are looking for so we don’t have to look through all of the log files.

@johnm_ColaSC there was an episode of Let’s Make a Deal that failed today (June 30th) at 9am to 10am. Thanks and I’m sorry for including too much log information. I’m still new at Plex. Not sure how to parse the data, yet.

See the show start to record and then fail within about 4 seconds.

Jun 30, 2017 09:00:00.300 [14175] DEBUG - DVR:Subscription: Resolved subscription to library item ‘Let’s Make A Deal’ (473)
Jun 30, 2017 09:00:00.305 [14175] DEBUG - There were 1 top-level paths for Let’s Make A Deal.
Jun 30, 2017 09:00:00.342 [14175] DEBUG - DVR:Grabber: Saving recording to /storage/F25F-9619/NVIDIA_SHIELD/TV Shows/.grab/c11626a57357543a6080ab1dfcce0837b81960d3
Jun 30, 2017 09:00:00.403 [14175] DEBUG - DVR:Grabber: Going to record for 3600 seconds, final URL is http://192.168.2.106:5004/auto/v2.1?transcode=heavy
Jun 30, 2017 09:00:00.424 [14175] DEBUG - DVR:Grabber: Setting timer to stop grab of ‘Let’s Make a Deal - E32 - Episode 32’ in 3600 seconds.
Jun 30, 2017 09:00:00.424 [14175] DEBUG - DVR:Segmenter: Creating a new recorder for http://192.168.2.106:5004/auto/v2.1?transcode=heavy.
Jun 30, 2017 09:00:00.435 [14175] DEBUG - DVR:Grabber: Waiting for a tuner (2 available).
Jun 30, 2017 09:00:00.435 [14175] DEBUG - DVR:Grabber: Allocated a tuner (1 left)
Jun 30, 2017 09:00:00.473 [14175] DEBUG - We’re going to try to auto-select an audio stream for account 1.
Jun 30, 2017 09:00:00.473 [14175] DEBUG - Selecting best audio stream for part ID -1 (autoselect: 0 language: en)
Jun 30, 2017 09:00:00.474 [14175] DEBUG - Falling back to picking the first audio stream 1.
Jun 30, 2017 09:00:00.474 [14175] DEBUG - Audio Stream: -1, Subtitle Stream: -1
Jun 30, 2017 09:00:00.474 [14175] ERROR - Unable to find title for item of type 5
Jun 30, 2017 09:00:00.475 [14175] DEBUG - MDE: analyzing media item -1
Jun 30, 2017 09:00:00.475 [14175] DEBUG - MDE: : no direct play video profile exists for http/mpegts/
Jun 30, 2017 09:00:00.475 [14175] DEBUG - MDE: : no direct play video profile exists for http/mpegts//
Jun 30, 2017 09:00:00.475 [14175] DEBUG - MDE: : codec is unavailable for analysis
Jun 30, 2017 09:00:00.475 [14175] DEBUG - MDE: : codec is unavailable for analysis
Jun 30, 2017 09:00:00.502 [14175] ERROR - Unable to find title for item of type 5
Jun 30, 2017 09:00:00.502 [14175] DEBUG - MDE: : selected media 0 / -1
Jun 30, 2017 09:00:00.502 [14175] DEBUG - Cleaning directory for session 7f32bff8-277a-4a2b-aac4-159805a46627 ()
Jun 30, 2017 09:00:00.503 [14175] DEBUG - Starting a transcode session 7f32bff8-277a-4a2b-aac4-159805a46627 at offset -1.0 (state=3)
Jun 30, 2017 09:00:00.503 [14175] DEBUG - Streaming Resource: Added session 0x201e46b960:7f32bff8-277a-4a2b-aac4-159805a46627
Jun 30, 2017 09:00:00.509 [14175] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jun 30, 2017 09:00:00.509 [14175] DEBUG - TPU: hardware transcoding: final decoder: , final encoder:
Jun 30, 2017 09:00:00.515 [14175] DEBUG - Job running: EAE_ROOT=’/data/user/0/com.plexapp.mediaserver.smb/tmp/pms-3ac736f2-043d-46d2-a329-cffdacb854ef/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=’/data/user/0/com.plexapp.mediaserver.smb/Plex\ Media\ Server/Codecs/18f9bcf-1233-android-aarch64/’ XDG_CACHE_HOME=’/storage/emulated/0/Android/data/com.plexapp.mediaserver.smb/cache/’ XDG_DATA_HOME=’/data/user/0/com.plexapp.mediaserver.smb/Resources/’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/data/user/0/com.plexapp.mediaserver.smb/Resources/Plex Transcoder’ ‘-noaccurate_seek’ ‘-ignore_unknown’ ‘-scan_all_pmts’ ‘-1’ ‘-i’ ‘http://192.168.2.106:5004/auto/v2.1?transcode=heavy’ ‘-map’ ‘0:V?’ ‘-codec:V’ ‘copy’ ‘-map’ ‘0:a?’ ‘-codec:a’ ‘copy’ ‘-copypriorss:a’ ‘0’ ‘-map’ ‘0:s?’ ‘-codec:s’ ‘copy’ ‘-segment_format’ ‘mpegts’ ‘-f’ ‘ssegment’ ‘-individual_header_trailer’ ‘0’ ‘-segment_time’ ‘1’ ‘-segment_start_number’ ‘0’ ‘-segment_copyts’ ‘1’ ‘-segment_time_delta’ ‘0.0625’ ‘-segment_list’ ‘http://127.0.0.1:32400/video/:/transcode/session/7f32bff8-277a-4a2b-aac4-159805a46627/151eaaa3-f687-4bfc-96ac-687d6bf1a656/seglist’ ‘-segment_list_type’ ‘csv’ ‘-segment_list_size’ ‘2147483647’ ‘-max_delay’ ‘5000000’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘media-%05d.ts’ ‘-start_at_zero’ ‘-copyts’ ‘-vsync’ ‘cfr’ ‘-y’ ‘-nostats’ ‘-loglevel’ ‘quiet’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/7f32bff8-277a-4a2b-aac4-159805a46627/151eaaa3-f687-4bfc-96ac-687d6bf1a656/progress
Jun 30, 2017 09:00:04.387 [14175] DEBUG - Using default transcode duration of 120 minutes
Jun 30, 2017 09:00:04.387 [14175] DEBUG - Started session successfully: 7f32bff8-277a-4a2b-aac4-159805a46627
Jun 30, 2017 09:00:04.388 [14175] DEBUG - DVR:Recorder: It took 3.9 sec to start the session for http://192.168.2.106:5004/auto/v2.1?transcode=heavy
Jun 30, 2017 09:00:04.389 [14175] ERROR - Unable to find title for item of type 5
Jun 30, 2017 09:00:04.389 [14175] DEBUG - MDE: analyzing media item -1
Jun 30, 2017 09:00:04.389 [14175] ERROR - MDE: video has neither a video stream nor an audio stream
Jun 30, 2017 09:00:04.389 [14175] DEBUG - MDE: ignoring media item -1
Jun 30, 2017 09:00:04.389 [14175] ERROR - MDE: no compatible media decisions are available
Jun 30, 2017 09:00:04.389 [14175] ERROR - DVR:Recorder: Unable to compute media decision.
Jun 30, 2017 09:00:04.389 [14175] ERROR - DVR:Recorder: Error 14 starting the record, shutting things down.
Jun 30, 2017 09:00:04.389 [14175] DEBUG - DVR:Recorder: Asked to stop recording ‘Let’s Make a Deal - E32 - Episode 32’.
Jun 30, 2017 09:00:04.389 [14175] DEBUG - DVR:Recorder: Stopping transcode session.
Jun 30, 2017 09:00:04.389 [14175] DEBUG - Killing job.
Jun 30, 2017 09:00:04.390 [14175] DEBUG - Signalling job ID 14647 with 9
Jun 30, 2017 09:00:04.390 [14175] DEBUG - Job was already killed, not killing again.
Jun 30, 2017 09:00:04.390 [14175] DEBUG - Stopping transcode session 7f32bff8-277a-4a2b-aac4-159805a46627
Jun 30, 2017 09:00:04.390 [14175] DEBUG - DVR:Grabber: Freed a tuner (now 2 available)
Jun 30, 2017 09:00:04.390 [14175] DEBUG - DVR:Grabber: Operation for Let’s Make a Deal - E32 - Episode 32 completed with status error (An unknown error occurred)
Jun 30, 2017 09:00:04.390 [14175] DEBUG - Activity: Ended activity 2f1a99a2-07f7-4ca1-9777-7a27d0204679.
Jun 30, 2017 09:00:04.399 [14175] ERROR - DVR:Grabber: Starting media grab failed.

I do see this line where it starts the recording and shows the URL Plex uses to grab the recording from your HDHR:
Jun 30, 2017 09:00:00.424 [14175] DEBUG - DVR:Segmenter: Creating a new recorder for http://192.168.2.106:5004/auto/v2.1?transcode=heavy.

I am assuming you have an Extend with the transcode settings set in Plex. Have you tried recording with the Transcode set to Original Quality? I think that is the setting for no transcoding, don’t have an Extend myself. Just curious if you can recording something without the transcode in Plex. The extend has some internal settings you can use without setting transcoding in Plex I thought.

@johnm_ColaSC See, that’s the thing, I don’t understand why sooner recordings work and others fail. I haven’t adjusted any settings. And I’ve been trying to determine a way to use the Extend transcoder, but turn the one in Plex off, but I don’t see any way to do that. I got the Extend for the transcoder advantages with Plex, but I’m not certain there’s a way in the relative settings to do it. Thanks for your help, by the way.

Can you provide screenshots of the extend settings in Plex? Might also help to see settings on extend device.

@johnm_ColaSC wait, it’s POSSIBLE to see the settings on the EXTEND? I mean, there’s an interface native to the device? I’m only aware of the transcoder and DVR settings in Plex. I’ve attached three images.

@johnm_ColaSC I found them. It’s just the IP address. Which screenshot would be useful?

Sorry not familiar with extend settings since I don’t have one. I would suggest playing with the settings on the Extend since it does the HW transcoding for you and leave Plex set to Original Quality which should just accept whatever stream is passed. At one point I found the different settings for the Extend on another thread I posted on a few months back.

@johnm_ColaSC how do I set Plex to Original Quality? The first screenshot above shows the transcoder settings for Plex and there isn’t a way to set it to Original Quality. My 3rd screenshot shows the settings for the HD Homerun (unless I’m misunderstanding something). You have the Connect, yes? That doesn’t have an encoder. When you go to Device Settings (like in my 3rd screenshot) do you have any Transcoder options? I’m thinking that you shouldn’t. Thanks again, for your help in this.

@johnm_ColaSC perhaps I’m asking the wrong question. I understand what transcoding is and I understand that both Plex and the Extend shouldn’t be transcoding. So, the question is, WHEN does the transcoding take place and does the Extend actually offer any advantages is Plex transcoding can’t (seemingly) be disabled? Is the file transcoded by the Extend only when watching live? I can’t imagine that it transcodes it after the fact. Sorry for so many questions. These things aren’t necessarily properly documented so I’m trying to fill in the gaps.

From reading some more it seems that Plex does pass the transcode setting to the Extend based on your setting in Plex. What doesn’t make sense is the names between Plex and the HDHR development documentation don’t seem to match up. Plex seems to call it highest quality for the Transcode setting but does sends the transcode=heavy to the HDHR when it requests a stream. Guess Plex is trying to make it a little more user friendly.

Found this HDHR Development Documentation that seems to spell out what each setting the Extend is capable of transcoding: http://www.silicondust.com/hdhomerun/hdhomerun_http_development.pdf

HDHR Transcode Profiles:
• heavy: transcode to AVC with the same resolution, frame-rate, and interlacing as the
original stream. For example 1080i60 AVC 1080i60, 720p60 AVC 720p60. → →
• mobile: trancode to AVC progressive not exceeding 1280x720 30fps.
• internet720: transcode to low bitrate AVC progressive not exceeding 1280x720 30fps.
• internet480: transcode to low bitrate AVC progressive not exceeding 848x480 30fps for
16:9 content, not exceeding 640x480 30fps for 4:3 content.
• internet360: transcode to low bitrate AVC progressive not exceeding 640x360 30fps for
16:9 content, not exceeding 480x360 30fps for 4:3 content.
• internet240: transcode to low bitrate AVC progressive not exceeding 432x240 30fps for
16:9 content, not exceeding 320x240 30fps for 4:3 content.

Also found this article where a user is describing how they are using their Extend with Plex DVR. Perhaps the author of the article would have some insight to assist you. From the article it appears the user is in the forum so tagging them @ultramookie.

From looking at the other users article I would suggest trying a recording with the Transcode set to Native in Plex. I believe that is the Original Quality I was talking about. At least that would tell you if your device is working. Have you checked signal strength for the HDHR device? Start watching a channel and go to my.hdhomerun.com and look at the device tuner status page, check each tuner to see the signal strength. You may have to start up different streams to see each tuner. Here is a screenshot of one of my devices/tuners.

The Connect doesn’t have a HW Trancoder. It does have a setting for Convert Video While Recording but it is a Transcode done on the server and is marked Experimental so I leave it set to Off. Including a screenshot which is from PMS Version 1.6.1. I recently switched back to this version since Plex was not utilizing my additional tuners for recordings. Issue basically was if I have more than 2 recordings scheduled, the 3rd, 4th, etc. recordings would fail. For some reason Plex won’t utilize any of the other 7 tuners available. I have 2 Connects, a Dual, and a Prime in my configuration.