Failed to read media characteristics: ExecuteException

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Failed to read media characteristics: ExecuteException

Post by dhaesejan »

Hi,

just installed filebot on my synology nas DS214.
I followed this install topic viewtopic.php?f=13&t=1802#p10572

Java, Filebot, Filebot Node, Media Server a,nd MediaInfo are installed.

uname -a = Linux DiskStation 3.2.40 #23739 SMP Tue Jul 3 19:46:55 CST 2018 armv7l GNU/Linux synology_armadaxp_ds214
java -version = openjdk version "14" 2020-03-16
OpenJDK Runtime Environment (build 14+36)
OpenJDK Server VM (build 14+36, mixed mode)

Filebot Version = 4.9.1
Filebot Node Version = 0.2.9

I already checked the PACKAGE_LIBRARY_PATH and SYNO_LIBRARY_PATH. "libmediainfo.so" and "libjnidispatch.so" are in the correct folder.

I wanted to test Filebot Node with one map to rename the files and to get subtitles.
The rename and move works as expected.
But no subtitles are found (probably due to the error "Failed to read media characteristics").
See log below.

Code: Select all

filebot -script 'fn:amc' /volume1/downloads/MrRobot --output /volume1/video --action duplicate -non-strict --order Airdate --conflict auto --lang nl --def 'subtitles=nld' 'skipExtract=y' 'excludeList=.excludes' --apply refresh --log all --log-file '/usr/local/filebot-node/data/filebot.log'

------------------------------------------

Run script [fn:amc] at [Wed Apr 15 15:55:52 CEST 2020]
Parameter: subtitles = nld
Parameter: skipExtract = y
Parameter: excludeList = .excludes
Argument[0]: /volume1/downloads/MrRobot
Use excludes: /volume1/video/.excludes
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E02 - 402 Payment Required.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E09 - 409 Conflict.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E06 - 406 Not Acceptable.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E04 - 404 Not Found.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E10 - 410 Gone.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E12 - whoami.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E13 - Hello, Elliot.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E11 - eXit.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E03 - 403 Forbidden.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv] failed (1)
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E02 - 402 Payment Required.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E03 - 403 Forbidden.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E04 - 404 Not Found.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E06 - 406 Not Acceptable.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E09 - 409 Conflict.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E10 - 410 Gone.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E11 - eXit.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E12 - whoami.mkv
Input: /volume1/downloads/MrRobot/Mr. Robot - S04E13 - Hello, Elliot.mkv
xattr: [Mr. Robot - S04E01 - 401 Unauthorized.mkv] => [Mr. Robot - 4x01 - 401 Unauthorized]
xattr: [Mr. Robot - S04E02 - 402 Payment Required.mkv] => [Mr. Robot - 4x02 - 402 Payment Required]
xattr: [Mr. Robot - S04E03 - 403 Forbidden.mkv] => [Mr. Robot - 4x03 - 403 Forbidden]
xattr: [Mr. Robot - S04E04 - 404 Not Found.mkv] => [Mr. Robot - 4x04 - 404 Not Found]
xattr: [Mr. Robot - S04E05 - 405 Method Not Allowed.mkv] => [Mr. Robot - 4x05 - 405 Method Not Allowed]
xattr: [Mr. Robot - S04E06 - 406 Not Acceptable.mkv] => [Mr. Robot - 4x06 - 406 Not Acceptable]
xattr: [Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv] => [Mr. Robot - 4x07 - 407 Proxy Authentication Required]
xattr: [Mr. Robot - S04E08 - 408 Request Timeout.mkv] => [Mr. Robot - 4x08 - 408 Request Timeout]
xattr: [Mr. Robot - S04E09 - 409 Conflict.mkv] => [Mr. Robot - 4x09 - 409 Conflict]
xattr: [Mr. Robot - S04E10 - 410 Gone.mkv] => [Mr. Robot - 4x10 - 410 Gone]
xattr: [Mr. Robot - S04E11 - eXit.mkv] => [Mr. Robot - 4x11 - eXit]
xattr: [Mr. Robot - S04E12 - whoami.mkv] => [Mr. Robot - 4x12 - whoami]
xattr: [Mr. Robot - S04E13 - Hello, Elliot.mkv] => [Mr. Robot - 4x13 - Hello, Elliot]
Group: {Series=mr robot} => [Mr. Robot - S04E01 - 401 Unauthorized.mkv, Mr. Robot - S04E02 - 402 Payment Required.mkv, Mr. Robot - S04E03 - 403 Forbidden.mkv, Mr. Robot - S04E04 - 404 Not Found.mkv, Mr. Robot - S04E05 - 405 Method Not Allowed.mkv, Mr. Robot - S04E06 - 406 Not Acceptable.mkv, Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv, Mr. Robot - S04E08 - 408 Request Timeout.mkv, Mr. Robot - S04E09 - 409 Conflict.mkv, Mr. Robot - S04E10 - 410 Gone.mkv, Mr. Robot - S04E11 - eXit.mkv, Mr. Robot - S04E12 - whoami.mkv, Mr. Robot - S04E13 - Hello, Elliot.mkv]
Get [Dutch] subtitles for 13 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E02 - 402 Payment Required.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E03 - 403 Forbidden.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E04 - 404 Not Found.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E06 - 406 Not Acceptable.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E09 - 409 Conflict.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E10 - 410 Gone.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E11 - eXit.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E12 - whoami.mkv
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E13 - Hello, Elliot.mkv
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Mr. Robot]
Fetching episode data for [Mr. Robot]
Fetching episode data for [Mr. Robot Digital After Show]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E01 - 401 Unauthorized.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E02 - 402 Payment Required.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E02 - 402 Payment Required.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E03 - 403 Forbidden.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E03 - 403 Forbidden.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E04 - 404 Not Found.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E04 - 404 Not Found.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E06 - 406 Not Acceptable.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E06 - 406 Not Acceptable.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E08 - 408 Request Timeout.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E09 - 409 Conflict.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E09 - 409 Conflict.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E10 - 410 Gone.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E10 - 410 Gone.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E11 - eXit.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E11 - eXit.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E12 - whoami.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E12 - whoami.mkv]
[DUPLICATE] from [/volume1/downloads/MrRobot/Mr. Robot - S04E13 - Hello, Elliot.mkv] to [/volume1/video/TV Shows/Mr. Robot/Season 04/Mr. Robot - S04E13 - Hello, Elliot.mkv]
[REFRESH] Refresh File Services (/volume1/video/TV Shows/Mr. Robot/Season 04)
Processed 13 files
Done ヾ(@⌒ー⌒@)ノ

Any advise?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to read media characteristics: ExecuteException

Post by rednoah »

1.
This means no subtitles are available for your files:

Code: Select all

Get [Dutch] subtitles for 13 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv
The amc script will limit itself to Exact Search: Lookup by Hash:
viewtopic.php?t=2615

If you want a more extensively fuzzy search and don't care about possibly out-of-sync subtitles, then you can do a separate lookup:
viewtopic.php?p=8871#p8871



2.
This would be completely unrelated to the above, and simply tells us that ffprobe isn't working, or isn't installed:

Code: Select all

Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv] failed (1)
What does ffprobe -version say?

Code: Select all

/volume1/@appstore/MediaServer/bin/ffprobe -version
:idea: Please read the FAQ and How to Request Help.
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Re: Failed to read media characteristics: ExecuteException

Post by dhaesejan »

1. The suball script gives indeed matching subtitles. But if I understand correctly, I'll need to run this separately in task scheduler. I won't be able to run this in Filebot Node. (Correct me if I'm wrong).

Code: Select all

$ filebot -script 'fn:suball' /volume1/downloads/MrRobot --output /volume1/video/ --action duplicate -non-strict -no-index --conflict auto --lang nl --def 'music=n' 'unsorted=y' 'subtitles=nld' 'deleteAfterExtract=y' --def maxAgeDays=300 --def maxAgeDaysLimit=n
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E02 - 402 Payment Required.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E03 - 403 Forbidden.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E04 - 404 Not Found.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E05 - 405 Method Not Allowed.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E06 - 406 Not Acceptable.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E07 - 407 Proxy Authentication Required.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E08 - 408 Request Timeout.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E09 - 409 Conflict.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E10 - 410 Gone.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E11 - eXit.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E12 - whoami.mkv] failed (1)
Failed to read media characteristics: ExecuteException: [/volume1/@appstore/MediaServer/bin/ffprobe, -show_streams, -show_format, -print_format, json, -v, error, /volume1/downloads/MrRobot/Mr. Robot - S04E13 - Hello, Elliot.mkv] failed (1)
Fetch subtitles for [/volume1/downloads/MrRobot]
Get [Dutch] subtitles for 13 files
Looking up subtitles by hash via OpenSubtitles
Looking up subtitles by name via OpenSubtitles
Fetching [Dutch] subtitles [Mr.Robot.S04E06.406.Not.Acceptable.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] from [OpenSubtitles]
Export [Mr.Robot.S04E06.406.Not.Acceptable.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] as [SubRip / UTF-8]
Writing [Mr.Robot.S04E06.406.Not.Acceptable.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] to [Mr. Robot - S04E06 - 406 Not Acceptable.nld.srt]
Fetching [Dutch] subtitles [Mr.Robot.S04E03.403.Forbidden.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] from [OpenSubtitles]
Export [Mr.Robot.S04E03.403.Forbidden.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] as [SubRip / UTF-8]
Writing [Mr.Robot.S04E03.403.Forbidden.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] to [Mr. Robot - S04E03 - 403 Forbidden.nld.srt]
Fetching [Dutch] subtitles [Mr.Robot.S04E01.401.Unauthorized.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] from [OpenSubtitles]
Export [Mr.Robot.S04E01.401.Unauthorized.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] as [SubRip / UTF-8]
Writing [Mr.Robot.S04E01.401.Unauthorized.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] to [Mr. Robot - S04E01 - 401 Unauthorized.nld.srt]
Fetching [Dutch] subtitles [Mr.Robot.S04E04.iNTERNAL.1080p.WEB.H264-AMRAP.srt] from [OpenSubtitles]
Export [Mr.Robot.S04E04.iNTERNAL.1080p.WEB.H264-AMRAP.srt] as [SubRip / UTF-8]
Writing [Mr.Robot.S04E04.iNTERNAL.1080p.WEB.H264-AMRAP.srt] to [Mr. Robot - S04E04 - 404 Not Found.nld.srt]
Fetching [Dutch] subtitles [Mr.Robot.S04E05.405.Method.Not.Allowed.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] from [OpenSubtitles]
Export [Mr.Robot.S04E05.405.Method.Not.Allowed.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] as [SubRip / UTF-8]
Writing [Mr.Robot.S04E05.405.Method.Not.Allowed.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTG.srt] to [Mr. Robot - S04E05 - 405 Method Not Allowed.nld.srt]
Done ヾ(@⌒ー⌒@)ノ

2. ffprobe version is 3.3.7. (I updated my MediaServer recently)

Code: Select all

$ /volume1/@appstore/MediaServer/bin/ffprobe -version
ffprobe version 3.3.7 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
configuration: --prefix=/usr/pkg --incdir='${prefix}/include/ffmpeg' --arch=armv7 --target-os=linux --cross-prefix=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-version3 --enable-nonfree --enable-encoders --enable-pthreads --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffserver --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --extra-cflags=-I/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/include --extra-ldflags=-L/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/lib --cc=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc --enable-shared --disable-static --enable-libfdk-aac
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to read media characteristics: ExecuteException

Post by rednoah »

1.
Yes, FileBot Node is a simple front-end for the amc script. If you need something more specific, then FileBot Node is not your friend.

:idea: The suball script is usually executed on a schedule, like once per day or so, with configuration to only search for files that are older than ~3 days and younger than ~30 days. This will allow you to add subtitles later on, as they may not be immediately available, but also not search in vain repeatedly forever.


2.
If ffprobe is generally working, then there's probably something peculiar about this specific set of files. ffprobe console output will probably shed light on the issue:

Code: Select all

/volume1/@appstore/MediaServer/bin/ffprobe -show_streams -show_format -print_format json -v error "/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv"
:idea: Please read the FAQ and How to Request Help.
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Re: Failed to read media characteristics: ExecuteException

Post by dhaesejan »

1. ok thanks for the tip to search older than 3 days! Didn't think of that.

2. hmmmm. The output of your code is just {
Is that expected?

Code: Select all

admin@DiskStation:~$ /volume1/@appstore/MediaServer/bin/ffprobe -show_streams -show_format -print_format json -v error "/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv"
{
admin@DiskStation:~$ 
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to read media characteristics: ExecuteException

Post by rednoah »

2.
Definitely not. Those file really fck with ffprobe it seems. :lol:

Run without options for good measure:

Code: Select all

/volume1/@appstore/MediaServer/bin/ffprobe "/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv"
:idea: Please read the FAQ and How to Request Help.
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Re: Failed to read media characteristics: ExecuteException

Post by dhaesejan »

Code: Select all

admin@DiskStation:/volume1/@appstore/MediaServer/bin$ /volume1/@appstore/MediaServer/bin/ffprobe "/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv"
ffprobe version 3.3.7 Copyright (c) 2007-2017 the FFmpeg developers
  built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
  configuration: --prefix=/usr/pkg --incdir='${prefix}/include/ffmpeg' --arch=armv7 --target-os=linux --cross-prefix=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-version3 --enable-nonfree --enable-encoders --enable-pthreads --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffserver --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --extra-cflags=-I/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/include --extra-ldflags=-L/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/pkg/lib --cc=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc --enable-shared --disable-static --enable-libfdk-aac
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, matroska,webm, from '/volume1/downloads/MrRobot/Mr. Robot - S04E01 - 401 Unauthorized.mkv':
  Metadata:
    encoder         : libebml v1.3.6 + libmatroska v1.4.9
    creation_time   : 2019-10-07T03:06:51.000000Z
  Duration: 01:01:03.97, start: 0.000000, bitrate: 1951 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 960x540, Closed Captions, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 1853328
      DURATION-eng    : 01:01:03.952000000
      NUMBER_OF_FRAMES-eng: 87847
      NUMBER_OF_BYTES-eng: 848813524
      _STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-10-07 03:06:51
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 96073
      DURATION-eng    : 01:01:03.969000000
      NUMBER_OF_FRAMES-eng: 157794
      NUMBER_OF_BYTES-eng: 44001479
      _STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-10-07 03:06:51
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Could not open codec for input stream 1

User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to read media characteristics: ExecuteException

Post by rednoah »

Yep, either a slightly corrupt file, or just something that older versions of ffprobe just can't deal with for some reason:

Code: Select all

Could not open codec for input stream 1
Either way, nothing we can do about that, just ignore the warnings. It'll probably mostly work.
:idea: Please read the FAQ and How to Request Help.
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Re: Failed to read media characteristics: ExecuteException

Post by dhaesejan »

OK, thanks for checking out.
The move & rename of the file is executed correctly so I'll ignore these type of errors.

Have a nice day!
Acejames87
Posts: 4
Joined: 21 Mar 2021, 19:00

Re: Failed to read media characteristics: ExecuteException

Post by Acejames87 »

Hi,

This seems to be fixed in later versions of ffprobe / ffmpeg

To get it working on a synology NAS do the following:

There is a community version of ffmpeg available from https://synocommunity.com/

Install the package after adding the synocommunity as a package source

Then ssh to the server you need to change to root
sudo su -

amend the filebot.sh file in /volume1/@appstore/filebot/filebot.sh

Change this line:
FFPROBE="/volume1/@appstore/MediaServer/bin/ffprobe"
to
FFPROBE="/volume1/@appstore/ffmpeg/bin/ffprobe"

I recommend just adding a # in front of the existing line and just adding a new line so you get

# choose ffprobe executable
#FFPROBE="/volume1/@appstore/MediaServer/bin/ffprobe"
FFPROBE="/volume1/@appstore/ffmpeg/bin/ffprobe"

Save the file and then try again. It will now work without this error message. Hopefully the official FileBot package can be updated to use this package if its available
dhaesejan
Posts: 6
Joined: 15 Apr 2020, 17:44

Re: Failed to read media characteristics: ExecuteException

Post by dhaesejan »

Acejames87 wrote: 21 Mar 2021, 19:08 This seems to be fixed in later versions of ffprobe / ffmpeg
Thanks man! This seems to work! :geek:
Post Reply