Jump to content

Download stuck on iPad, no resume? Errors in log


joydashy

Recommended Posts

joydashy

I have been away from Emby for a long time, but being unhappy with Plex I wanted to give it a try again. Am running Emby on Debian x64 and testing the offline sync (my main need) on an updated iPad.

 

I noticed the transcoding/download taking substantially longer than on Plex, but I can live with that. But after leaving it running for a night, it's all kinds of failed:

 

5cf217e986fc9_IMG_1120.jpg

 

It appears to be stuck now. There are errors in the logfile:

2019-06-01 04:18:19.661 Error App: Error during sync transcoding
	*** Error Report ***
	Version: 4.1.1.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: Unix 4.15.18.14
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 24
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Exception: System.Exception: Encoding failed
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.EncodeVideo(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	
2019-06-01 04:18:19.664 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 8781552, max bitrate: 320000
2019-06-01 04:18:19.664 Info App: Bitrate exceeds DirectStream limit: media bitrate: 8781552, max bitrate: 4000000
2019-06-01 04:18:19.664 Info App: Profile: Unnamed, Path: /mnt/slow/media/TV Shows/Band of Brothers/Season 1/Band of Brothers - S01E10 - Points [x265, BluRay-1080p, AAC-5.1, UTR-HD].mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2019-06-01 04:18:19.670 Info MediaEncoder: ProcessRun 'Encoding 7bedf8' Execute: /opt/emby-server/bin/ffmpeg -re  -f matroska -i file:"/mnt/slow/media/TV Shows/Band of Brothers/Season 1/Band of Brothers - S01E10 - Points [x265, BluRay-1080p, AAC-5.1, UTR-HD].mkv" -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -filter_complex "[0:0]scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p  -maxrate 3680000 -bufsize 7360000 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -y "/var/lib/emby/sync/1/10/7bedf80a-dc6b-41c0-b648-bda195013c47.mkv"
2019-06-01 04:18:19.695 Info MediaEncoder: ProcessRun 'Encoding 7bedf8' Started.
2019-06-01 04:18:20.786 Info MediaEncoder: ffmpeg successfully started
2019-06-01 04:41:51.880 Info MediaEncoder: ProcessRun 'Encoding 7bedf8' Process exited with code 1
2019-06-01 04:41:51.880 Info MediaEncoder: FFMpeg exited with code 1
2019-06-01 04:41:51.902 Error App: Error during sync transcoding
	*** Error Report ***
	Version: 4.1.1.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: Unix 4.15.18.14
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 24
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Exception: System.Exception: Encoding failed
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.EncodeVideo(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void Throw()

What to do? Plus, how do I resume/restart the process, do I have to start from scratch now? That would be unfortunate.

Link to comment
Share on other sites

Hi there, can you please supply the failed conversion logs? thanks.

Link to comment
Share on other sites

joydashy

Hi there, can you please supply the failed conversion logs? thanks.

Sorry, I really should have checked these myself... seeing several of these in there:

Disk quota exceeded

The transcoding must not have gone in order of episode, and space within the Emby LXC ran out. I had already changed the path to a place with ample space, but must have done that after this transcode started...

Link to comment
Share on other sites

Thanks for the feedback. I think if you try again it should work now.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...