#Header error on starting channel on new system

1 messages · Page 1 of 1 (latest)

wanton fractal
#

Fresh install of ETV on a NUC configured for h264 QSV, got the following error log when starting a channel that was playing an .avi file. Curious what might have caused it because to my knowledge this same file or tv show played on the channel without issue on the previous instance (using h264 nvenc)

2025-01-11 09:02:24.724 -08:00 [ERR] HLS process for channel 3 has terminated unsuccessfully with exit code -40: [mp3float @ 00000251c5b63340] Header missing
[mp3float @ 00000251c5cc9980] Header missing
[mp3float @ 00000251c5cc4f40] Header missing
[aist#1:1/mp3 @ 00000251c5cca740] Error submitting packet to decoder: Invalid data found when processing input
[mp3float @ 00000251c5cc4f40] Header missing
[aist#1:1/mp3 @ 00000251c5cca740] Error submitting packet to decoder: Invalid data found when processing input
[mp3float @ 00000251c5cc4f40] Header missing
[aist#1:1/mp3 @ 00000251c5cca740] Error submitting packet to decoder: Invalid data found when processing input
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_3' and the filter 'auto_scale_0'
[fc#0 @ 00000251ba1a8780] Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while filtering: Function not implemented
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_3' and the filter 'auto_scale_0'
[fc#0 @ 00000251ba1a8780] Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
[out#0/hls @ 00000251cf9acac0] Nothing was written into output file, because at least one of its streams received no packets.

wanton fractal
#

Just got this error message/log, also for an avi file

1/11/2025 11:59:11 AM -08:00 Error HLS process for channel 1 has terminated unsuccessfully with exit code -40: Impossible to convert between the formats supported by the filter 'Parsed_hwupload_5' and the filter 'auto_scale_2'

2025-01-11 11:59:11.134 -08:00 [ERR] HLS process for channel 1 has terminated unsuccessfully with exit code -40: Impossible to convert between the formats supported by the filter 'Parsed_hwupload_5' and the filter 'auto_scale_2'
[fc#0 @ 0000018d62d7bfc0] Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while filtering: Function not implemented
[out#0/hls @ 0000018d65418500] Nothing was written into output file, because at least one of its streams received no packets.

#

Is there something I'm missing in a fresh install for transcoding avi files?

#

This is the FFmpeg profile, the only thing I changed was qsv

smoky kite
#

hard to say without seeing the specific ffmpeg arguments. if you set the streaming log level to debug (etv main settings page) and stream again, it might show more info. another option is to enable saving troubleshooting reports to disk (etv main settings page). that will make a folder under etv config / ffmpeg reports that contains the args passed to ffmpeg and the full ffmpeg output

wanton fractal
#

hopefully that debug log is what you're looking for

#

I did just try it with non-qsv settings (hardware accel set to none and nvenc) and it works, but pegs the system cpu wildly

#

The system is a gen 13 i5 with Iris Xe graphics

smoky kite
#

unfortunately qsv is the most finicky of the hardware accels. can you show the etv media info for the item? there's a green button on the movie page/episode list

#

i guess this might actually be a case where the pixel format info missing from plex libraries causes a problem

wanton fractal
#

{
"Id": 5599,
"Kind": "PlexEpisode",
"LibraryKind": "PlexLibrary",
"ServerName": "DoublePotato",
"LibraryName": "TV Shows",
"State": "RemoteOnly",
"Duration": "01:31:13.9460000",
"SampleAspectRatio": "1:1",
"DisplayAspectRatio": "1.66",
"RFrameRate": "29.970",
"VideoScanKind": "Unknown",
"Width": 720,
"Height": 480,
"Streams": [
{
"Index": 0,
"Kind": "Video",
"Codec": "mpeg4",
"Profile": "",
"ColorRange": "",
"ColorSpace": "",
"ColorTransfer": "",
"ColorPrimaries": "",
"BitsPerRawSample": 8
},
{
"Index": 1,
"Kind": "Audio",
"Title": "",
"Codec": "mp3",
"Profile": "",
"Channels": 2
}
],
"Chapters": []
}

smoky kite
#

yeah all of this missing info might be a problem with qsv "Codec": "mpeg4", "Profile": "", "ColorRange": "", "ColorSpace": "", "ColorTransfer": "", "ColorPrimaries": "",

#

can you run ffprobe against the file directly?

#

ffprobe [filename]

wanton fractal
granite idol
smoky kite
#

Performance mostly, seems excessive to probe things that are already probed. I'm not sure that the pixel format is the issue here, since the pipeline assumes yuv420p from Plex anyway

wanton fractal
#

At this point I changed it back to no hardware acceleration for the sake of functionality

smoky kite
#

Sure, each channel can have its own ffmpeg profile so you can copy that one and make it qsv on a test channel. Seems like the issue would be content specific. Is most of your content divx/Avi?

granite idol
wanton fractal
smoky kite
#

i'll try to do a sweep with my automated transcoding tests on a windows box with qsv this weekend, see if i can repro with any of the content i have