Jump to content

dee31797

Members
  • Content Count

    149
  • Joined

  • Last visited

Community Reputation

22 Good

About dee31797

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just curious, can you change the permissions of the flash files in the go file?
  2. This container is quite old but if you don't mind that it should still work. I see the container has installed "sickbeard_mp4_automator" to a root directory at /mp4_automator. It was copied from github on the day the container was built.
  3. Thanks for the feedback. Glad its working out for you.
  4. I rebuilt the image just now with the proper change ( I hope! ). Please grab the new build and let me know if it works for you. Go to the Docker tab and change basic view to advanced view, then click force update next to auto-comskip. In the appdata/auto-comskip folder delete the "successful_conversions" file if you want to test the same video again.
  5. Hi @robsch, I will have to think about how to do that and test it out. Right now it can only move the final video to "/output". Also, I kinda like everything for me to be in the root of /output so I would have to make it an optional setting at startup. I'll let you know what I come up with. My first guess would be to end the script with "mv $1 /output$1". Easiest way I can think of right off hand, it would move for example "/watch/movie/movie.mp4" to "/output/watch/movie/movie.mp4" would that work for you? The comskip.ini is only for comskip settings like commercial detection schemes, cpu threads, etc.
  6. darn, not sure why, I didn't do anything special just SSH into Unraid and paste in the command. Even though I can't help with that problem, if you get that working you could shrink your docker image size depending on the App's requirements. FROM alpine:3.10 RUN apk add --no-cache python3 ADD redditCNN_runnable.py / ADD model.json / ADD weights.h5 / # package installer if you need more dependant softare for your app #RUN apk add --no-cache bash nodejs shadow #etc #etc RUN pip3 install --no-cache-dir pillow praw requests tensorflow keras numpy ENV clientid=id \ clientsecret=secret \ username=username \ password=password CMD python3 redditCNN_runnable.py
  7. Tough one. My first guess is network access from the container? Maybe try it with --net=host docker run -ti --rm --net=host -e.....
  8. You can run it from Unraid's commandline to get logs. Here's what I got after running your container image: Docker command I used: docker run -ti --rm -e clientid=test -e clientsecret=test -e username=test -e password=test daylend/redditcnn docker run -ti --rm -e clientid=test -e clientsecret=test -e username=test -e password=test daylend/redditcnn Using TensorFlow backend. /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /usr/local/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /usr/local/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) WARNING:tensorflow:From ./redditCNN_runnable.py:42: The name tf.GPUOptions is deprecated. Please use tf.compat.v1.GPUOptions instead. WARNING:tensorflow:From ./redditCNN_runnable.py:43: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead. WARNING:tensorflow:From ./redditCNN_runnable.py:44: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead. 2019-09-07 18:50:37.965517: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-07 18:50:37.968748: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3192000000 Hz 2019-09-07 18:50:37.969189: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x559bef573580 executing computations on platform Host. Devices: 2019-09-07 18:50:37.969204: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined> WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:541: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead. WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:4432: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead. WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:4267: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead. 2019-09-07 18:50:38.007169: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile. WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:2041: The name tf.nn.fused_batch_norm is deprecated. Please use tf.compat.v1.nn.fused_batch_norm instead. WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py:3733: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version. Instructions for updating: Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`. Checking Reddit now Traceback (most recent call last): File "./redditCNN_runnable.py", line 75, in <module> for submission in subreddit.stream.submissions(): File "/usr/local/lib/python3.7/site-packages/praw/models/util.py", line 182, in stream_generator **function_kwargs File "/usr/local/lib/python3.7/site-packages/praw/models/listing/generator.py", line 52, in __next__ self._next_batch() File "/usr/local/lib/python3.7/site-packages/praw/models/listing/generator.py", line 62, in _next_batch self._listing = self._reddit.get(self.url, params=self.params) File "/usr/local/lib/python3.7/site-packages/praw/reddit.py", line 442, in get data = self.request("GET", path, params=params) File "/usr/local/lib/python3.7/site-packages/praw/reddit.py", line 577, in request method, path, data=data, files=files, params=params File "/usr/local/lib/python3.7/site-packages/prawcore/sessions.py", line 185, in request params=params, url=url) File "/usr/local/lib/python3.7/site-packages/prawcore/sessions.py", line 116, in _request_with_retries data, files, json, method, params, retries, url) File "/usr/local/lib/python3.7/site-packages/prawcore/sessions.py", line 101, in _make_request params=params) File "/usr/local/lib/python3.7/site-packages/prawcore/rate_limit.py", line 35, in call kwargs['headers'] = set_header_callback() File "/usr/local/lib/python3.7/site-packages/prawcore/sessions.py", line 145, in _set_header_callback self._authorizer.refresh() File "/usr/local/lib/python3.7/site-packages/prawcore/auth.py", line 328, in refresh password=self._password) File "/usr/local/lib/python3.7/site-packages/prawcore/auth.py", line 138, in _request_token response = self._authenticator._post(url, **data) File "/usr/local/lib/python3.7/site-packages/prawcore/auth.py", line 31, in _post raise ResponseException(response) prawcore.exceptions.ResponseException: received 401 HTTP response
  9. Only commercial removal with same file name and video format.
  10. Another rookie mistake on my part🤦‍♂️ My config folder already had these directories so I didn't discover this issue during my testing. Thank you for bring this up! I rebuilt the image just now with the proper fix ( I hope! ). Please grab the new build and let me know if it works for you, go to Docker tab and change basic view to advanced view, then click force update next to auto-comskip. In the appdata/auto-comskip folder delete the "successful_conversions" file if you want to test the same video again.
  11. Hi JM2005, For detailed setup on Auto-Comskip you can check out: https://github.com/djaydev/docker-auto-comskip There was an issue I just fixed today with the temp folder volume. The folder in the template with the description "Temporary transcoding location" was set to "/tmp" but it should be set to "/temp". The easiest way to get the fix is to just delete and re-add. Go to Docker tab, click the icon for auto-comskip, click remove, click yes delete it. Go back to CA Apps and download Auto-Comskip again. Those steps will pull down the new template, and the new docker image. Let know me if I answered your question or not, or if you need anything else.
  12. Good deal. I saw the "s6-applyuidgid: usage: s6-applyuidgid ...." message and was gonna ask you about it. Glad you got it working.
  13. For Handbrake, you should also ask this over at it's support forum: https://forums.unraid.net/topic/57420-support-djoss-handbrake/ I suspect the issue is your container is having issue accessing the /dev/dri/renderD128. It's usually a permission issue so I suggest start there. This is probably not proper linux protocol or best security practice, but I change the permissions to 777 when I troubleshoot this on my system. # show current permissions so you can change it back if you want ls -la /dev/dri # change perms chmod 777 /dev/dri/*
  14. Hi, can you post your template xml for intel-gpu-tools and/or handbrake?
  15. Those options would be really tough to implement in the docker image, but one suggestion is to use the user scripts plugin that allows time scheduled jobs. #!/bin/bash docker start recordings-converter sleep 8h docker stop recordings-converter exit That script should start the container at the time you set in user scripts, for example 11 p.m., leave it running for 8 hours or until 7 a.m., then stop the container at that time. Sorry I couldn't be of more help.