Jump to content

Windows 11 Firefox Playback Freezing


cyrus104

Recommended Posts

Dickydodah!

An option to remove all subs if none of the selected language exist may be the way forward, then the onus is on the user 🙄 Might be harder though.

Edited by Dickydodah!
  • Agree 1
Link to comment
Share on other sites

Cheesegeezer
3 minutes ago, Dickydodah! said:

An option to remove all subs if none of the selected language exist may be the way forward, then the onus is on the user 🙄 Might be harder though.

i'll release this one, and then have a think.  Be nice to put this to bed finally

 

Link to comment
Share on other sites

Dickydodah!

The scenario I think you should be looking at is a user with a "less popular" first language. They might not get embedded subs in many of their files so have to rely on automatic subtitle downloading. Not sure if the core subtitle downloader will overwrite existing SRT files but that's not a SK issue.

If you do opt for a switch option a warning that Samsung TVs may have issues if all subs are retained may help to stop error reports.

Link to comment
Share on other sites

cyrus104

Roger, will download now and test against my test library.

EDIT: is there an easy way to just upgrade a plugin?

EDIT 2: Seems to be running on the 10ish file test library but I need to run to work.

Edited by cyrus104
Link to comment
Share on other sites

Dickydodah!

@Cheesegeezer Whilst you are looking at the issue of not removing subs if none of specified language exist can you see if there is an easy fix for this issue I just found? I'm not too bothered if not as there is no issue with playing this file on a Samsung TV as there are only 2 subs. I have used an alternative method on subs recently as I wanted to remove graphical as well.

The file only has 2 embedded English subs but SK didn't extract them.

embyserver.txt

Link to comment
Share on other sites

Cheesegeezer
23 minutes ago, Dickydodah! said:

@Cheesegeezer Whilst you are looking at the issue of not removing subs if none of specified language exist can you see if there is an easy fix for this issue I just found? I'm not too bothered if not as there is no issue with playing this file on a Samsung TV as there are only 2 subs. I have used an alternative method on subs recently as I wanted to remove graphical as well.

The file only has 2 embedded English subs but SK didn't extract them.

embyserver.txt 6.98 kB · 0 downloads

Didit remove them? Sorry on phone and a pain to read txt filess… its a crapple device 

Link to comment
Share on other sites

Cheesegeezer
58 minutes ago, Dickydodah! said:

@Cheesegeezer Whilst you are looking at the issue of not removing subs if none of specified language exist can you see if there is an easy fix for this issue I just found? I'm not too bothered if not as there is no issue with playing this file on a Samsung TV as there are only 2 subs. I have used an alternative method on subs recently as I wanted to remove graphical as well.

The file only has 2 embedded English subs but SK didn't extract them.

embyserver.txt 6.98 kB · 2 downloads

right... got it, had to download on bloody laptopamabob.

i'll have a look later.

Link to comment
Share on other sites

Dickydodah!

I really can't use a phone for any web browsing or forums. Then again I only got my first smartphone about 4 years ago as I was never allowed to have my phone on at work.

Link to comment
Share on other sites

Dickydodah!

@cyrus104 release is now 1.0.0.9 which should auto update from the catalogue. Everything is now working as it should except for one very niche scenario which I found by accident. if this has sorted your initial issue can you mark it as solved?

SubKiller is a lifesaver for Samsung TV users as they have a fit if there are too many subs.

Link to comment
Share on other sites

  • 2 weeks later...
cyrus104

I just got around to testing this and I think it messed up the files, even after several restarts Emby now won't play them. I turned my Plex docker back on and it's playing them, so not sure what's wrong and having a hard time reading the logs. I tried to play to movies that I know were working previously.

embyserver.txt ffmpeg-transcode-ac642d47-f5d3-4b8a-bbdd-fc38ff3b8ea8_1.txt

Link to comment
Share on other sites

Happy2Play
7 minutes ago, cyrus104 said:

I just got around to testing this and I think it messed up the files, even after several restarts Emby now won't play them. I turned my Plex docker back on and it's playing them, so not sure what's wrong and having a hard time reading the logs. I tried to play to movies that I know were working previously.

embyserver.txt 161.34 kB · 0 downloads ffmpeg-transcode-ac642d47-f5d3-4b8a-bbdd-fc38ff3b8ea8_1.txt 43.74 kB · 0 downloads

Believe it is resolved in 4.8.

18:13:04.221 [hevc @ 0x1999740] get_buffer() failed
18:13:04.221 [hevc @ 0x1999740] thread_get_buffer() failed
18:13:04.221 [hevc @ 0x1999740] Error parsing NAL unit #1.
18:13:04.226 Error while decoding stream #0:0: Cannot allocate memory

 

Link to comment
Share on other sites

Happy2Play

No memory errors but just dies on hardware and software now at Stream 0:4 of 31.

17:35:51.450 Stream map '0:4' matches no streams.
To ignore this, add a trailing '?' to the map.
17:35:51.453 EXIT
Spoiler

2023-02-17 17:35:51.740 Info App: ProcessRun 'StreamTranscode 24f5aa' Process exited with code 1 - Failed
2023-02-17 17:35:51.768 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.21
    Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3
    Operating system: Linux version 6.1.0-2-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_
    Framework: .NET 6.0.8
    OS/Process: x64/x64
    Runtime: app/emby/System.Private.CoreLib.dll
    Processor count: 4
    Data path: /config
    Application path: /app/emby
    Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Error starting ffmpeg
    -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-24f5aac5-34c8-446e-af29-3b65267ea71a_1graph.txt" -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -i "/data/movies/6 Underground (2019)/6.Underground.-.2019.-.WEBRip-2160p.mkv" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 45723061 -bufsize:v:0 91446122 -sc_threshold:v:0 0 -keyint_min:v:0 72 -r:v:0 23.976024627685547 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -level:v:0 5.1 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 23 -c:a:0 aac -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 "/config/transcoding-temp/CB0557/CB0557.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/CB0557/CB0557_%d.ts" -map 0:2 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s2.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s2_%d.vtt" -map 0:3 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s3.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s3_%d.vtt" -map 0:4 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s4_%d.vtt" -map 0:5 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s5_%d.vtt" -map 0:6 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s6.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s6_%d.vtt" -map 0:7 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s7.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s7_%d.vtt" -map 0:8 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s8.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s8_%d.vtt" -map 0:9 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s9.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s9_%d.vtt" -map 0:10 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s10.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s10_%d.vtt" -map 0:11 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "/config/transcoding-temp/CB0557/CB0557_s11.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.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 "/config/transcoding-temp/CB0557/CB0557_s11_%d.vtt"
    
    17:35:51.582 ffmpeg version 5.1-emby_2022_11_29 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC
    17:35:51.582   built with gcc 10.3.0 (crosstool-NG 1.25.0)
    17:35:51.582 Execution Date: 2023-02-17 17:35:51
    17:35:51.728 Input #0, matroska,webm, from '/data/movies/6 Underground (2019)/6.Underground.-.2019.-.WEBRip-2160p.mkv':
    17:35:51.728   Metadata:
    17:35:51.728     ENCODER         : Lavf59.27.100
    17:35:51.728   Duration: 02:08:52.31, start: 0.000000, bitrate: 45720 kb/s
    17:35:51.728   Stream #0:0: Video: h264 (High), yuv420p(progressive), 3840x1604, SAR 1:1 DAR 960:401, Level 51, 23.98 fps, 23.98 tbr, 1k tbn (default)
    17:35:51.729     Metadata:
    17:35:51.729       BPS-eng         : 44948555
    17:35:51.729       DURATION-eng    : 02:08:52.308000000
    17:35:51.729       NUMBER_OF_FRAMES-eng: 185390
    17:35:51.729       NUMBER_OF_BYTES-eng: 43444509235
    17:35:51.729       DURATION        : 02:08:52.307000000
    17:35:51.729   Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
    17:35:51.729     Metadata:
    17:35:51.729       title           : English
    17:35:51.729       BPS-eng         : 768000
    17:35:51.729       DURATION-eng    : 02:08:52.288000000
    17:35:51.729       NUMBER_OF_FRAMES-eng: 241634
    17:35:51.729       NUMBER_OF_BYTES-eng: 742299648
    17:35:51.729       DURATION        : 02:08:52.288000000
    17:35:51.729   Stream #0:2(eng): Subtitle: subrip (default)
    17:35:51.729     Metadata:
    17:35:51.729       BPS-eng         : 66
    17:35:51.729       DURATION-eng    : 02:06:49.519000000
    17:35:51.729       NUMBER_OF_FRAMES-eng: 1872
    17:35:51.729       NUMBER_OF_BYTES-eng: 63226
    17:35:51.729       DURATION        : 02:07:13.167000000
    17:35:51.729   Stream #0:3(eng): Subtitle: subrip
    17:35:51.729     Metadata:
    17:35:51.729       title           : SDH
    17:35:51.729       BPS-eng         : 78
    17:35:51.729       DURATION-eng    : 02:06:52.230000000
    17:35:51.729       NUMBER_OF_FRAMES-eng: 2192
    17:35:51.729       NUMBER_OF_BYTES-eng: 74251
    17:35:51.729       DURATION        : 02:07:15.878000000
    17:35:51.730 Stream map '0:4' matches no streams.
    To ignore this, add a trailing '?' to the map.
    17:35:51.732 EXIT
    
    
    
    
       at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
       at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String manifestAbsoluteUri, String playlistId, String segmentId, Int32 subtitleStreamIndex, AuthorizationInfo authorizationInfo)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: Emby.Server.MediaEncoding
    TargetSite: Void MoveNext()
    
