Closed AverageUnknown closed 4 years ago
Very strange because if flac is your first codec it also should not be converting to pcm_s24le. You don't have multiple config files or something do you? It should always choose the first codec so even if it wouldn't copy for some reason it should convert flac to flac.
Can you post the output of manual.py instead of that gif so I can look closer. And if you have that test file and can share it that would be helpful too.
output:
C:\Users\Jacob\Desktop\sickbeard_mp4_automator-master>python manual.py
Manual processor started.
Python 64-bit 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)].
Guessit version: 3.1.1.
C:\Users\Jacob\AppData\Local\Programs\Python\Python38\python.exe
Loading config file C:\Users\Jacob\Desktop\sickbeard_mp4_automator-master\config\autoProcess.ini.
Force-convert is true, so convert-mp4 is being overridden to true as well
Enter path to file:
#: C:\Users\Jacob\Desktop\tes3t.mkv
Processing file C:\Users\Jacob\Desktop\tes3t.mkv
Input Data
{
"format": "matroska,webm",
"format-fullname": "Matroska / WebM",
"video": {
"index": 0,
"codec": "mpeg2video",
"pix_fmt": "yuv420p",
"profile": "main",
"fps": 29.97002997002997,
"level": 0.8,
"field_order": "tt"
},
"audio": [
{
"index": 1,
"codec": "flac",
"channels": 2,
"samplerate": 48000,
"language": "jpn",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired"
}
],
"subtitle": [],
"attachment": []
}
Reading video stream.
Video codec detected: mpeg2video.
Pix Fmt: yuv420p.
Profile: main.
Reading audio streams.
Audio detected for stream 1 - flac jpn 2 channel.
Creating pcm_s24le audio stream from source stream 1.
Default audio stream set to jpn pcm_s24le 2 channel stream [default-more-channels: True].
Reading subtitle streams.
Scanned for external subtitles and found 0 results in your approved languages.
Output Data
{
"source": [
"C:\\Users\\Jacob\\Desktop\\tes3t.mkv"
],
"format": "mkv",
"video": {
"codec": "copy",
"map": 0,
"bitrate": 8788.331,
"crf": 15,
"maxrate": null,
"bufsize": null,
"level": 5.1,
"profile": null,
"pix_fmt": null,
"field_order": "tt",
"width": null,
"debug": "video"
},
"audio": [
{
"map": 1,
"codec": "pcm_s24le",
"channels": 2,
"bitrate": 512,
"filter": null,
"samplerate": null,
"language": "jpn",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"bsf": null,
"title": "Stereo",
"debug": "audio"
}
],
"subtitle": [],
"attachment": []
}
Preopts
[]
Postopts
[
"-threads",
"16",
"-metadata:g",
"encoding_tool=SMA",
"-tune",
"film",
"-preset",
"slow"
]
Starting conversion.
[####################] 100%
C:\Users\Jacob\Desktop\tes3t.mkv created.
Only 1 autoProcessing.ini file:
autoprocess.ini: https://pastebin.com/ArhwpiQ5
Sample file: https://www.mediafire.com/file/2jqx840fi9qdjbi/tes3t.mkv/file
Sample file works fine for me and copies appropriately
I'm noticing 2 problems with your setup that suggest you do in fact have 2 config files
First is that the autoProcess.ini you linked in your screenshot is in the setup
folder and the one that's being read is in your config folder
Loading config file C:\Users\Jacob\Desktop\sickbeard_mp4_automator-master\config\autoProcess.ini
Additionally the audio codecs you have listed in the pastebin show:
codec = pcm_s24le,flac,dts,truehd,eac3,ac3,aac
And the codecs from your original post are
codec = flac,pcm_s24le,dts,truehd,eac3,ac3,aac
These don't match. That at least explains why it opted to encode with pcm_s24le but I would sort out your config file structure and I suspect this will resolve
Ah that makes a bit more sense, Its working now after fixing that.
I havent been here in a while and am used to the config being in the main dir.
Thanks for the help.
Flac is not being copied over even when defined in the Autoprocess.ini:
Mediainfo: