DVR - There was a transcoder error. Logs included.

I am really getting tired of this.

I seem to have this happen all the time. Used to work without issue a few weeks ago.

get that all the time as well…

Likewise it happens all the dang time

Happened to me yesterday as well. I had 2 recordings scheduled:

  • 20:00-21:00 Our Wildest Dreams on Channel 4
  • 21:00-22:00 The Bridge on BBC Two

It recorded the first programme but I got the error of a failed recording for The Bridge:

May 11, 2018 21:00:00.591 [0x7fc47e712700] DEBUG - DVR:Grabber: Starting operation for 'The Bridge - E1 - Episode 1'.

May 11, 2018 21:00:00.594 [0x7fc47e712700] DEBUG - DVR:Grabber: Remote starting a media grab on device device://tv.plex.grabbers.tunerservice/dvb%23sat2ip%23uuid%3a546f6d62-000c-6c05-0ebc-656c6761746f (Elgato Systems GmbH EyeTV Netstream 4Sat, supported) tuner 0.

May 11, 2018 21:00:00.689 [0x7fc47e712700] DEBUG - DVR:Grabber: Waiting for a tuner (3 available).
May 11, 2018 21:00:00.689 [0x7fc47e712700] DEBUG - DVR:Grabber: Allocated a tuner (2 left)
May 11, 2018 21:00:00.690 [0x7fc47e712700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 11, 2018 21:00:00.690 [0x7fc47e712700] DEBUG - Selecting best audio stream for part ID -1 (autoselect: 1 language: en)
May 11, 2018 21:00:00.690 [0x7fc47e712700] DEBUG - We're going to try to auto-select a subtitle.
May 11, 2018 21:00:00.690 [0x7fc47e712700] DEBUG - Audio Stream: -1, Subtitle Stream: -1
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: Selected protocol hls; container: mpegts
May 11, 2018 21:00:00.691 [0x7fc47e712700] ERROR - Unable to find title for item of type 5
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: analyzing media item -1
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: : no direct play video profile exists for http/mpegts/
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: : no direct play video profile exists for http/mpegts//
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: : codec is unavailable for analysis
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: : codec is unavailable for analysis
May 11, 2018 21:00:00.691 [0x7fc47e712700] ERROR - Unable to find title for item of type 5
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - MDE: : selected media 0 / -1
May 11, 2018 21:00:00.691 [0x7fc47e712700] DEBUG - Cleaning directory for session 1242ae82-dbed-4c44-a4e6-b022874d05c0 ()
May 11, 2018 21:00:00.692 [0x7fc47e712700] DEBUG - Starting a transcode session 1242ae82-dbed-4c44-a4e6-b022874d05c0 at offset -1.0 (state=3)
May 11, 2018 21:00:00.692 [0x7fc47e712700] DEBUG - Streaming Resource: Added session 0x7fc48bf88be0:1242ae82-dbed-4c44-a4e6-b022874d05c0
May 11, 2018 21:00:00.695 [0x7fc47e712700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
May 11, 2018 21:00:00.696 [0x7fc47e712700] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
May 11, 2018 21:00:00.700 [0x7fc47e712700] DEBUG - Job running: EAE_ROOT='/volume1/Plex/tmp_transcoding/pms-39b9e721-337a-4a35-9ed4-d7d4f718214a/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Codecs/4b51335-1293-linux-ubuntu-x86_64/' XDG_CACHE_HOME='/volume1/Plex/Library/Application Support/Plex Media Server/Cache/' XDG_DATA_HOME='/volume1/@appstore/Plex Media Server/Resources/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/volume1/@appstore/Plex Media Server/Plex Transcoder' '-noaccurate_seek' '-ignore_unknown' '-scan_all_pmts' '-1' '-rw_timeout' '30000000' '-fflags' '+discardcorruptts+fillwallclockdts' '-i' 'http://127.0.0.1:32600/devices/dvb%23sat2ip%230%23uuid%3a546f6d62-000c-6c05-0ebc-656c6761746f/media/triplet%3A%2F%2F2%3A2050%3A6940?param=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Ctunedata%3E%3Ctt%3E1%3C%2Ftt%3E%3Cdq%3E0%3C%2Fdq%3E%3Cdr%2F%3E%3Cfr%3E10847000%3C%2Ffr%3E%3Cmd%3E1%3C%2Fmd%3E%3Csr%3E23000000%3C%2Fsr%3E%3Cpl%3E1%3C%2Fpl%3E%3Clf%3E9750000%3C%2Flf%3E%3Cl1%3E9750000%3C%2Fl1%3E%3Cl2%3E10600000%3C%2Fl2%3E%3Cls%3E11700000%3C%2Fls%3E%3Cpp%3E0%3C%2Fpp%3E%3Chz%3E0%3C%2Fhz%3E%3Cin%3E0%3C%2Fin%3E%3Cfc%3E35%3C%2Ffc%3E%3Ct%3E2050%3C%2Ft%3E%3Cn%3E2%3C%2Fn%3E%3Cs%3E6940%3C%2Fs%3E%3Cen%3E0%3C%2Fen%3E%3C%2Ftunedata%3E%0A' '-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_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/1242ae82-dbed-4c44-a4e6-b022874d05c0/38aaba68-25a0-4e0d-9ff7-21620480bae3/seglist' '-segment_list_type' 'csv' '-segment_list_size' '2147483647' '-segment_list_separate_stream_times' '1' '-max_delay' '5000000' '-map_metadata' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/1242ae82-dbed-4c44-a4e6-b022874d05c0/38aaba68-25a0-4e0d-9ff7-21620480bae3/progress'

May 11, 2018 21:00:30.704 [0x7fc47e712700] ERROR - DVR:Recorder: Part didn't have an audio or a video stream.
May 11, 2018 21:00:30.704 [0x7fc47e712700] ERROR - DVR:Recorder: Error 12 (There was a transcoder error) starting the record, shutting things down.
May 11, 2018 21:00:30.704 [0x7fc47e712700] DEBUG - MediaRecorderVirtual: setting stop time to 1526068830
May 11, 2018 21:00:30.704 [0x7fc47e712700] DEBUG - DVR:Recorder: Asked to stop recording 'The Bridge - E1 - Episode 1'.
May 11, 2018 21:00:30.704 [0x7fc47e712700] DEBUG - DVR:Recorder: Stopping transcode session.

Logs attached.

I get this error on every single recording now.

What version of PMS is everybody on? I was on 1.12.3 but upgraded to 1.13.0 yesterday. I never had any recording issues with 1.12.3.

I’m on 1.13.0.5023 but started having the issue over two weeks ago. I updated PMS in the hope the issue would be fixed but no luck so far…

I am on the latest version but I have had this happen off and on with every version. I have done a lot of things to my setep that have improved things but this does still happen every now and then. I also still get the issue where it records but gets stuck at 100%. They said they fixed that last fall but it still happens to me. I can’t get through an entire week without it doing one of these two things. I will say that this latest updates seems to have fixed the issue I was having where Live TV would just stop working in the middle of watching it. That is a positive step.

When this happens I just reboot or unplug the USB tuner and plug it back in and it will all start working again.

Just had another instance of this issue. Again it was where recordings were scheduled back-to-back. I wonder if this is what’s causing the issue.

May 12, 2018 21:00:30.775 [0x7fc486a6b700] ERROR - DVR:Recorder: No part because session isn't reporting one.
May 12, 2018 21:00:30.775 [0x7fc486a6b700] ERROR - DVR:Recorder: Couldn't obtain a part, something went wrong.
May 12, 2018 21:00:30.775 [0x7fc486a6b700] ERROR - DVR:Recorder: Error 12 (There was a transcoder error) starting the record, shutting things down.

So far it’s been working for me again since 12 MAY. I had another set of back-to-back recordings but they recorded fine.

It happened to me again today. It recorded one show this morning and then I got the error. I actually made through all last week with no issues. Latest version of Plex on W10.

I had hoped that the latest version (v1.13.1.5063-b4605f76e) would alleviate the errors…

Still there…

…snippet…

Line 10894: May 22, 2018 06:06:57.979 [113172] ERROR - [Transcoder] [stream_segment,ssegment @ 00e8e700] Failed to open segment list 'http://127.0.0.1:32400/video/:/transcode/session/95644c01-4804-4852-b0d2-1990b65b1580/4e9e8c9f-2a80-4ff9-9deb-780217fd0a0f/seglist'
	Line 10895: May 22, 2018 06:06:57.994 [110044] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
	Line 10895: May 22, 2018 06:06:57.994 [110044] ERROR - [Transcoder] av_interleaved_write_frame(): Unknown error
	Line 10896: May 22, 2018 06:06:58.005 [113172] ERROR - [Transcoder] Error writing trailer of media-%05d.ts: Invalid argument
	Line 10896: May 22, 2018 06:06:58.005 [113172] ERROR - [Transcoder] Error writing trailer of media-%05d.ts: Invalid argument
	Line 10920: May 22, 2018 06:06:58.584 [106816] DEBUG - DVR:Grabber: Recording for 'CBS 11 News This Morning at 6AM - Episode 05-22' stopped with status error.
	Line 11085: May 22, 2018 06:07:17.832 [111944] DEBUG - DVR:Grabber: Operation for CBS 11 News This Morning at 6AM - Episode 05-22 completed with status error (There was a transcoder error)
	Line 11085: May 22, 2018 06:07:17.832 [111944] DEBUG - DVR:Grabber: Operation for CBS 11 News This Morning at 6AM - Episode 05-22 completed with status error (There was a transcoder error)

It just happened again - interestingly, it’s the very same programme that failed to record on 11 MAY.

@mw4925 If you’re seeing it consistently from the same program, would you be able to grab a raw capture of the stream from that tuner next time that show is on, and post it please?

@DaveBinM How do I grab a raw capture of the stream?

@mw4925 What platform are you on? (Not so much for your server, but just your everyday machine)

You can see my Plex environment from my signature; my main computer is an iMac but I also have Windows 10 (work laptop) and Linux (ubuntu and raspi) systems.

@mw4925

If you use your iMac, you should be able to use the below steps.

  1. Restart your server, and allow the EPG to load (if it’s been ~18 hours since a server restart)

  2. If you had the EPG reload, then restart your server again (this keeps the logs clean, as there won’t be the EPG refresh this time) - otherwise you can skip this step

  3. Start a direct .ts sample from the tuner. You can do this by using a command in terminal such as:
    curl http://tunerip:port/auto/channel > /users/outputpath/plexSamples/samplefile.ts
    (You can copy the tuner URL bit from your logs, if it helps)

  4. Start a recording in PMS of a problematic channel/show

  5. Cancel the recording after a minute or so

  6. Stop the direct capture from the tuner

  7. Download the complete logs from the server

  8. Zip up the logs, the direct sample from the tuner, and the recording from PMS, and post them here (tag me to make sure I see them)