Page 1 of 1

[amc] Why Anime Detection not working?

Posted: 01 May 2015, 20:27
by 3KyNoX
Hello again,

just get in trouble with that currently.

Downloaded anime (Mouretsu Pirates) on server, and have been moved inside TV Shows. Audio is japanese.

Image

Anything to set for configure animes ? using :

Code: Select all

/bin/sh -c  'filebot -script fn:amc --output "/opt/Media/" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en,fr artwork=y --def plex=127.0.0.1 "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"'
Thanks again for help.

Re: [AMC] Anime Detection

Posted: 02 May 2015, 07:07
by rednoah
1)
Are you sure libmediainfo is working?

Code: Select all

filebot -script fn:sysinfo
2)
Send me the mediainfo of one of the files that has Japanese audio which isn't detected:

Code: Select all

mediainfo -f /path/to/file
Specifically AudioLanguageList / TextCodecList must be set and must be set to Japanese / ASS respectively (on applies to videos less than 60 minutes long).

PS: Didn't read your log. Next time, only post the relevant lines.

Re: [amc] Why Anime Detection not working?

Posted: 02 May 2015, 12:07
by 3KyNoX
Ok,

libmediainfo was present (far as I see) but not mediainfo.

Image

Now mediainfo installed and tried again to get another anime.

Here is two mediainfo output :

Code: Select all

mediainfo -f /opt/Media/TV\ Shows/Bodacious\ Space\ Pirates/Season\ 01/Bodacious\ Space\ Pirates\ -\ S01E01\ -\ Pirates,\ Coming\ Through.mp4
General
Count                                    : 290
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : AAC
Audio_Format_WithHint_List               : AAC
Audio codecs                             : AAC LC
Audio_Language_List                      : Japanese
Complete name                            : /opt/Media/TV Shows/Bodacious Space Pirates/Season 01/Bodacious Space Pirates - S01E01 - Pirates, Coming Th                            rough.mp4
Folder name                              : /opt/Media/TV Shows/Bodacious Space Pirates/Season 01
File name                                : Bodacious Space Pirates - S01E01 - Pirates, Coming Through
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : MPEG-4
Codec                                    : MPEG-4
Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
File size                                : 375125772
File size                                : 358 MiB
File size                                : 358 MiB
File size                                : 358 MiB
File size                                : 358 MiB
File size                                : 357.7 MiB
Duration                                 : 1449992
Duration                                 : 24mn 9s
Duration                                 : 24mn 9s 992ms
Duration                                 : 24mn 9s
Duration                                 : 00:24:09.992
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 2069671
Overall bit rate                         : 2 070 Kbps
Stream size                              : 583174
Stream size                              : 570 KiB (0%)
Stream size                              : 570 KiB
Stream size                              : 570 KiB
Stream size                              : 570 KiB
Stream size                              : 569.5 KiB
Stream size                              : 570 KiB (0%)
Proportion of this stream                : 0.00155
HeaderSize                               : 583097
DataSize                                 : 374542606
FooterSize                               : 69
IsStreamable                             : Yes
Encoded date                             : UTC 2012-03-16 03:33:04
Tagged date                              : UTC 2012-03-16 03:33:04
File last modification date              : UTC 2015-05-01 19:52:40
File last modification date (local)      : 2015-05-01 21:52:40

