Jump to content

converting films issue


Recommended Posts

Posted

Afternoon  all

Ive had to convert a film file using the convert function via the server , I've never had to use this before. anyway when the converting was done i ended up with not only 2 files but each was twice as long/big as the original the film twice back to back, this is the second time doing this film last time it only done i file containing 2 films back to back.

I've included the what i think is the right log.

looking forward to hearing back

 

ffmpeg-directstream-b7a88c82-5670-4f46-988b-6c67020a25cb_1.txt

Posted

I think that is just the playback log ?   Do you have a conversion ffmpeg log ?  Should be titled ffmpeg-transcode-x

 

Posted

Hi thanks for answering, i had a look  for the file that you asked for unfortunately there's not one for today, only the file above.

 

Posted
1 minute ago, dredd1963 said:

Hi thanks for answering, i had a look  for the file that you asked for unfortunately there's not one for today, only the file above.

 

should be for at the time of the conversion - without the log, I can't see what's it's attempting to do ... ;)

Posted

Am sorry but that's only log I can find for that time period.

 

Posted

I looked at the conversions settings on the dashboard and there aren't any so I don't even know what codec it uses or the settings for the specific codec which means the resulting quality is suspect to me so you may want to look at doing them on your own like I do using other software....all free.

Posted

Normally I use handbrake, but I thought convert a go, must admit for how quickly it converts the quality is really good.

The problem is not the quality but the fact that the end file contains the same film twice.

Posted

Hi, please attach the emby server log from when the conversion happened. Thanks.

Posted

How big is the file compared to the original recording?  If the file size is small with good quality I suspect it is HEVC.....which amazes me at times.

Posted

@Luke

Why can't we choose our own conversion settings......I'm particular about quality and have never found anyone's "default settings" acceptable for my content.

Posted
30 minutes ago, Ronstang said:

@Luke

Why can't we choose our own conversion settings......I'm particular about quality and have never found anyone's "default settings" acceptable for my content.

Why do you think you can't? Have you explored the options when setting up the conversion job?

Posted
5 minutes ago, Luke said:

Why do you think you can't? Have you explored the options when setting up the conversion job?

Sorry Luke, I just looked in the dashboard and the settings were minimal.  I just tried to convert an already recorded item and while there are some settings they are extremely minimal.  I would not convert any of my movies that way as I have already run into quality issues with basic generic profiles.  I would prefer to be able to add a custom profile like the following for ffmpeg:

-map 0 -c:v hevc_nvenc -vf "fieldmatch,bwdif=mode=0:deint=1,decimate,format=yuv420p10le" -c:a copy -c:s copy -preset p7 -rc constqp -rc-lookahead 60 -spatial_aq 1 -temporal_aq 1 -nonref_p 1 -cq 26

I don't want compressed audio, 10 bit color makes for files of way better quality, and my files need to be inverse telecined as they are not interlaced.

Posted

OK right you can't do all that but you can configure it for hevc.

Posted
UserId=58a4921962444e83a632462566faef6e&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62
2022-12-05 20:18:26.597 Info App: User policy for dread. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2022-12-05 20:18:26.597 Info App: User policy for dread. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2022-12-05 20:18:26.597 Info Server: http/1.1 Response 200 to ::1. Time: 4ms. http://localhost:8096/emby/Items/164914/PlaybackInfo?UserId=58a4921962444e83a632462566faef6e&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json
2022-12-05 20:18:51.000 Info Server: http/1.1 POST http://localhost:8096/emby/Sync/Jobs?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62
2022-12-05 20:18:51.061 Info Server: http/1.1 Response 200 to ::1. Time: 61ms. http://localhost:8096/emby/Sync/Jobs?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json
2022-12-05 20:18:51.164 Info VideoEncoder: ProcessRun 'Encoding fd165f' Execute: C:\Users\dread\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\dread\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-directstream-fd165f2e-d0c9-47a0-b71b-7d6a4df0de61_1graph.txt" -copyts -start_at_zero -f mp4 -c:v:0 h264 -i "F:\MOVIES\TRANSFORMERS (2007)\TRANSFORMERS (2007).mp4" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "C:\Users\dread\AppData\Roaming\Emby-Server\programdata\sync\23\226\fd165f2e-d0c9-47a0-b71b-7d6a4df0de61.mkv"
2022-12-05 20:20:13.136 Info VideoEncoder: AppendExtraLogData - Read graph file: C:\Users\dread\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-directstream-fd165f2e-d0c9-47a0-b71b-7d6a4df0de61_1graph.txt
2022-12-05 20:20:13.137 Info VideoEncoder: AppendExtraLogData - Deserialized GraphData fileStream: 27.00 bytes Graph Count: 0
2022-12-05 20:20:13.138 Info VideoEncoder: AppendExtraLogData - File Deleted
2022-12-05 20:20:13.139 Info VideoEncoder: ProcessRun 'Encoding fd165f' Process exited with code 0 - Succeeded
2022-12-05 20:20:13.141 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\dread\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"C:\Users\dread\AppData\Roaming\Emby-Server\programdata\sync\23\226\fd165f2e-d0c9-47a0-b71b-7d6a4df0de61.mkv" -threads 0 -v info -print_format json -show_streams -show_format -show_data
2022-12-05 20:20:16.386 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2022-12-05 20:20:16.598 Info App: Emby Media Converter copying file from C:\Users\dread\AppData\Roaming\Emby-Server\programdata\sync\23\226\fd165f2e-d0c9-47a0-b71b-7d6a4df0de61.mkv to F:\MOVIES\TRANSFORMERS (2007)\TRANSFORMERS (2007) - tv.mkv
2022-12-05 20:20:45.933 Info App: ReportSyncJobItemTransferred 226
2022-12-05 20:20:45.935 Info App: Deleting temporary sync directory C:\Users\dread\AppData\Roaming\Emby-Server\programdata\sync\23\226
2022-12-05 20:21:37.926 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>InvalidArgs</errorDescription></UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2022-12-05 20:21:37.927 Error PortMapper: Error in GetSpecificMappingAsync
	*** Error Report ***
	Version: 4.7.10.0
	Command line: C:\Users\dread\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/dread/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\dread\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\dread\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
	<s:Fault>
	<faultcode>s:Client</faultcode>
	<faultstring>UPnPError</faultstring>
	<detail>
	<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
	<errorCode>402</errorCode>
	<errorDescription>InvalidArgs</errorDescription></UPnPError>
	</detail>
	</s:Fault>
	</s:Body>
	</s:Envelope>
	
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2022-12-05 20:21:37.937 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>InvalidArgs</errorDescription></UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2022-12-05 20:21:37.938 Error PortMapper: Error in DeletePortMap
	*** Error Report ***
	Version: 4.7.10.0
	Command line: C:\Users\dread\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/dread/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\dread\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\dread\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
	<s:Fault>
	<faultcode>s:Client</faultcode>
	<faultstring>UPnPError</faultstring>
	<detail>
	<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
	<errorCode>402</errorCode>
	<errorDescription>InvalidArgs</errorDescription></UPnPError>
	</detail>
	</s:Fault>
	</s:Body>
	</s:Envelope>
	
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.DeletePortMap(Mapping mapping, CancellationToken cancellationToken)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2022-12-05 20:21:37.943 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>InvalidArgs</errorDescription></UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2022-12-05 20:21:37.944 Error PortMapper: Error in GetSpecificMappingAsync
	*** Error Report ***
	Version: 4.7.10.0
	Command line: C:\Users\dread\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/dread/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\dread\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\dread\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
	<s:Fault>
	<faultcode>s:Client</faultcode>
	<faultstring>UPnPError</faultstring>
	<detail>
	<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
	<errorCode>402</errorCode>
	<errorDescription>InvalidArgs</errorDescription></UPnPError>
	</detail>
	</s:Fault>
	</s:Body>
	</s:Envelope>
	
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2022-12-05 20:21:37.945 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>InvalidArgs</errorDescription></UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2022-12-05 20:21:37.946 Error PortMapper: Error in DeletePortMap
	*** Error Report ***
	Version: 4.7.10.0
	Command line: C:\Users\dread\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/dread/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\dread\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\dread\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
	<s:Fault>
	<faultcode>s:Client</faultcode>
	<faultstring>UPnPError</faultstring>
	<detail>
	<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
	<errorCode>402</errorCode>
	<errorDescription>InvalidArgs</errorDescription></UPnPError>
	</detail>
	</s:Fault>
	</s:Body>
	</s:Envelope>
	
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.DeletePortMap(Mapping mapping, CancellationToken cancellationToken)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2022-12-05 20:22:30.969 Info LibraryMonitor: MOVIES (F:\MOVIES) will be refreshed.
2022-12-05 20:22:32.089 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\dread\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"F:\MOVIES\TRANSFORMERS (2007)\TRANSFORMERS (2007) - tv.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2022-12-05 20:22:32.246 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2022-12-05 20:22:32.256 Info App: MovieDbProvider: Finding id for item: TRANSFORMERS
2022-12-05 20:22:32.256 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret1_x&query=TRANSFORMERS&language=en&year=2007
2022-12-05 20:22:32.569 Info HttpClient: GET https://api.themoviedb.org/3/movie/1858?api_key=x_secret1_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=en&include_image_language=en,null
2022-12-05 20:22:32.885 Info HttpClient: GET https://api.themoviedb.org/3/movie/1858?api_key=x_secret1_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers
2022-12-05 20:23:13.999 Info Server: http/1.1 POST http://localhost:8096/emby/DisplayPreferences/usersettings?userId=58a4921962444e83a632462566faef6e&client=emby&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62
2022-12-05 20:23:14.014 Info Server: http/1.1 Response 204 to ::1. Time: 15ms. http://localhost:8096/emby/DisplayPreferences/usersettings?userId=58a4921962444e83a632462566faef6e&client=emby&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json
2022-12-05 20:23:16.470 Info Server: http/1.1 POST http://localhost:8096/emby/DisplayPreferences/usersettings?userId=58a4921962444e83a632462566faef6e&client=emby&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62
2022-12-05 20:23:16.474 Info Server: http/1.1 Response 204 to ::1. Time: 4ms. http://localhost:8096/emby/DisplayPreferences/usersettings?userId=58a4921962444e83a632462566faef6e&client=emby&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=36012056-75fa-4be0-bf34-63867eab0d06&X-Emby-Client-Version=4.7.10.0&reqformat=json
2022-12-05 20:28:15.313 Info Server: http/1.1 POST http://192.168.1.3:8096/emby/Sync/data. UserAgent: okhttp/4.9.2
2022-12-05 20:28:15.314 Info Server: http/1.1 Response 200 to host2. Time: 2ms. http://192.168.1.3:8096/emby/Sync/data
2022-12-05 20:31:38.562 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>402</errorCode>
<errorDescription>InvalidArgs</errorDescription></UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

2022-12-05 20:31:38.564 Error PortMapper: Error in GetSpecificMappingAsync
	*** Error Report ***
	Version: 4.7.10.0
	Command line: C:\Users\dread\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
Posted

hope that this is what your looking for

Posted
5 hours ago, Ronstang said:

Sorry Luke, I just looked in the dashboard and the settings were minimal.  I just tried to convert an already recorded item and while there are some settings they are extremely minimal.  I would not convert any of my movies that way as I have already run into quality issues with basic generic profiles.  I would prefer to be able to add a custom profile like the following for ffmpeg:

-map 0 -c:v hevc_nvenc -vf "fieldmatch,bwdif=mode=0:deint=1,decimate,format=yuv420p10le" -c:a copy -c:s copy -preset p7 -rc constqp -rc-lookahead 60 -spatial_aq 1 -temporal_aq 1 -nonref_p 1 -cq 26

I don't want compressed audio, 10 bit color makes for files of way better quality, and my files need to be inverse telecined as they are not interlaced.

They are not in the of settings in the server, they are in the dialog when creating the conversion job.

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...