BarryEgan 0 Posted June 2, 2024 Posted June 2, 2024 (edited) Hi everyone, long time listener... first time caller. Latest Emby 4.9 on Windows Server 2016. For reasons bordering on the absurd I have a compelling need to verify every video file on my NAS that the files will in fact "play". Some files are corrupt and I don't know which ones. When I look at my Emby logs during the Scan for Media process, I notice a program being called, "ffprobe" and when a corrupt file is encountered a log entry is generated. For example: 2024-06-02 07:54:13.975 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\XXXXXXXXXX\appdata\Roaming\Emby-Server\system\ffprobe.exe -i file:"\\NAS3\PUBLIC\TV\! NEW\Maury\Season 19\Maury - S19E125 - I've Been Married 3 Times ... Is My 4th Fiance a Cheater.mp4" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2024-06-02 07:54:14.278 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2024-06-02 07:54:14.283 Error App: Error in ffprobe *** Error Report *** Version: 4.9.0.22 Command line: C:\Users\XXXXXXXX\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.14393 OS/Process: x64/x64 Framework: .NET 8.0.5 Runtime: C:/Users/XXXXXXXXX/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 1 Data path: C:\Users\XXXXXXXX\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\XXXXXX\AppData\Roaming\Emby-Server\system Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i Thats exactly what I want to do... I want to run something in Emby or manipulate the probe program which will examine all existing media in all Libraries and return an error in the log when the probe process fails. Moving the media files in the Libraries to other directories, re-scanning them, adding them back and rescanning again is not something I want to do. I suppose I could write a Powershell script but would like to know if such scenario can be resolved within Emby itself before spending time going that route. Any feedback appreciated, Edited June 2, 2024 by BarryEgan
Abobader 3464 Posted June 2, 2024 Posted June 2, 2024 Hello BarryEgan, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
Neminem 1519 Posted June 2, 2024 Posted June 2, 2024 You could try with Tdarr And run a health check on your media files. The 1's that fail, you would have to look into.
visproduction 315 Posted June 2, 2024 Posted June 2, 2024 If you have a lot of .mp4 files, try using MP4Box. I run a batch file to check and update the language ID for any incoming mp4 media files. Once MP4box is installed, put the batch file in any directory with any number of .mp4 files you want to add a language ID into the metadata which shows up in Emby on the media page. This batch file command also checks some part of the video timeline quality, as well. You have to read more from the manual. If you put this batch file in a library directory with 2000 media files in subdirectory. It would do all of them with the one command. set2en.bat for /R %%f in (*.mp4) do "C:\Program Files\GPAC\MP4Box.exe" -lang 2=en "%%f" echo completed pause To change to some other language, you just edit the 2=en to some other code and this makes the metadata language code match whatever you pick. https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes Hope that helps.
BarryEgan 0 Posted June 2, 2024 Author Posted June 2, 2024 Tdarr does exactly what I need. Thanks @jaycedk
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now