Video
Count                                    : 277
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : [email protected]
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3
Format settings, ReFrames                : 3 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://developers.videolan.org/x264.html
Codec/CC                                 : avc1
Codec profile                            : [email protected]
Codec settings                           : CABAC / 3 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 3
Duration                                 : 1449907
Duration                                 : 24mn 9s
Duration                                 : 24mn 9s 907ms
Duration                                 : 24mn 9s
Duration                                 : 00:24:09.907
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 1942145
Bit rate                                 : 1 942 Kbps
Maximum bit rate                         : 25000000
Maximum bit rate                         : 25.0 Mbps
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 fps
Frame count                              : 34763
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.039
Stream size                              : 351991535
Stream size                              : 336 MiB (94%)
Stream size                              : 336 MiB
Stream size                              : 336 MiB
Stream size                              : 336 MiB
Stream size                              : 335.7 MiB
Stream size                              : 336 MiB (94%)
Proportion of this stream                : 0.93833
Title                                    : [kdf] Moretsu Pirates - 01 [720p]_Track1
Writing library                          : x264 - core 112 r1867 22bfd31
Writing library                          : x264 core 112 r1867 22bfd31
Writing library/Name                     : x264
Writing library/Version                  : core 112 r1867 22bfd31
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_r                            ef=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 /                             nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp                            =2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / q                            pstep=4 / vbv_maxrate=25000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2012-03-16 03:33:04
Tagged date                              : UTC 2012-03-16 03:33:09
Buffer size                              : 25000000

Audio
Count                                    : 230
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Commercial name                          : AAC
Format profile                           : LC
Codec ID                                 : 40
Codec                                    : AAC LC
Codec                                    : AAC LC
Codec/Family                             : AAC
Codec/CC                                 : 40
Duration                                 : 1449992
Duration                                 : 24mn 9s
Duration                                 : 24mn 9s 992ms
Duration                                 : 24mn 9s
Duration                                 : 00:24:09.992
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 124416
Bit rate                                 : 124 Kbps
Maximum bit rate                         : 145656
Maximum bit rate                         : 146 Kbps
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
ChannelLayout                            : L R
Sampling rate                            : 44100
Sampling rate                            : 44.1 KHz
Samples count                            : 63944647
Frame count                              : 62446
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 22551063
Stream size                              : 21.5 MiB (6%)
Stream size                              : 22 MiB
Stream size                              : 22 MiB
Stream size                              : 21.5 MiB
Stream size                              : 21.51 MiB
Stream size                              : 21.5 MiB (6%)
Proportion of this stream                : 0.06012
Title                                    : Imported with GPAC 0.4.6-DEV (internal rev. 8)
Language                                 : ja
Language                                 : Japanese
Language                                 : Japanese
Language                                 : ja
Language                                 : jpn
Language                                 : ja
Encoded date                             : UTC 2012-03-16 03:33:08
Tagged date                              : UTC 2012-03-16 03:33:09
Last anime downloaded :

Code: Select all

 mediainfo -f /opt/Media/TV\ Shows/Is\ It\ Wrong\ to\ Try\ to\ Pick\ Up\ Girls\ in\ a\ Dungeon/Season\ 01/Is\ It\ Wrong\ to\ Try\ to\ Pick\ Up\ Girls\ in\ a\ Dungeon\ -\ S01E01\ -\ Adventurer\ Bell\ Cranel.mp4
General
Count                                    : 290
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : AAC
Audio_Format_WithHint_List               : AAC
Audio codecs                             : AAC LC
Audio_Language_List                      : unk
Complete name                            : /opt/Media/TV Shows/Is It Wrong to Try to Pick Up Girls in a Dungeon/Season 01/Is It Wrong to Try to Pick Up Girls in a Dungeon - S01E01 - Adventurer Bell Cranel.mp4
Folder name                              : /opt/Media/TV Shows/Is It Wrong to Try to Pick Up Girls in a Dungeon/Season 01
File name                                : Is It Wrong to Try to Pick Up Girls in a Dungeon - S01E01 - Adventurer Bell Cranel
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : MPEG-4
Codec                                    : MPEG-4
Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
File size                                : 476010298
File size                                : 454 MiB
File size                                : 454 MiB
File size                                : 454 MiB
File size                                : 454 MiB
File size                                : 454.0 MiB
Duration                                 : 1439702
Duration                                 : 23mn 59s
Duration                                 : 23mn 59s 702ms
Duration                                 : 23mn 59s
Duration                                 : 00:23:59.702
Overall bit rate                         : 2645049
Overall bit rate                         : 2 645 Kbps
Stream size                              : 1350065
Stream size                              : 1.29 MiB (0%)
Stream size                              : 1 MiB
Stream size                              : 1.3 MiB
Stream size                              : 1.29 MiB
Stream size                              : 1.288 MiB
Stream size                              : 1.29 MiB (0%)
Proportion of this stream                : 0.00284
HeaderSize                               : 40
DataSize                                 : 474660241
FooterSize                               : 1350017
IsStreamable                             : No
File last modification date              : UTC 2015-05-02 11:58:05
File last modification date (local)      : 2015-05-02 13:58:05
Writing application                      : Lavf54.63.104

