Jump to content

Transcode fail with error: Impossible to convert between the formats


Recommended Posts

Posted (edited)

Play fail after play a few minutes. I check the log and find the Transcode error. Here is the emby log:

2023-02-16 12:22:42.390 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 1,251.00 bytes Graph Count: 1
2023-02-16 12:22:42.390 Info App: AppendExtraLogData - File Deleted
2023-02-16 12:22:42.391 Info App: ProcessRun 'StreamTranscode 8be24c' Process exited with code 1 - Failed
2023-02-16 12:22:47.080 Info Server: http/1.1 POST http://‌‍‍emby.xxxxxx.xx/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=Hotwill的Xiaomi 12&X-Emby-Device-Id=dc77996ed710ef9a&X-Emby-Client-Version=3.2.92&X-Emby-Language=zh-cn&reqformat=json. UserAgent: Mozilla/5.0 (Linux; Android 12; 2201123C Build/SKQ1.211006.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.118 Mobile Safari/537.36
2023-02-16 12:22:47.080 Info Server: http/1.1 Response 204 to ‌‍‍x.xxx.xxx.38‌. Time: 1ms. http://‌‍‍emby.xxxxxx.xx/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=Hotwill的Xiaomi 12&X-Emby-Device-Id=dc77996ed710ef9a&X-Emby-Client-Version=3.2.92&X-Emby-Language=zh-cn&reqformat=json
2023-02-16 12:22:51.499 Info Server: http/1.1 Response 500 to ‌‍‍x.xxx.xxx.38‌. Time: 9920ms. http://‌‍‍emby.xxxxxx.xx/emby/videos/311299/hls1/main/138.ts?PlaySessionId=c74f6c74bd62450d82704aa64ba37725
2023-02-16 12:22:52.153 Info Server: http/1.1 POST http://‌‍‍emby.xxxxxx.xx/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=Hotwill的Xiaomi 12&X-Emby-Device-Id=dc77996ed710ef9a&X-Emby-Client-Version=3.2.92&X-Emby-Language=zh-cn&reqformat=json. UserAgent: Mozilla/5.0 (Linux; Android 12; 2201123C Build/SKQ1.211006.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.118 Mobile Safari/537.36
2023-02-16 12:22:52.154 Info Server: http/1.1 Response 204 to ‌‍‍x.xxx.xxx.38‌. Time: 1ms. http://‌‍‍emby.xxxxxx.xx/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Android&X-Emby-Device-Name=Hotwill的Xiaomi 12&X-Emby-Device-Id=dc77996ed710ef9a&X-Emby-Client-Version=3.2.92&X-Emby-Language=zh-cn&reqformat=json
2023-02-16 12:22:52.505 Info Server: http/1.1 GET http://‌‍‍emby.xxxxxx.xx/emby/videos/311299/hls1/main/138.ts?PlaySessionId=c74f6c74bd62450d82704aa64ba37725. Host=emby.hotwill.cn, User-Agent=Emby/3.2.92 (Linux;Android 12) ExoPlayerLib/2.18.2, Accept-Encoding=identity, X-Real-IP=1.202.162.38, X-Forwarded-For=1.202.162.38
2023-02-16 12:22:52.517 Info App: ProcessRun 'StreamTranscode 51cd29' Execute: D:\programs\embyserver-win-x64-3.5.3.0\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "D:\programs\embyserver-win-x64-3.5.3.0\programdata\logs\ffmpeg-transcode-51cd2929-52da-45f0-a0ed-b40892f84164_1graph.txt" -copyts -start_at_zero -f mp4 -ss 00:06:54.000 -c:v:0 hevc -hwaccel:v:0 cuda -hwaccel_device:v:0 0 -hwaccel_output_format:v:0 cuda -c:v:1 mjpeg -i "D:\电视剧\狂飙 (2023)\Season 1\狂飙 - S01E20 - 第 20 集.mp4" -filter_complex "[0:0]superscale_cuda@f1=w=720:h=404,setsar@f2=sar=sar[f2_out0]" -map [f2_out0] -map 0:1 -sn -c:v:0 h264_nvenc -b:v:0 3810171 -g:v:0 75 -maxrate:v:0 3810171 -bufsize:v:0 7620342 -keyint_min:v:0 75 -r:v:0 25 -profile:v:0 main -c:a:0 copy -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "D:\programs\embyserver-win-x64-3.5.3.0\programdata\transcoding-temp\1483D6\1483D6.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 138 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "D:\programs\embyserver-win-x64-3.5.3.0\programdata\transcoding-temp\1483D6\1483D6_%d.ts"
2023-02-16 12:22:53.305 Info App: AppendExtraLogData - Read graph file: D:\programs\embyserver-win-x64-3.5.3.0\programdata\logs\ffmpeg-transcode-51cd2929-52da-45f0-a0ed-b40892f84164_1graph.txt
2023-02-16 12:22:53.305 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 1,251.00 bytes Graph Count: 1
2023-02-16 12:22:53.305 Info App: AppendExtraLogData - File Deleted
2023-02-16 12:22:53.305 Info App: ProcessRun 'StreamTranscode 51cd29' Process exited with code 1 - Failed

