Transcode error

Server Version#: 1.13.5.5332
Player Version#: 3.57.1
Qnap Server QTS 4.3.4

Hello,

since the last plex update, there is an “transcode error” while recording
Plex Media Server Logs_2018-09-24_06-31-15.zip (4.4 MB)
The recordings starts at 20:05
Any Ideas? What can i do?
Thx very much for help.

greets Michael

Michael,
Thank you for the logs with your OP. It is of great help.

You are using the Multimedia share on QNAP. This is the root of the problem. Multimedia is an application interface. It isn’t the real location of your media shares.

PMS doesn’t limit how many shares you can list. I strongly recommend you transition from using Multimedia to having PMS point to the real share locations for the media (e.g. /share/CACHEDEV1_DATA/bilder and /share/CACHEDEV1_DATA/Serien - Aufnahmen).

Do this by adding the actual locations first.
As you add, you will see PMS declare them as duplicates. This is expected and 100% normal.
After all real locations have been added, remove the MultiMedia share from the list.

PMS will scan one final time and all locations in the database will be the actual location.

When this is complete, please remember to:

  1. Empty Trash
  2. Clean Bundles
  3. Optimize Database
1 Like

Thank you very much for your answer.
But I do not really know what you mean.

Look at the screenshot:


“Multimedia” is the real share… Do i have to create another new share and copy the content into this new share?

Big thanks for your help.

Michael

Multimedia is an application. It presents itself as if it were a real share. The advisory to not use this is in the QNAP FAQ.

Here is how best to point PMS at your media. I show two methods.

After doing this, you will also need change your DVR recording share. It currently uses /share/MultiMedia . You will also need change these to the real shares.

O.K.
Now, making a new, empty folder. Only for testing.


Making a new record

Getting this error

That does not solve the problem.
Plex Media (5.2 MB)
Making something wrong?

Your LAN is IPv4. Please turn off IPv6 (Settings - Server - Network).
This is causing problems. PMS does not yet have full IPv6 support.

There was one recording attempt with low signal quality (No PPS in the video stream) and the transcoder failed on that.

I am also seeing a busy database.

Please:

  1. Empty Trash
  2. Clean Bundles
  3. Optimize Database
  4. Enable automatic database optimization in Settings - Server - Scheduled Tasks if not yet enabled.

Sorry to butt in, but this is my first time seeing this. I don’t see way go direct from “SHARE”. My media plays fine as far as I can tell. I created folders in the “MULTIMEDIA” folder that was on the QNAP when it was set up, is that the mistake? Am I creating new folders under share? Currently it looks like this:
image

If I try to go through share I get that codec string in it:
image

Just wondering what I’m missing before I transfer any more media and may have to re-do it. :frowning:

You should have real shares, which you created, where your media really is.

The “CodexPack” API (a program… not the real file system), nor “MultiMedia” (another program API) reflect truth.

Look at the path to it. It’s under .qpkg. This is where programs are hidden. You should not be there

PMS needs truth to work correctly.

Below is a sample of how I do it. I break everything out. You can do it with one share and subfolders… that’s fine

A raw directory listing looks like this:

[~] # cd /share/CACHEDEV2_DATA/
[/share/CACHEDEV2_DATA] # ls
4k/	     devel/	   h265/	    mytv/	robjim/        tv/	   videos/
AddShares*   development/  homes/	    nuc/	savemusic/     tv2/	   virtualbox/
animated/    documents/    hp8500/	    nzbdrone/	season/        tv3/	   vm/
aquota.user  Download/	   iphone/	    oldmusic/	seasonal/      tv-nodata/  vmhd/
backup/      dvr/	   ISO-test/	    pfsense/	smbtest/       uhd/	   vtmp/
bin/	     dvr-movies/   jazz/	    photo/	software/      url1.txt    win/
cakewalk/    dvr-tv/	   jellyfish/	    photos/	sonarr/        url2.txt    workstation/
channels/    escape/	   lost+found/	    plex/	support/       url3.txt*   w-test/
chuck/	     findall*	   md5sum_wien.txt  plexinc/	syno/	       url4.txt*
classical/   fix_season    mmg/		    primo/	systembackup/  usenet/
clean-mkv    gcc/	   movies/	    projects/	system.tar     usenet-hd/
debug/	     gdrive/	   movies2/	    public-hd/	testing/       users/
deefa/	     ghi/	   music/	    radarr/	torrent/       usrlocal/
dev/	     git/	   mymovies/	    request/	t-test/        vbox/
[/share/CACHEDEV2_DATA] # 

In “Shared Folders”, here’s what you see.

Thank you for the confirm! I created the folders in the already existing “Multimedia” folder, and then pointed PLEX to that so I shouldn’t have to redo my library. Which is good since I’ve been doing a ton of custom tagging and whatnot for “collections.”

When I look at the NAS using windows explorer the folders with the actual media also show in the “Multimedia” folder, no separate sharing thing.

Seeing the “Multimedia” thing scared me. :slight_smile:

CLARIYING:

