[Support] Josh5 - Unmanic - Library Optimiser


1052 posts in this topic Last Reply

Recommended Posts

New Zealand.

 

So, I've pushed x3 new features today...

 

Quicksync HW Encoding (VAAPI) support.
Quicksync was not fully enabled after the NVIDIA encoding feature was added a few months back. It was missing some testing and additional configurations. I finally managed to get my hands on an Intel laptop a couple of months back, so I was able to finally finish that part off.

There are no configuration options at the moment for HW decoding, but I think I would like to get around to that some time also. However, there is now a way you can configure Intel decoding and encoding if you know what you are doing (keep reading below)

 

Task lists are now read from the database.

This is a big update. If anyone's install breaks because of this change... sorry. Basically, all the "lists" are now inserted and selected from the SQLite DB. This change required a decent overhaul of the way the application passes tasks around to the workers and post-processor etc. Now that this change has been implemented, it will be possible to add features to move items around in the task list or set priority on items. This is what I want to move onto next.

This was the last big change that I had to implement before moving from "beta". It is the last change that I have on my milestones that would break anyone's configuration and cause them to need to delete the database and start fresh. So now that this is done, I should be moving this out of beta and expanding it to other forums.

 

Advanced FFMPEG Options.

This is something that users that want to get their hands dirty may particularly enjoy. I often see posts wishing Unmanic could give them more control over how it was transcoding their library. Even recently I have seen a post here wondering what the FFMPEG arguments were that Unmanic were executing.

image.thumb.png.0fa15c3c0eb30809183e3548624780e0.png

In settings you will now find a fifth tab - "Advanced Options". This tab will give you a print out example of what FFMPEG will be run on your video files as well as a text input box for adding your own custom FFMPEG Options. For those of you who can be bothered reading the FFMPEG docs, you may find some ways to further improve the command.

For now, this "Custom FFMPEG Options" field will also be a requirement to get the Intel VAAPI encoders working. It requires these two params to be added:

-vaapi_device /dev/dri/renderD128
-vf format=nv12|vaapi,hwupload 

If this is to difficult for people, I will eventually come up with a way for these to be automatically populated when one of the vaapi encoders is selected. But that is a low priority. It's time to get onto some front-end improvements.

I will add instructions on the first post for setting this up.

 

Sorry for the seemingly lack of development people. I have far from given up on this application. I quite enjoy it.

I have been slowly working on it this year. Unfortunately, earlier this year when we finished our lock-down here in NZ, my workload increased as we went into catch-up mode at my day job. Its been the busiest year form me.

 

My next goal is to give us some ability to sort the pending tasks list and blacklist any files that are constantly failing.

 

Hopefully some people get some good use out of this last update with quicksync.

 

 

 

Cheers

Link to post
  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: UNMANIC - Library Optimiser Application Site: https://github.com/Unmanic/unmanic/ Docker Hub: https://hub.docker.com/r/josh5/unmanic/ Github: https://github.com/Unmani

@Ashe @trekkiedj @itimpi   Please see update first post also for an example of how I have it setup. I have also added a temporary solution to adding multiple library locations if anyone need

There should be a new update available. This has quite a number of changes to how ffmpeg is executed. It should resolve some issues with inotify and library scanning. For those people who created

Posted Images

24 minutes ago, eagle470 said:

@Josh.5 I've been unable to get unmanic to work even after a total re-install (it was previously working) everything faills with ffmpeg commands no output, with not further information even when debugging is enabled now.

What errors are you seeing in the ffmpeg logs (not unmanics logs)? Since you have dubugging turned on, the ffmpeg logs will be saved. They will appear under details of task if you go to the history page.

 

It just so happens that I've accidentally forgotten to turn off debugging on the ffmpeg logs (woops), so you should see a decent amount of information there.

Link to post

I am also having the same problem. It is not working at all after updating and has been running fine since February or so previous to this.

 

