Some impressive stats, to say the least. You're on a Verizon Fiber connection right? I can't image uploading a backup to Amazon like that... it would take me so long...
Sorry, try again. I was shuffling some files around on my storage pool and forgot about this one. :(
All fixed.
Carlo
Thanks :)
Trying the script but getting this when i run it:
F:\Seedbox_transfers\Convert>E:\python27\python.exe manual.py -a -i F:\Seedbox_t
ransfers\Convert\process\
Traceback (most recent call last):
File "manual.py", line 11, in
from readSettings import ReadSettings
File "F:\Seedbox_transfers\Convert\readSettings.py", line 9, in
from babelfish import Language
File "F:\Seedbox_transfers\Convert\babelfish\__init__.py", line 20, in
from .converters import (LanguageConverter, LanguageReverseConverter, Langua
geEquivalenceConverter, CountryConverter,
File "F:\Seedbox_transfers\Convert\babelfish\converters\__init__.py", line 6,
in
from pkg_resources import iter_entry_points, EntryPoint
ImportError: No module named pkg_resources
Set my run.bat:
E:\python27\python.exe manual.py -a -i F:\Seedbox_transfers\Convert\process\
and my Autoprocess.ini
[MP4] ffmpeg = ffmpeg.exe ffprobe = ffprobe.exe output_directory = F:\Seedbox_transfers\Converted\Done output_extension = mp4 output_format = mp4 delete_original = True audio-codec = ac3,mp3,dts,dca video-codec = h264,x264 video-bitrate = ios-audio = True ios-first-track-only = True audio-language = eng,fre audio-default-language = eng audio-channel-bitrate = 256 subtitle-language = eng,fre subtitle-default-language = convert-mp4 = True download-artwork = False fullpathguess = True tag-language = en copy_to = download-subs = False move_to = max-audio-channels = tagfile = False embed-subs = False subtitle-codec = srt video-max-width = permissions = 777 relocate_moov = False sub-providers = addic7ed, podnapisi, thesubdb, opensubtitles
Also is that the right abbreviation for french?
Change your french country code to “fra”.
Change your french country code to "fra".
same issue
F:\Seedbox_transfers\Convert>E:\python27\python.exe manual.py -a -i F:\Seedbox_t
ransfers\Convert\process\
Traceback (most recent call last):
File "manual.py", line 11, in
from readSettings import ReadSettings
File "F:\Seedbox_transfers\Convert\readSettings.py", line 9, in
from babelfish import Language
File "F:\Seedbox_transfers\Convert\babelfish\__init__.py", line 20, in
from .converters import (LanguageConverter, LanguageReverseConverter, Langua
geEquivalenceConverter, CountryConverter,
File "F:\Seedbox_transfers\Convert\babelfish\converters\__init__.py", line 6,
in
from pkg_resources import iter_entry_points, EntryPoint
ImportError: No module named pkg_resources
Could you post your most recent ini file?
BTW, did you try it using just “eng” to see if the problems go away? Just want to narrow down the issue.
Will try as soon as i get home
Sent from my SM-G920W8 using Tapatalk
I tried your two line changes as eng,fra and it works fine for me.
I tried your two line changes as eng,fra and it works fine for me.
same error with just english
Three quick questions for you.
You installed Python 2.7 and not a 3.x release correct?
This is running on Windows correct?
No idea if this matters but what is the default language setup on your computer?
Since you have multiple drives and paths mentioned where did you install “Convert” to? IE if it’s F:\Convert then try opening a command box, switching to that directory which should have the run.bat in it and then type run. Probably no help at all but simple enough to test (just in case).
If Python is 2.7, Windows and English (default language) then I’d suggest going back to basics and removing the existing Convert directory and unzipping it again.
Change nothing to start with except the output_directory setting in the ini file and try it again to see what happens.
This way we’ll know if something else might have gotten changed by accident or not.
Carlo
PS continue to use the same directory structure and run.bat as they should be fine.
If replacing the convert zip files works then make changes to the ini one step at a time and test until you get to the trouble line.
Three quick questions for you.
You installed Python 2.7 and not a 3.x release correct?
This is running on Windows correct?
No idea if this matters but what is the default language setup on your computer?
Since you have multiple drives and paths mentioned where did you install "Convert" to? IE if it's F:\Convert then try opening a command box, switching to that directory which should have the run.bat in it and then type run. Probably no help at all but simple enough to test (just in case).
If Python is 2.7, Windows and English (default language) then I'd suggest going back to basics and removing the existing Convert directory and unzipping it again.
Change nothing to start with except the output_directory setting in the ini file and try it again to see what happens.
This way we'll know if something else might have gotten changed by accident or not.
Carlo
PS continue to use the same directory structure and run.bat as they should be fine.
If replacing the convert zip files works then make changes to the ini one step at a time and test until you get to the trouble line.
I tried just extracting into my C drive and i open run.bat and edited it to
python manual.py -a -i c:\convert\process
My python path is in my environment variables since i use python 2.7 for Sickrage
Im on windows server 2012 r2 std english and using python 2.7.8 located in my E drive
C:\Convert>python Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> ^ZC:\Convert>run.bat
C:\Convert>python manual.py -a -i c:\convert\process
Traceback (most recent call last):
File “manual.py”, line 11, in
from readSettings import ReadSettings
File “C:\Convert\readSettings.py”, line 9, in
from babelfish import Language
File “C:\Convert\babelfish_init_.py”, line 20, in
from .converters import (LanguageConverter, LanguageReverseConverter, Langua
geEquivalenceConverter, CountryConverter,
File “C:\Convert\babelfish\converters_init_.py”, line 6, in
from pkg_resources import iter_entry_points, EntryPoint
ImportError: No module named pkg_resources
Thank you for doing that. I too am running Windows 2012 R2 English with Python 2.7.8. My Python is installed on C drive but that doesn’t appear to be the issue.
For the errors shown is this with the fresh unpacked ZIP file without any mods except the output parameter in the ini file? IE no languages changed?
Carlo
Right. All I changed was my path to Python
Sent from my SM-G920W8 using Tapatalk
Lol… Stupid question… Is this self contained script or does it need handbrake.
Sent from my SM-G920W8 using Tapatalk
We're going to figure this out!Right. All I changed was my path to Python
Sent from my SM-G920W8 using Tapatalk
By any chance do you have another computer you could test it on just to see if maybe it's a computer thing and help us narrow it down?
Thus far this is the first computer/installation with issues so I want to get this figured out.
Lol... Stupid question.. Is this self contained script or does it need handbrake.
Sent from my SM-G920W8 using Tapatalk
No it does not use handbrake but instead uses ffmpeg internally. You do however need to install python 2.7.x if not already installed. That's the only pre-requisite.
Carlo
Ok… I will test on another machine in about 20min(communiting atm) . Also does using Python 64bit a issue?
Sent from my SM-G920W8 using Tapatalk
Ok.. I will test on another machine in about 20min(communiting atm) . Also does using Python 64bit a issue?
Sent from my SM-G920W8 using Tapatalk
Ok...i narrowed down the problem to being Python 64bit. I tried it on another machine that did not have python. I installed python 2.7.8 64bit and it failed with the same error. Then i removed the 2.7.8 and installed 2.7.10 32 bit and it worked.
@cayars
You need to add "fre" as French language abbreviation be i was unable to get your script to add the french audio because the settings doesnt access "fre". Using "fra" did not get the audio french in output file
E:\Tools\Convert>e:\python27_x86\python manual.py -a -i F:\Seedbox_transfers\Con verted\process Manual processor started. 32bit Python. Processing file F:\Seedbox_transfers\Converted\process\Mortdecai 2015 Multi BluR ay 1080p DTS-HD MA 7.1 x264-HD Workshop.mkv Reading video stream. Video codec detected: h264 Reading audio streams. Audio detected for stream #1: dca [eng]. Creating audio stream 0 from source audio stream 1 [AAC-audio]. Creating audio stream 1 from source audio stream 1. Audio detected for stream #2: ac3 [fre]. Creating audio stream 2 from source audio stream 2. Reading subtitle streams. Subtitle detected for stream #3: pgssub [eng]. Subtitle detected for stream #4: pgssub [spa]. An unexpected error occurred, processing of this file has failed 'fre' is not a valid language
Advanced setting:
You can limit the total bitrate for the video. If for example you use a client that has an upper limit of 12000 KB you can set the option video-bitrate option to something like 11000 which gives you a bit of headroom for a couple of audio tracks.
There is more that can be done with this set of scripts but lets start off with these. :)
Let me know what you guys think,
Carlo
PS I'll show you how later to pull info directly from the Plex database to know what files need converting depending on your criteria.
Do you have the instructions to pull Plex DB info for converting yet?
Also in the AutoProcess.ini there is a setting "copy to" is this to copy the output someone once it is done. If so, does it work or you disabled it? I plan to add this script to my filebot movie processing script, so i want to know what options are available via the AutoProcess.ini.
Could have swore it was "fra" but I'm just glad you got it working.@cayars
You need to add "fre" as French language abbreviation be i was unable to get your script to add the french audio because the settings doesnt access "fre". Using "fra" did not get the audio french in output fileE:\Tools\Convert>e:\python27_x86\python manual.py -a -i F:\Seedbox_transfers\Con verted\process Manual processor started. 32bit Python. Processing file F:\Seedbox_transfers\Converted\process\Mortdecai 2015 Multi BluR ay 1080p DTS-HD MA 7.1 x264-HD Workshop.mkv Reading video stream. Video codec detected: h264 Reading audio streams. Audio detected for stream #1: dca [eng]. Creating audio stream 0 from source audio stream 1 [AAC-audio]. Creating audio stream 1 from source audio stream 1. Audio detected for stream #2: ac3 [fre]. Creating audio stream 2 from source audio stream 2. Reading subtitle streams. Subtitle detected for stream #3: pgssub [eng]. Subtitle detected for stream #4: pgssub [spa]. An unexpected error occurred, processing of this file has failed 'fre' is not a valid language
I'll have to check my install to see if I'm running 32 or 64bit version but I thought it was 64 bit version. However, for the use in this set of scripts it won't matter at all speed wise as all the time is taken in the ffmpeg conversion/mux part of the program.
Do you have the instructions to pull Plex DB info for converting yet?
Also in the AutoProcess.ini there is a setting "copy to" is this to copy the output someone once it is done. If so, does it work or you disabled it? I plan to add this script to my filebot movie processing script, so i want to know what options are available via the AutoProcess.ini.
Check back to message 247.