michnmi 10 Posted January 16 Share Posted January 16 Hi, I'm not exactly what I'm doing wrong. Nothing has changed that I know of. I'm running version Version 4.7.14.0 Any file I select to 'Convert', I now get the following message: 2024-01-16 21:27:24.242 Error TaskManager: Error *** Error Report *** Version: 4.7.14.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 4.15.0-193-generic (buildd@lcy02-amd64-022) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #204-Ubuntu SMP Fri Aug 26 19:20:21 UTC 20 Framework: .NET 6.0.20 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.Server.Sync.SyncJobProcessor.SyncAudio(SyncJobItem jobItem, BaseItem item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.ProcessJobItem(SyncJobItem jobItem, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.SyncJobItems(Int64[] jobItemIds, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.Sync(IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncConvertScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Source: Emby.Server.Sync TargetSite: Void MoveNext() In the Conversions page I see that the item is queued: This now happens for any item, even ones that have already been transcoded by EMBY. What am I missing here? Can anyone help? Many thanks! MM Link to comment Share on other sites More sharing options...
Luke 37112 Posted January 16 Share Posted January 16 Hi there, please attach the complete emby server log. Thanks. Link to comment Share on other sites More sharing options...
michnmi 10 Posted January 16 Author Share Posted January 16 (edited) Sure, thanks! This is the server log: embyserver.txt Edited January 16 by michnmi file error Link to comment Share on other sites More sharing options...
Luke 37112 Posted January 16 Share Posted January 16 OK so this is only an issue with the download and/or conversion features right? And is it only with audio files? Link to comment Share on other sites More sharing options...
michnmi 10 Posted January 16 Author Share Posted January 16 The issue is whenever I ask for a conversion. Downloads work properly. No, it's not audio files, it's mkv/mp4 files that have streams of video and audio. I haven't tried audio files to be honest. Basically, so far, it's all of the video files. This includes files that have been converted by EMBY. MM Link to comment Share on other sites More sharing options...
Luke 37112 Posted January 16 Share Posted January 16 Strange. Haven't seen this before. Can you try refreshing the metadata on those files and see if that helps? Link to comment Share on other sites More sharing options...
michnmi 10 Posted January 16 Author Share Posted January 16 Thanks! I ran it. Again I get the same error. I've also turned on 'debug' in the logs, but the exception it throws hasn't changed. Here is the media info of the file: Link to comment Share on other sites More sharing options...
michnmi 10 Posted January 17 Author Share Posted January 17 Just as an addition here, whenever I transcode it on the fly (i.e. play it from a browser) the transcoding process starts: 2024-01-17 16:13:18.605 Info App: ProcessRun 'StreamTranscode 524c22' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/lib/emby/logs/ffmpeg-remux-524c22cc-c9a5-4f2a-b351-9bcabe0310f9_1graph.txt" -copyts -start_at_zero -f matroska,webm -noaccurate_seek -c:v:0 h264 -i "path1/title/title.Season.4/title.401-title.mkv" -map 0:0 -map 0:1 -sn -c:v:0 copy -bsf:v:0 h264_mp4toannexb -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=eng -filter:a:0 "volume=2" -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-temp/02851C/02851C_%d.ts" -map 0:2 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s2.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s2_%d.vtt" -map 0:3 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s3.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s3_%d.vtt" -map 0:4 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s4_%d.vtt" -map 0:5 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s5_%d.vtt" -map 0:6 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s6.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s6_%d.vtt" -map 0:7 -vn -an -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/var/lib/emby/transcoding-temp/02851C/02851C_s7.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "/var/lib/emby/transcoding-temp/02851C/02851C_s7_%d.vtt" It just doesn't start when I issue a convert command: 2024-01-17 16:13:11.201 Error TaskManager: Error *** Error Report *** Version: 4.7.14.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 4.15.0-193-generic (buildd@lcy02-amd64-022) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #204-Ubuntu SMP Fri Aug 26 19:20:21 UTC 20 Framework: .NET 6.0.20 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.Server.Sync.SyncJobProcessor.SyncAudio(SyncJobItem jobItem, BaseItem item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.ProcessJobItem(SyncJobItem jobItem, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.SyncJobItems(Int64[] jobItemIds, Boolean enableConversion, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncJobProcessor.Sync(IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Sync.SyncConvertScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Source: Emby.Server.Sync TargetSite: Void MoveNext() I have rebooted, restarted etc. I also have issued a refresh metadata of all files in the library which admittedly took a while. Still , nothing new. I tried stracing the command but that doesn't help with dll files. I could attach a debugger to find out why it's happening. Any other ideas? Thanks! MM Link to comment Share on other sites More sharing options...
Solution Luke 37112 Posted January 17 Solution Share Posted January 17 Strange. Are you able to try the 4.8 beta server and see how that compares? Link to comment Share on other sites More sharing options...
michnmi 10 Posted February 3 Author Share Posted February 3 I've installed 4.8 that was released yesterday and the issue has gone away. So weird. Thanks @Luke! MM 1 Link to comment Share on other sites More sharing options...
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