2023-02-17 17:35:51.769 Info Server: http/1.1 Response 500 to host1. Time: 580ms. http://10.100.10.51:8096/emby/videos/4008/hls1/main/0.ts?PlaySessionId=ec97a05acadc4c18b4181dc39597e6bc

 

Have you tried switching VAAPI and Quicksync order on decoder/encoder on Transcode page?

Link to comment
Share on other sites

cyrus104

I just changed from VAAPI to Quicksync restarted the server and still running into the same issue. Also switched the options back from QC to VAAPI and go the same.

Link to comment
Share on other sites

Hi, did you change the source file? The info in the emby database doesn't match the file. Try refreshing the metadata on it.

Link to comment
Share on other sites

30 minutes ago, cyrus104 said:

So I had to do a refresh metadata, didn't think I had to do that before. All I did was run sub-killer, which I know makes changes but I thought it would trigger a refresh. @Cheesegeezer

Video played for 3 minutes and then froze forever (at least 15 minutes).

embyserver.txt 122.38 kB · 0 downloads ffmpeg-remux-85a07d68-be85-41b9-860c-c41e47633045_1.txt 632 kB · 1 download

Can you try Chrome for comparison purposes? How does that compare?

Link to comment
Share on other sites

pektoral

Hello,

i had the same issue with freezing playback in the browser (some 4K only).
The solution for me was to choose custom Transcoding like that:

Decode: VAAPI
Encode: Intel Quicksync (in my Case)

Important is too choose not (VAAPI) for encoding!
Another nice feature is now that the encoding uses much less CPU power as before.
Looks like there is a problem with encoding some 4K movies over VAAPI?

This solves my issue...sorry for my bad english);

Kind regards pektoral
 

Link to comment
Share on other sites

cyrus104

So interestingly enough, Sub-Killer crashed when my docker of Emby crashed, not sure why but that corrupted one of the primary movies I was testing. I'm having to re-get it and as soon as I downloaded it Emby is getting the same error as above with the Stream 0:4 with a ? or so. I copy the file over to my Plex Library and it just works and gets hardware transcoded. I'm really not sure what is up but it's getting to the point where I should be working on work projects and it costing me money.

Link to comment
Share on other sites

6 hours ago, cyrus104 said:

So interestingly enough, Sub-Killer crashed when my docker of Emby crashed, not sure why but that corrupted one of the primary movies I was testing. I'm having to re-get it and as soon as I downloaded it Emby is getting the same error as above with the Stream 0:4 with a ? or so. I copy the file over to my Plex Library and it just works and gets hardware transcoded. I'm really not sure what is up but it's getting to the point where I should be working on work projects and it costing me money.

@cyrus104 can you try removing the subkiller plugin to take that out of the equation? Then refresh the metadata on that video and see how things compare. Thanks !

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