Video
Count                                    : 277
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : [email protected]
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4
Format settings, ReFrames                : 4 frames
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://developers.videolan.org/x264.html
Codec/CC                                 : avc1
Codec profile                            : [email protected]
Codec settings                           : CABAC / 4 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 4
Duration                                 : 1439689
Duration                                 : 23mn 59s
Duration                                 : 23mn 59s 689ms
Duration                                 : 23mn 59s
Duration                                 : 00:23:59.689
Bit rate                                 : 2509000
Bit rate                                 : 2 509 Kbps
Width                                    : 1280
Width                                    : 1 280 pixels
Height                                   : 720
Height                                   : 720 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 fps
Frame count                              : 34518
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.114
Stream size                              : 451631624
Stream size                              : 431 MiB (95%)
Stream size                              : 431 MiB
Stream size                              : 431 MiB
Stream size                              : 431 MiB
Stream size                              : 430.7 MiB
Stream size                              : 431 MiB (95%)
Proportion of this stream                : 0.94879
Writing library                          : x264 - core 123 r2189 35cf912
Writing library                          : x264 core 123 r2189 35cf912
Writing library/Name                     : x264
Writing library/Version                  : core 123 r2189 35cf912
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2509 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

Audio
Count                                    : 230
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Commercial name                          : AAC
Format profile                           : LC
Codec ID                                 : 40
Codec                                    : AAC LC
Codec                                    : AAC LC
Codec/Family                             : AAC
Codec/CC                                 : 40
Duration                                 : 1439702
Duration                                 : 23mn 59s
Duration                                 : 23mn 59s 702ms
Duration                                 : 23mn 59s
Duration                                 : 00:23:59.702
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 127963
Bit rate                                 : 128 Kbps
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
ChannelLayout                            : L R
Sampling rate                            : 48000
Sampling rate                            : 48.0 KHz
Samples count                            : 69105696
Frame count                              : 67486
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 23028609
Stream size                              : 22.0 MiB (5%)
Stream size                              : 22 MiB
Stream size                              : 22 MiB
Stream size                              : 22.0 MiB
Stream size                              : 21.96 MiB
Stream size                              : 22.0 MiB (5%)
Proportion of this stream                : 0.04838
Language                                 : unk
Language                                 : unk
Language                                 : unk
Language                                 : unk
This last anime got a strange folder name (maybe because not using anidb?).

Re: [amc] Why Anime Detection not working?

Posted: 02 May 2015, 12:08
by 3KyNoX
and maybe not recognized as an anime because of vo st FRench?

Re: [amc] Why Anime Detection not working?

Posted: 02 May 2015, 15:15
by rednoah
It's not recognized because it only has Japanese audio, but no embedded ASS subtitles. These files have no subtitle track so that's not typical for anime with mkv containers. I suppose the subtitles are hard-coded into the video?

Japanese + ASS subtitles is pretty much 100% an Anime heuristics. Just having Japanese audio... well, that could very well be a Japanese movie or series.

If you have an idea for improving the heuristics for Anime be my guest. ;) But in this case I recommend using --def ut_label=anime and force anime mode, as you should always do if you already know what you're processing.