I think the new update has broken something. The logs show something about the database being locked over and over.

 

I tried running a "PRAGMA integrity_check" against the db, which came back "ok". I also tried doing a dump and importing back into a new DB. Neither resolved the issue.

 

[E 201021 11:40:53 web:1788] Uncaught exception GET /dashboard/?ajax=pendingTasks&format=html (192.168.1.14)
HTTPServerRequest(protocol='http', host='192.168.1.10:8888', method='GET', uri='/dashboard/?ajax=pendingTasks&format=html', version='HTTP/1.1', remote_ip='192.168.1.14')

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: database is locked

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1697, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 59, in get
self.handle_ajax_call(self.get_query_arguments('ajax')[0])
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 77, in handle_ajax_call
self.render("main/main-pending-tasks.html", time_now=time.time())
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 856, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1005, in render_string
return t.generate(**namespace)
File "/usr/local/lib/python3.6/dist-packages/tornado/template.py", line 361, in generate
return execute()
File "main/main-pending-tasks_html.generated.py", line 5, in _tt_execute
for pending_task in handler.get_pending_tasks(): # main/main-pending-tasks.html:4
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 103, in get_pending_tasks
return self.foreman.task_queue.list_pending_tasks(limit)
File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/taskqueue.py", line 171, in list_pending_tasks
if results:
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1987, in __len__
self._ensure_execution()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1969, in _ensure_execution
self.execute()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1886, in inner
return method(self, database, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1957, in execute
return self._execute(database)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2129, in _execute
cursor = database.execute(self)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3112, in execute
return self.execute_sql(sql, params, commit=commit)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3106, in execute_sql
self.commit()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2873, in __exit__
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 183, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked

 

Edited by Transient
Link to post

I passed through the extra argument in docker and also set up the extra parameters under custom ffmpeg options, however I'm still unable to utilize quicksync on my intel 9900k:

 

[AVHWDeviceContext @ 0x5598b9761a00] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[AVHWDeviceContext @ 0x5598b9761a00] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error
Error parsing global options: Input/output error

 

Any ideas?

Link to post
7 hours ago, Josh.5 said:

My next goal is to give us some ability to sort the pending tasks list and blacklist any files that are constantly failing.

First, thanks for the update - much appreciated!

Seccond, the above would be very cool. Appreciate all the work here - Thank you!

Link to post

Getting same error as others:
 

[E 201021 13:43:22 web:1788] Uncaught exception GET /dashboard/?ajax=pendingTasks&format=html (10.100.0.112)
HTTPServerRequest(protocol='http', host='xx', method='GET', uri='/dashboard/?ajax=pendingTasks&format=html', version='HTTP/1.1', remote_ip='xx')

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: database is locked

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1697, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 59, in get
self.handle_ajax_call(self.get_query_arguments('ajax')[0])
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 77, in handle_ajax_call
self.render("main/main-pending-tasks.html", time_now=time.time())
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 856, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1005, in render_string
return t.generate(**namespace)
File "/usr/local/lib/python3.6/dist-packages/tornado/template.py", line 361, in generate
return execute()
File "main/main-pending-tasks_html.generated.py", line 5, in _tt_execute
for pending_task in handler.get_pending_tasks(): # main/main-pending-tasks.html:4
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 103, in get_pending_tasks
return self.foreman.task_queue.list_pending_tasks(limit)
File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/taskqueue.py", line 171, in list_pending_tasks
if results:
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1987, in __len__
self._ensure_execution()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1969, in _ensure_execution
self.execute()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1886, in inner
return method(self, database, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1957, in execute
return self._execute(database)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2129, in _execute
cursor = database.execute(self)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3112, in execute
return self.execute_sql(sql, params, commit=commit)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3106, in execute_sql
self.commit()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2873, in __exit__
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 183, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked

was working flawlessly for months.

 

I went and wiped my install because it didn't matter too much what I had already encoded.  

 

 

Also getting this error still:

[2020-10-21 16:42:12,454 pyinotify WARNING] Event queue overflowed.
[W 201021 16:42:12 pyinotify:929] Event queue overflowed.

 


Version - 0.0.1-beta7+752a414

 

 

The workers are hit/miss when it decides to pickup and work on a file.  UnManiac is not grabbing/converting my mp4's into mkvs like it once did.   Not sure what broke and why it's not forcing converting them as I have all the flags set.

 

 

Here is the error log/output of one of the files I'm trying to convert:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c3374e3880] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/library/xxx/Project A (1983)/Project A [1080p].mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2019-12-25T02:24:21.000000Z
    title           : Project.A.1983.1080p.BluRay.H264.AC3,DD5.1
    artist          : 
    album           : 
    comment         : 
    encoder         : DVDFab 11.0.4.2
  Duration: 01:45:38.02, start: 0.000000, bitrate: 5539 kb/s
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(bt709), 1920x808 [SAR 1:1 DAR 240:101], 4890 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2019-12-25T02:24:21.000000Z
      encoder         : JVT/AVC Coding
    Stream #0:1(zho): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      creation_time   : 2019-12-25T02:24:21.000000Z
    Side data:
      audio service type: main
    Stream #0:2(eng): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 7 kb/s (default)
    Metadata:
      creation_time   : 2019-12-25T02:24:21.000000Z
    Stream #0:3: Video: png, rgba(pc), 640x269, 90k tbr, 90k tbn, 90k tbc (attached pic)
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 0, only the last option '-c:v libx265' will be used.
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 1, only the last option '-c:v libx265' will be used.
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
  Stream #0:3 -> #0:1 (png (native) -> hevc (libx265))
  Stream #0:1 -> #0:2 (copy)
  Stream #0:2 -> #0:3 (dvd_subtitle (dvdsub) -> subrip (srt))
Subtitle encoding currently only possible from text to text or bitmap to bitmap

 

.  I turned on debug and reduced my scanning to genre's instead of my entire multi-TB movie directory.  Is there an upper limit on files that python says "Too many files, can't process"

 

 

 

 

Edited by CyrixDX4
more info
Link to post

I've got a fun one, figure out my bIOS update had turned off CPU VIrtualization, that was the whole problem there. Now I've got a REAL FFMPEG issue:

[matroska,webm @ 0x55c6f8ce10c0] Could not find codec parameters for stream 1 (Video: h264, none(pc, progressive), 480x480): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/library/*.mkv':
  Metadata:
    title           :
    ITUNEXTC        : us-tv|TV-PG|400|
    MAJOR_BRAND     : mp42
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: mp42isom
    SYNOPSIS        : 
    ARTIST          : 
    ALBUM           : 
    GENRE           : Comedy
    track           : 12/13
    DISC            : 1/1
    COMPILATION     : 0
    DATE            : 
    DESCRIPTION     : 
    HD_VIDEO        : 2
    SHOW            : 
    EPISODE_ID      : 1ABF12
    SEASON_NUMBER   : 1
    EPISODE_SORT    : 12
    MEDIA_TYPE      : 10
    PURCHASE_DATE   : 
    SORT_NAME       : 
    SORT_ALBUM      : 
    SORT_ARTIST     : 
    ENCODER         : Lavf58.20.100
  Duration: 00:23:12.54, start: 0.000000, bitrate: 4192 kb/s
    Stream #0:0(eng): Video: h264, yuv420p(progressive), 1916x1076 [SAR 1:1 DAR 479:269], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      ENCODER         : Lavc58.35.100 libx264
      DURATION        : 00:23:12.539000000
    Stream #0:1: Video: h264, none(pc, progressive), 480x480, SAR 1:1 DAR 1:1, 1k tbr, 1k tbn, 2k tbc
    Metadata:
      ENCODER         : Lavc58.35.100 libx264
      DURATION        : 00:00:00.021000000
    Stream #0:2(eng): Audio: aac, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:23:12.490000000
    Stream #0:3(eng): Audio: aac, 48000 Hz, stereo, fltp
    Metadata:
      ENCODER         : Lavc58.35.100 aac
      DURATION        : 00:23:12.533000000
    Stream #0:4(eng): Audio: aac, 48000 Hz, stereo, fltp
    Metadata:
      title           : 'Stereo'
      ENCODER         : Lavc58.35.100 aac
      DURATION        : 00:23:12.533000000
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:1 -> #0:1 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
frame=   77 fps= 65 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
frame=  167 fps= 99 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
Too many packets buffered for output stream 0:3.
Conversion failed!

Link to post
8 hours ago, Transient said:

I am also having the same problem. It is not working at all after updating and has been running fine since February or so previous to this.

 

I think the new update has broken something. The logs show something about the database being locked over and over.

 

I tried running a "PRAGMA integrity_check" against the db, which came back "ok". I also tried doing a dump and importing back into a new DB. Neither resolved the issue.

 


[E 201021 11:40:53 web:1788] Uncaught exception GET /dashboard/?ajax=pendingTasks&format=html (192.168.1.14)
HTTPServerRequest(protocol='http', host='192.168.1.10:8888', method='GET', uri='/dashboard/?ajax=pendingTasks&format=html', version='HTTP/1.1', remote_ip='192.168.1.14')

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: database is locked

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1697, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 59, in get
self.handle_ajax_call(self.get_query_arguments('ajax')[0])
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 77, in handle_ajax_call
self.render("main/main-pending-tasks.html", time_now=time.time())
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 856, in render
html = self.render_string(template_name, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1005, in render_string
return t.generate(**namespace)
File "/usr/local/lib/python3.6/dist-packages/tornado/template.py", line 361, in generate
return execute()
File "main/main-pending-tasks_html.generated.py", line 5, in _tt_execute
for pending_task in handler.get_pending_tasks(): # main/main-pending-tasks.html:4
File "/usr/local/lib/python3.6/dist-packages/unmanic/webserver/main.py", line 103, in get_pending_tasks
return self.foreman.task_queue.list_pending_tasks(limit)
File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/taskqueue.py", line 171, in list_pending_tasks
if results:
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1987, in __len__
self._ensure_execution()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1969, in _ensure_execution
self.execute()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1886, in inner
return method(self, database, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 1957, in execute
return self._execute(database)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2129, in _execute
cursor = database.execute(self)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3112, in execute
return self.execute_sql(sql, params, commit=commit)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3106, in execute_sql
self.commit()
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 2873, in __exit__
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 183, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/dist-packages/peewee.py", line 3099, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked

 

I've pushed an update to fix these sorts of errors.

 

Link to post
8 hours ago, CyrixDX4 said:

 

Also getting this error still:

[2020-10-21 16:42:12,454 pyinotify WARNING] Event queue overflowed.
[W 201021 16:42:12 pyinotify:929] Event queue overflowed.


Version - 0.0.1-beta7+752a414

 

.  I turned on debug and reduced my scanning to genre's instead of my entire multi-TB movie directory.  Is there an upper limit on files that python says "Too many files, can't process"

 

 

 

Yes. Inotify has an upper limit on the number of files that it can monitor. This is a Linux kernel feature, not a Python module or Unmanic feature. I just checked my Unraid and it is set to 16384 files for "max_user_watches". If you want to be able to extend inotify to do this, you will need to increase this setting in Unraid.

 

For more info on how to do that, I'd recommend googling something like "increasing inotify max_user_watches events"

Link to post
6 hours ago, eagle470 said:

I've got a fun one, figure out my bIOS update had turned off CPU VIrtualization, that was the whole problem there. Now I've got a REAL FFMPEG issue:

[matroska,webm @ 0x55c6f8ce10c0] Could not find codec parameters for stream 1 (Video: h264, none(pc, progressive), 480x480): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/library/*.mkv':
  Metadata:
    title           :
    ITUNEXTC        : us-tv|TV-PG|400|
    MAJOR_BRAND     : mp42
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: mp42isom
    SYNOPSIS        : 
    ARTIST          : 
    ALBUM           : 
    GENRE           : Comedy
    track           : 12/13
    DISC            : 1/1
    COMPILATION     : 0
    DATE            : 
    DESCRIPTION     : 
    HD_VIDEO        : 2
    SHOW            : 
    EPISODE_ID      : 1ABF12
    SEASON_NUMBER   : 1
    EPISODE_SORT    : 12
    MEDIA_TYPE      : 10
    PURCHASE_DATE   : 
    SORT_NAME       : 
    SORT_ALBUM      : 
    SORT_ARTIST     : 
    ENCODER         : Lavf58.20.100
  Duration: 00:23:12.54, start: 0.000000, bitrate: 4192 kb/s
    Stream #0:0(eng): Video: h264, yuv420p(progressive), 1916x1076 [SAR 1:1 DAR 479:269], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      ENCODER         : Lavc58.35.100 libx264
      DURATION        : 00:23:12.539000000
    Stream #0:1: Video: h264, none(pc, progressive), 480x480, SAR 1:1 DAR 1:1, 1k tbr, 1k tbn, 2k tbc
    Metadata:
      ENCODER         : Lavc58.35.100 libx264
      DURATION        : 00:00:00.021000000
    Stream #0:2(eng): Audio: aac, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:23:12.490000000
    Stream #0:3(eng): Audio: aac, 48000 Hz, stereo, fltp
    Metadata:
      ENCODER         : Lavc58.35.100 aac
      DURATION        : 00:23:12.533000000
    Stream #0:4(eng): Audio: aac, 48000 Hz, stereo, fltp
    Metadata:
      title           : 'Stereo'
      ENCODER         : Lavc58.35.100 aac
      DURATION        : 00:23:12.533000000
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:1 -> #0:1 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
frame=   77 fps= 65 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
frame=  167 fps= 99 q=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
Too many packets buffered for output stream 0:3.
Conversion failed!

Try adding `-max_muxing_queue_size 1024` to the Custom FFMPEG Options. I've already set this quite high at 512. But perhaps your file needs to go higher.

(https://trac.ffmpeg.org/ticket/6375)

 

Link to post
13 hours ago, nphil said:

I passed through the extra argument in docker and also set up the extra parameters under custom ffmpeg options, however I'm still unable to utilize quicksync on my intel 9900k:

 


[AVHWDeviceContext @ 0x5598b9761a00] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[AVHWDeviceContext @ 0x5598b9761a00] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error
Error parsing global options: Input/output error

 

Any ideas?

I'm really sorry. I cannot help with this at all. I don't have an Intel CPU on my Unraid machine. I can only test Unmanic quick sync on the laptop that I have.

Link to post

New error: 

 

ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-ffprobe --enable-avresample --enable-cuvid --enable-gpl --enable-libaom --enable-libass --enable-libfdk_aac --enable-libfreetype --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libxml2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-nonfree --enable-nvdec --enable-nvenc --enable-openssl --enable-small --enable-stripping --enable-vaapi --enable-vdpau --enable-version3
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 14 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 15 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 16 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x562b506f1880] Could not find codec parameters for stream 17 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/library/movies/ /  *.mkv':
  Metadata:
    encoder         : libebml v1.3.1 + libmatroska v1.4.2
    creation_time   : 2015-02-24T20:09:04.000000Z
  Duration: 01:48:35.67, start: 0.083000, bitrate: 11690 kb/s
    Chapter #0:0: start 0.000000, end 190.941000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 190.941000, end 515.265000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 515.265000, end 859.025000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 859.025000, end 1038.621000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1038.621000, end 1458.957000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 1458.957000, end 1914.871000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 1914.871000, end 2157.280000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 2157.280000, end 2488.528000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 2488.528000, end 2873.370000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 2873.370000, end 3051.423000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3051.423000, end 3357.521000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3357.521000, end 3442.064000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3442.064000, end 3753.917000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3753.917000, end 4009.088000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 4009.088000, end 4395.600000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4395.600000, end 4680.885000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4680.885000, end 4905.609000
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4905.609000, end 5084.788000
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 5084.788000, end 5241.778000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5241.778000, end 5491.778000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 5491.778000, end 5644.973000
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 5644.973000, end 5934.262000
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 5934.262000, end 6244.822000
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 6244.822000, end 6514.967000
    Metadata:
      title           : Chapter 24
    Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 1920x1040, SAR 1:1 DAR 24:13, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS             : 9963347
      BPS-eng         : 9963347
      DURATION        : 01:48:35.635000000
      DURATION-eng    : 01:48:35.635000000
      NUMBER_OF_FRAMES: 156219
      NUMBER_OF_FRAMES-eng: 156219
      NUMBER_OF_BYTES : 8114692169
      NUMBER_OF_BYTES-eng: 8114692169
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: dts, 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround
      LANGUAGE        : eng
      BPS             : 1508999
      BPS-eng         : 1508999
      DURATION        : 01:48:35.670000000
      DURATION-eng    : 01:48:35.670000000
      NUMBER_OF_FRAMES: 610844
      NUMBER_OF_FRAMES-eng: 610844
      NUMBER_OF_BYTES : 1229018128
      NUMBER_OF_BYTES-eng: 1229018128
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : eng
      BPS             : 14290
      BPS-eng         : 14290
      DURATION        : 01:41:32.252000000
      DURATION-eng    : 01:41:32.252000000
      NUMBER_OF_FRAMES: 2430
      NUMBER_OF_FRAMES-eng: 2430
      NUMBER_OF_BYTES : 10882569
      NUMBER_OF_BYTES-eng: 10882569
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : spa
      BPS             : 13507
      BPS-eng         : 13507
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2468
      NUMBER_OF_FRAMES-eng: 2468
      NUMBER_OF_BYTES : 10499800
      NUMBER_OF_BYTES-eng: 10499800
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(por): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : por
      BPS             : 14603
      BPS-eng         : 14603
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2446
      NUMBER_OF_FRAMES-eng: 2446
      NUMBER_OF_BYTES : 11351523
      NUMBER_OF_BYTES-eng: 11351523
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(rus): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : rus
      BPS             : 13097
      BPS-eng         : 13097
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2474
      NUMBER_OF_FRAMES-eng: 2474
      NUMBER_OF_BYTES : 10180950
      NUMBER_OF_BYTES-eng: 10180950
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:6(ukr): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : ukr
      BPS             : 13104
      BPS-eng         : 13104
      DURATION        : 01:41:32.294000000
      DURATION-eng    : 01:41:32.294000000
      NUMBER_OF_FRAMES: 2474
      NUMBER_OF_FRAMES-eng: 2474
      NUMBER_OF_BYTES : 9979768
      NUMBER_OF_BYTES-eng: 9979768
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:7(tha): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : tha
      BPS             : 13304
      BPS-eng         : 13304
      DURATION        : 01:41:32.252000000
      DURATION-eng    : 01:41:32.252000000
      NUMBER_OF_FRAMES: 2428
      NUMBER_OF_FRAMES-eng: 2428
      NUMBER_OF_BYTES : 10131701
      NUMBER_OF_BYTES-eng: 10131701
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:8(tur): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : tur
      BPS             : 12512
      BPS-eng         : 12512
      DURATION        : 01:41:30.876000000
      DURATION-eng    : 01:41:30.876000000
      NUMBER_OF_FRAMES: 2404
      NUMBER_OF_FRAMES-eng: 2404
      NUMBER_OF_BYTES : 9526724
      NUMBER_OF_BYTES-eng: 9526724
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:9(est): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : est
      BPS             : 11433
      BPS-eng         : 11433
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2318
      NUMBER_OF_FRAMES-eng: 2318
      NUMBER_OF_BYTES : 8887221
      NUMBER_OF_BYTES-eng: 8887221
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:10(lav): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : lav
      BPS             : 10122
      BPS-eng         : 10122
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2338
      NUMBER_OF_FRAMES-eng: 2338
      NUMBER_OF_BYTES : 7868739
      NUMBER_OF_BYTES-eng: 7868739
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:11(lit): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : lit
      BPS             : 10682
      BPS-eng         : 10682
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2476
      NUMBER_OF_FRAMES-eng: 2476
      NUMBER_OF_BYTES : 8303637
      NUMBER_OF_BYTES-eng: 8303637
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:12(chi): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : chi
      BPS             : 13345
      BPS-eng         : 13345
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2462
      NUMBER_OF_FRAMES-eng: 2462
      NUMBER_OF_BYTES : 10373926
      NUMBER_OF_BYTES-eng: 10373926
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:13(kor): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : kor
      BPS             : 8687
      BPS-eng         : 8687
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2374
      NUMBER_OF_FRAMES-eng: 2374
      NUMBER_OF_BYTES : 6753241
      NUMBER_OF_BYTES-eng: 6753241
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:14(chi): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : chi
      BPS             : 15717
      BPS-eng         : 15717
      DURATION        : 01:43:38.587000000
      DURATION-eng    : 01:43:38.587000000
      NUMBER_OF_FRAMES: 2452
      NUMBER_OF_FRAMES-eng: 2452
      NUMBER_OF_BYTES : 12217213
      NUMBER_OF_BYTES-eng: 12217213
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:15(ind): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : ind
      BPS             : 14450
      BPS-eng         : 14450
      DURATION        : 01:41:32.252000000
      DURATION-eng    : 01:41:32.252000000
      NUMBER_OF_FRAMES: 2458
      NUMBER_OF_FRAMES-eng: 2458
      NUMBER_OF_BYTES : 11004856
      NUMBER_OF_BYTES-eng: 11004856
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:16(rus): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : rus
      BPS             : 25199
      BPS-eng         : 25199
      DURATION        : 01:47:08.964000000
      DURATION-eng    : 01:47:08.964000000
      NUMBER_OF_FRAMES: 3679
      NUMBER_OF_FRAMES-eng: 3679
      NUMBER_OF_BYTES : 20250557
      NUMBER_OF_BYTES-eng: 20250557
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:17(kor): Subtitle: hdmv_pgs_subtitle
    Metadata:
      LANGUAGE        : kor
      BPS             : 20427
      BPS-eng         : 20427
      DURATION        : 01:47:09.173000000
      DURATION-eng    : 01:47:09.173000000
      NUMBER_OF_FRAMES: 3729
      NUMBER_OF_FRAMES-eng: 3729
      NUMBER_OF_BYTES : 16416444
      NUMBER_OF_BYTES-eng: 16416444
      _STATISTICS_WRITING_APP: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 13:04:34
      _STATISTICS_WRITING_DATE_UTC: 2015-02-24 20:09:04
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-02-24 20:09:04
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:3 -> #0:3 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:4 -> #0:4 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:5 -> #0:5 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:6 -> #0:6 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:7 -> #0:7 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:8 -> #0:8 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:9 -> #0:9 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:10 -> #0:10 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:11 -> #0:11 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:12 -> #0:12 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:13 -> #0:13 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:14 -> #0:14 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:15 -> #0:15 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:16 -> #0:16 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
  Stream #0:17 -> #0:17 (hdmv_pgs_subtitle (pgssub) -> subrip (srt))
Subtitle encoding currently only possible from text to text or bitmap to bitmap

 

Seems I need to expand on these values: FFmpeg__probesize and FFmpeg__analyzeduration, however I can't find any documentation telling what to set the flags to.

Link to post
10 hours ago, Josh.5 said:

I've pushed an update to fix these sorts of errors.

 

It did indeed fix the error, however it appears to have been unrelated. Now I have no errors in the log, but it still doesn't process anything. All the workers are idle even though there are several pending. If I roll back to 119 everything works again.

 

Is there any information I can provide that would be useful in identifying the problem?

Link to post
10 minutes ago, Transient said:

It did indeed fix the error, however it appears to have been unrelated. Now I have no errors in the log, but it still doesn't process anything. All the workers are idle even though there are several pending. If I roll back to 119 everything works again.

 

Is there any information I can provide that would be useful in identifying the problem?

 

I'd love to know how you specified the container version on install so myself and others can do the same.

Link to post
33 minutes ago, CyrixDX4 said:

 

I'd love to know how you specified the container version on install so myself and others can do the same.

As the previous user said, just add :119 to the end of the repository name. This means to pull the one tagged 119. When left off, it will pull the one tagged latest.

 

To find the tags, you can check Docker Hub. The easiest way IMO is to turn on Advanced View in Unraid (top right) then scroll down to your Unmanic container and click the little link that says By: josh5/unmanic. That'll take you over to Docker Hub and you can go to the Tags tab and see all the previous versions.

 

...only I just tried it and it looks like josh5 has since removed all tags other than latest so you may be unable to pull down 119. I'm not sure why he would do that. Maybe he didn't and there's an issue with Docker Hub at the moment?

Link to post
10 minutes ago, Transient said:

As the previous user said, just add :119 to the end of the repository name. This means to pull the one tagged 119. When left off, it will pull the one tagged latest.

 

To find the tags, you can check Docker Hub. The easiest way IMO is to turn on Advanced View in Unraid (top right) then scroll down to your Unmanic container and click the little link that says By: josh5/unmanic. That'll take you over to Docker Hub and you can go to the Tags tab and see all the previous versions.

 

...only I just tried it and it looks like josh5 has since removed all tags other than latest so you may be unable to pull down 119. I'm not sure why he would do that. Maybe he didn't and there's an issue with Docker Hub at the moment?

 

That's what I tried using the :VERSION and looks like everything is gone.   Very odd.   

 

Only versions up are the 0.0.1-beta7 version and I can't pull down those versions for some reason.

Edited by CyrixDX4
Link to post
5 minutes ago, CyrixDX4 said:

 

That's what I tried using the :VERSION and looks like everything is gone.   Very odd.   

 

Only versions up are the 0.0.1-beta7 version and I can't pull down those versions for some reason.

Those ones are very old. It's probably best to wait and see what josh5 has to say.

 

 

Link to post
2 hours ago, Transient said:

It did indeed fix the error, however it appears to have been unrelated. Now I have no errors in the log, but it still doesn't process anything. All the workers are idle even though there are several pending. If I roll back to 119 everything works again.

 

Is there any information I can provide that would be useful in identifying the problem?

Are you able to get me the unmanic.log file?

Link to post
30 minutes ago, Josh.5 said:

Are you able to get me the unmanic.log file?

I can, although I'm not really comfortable sharing it here. :)

 

That said, checking unmanic.log, I found my workers all report this:

 

2020-10-22T11:28:30:ERROR:Unmanic.Worker-0 - [FORMATTED] - Exception in processing job with Worker-0: - expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/foreman.py", line 224, in run
    self.process_task_queue_item()
  File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/foreman.py", line 203, in process_task_queue_item
    self.current_task.set_success(self.process_item())
  File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/foreman.py", line 159, in process_item
    common.ensure_dir(self.current_task.task.cache_path)
  File "/usr/local/lib/python3.6/dist-packages/unmanic/libs/common.py", line 63, in ensure_dir
    directory = os.path.dirname(file_path)
  File "/usr/lib/python3.6/posixpath.py", line 156, in dirname
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.