and the ffmpeg-transcode log is in attachment. Error is: Impossible to convert between the formats supported by the filter 'setsar@f2' and the filter 'auto_scale_0'

Please tell me what's the wrong. Thank you!

 

Quote

emby version: 4.7.11

ffmpeg-transcode-51cd2929-52da-45f0-a0ed-b40892f84164_1.txt

Edited by Happy2Play
edited visible urls/ips
Happy2Play
Posted

Looks to be something in the HWA code, does it play with HWA disabled?

Increasing your Global Remote Bitrate Limit: 4,000,000 bps slightly would/should allow it to Direct Play.  Item "Bitrate":4101049

Posted

Yes, disabled HWA or Direct Play works fine. The error occurs when hardware transcoding is enabled.

  • Thanks 1
Happy2Play
Posted

Per your other topic  

You mentioned it happens on iOS also, can you port that log.  No need for multiple topics.

 

Happy2Play
Posted

Looks similar to the NVDEC vs CUVID issues but this card does not appear to have a CUVID option.

  • 2 weeks later...
Posted

@hotwill - Can you please install the latest Nvidia drivers, restart the computer and retry?

Then, please post the hardware detection log.

Thanks

Posted
On 3/3/2023 at 9:33 AM, hotwill said:

The Nvidia drivers is already lastest. @softworkz

What driver version number is installed?

Posted
On 3/3/2023 at 8:51 AM, softworkz said:

 please post the hardware detection log.

Something must be very wrong on your system when you're not seeing any CUVID options.

Posted
On 3/6/2023 at 6:22 AM, hotwill said:

@Luke @softworkz Here is the detection log.

Thanks. The detection log _does_ show the cuvid decoders.

Can you please go to the dashboard "Transcoding" page and set HW acceleration to "Advanced" and see whether the CUVID decoders are listed there?

Posted
11 hours ago, softworkz said:

Thanks. The detection log _does_ show the cuvid decoders.

Can you please go to the dashboard "Transcoding" page and set HW acceleration to "Advanced" and see whether the CUVID decoders are listed there?

What's the meaning of "The detection log _does_ show the cuvid decoders"? @softworkz

Here is the "Advanced" page:

image.thumb.png.c0d4e1b017d76a356c73ab4ea9ef2f5d.png

Posted
4 minutes ago, hotwill said:

What's the meaning of "The detection log _does_ show the cuvid decoders"

They weren't visible in the hw decoders list in the log:

image.png.657e202c03346e481816fa0dde04f7c4.png

 

Can you try with the HEVC CUVID decoder?
(check box and move to top)

Posted
On 3/13/2023 at 3:31 PM, softworkz said:

They weren't visible in the hw decoders list in the log:

image.png.657e202c03346e481816fa0dde04f7c4.png

 

Can you try with the HEVC CUVID decoder?
(check box and move to top)

HEVC CUVID decoder works fine.

Why CUVID works fine but NVDEC does not?

Posted
43 minutes ago, hotwill said:

HEVC CUVID decoder works fine.

Why CUVID works fine but NVDEC does not?

We haven't been able to identify a clear pattern. In most cases, both are working, but sometimes only one of them. That's why we're even having both as option.
Sorry for the inconvenience.

Happy2Play
Posted
9 hours ago, hotwill said:

HEVC CUVID decoder works fine.

Why CUVID works fine but NVDEC does not?

Several existing topics, suggest fixed in next beta.

 

RedWings
Posted (edited)

Hello,

I think i have the same error with a RTX 3060 12Go, i have juste disableb it for transcoding for now.

Edited by RedWings
  • 1 month later...
Posted

This is resolved in the upcoming 4.8 server release. Thanks.

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