Error transcoding live tv from HD home run Windows Server and NAS OS

Server Version#: 1.41.5.9522
Player Version#:7.31.7.9854
Mar 29, 2025 13:43:35.727 [15812] DEBUG - [Req#c9/Transcode] TranscodeUniversalRequest: using augmented profile Roku-7.x
Mar 29, 2025 13:43:35.727 [15812] DEBUG - [Req#c9/Transcode] Downloading document http://127.0.0.1:32400/livetv/sessions/3ac9cd36-7c06-42b1-93b3-15976787429d?includeBandwidths=1&offset=0&X-Plex-Client-Capabilities=videoDecoders%3Dh264{profile%3Ahigh%26resolution%3A1080%26level%3D41}%3BaudioDecoders%3Daac{channels%3A2}%2Cac3{channels%3A6}%2Ceac3{channels%3A8}&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=bb93f9beac9213ef3fba97ebe5d6524f
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] We’re going to try to auto-select an audio stream for account 1.
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] Selecting best audio stream for part ID 2526 (language: )
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] We’re going to try to auto-select a subtitle for account 1.
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] Selected a foreign audio track:
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] Subtitles: Found a candidate subtitle language for a foreign film
Mar 29, 2025 13:43:35.733 [15812] DEBUG - [Req#c9/Transcode] Audio Stream: 8196, Subtitle Stream: 8198
Mar 29, 2025 13:43:35.734 [15812] DEBUG - [Req#c9/Transcode] Codecs: testing h264_qsv (encoder)
Mar 29, 2025 13:43:35.735 [15812] DEBUG - [Req#c9/Transcode] Codecs: hardware transcoding: testing API qsv for device ‘hw_any’ (Intel(R) Iris(R) Xe Graphics)
Mar 29, 2025 13:43:35.739 [15812] INFO - [Req#c9/Transcode] [FFMPEG] - Using device 8086:9a49 (Intel(R) Iris(R) Xe Graphics).
Mar 29, 2025 13:43:36.165 [2484] DEBUG - [Req#cb/Transcode/3ac9cd36-7c06-42b1-93b3-15976787429d/32f6683f-eb5f-4079-91ce-1f31826e3db4] Transcoder segment range: 0 - 7 (7)
Mar 29, 2025 13:43:36.166 [2484] DEBUG - [Req#d0/Transcode/3ac9cd36-7c06-42b1-93b3-15976787429d/32f6683f-eb5f-4079-91ce-1f31826e3db4] Transcoder segment range: 0 - 8 (7)
Mar 29, 2025 13:43:36.311 [15812] DEBUG - [Req#c9/Transcode] Codecs: testing aac_mf (encoder)
Mar 29, 2025 13:43:36.320 [15812] INFO - [Req#c9/Transcode] [FFMPEG] - MFT name: ‘Microsoft AAC Audio Encoder MFT’
Mar 29, 2025 13:43:36.339 [15812] ERROR - Got exception from request handler: Invalid argument
Mar 29, 2025 13:43:36.339 [16448] DEBUG - Completed: [192.168.4.26:45336] 500 GET /video/:/transcode/universal/decision?protocol=hls&mediaIndex=0&waitForSegments=1&autoAdjustSubtitle=1&session=3f518a6e-b18a-4ace-8a5c-f7721535b26e-2580&mediaBufferSize=50000&offset=0&partIndex=0&location=lan&directPlay=0&path=%2Flivetv%2Fsessions%2F3ac9cd36-7c06-42b1-93b3-15976787429d&directStream=1&hasMDE=1&skipSubtitles=1 (15 live) #c9 TLS GZIP 617ms 405 bytes (pipelined: 2)
Mar 29, 2025 13:43:36.497 [2980] DEBUG - Request: [192.168.4.26:45336 (Subnet)] GET /tv.plex.providers.epg.cloud:9/hubs/channels/recent

It will not stream on either roku or Android Tablet

uploaded logs
Plex Media Server Logs_2025-03-29_14-01-56.zip (707.0 KB)

Same HERE! @ChuckPa

It happend to me when changing SSD. I had 1TB SSD on Synology NAS with Plex where I could play my own stream on Live TV. Now, I replaced for a 4TB SSD and copied all Plex folders but I get that 500 GET when trying to play the stream. As I could see on my old Plex when was transcoding it created two folders on Cache/Sessions but on the new Plex it can just create one folder and that 500 GET seems to be because can’t create and get that other folder. The folders had the names as “xxxxx” like session=xxxx and path=/livetv/session/xxxxx that are on the URL.

On Android TV I can play the stream because is directPlay but on iOS it tries to transcode and happens what @blaineboyland shows on the logs.
Weird because I could make it work on my old Plex and here I have exactly the same and it doesn’t work. Can it be something related to permissions or SSL certificate?

Thanks!

“Copied” ?

More details please. what did you copy ? Media or PlexMediaServer?
Permissions ?

I copy/pasted both folders from old SSD to new SSD to keep config set and movies/series.

Right now I gave all the permissions to these folders.

Thanks!

I also tried this:

https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

But I’m getting the same error when trying to transcoding.

Not working:

Jun 10, 2025 01:12:18.571 [140584606985016] DEBUG - [Req#3bd/Transcode] TranscodeUniversalRequest: using augmented profile Generic
Jun 10, 2025 01:12:18.571 [140584606985016] DEBUG - [Req#3bd/Transcode] Downloading document http://127.0.0.1:32400/livetv/sessions/0e68830e-e895-413d-b6cf-d9d1f9e9f59a?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=E59E847E-2AAC-4637-987D-1FA55190C556
Jun 10, 2025 01:12:18.575 [140584606985016] DEBUG - [Req#3bd/Transcode] We're going to try to auto-select an audio stream for account 1.
Jun 10, 2025 01:12:18.575 [140584606985016] DEBUG - [Req#3bd/Transcode] Selecting best audio stream for part ID 446 (language: es)
Jun 10, 2025 01:12:18.575 [140584606985016] DEBUG - [Req#3bd/Transcode] We're going to try to auto-select a subtitle for account 1.
Jun 10, 2025 01:12:18.575 [140584606985016] DEBUG - [Req#3bd/Transcode] Audio Stream: 1006, Subtitle Stream: -1
Jun 10, 2025 01:12:18.575 [140584606985016] VERBOSE - [Req#3bd/Transcode] It took 0.0 sec to serialize a list with 1 elements.
Jun 10, 2025 01:12:18.576 [140584606985016] DEBUG - [Req#3bd/Transcode] Codecs: testing h264_vaapi (encoder)
Jun 10, 2025 01:12:18.576 [140584606985016] DEBUG - [Req#3bd/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (Intel HD Graphics 500)
Jun 10, 2025 01:12:18.577 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - libva: VA-API version 1.21.0
Jun 10, 2025 01:12:18.577 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - libva: User requested driver 'i965'
Jun 10, 2025 01:12:18.577 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - libva: Trying to open /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/va-dri-linux-x86_64/i965_drv_video.so
Jun 10, 2025 01:12:18.577 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - libva: Found init function __vaDriverInit_1_21
Jun 10, 2025 01:12:18.578 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - libva: va_openDriver() returns 0
Jun 10, 2025 01:12:18.578 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Initialised VAAPI connection: version 1.21
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jun 10, 2025 01:12:18.578 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - VAAPI driver: Intel i965 driver for Intel(R) Broxton - 2.4.1.
Jun 10, 2025 01:12:18.578 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Driver not found in known nonstandard list, using standard behaviour.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Created surface 0x4000000.
Jun 10, 2025 01:12:18.578 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Direct mapping possible.
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Input surface format is nv12.
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Using VAAPI profile VAProfileH264High (7).
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Using VAAPI entrypoint VAEntrypointEncSlice (6).
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Using VAAPI render target format YUV420 (0x1).
Jun 10, 2025 01:12:18.579 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Driver supports RC modes CQP, CBR, VBR.
Jun 10, 2025 01:12:18.579 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Driver does not support ICQ RC mode.
Jun 10, 2025 01:12:18.579 [140584606985016] WARN - [Req#3bd/Transcode] [FFMPEG] - No quality level set; using default (20).
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - RC mode: CQP.
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - RC quality: 20.
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - RC framerate: 30/1 (30.00 fps).
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Driver does not report any additional prediction constraints.
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Using intra, P- and B-frames (supported references: 4 / 1).
Jun 10, 2025 01:12:18.579 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - All wanted packed headers available (wanted 0xd, found 0x1f).
Jun 10, 2025 01:12:18.579 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Using nv12 as format of reconstructed frames.
Jun 10, 2025 01:12:18.579 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Created surface 0x4000001.
Jun 10, 2025 01:12:18.579 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Direct mapping possible.
Jun 10, 2025 01:12:18.580 [140584606985016] DEBUG - [Req#3bd/Transcode] [FFMPEG] - Using fixed QP = 20 / 20 / 24 for IDR- / P- / B-frames.
Jun 10, 2025 01:12:18.580 [140584606985016] VERBOSE - [Req#3bd/Transcode] [FFMPEG] - Using level 3.1.
Jun 10, 2025 01:12:18.581 [140584606985016] ERROR - Got exception from request handler: Invalid argument
Jun 10, 2025 01:12:18.582 [140584651447096] DEBUG - Completed: [192.168.1.98:49910] 500 GET /video/:/transcode/universal/decision?directPlay=0&directStream=0&directStreamAudio=1&protocol=hls&fastSeek=1&path=%2Flivetv%2Fsessions%2F0e68830e-e895-413d-b6cf-d9d1f9e9f59a&session=ba8fe974-336b-46d6-ac4a-d3dc00b80aaf&mediaIndex=0&partIndex=0&mediaBufferSize=50000&hasMDE=1&subtitleSize=0&videoQuality=100&videoResolution=&audioBoost=100&autoAdjustSubtitle=0&subtitles=none&location=lan (11 live) #3bd TLS GZIP 11ms 450 bytes (pipelined: 7)

Working:

Jun 11, 2025 01:21:09.626 [140433863826232] DEBUG - [Req#869/Transcode] TranscodeUniversalRequest: using augmented profile Generic
Jun 11, 2025 01:21:09.626 [140433863826232] DEBUG - [Req#869/Transcode] Downloading document http://127.0.0.1:32400/livetv/sessions/62624707-d75c-47c6-b4ad-33273f62aa95?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=E59E847E-2AAC-4637-987D-1FA55190C556
Jun 11, 2025 01:21:09.630 [140433863826232] DEBUG - [Req#869/Transcode] We're going to try to auto-select an audio stream for account 1.
Jun 11, 2025 01:21:09.630 [140433863826232] DEBUG - [Req#869/Transcode] Selecting best audio stream for part ID 396 (language: es)
Jun 11, 2025 01:21:09.630 [140433863826232] DEBUG - [Req#869/Transcode] We're going to try to auto-select a subtitle for account 1.
Jun 11, 2025 01:21:09.630 [140433863826232] DEBUG - [Req#869/Transcode] Audio Stream: 907, Subtitle Stream: -1
Jun 11, 2025 01:21:09.631 [140433863826232] DEBUG - [Req#869/Transcode] Codecs: testing h264_vaapi (encoder)
Jun 11, 2025 01:21:09.631 [140433863826232] DEBUG - [Req#869/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (Intel HD Graphics 500)
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Created surface 0x4000000.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Direct mapping possible.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Driver supports RC modes CQP, CBR, VBR.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Driver does not support ICQ RC mode.
Jun 11, 2025 01:21:09.649 [140433863826232] WARN - [Req#869/Transcode] [FFMPEG] - No quality level set; using default (20).
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Using nv12 as format of reconstructed frames.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Created surface 0x4000001.
Jun 11, 2025 01:21:09.649 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Direct mapping possible.
Jun 11, 2025 01:21:09.651 [140433863826232] DEBUG - [Req#869/Transcode] [FFMPEG] - Using fixed QP = 20 / 20 / 24 for IDR- / P- / B-frames.
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Selected protocol hls; container: mpegts
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: analyzing media item 396
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión: Direct Play is disabled
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión: no direct play video profile exists for hls/mpegts/h264
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión: no direct play video profile exists for hls/mpegts/h264/aac
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión: Direct Streaming is disabled, so video stream will be transcoded
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión: no remuxable profile found, so video stream will be transcoded
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] MDE: Fin de emisión - Fin de emisión: selected media 0 / 396
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] Streaming Resource: Adding session 0x7fb94e13bfd8:E59E847E-2AAC-4637-987D-1FA55190C556 which is using transcoder slot.  Used slots is now 1
Jun 11, 2025 01:21:09.652 [140433863826232] DEBUG - [Req#869/Transcode] Streaming Resource: Added session 0x7fb94e13bfd8:E59E847E-2AAC-4637-987D-1FA55190C556
Jun 11, 2025 01:21:09.653 [140433863826232] DEBUG - [Req#869/Transcode] Streaming Resource: Reached Decision id=328 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=396 part=(id=396 decision=transcode container=mpegts protocol=hls streams=(Video=(id=906 decision=transcode bitrate=2147483647 encoder=h264_vaapi width=1280 height=720) Audio=(id=907 decision=copy channels=2 rate=48000))))
Jun 11, 2025 01:21:09.654 [140433882360632] DEBUG - Completed: [192.168.1.98:49681] 200 GET /video/:/transcode/universal/decision?directPlay=0&directStream=0&directStreamAudio=1&protocol=hls&fastSeek=1&path=%2Flivetv%2Fsessions%2F62624707-d75c-47c6-b4ad-33273f62aa95&session=8144e379-ae1a-4df4-9465-1205ec9f5236&mediaIndex=0&partIndex=0&mediaBufferSize=50000&hasMDE=1&subtitleSize=0&videoQuality=100&videoResolution=&audioBoost=100&autoAdjustSubtitle=0&subtitles=none&location=lan (11 live) #869 TLS GZIP 33ms 1266 bytes (pipelined: 6)

FIXED!

Seems to be fixed by applying ffmpeg command parameters on the stream at the TV Tunner.

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.