Do not include what’s in MultiMedia.

  1. Make sure the NAS has Windows (SMB)

  2. Now you can, from Plex, find the /share/SHARE-NAME by browsing (or just typing in the name) in “Add Folders” in Plex. Do whichever is easiest for you

This is my Animated Library . Notice the path. It points directly to the real volume. /share/CACHEDEV2_DATA/animated and /share/animated are the same location. (linux trick).

Screenshot%20from%202018-09-25%2021-35-43

  1. Leave the existing MultiMedia reference there until AFTER you’ve added the real folder locations. This prevents your metadata from being deleted because it’s still “active”.

  2. After you’ve added the folders and saved , you will see your media show up as Duplicates (the “2” in the corner). This is expected and desired behavior.

  3. When all are complete, Now you can remove (delete) the reference to the MultiMedia folder(s).

  4. After it makes its last scan of everything,
    1 - Scan files
    2 - Empty Trash
    3 - Clean Bundles
    4 - Optimize Database

Okay

“Make sure the NAS has Windows (SMB)”

My NAS looks exactly as you have pictured.

For the second bit, None of my folders display direct from “Share” as you show. Where you have

" /share/CACHEDEV2_DATA/animated
I’m guessing you created your animated folder from that main CACHEDEV2_DATA directory?

I created all my folders inside a folder that displays as “Multimedia”. So my direct pointing in PLEX would be /share/CACHEDEV1_DATA/Multimedia/TV Shows. Where when I browse in the “ADD FOLDER” edit in PLEX, I never click on the ‘SHARE’ folder first, I click on the ‘CACHEDEV1_DATA’.

The folders with my media in them only show if I go through the CACHEDEV/MULTIMEDIA, or SHARE, and I’m going through the CACHEDEV1 so I think I’m okay?

If that MULTIMEDIA folder is a problem, then I’m going to have to move the media too a different folder, which I think screws me for losing my metadata work?

ADD ON: Sorry, I hope I’m making sense, I’m new to this NAS stuff and not sure of the terminology so I may be over-explaining. I really appreciate the help!

You’re making sense. I’m in sync now.

Going through /share/MultiMedia is an artificial interface. If you ever disable or update MultiMedia or the CodecPack, PMS will lose your media and metadata. We’ve seen it countless times. Warnings to this are in the QNAP FAQ.

Here’s what I recommend: ( I assume CACHEDEV1 is all your storage as one big block )

  1. Settings - Server - Library
  2. Disable “Automatically update my library when changes detected”
  3. Disable “Empty trash after each library scan”
    (this preserves everything while moving.
  4. Save the changes
  5. Stop PMS
  6. Create a “TV Shows” share on CACHEDEV1 and make it shareable to your windows computer. As you’re creating this share, you will see you can declare it as containing video (media). This is how the MultiMedia share is supposed to be used. Let it construct a virtual folder view of your media.
  7. In QNAP FileStation,
  8. Open the “TV Shows” folder in there,
  9. Highlight everything (each of your Series)
  10. Right-Click and Move to the “TV Shows” share. This won’t take long because moving in Linux is really a “rename” operation.
  11. When it’s done, open the new “TV Shows” share in FileStation and see everything there. This is your confirmation.
  12. Now Start PMS
  13. Edit the TV Shows Library
  14. ADD /share/CACHEDEV1_DATA/TV Shows by browsing to it (safest way)
  15. Save
  16. PMS will scan your TV shows.
  17. You see it mark each as having a duplicate. This is expected and desired
  18. When all scanning is done and you’ve verified it all shows as duplicates,
  19. Edit the Library again and delete the reference to the MultiMedia folder.
  20. Save
  21. It will scan one final time.
  22. You will see all the duplicate (2) flags being removed.
  23. When complete: Empty Trash, Clean Bundles, and Optimize Database

If you wish to move more libraries like this, move to the next one

When completed with all media relocation,

  1. Settings - Server - Library
  2. Enable “Automatically Update my Library when changes detected”
  3. Empty the trash after each scan.

You can perform one final Scan, Empty Trash, and Clean Bundles if you wish.

Now, MultiMedia is happy and PMS are happy.

As FINAL step, update the drive mapping in Windows to point to the new share for your TV shows :slight_smile:

I can’t thank you enough. I really appreciate the simple steps. Currently doing the moving. Tried it on a small folder that I had and seemed to work fine. All metadata transfered and the path is now “share/cached/movie” so I should finally be safe from future problems!

I will assume your actual path is /share/CACHEDEV1_DATA/movie :slight_smile:

I’m just making sure for those who may read this at some future date.

It is! I was being lazy. That’s the path.

Thanks again! :slight_smile:

1 Like

Now i have:
Checked IPv6. It was disabled.
emptied trash
optimized database
checked automatic database optimization. It was enabled.


Sorry, but the problem ist still alive :exploding_head:

Then sadly I must move your thread to the DVR/LiveTV area.

We have exhausted the obvious and now configured you for stable operation on QTS.

One last question. Where is your Transcoder temp pointed?

Intersting: Recording a single movie, there ist no problem




Recording a show/serie the recording is failed



Is this possibly a bug?

2 posts were split to a new topic: Scanner sees “@” directories on QNAP