Closed jakanaka closed 1 year ago
Post some logs can't help you
Post some logs can't help you
sorry for late reply... here is the log... video is copied for some reason!
D:\SMA>python manual.py -c config\autoProcess_all.ini -i "Demon.Slayer.Kimetsu.no.Yaiba.Swordsmith.Village.Arc.S04E03.A.Sword.from.Over.300.Years.Ago.1080p.CR.WEB-DL.AAC2.0.H.264-ShiNobi.mkv"
[21:53:21] ERROR Could not load 'addic7ed': unexpected indent (addic7ed.py, line 234) extension.py:227
Manual processor started.
Python 64-bit 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)].
Guessit version: 3.7.1.
C:\Users\user\AppData\Local\Programs\Python\Python311\python.exe
Loading config file D:\SMA\config\autoProcess_all.ini.
Processing file D:\SMA\Demon.Slayer.Kimetsu.no.Yaiba.Swordsmith.Village.Arc.S04E03.A.Sword.from.Over.300.Years.Ago.1080p.CR.WEB-DL.AAC2.0.H.264-ShiNobi.mkv
Input Data
{
"format": "matroska,webm",
"format-fullname": "Matroska / WebM",
"video": {
"index": 0,
"codec": "h264",
"bitrate": 7976999,
"pix_fmt": "yuv420p",
"profile": "high",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p",
"color_space": "bt709",
"color_primaries": "bt709",
"color_transfer": "bt709",
"side_data_list": [
{
"side_data_type": "H.26[45] User Data Unregistered SEI message"
}
]
},
"dimensions": "1920x1080",
"level": 4.0,
"field_order": "progressive"
},
"audio": [
{
"index": 1,
"codec": "aac",
"bitrate": 128000,
"channels": 2,
"samplerate": 44100,
"language": "jpn",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions"
}
],
"subtitle": [
{
"index": 2,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "ara"
},
{
"index": 3,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "deu"
},
{
"index": 4,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "eng"
},
{
"index": 5,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "spa"
},
{
"index": 6,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "spa"
},
{
"index": 7,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "fra"
},
{
"index": 8,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "hin"
},
{
"index": 9,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "ita"
},
{
"index": 10,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "por"
},
{
"index": 11,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "rus"
}
],
"attachment": []
}
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Profile: high.
Video codec parameters None.
Creating copy video stream from source stream 0.
Reading audio streams.
The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
Audio detected for stream 1 - aac jpn 2 channel.
Creating aac audio stream from source stream 1.
Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
Final sorting:
['0->0']
Final sorting:
['0->0']
Default audio stream set to jpn aac 2 channel stream [audio-default-sorting: ['channels.d', 'map', 'd.comment']].
Reading subtitle streams.
Subtitle detected for stream 2 - subrip ara.
Subtitle detected for stream 3 - subrip deu.
Subtitle detected for stream 4 - subrip eng.
Stream 4 is text-based subtitle for codec subrip.
Creating mov_text subtitle stream from source stream 4.
Subtitle detected for stream 5 - subrip spa.
Subtitle detected for stream 6 - subrip spa.
Subtitle detected for stream 7 - subrip fra.
Subtitle detected for stream 8 - subrip hin.
Subtitle detected for stream 9 - subrip ita.
Subtitle detected for stream 10 - subrip por.
Subtitle detected for stream 11 - subrip rus.
Attempting to download subtitles.
Scanned for external subtitles and found 0 results in your approved languages.
Final sorting:
['0->0']
Output Data
{
"source": [
"D:\\SMA\\Demon.Slayer.Kimetsu.no.Yaiba.Swordsmith.Village.Arc.S04E03.A.Sword.from.Over.300.Years.Ago.1080p.CR.WEB-DL.AAC2.0.H.264-ShiNobi.mkv"
],
"format": "mp4",
"video": {
"codec": "copy",
"map": 0,
"bitrate": 1999.0260999999998,
"crf": -1,
"maxrate": null,
"bufsize": null,
"level": 0.0,
"profile": "high",
"preset": "slow",
"pix_fmt": null,
"field_order": "progressive",
"width": null,
"filter": null,
"params": null,
"framedata": null,
"bsf": null,
"debug": "video",
"title": "FHD"
},
"audio": [
{
"map": 1,
"codec": "aac",
"channels": 2,
"bitrate": 160,
"profile": null,
"quality": 0,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "jpn",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"bsf": null,
"debug": "audio",
"title": "Stereo"
}
],
"subtitle": [
{
"map": 4,
"codec": "mov_text",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"debug": "subtitle.embed-subs",
"title": null
}
],
"attachment": []
}
Preopts
[
"-fix_sub_duration"
]
Postopts
[
"-threads",
"0",
"-metadata:g",
"encoding_tool=SMA"
]
Downloaded Subtitles
[]
Starting conversion.
FFmpeg command:
======================
C:\utils\ffmpeg\bin\ffmpeg.exe -fix_sub_duration -i D:\SMA\Demon.Slayer.Kimetsu.no.Yaiba.Swordsmith.Village.Arc.S04E03.A.Sword.from.Over.300.Years.Ago.1080p.CR.WEB-DL.AAC2.0.H.264-ShiNobi.mkv -vcodec copy -map 0:0 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 160k -metadata:s:a:0 BPS=160000 -metadata:s:a:0 BPS-eng=160000 -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=jpn -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 0:4 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y d:\temp\Demon.Slayer.Kimetsu.no.Yaiba.Swordsmith.Village.Arc.S04E03.A.Sword.from.Over.300.Years.Ago.1080p.CR.WEB-DL.AAC2.0.H.264-ShiNobi.tmp
Note that limit did not work only for this video. I have not noticed other video that bypass the limit
This just looks like a file that's reporting an incorrect bitrate, maybe with some bad metadata? Feel free to send me a copy of the file and I'll take a look
This just looks like a file that's reporting an incorrect bitrate, maybe with some bad metadata? Feel free to send me a copy of the file and I'll take a look
I am not sure how to send you the file. Any command or log i can provide you?
Zip it up password it and host it somewhere and then shoot me a link via email
Zip it up password it and host it somewhere and then shoot me a link via email
I have sent the link via email
Sorry the late reply
The file you sent me is different from the one in the logs, getting different bitrate data as a result but seems to be working appropriately
SMA is detecting a bitrate of 4716 and MediaInfo reporting a similar estimate
Video bitrate is set to 2560. But it is not working. If i run this:
ffprobe -v quiet -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1 inputvideo.mp4
i get
bit_rate=N/A
Using mediainfo shows bitrate as 8mbps
The video stream is just copied from input to output