Jump to content

Video playback problems


williamgaither

Recommended Posts

Riggs

Looking at the "two" log and the server log, it looks like it's trying to burn-in the subrip stream...and I have no clue why.  This should be a remux at worst since the subrip stream is selected.

 

The file info dump at the top of the transcode log looks accurate - index 2 is subrip with IsTextSubtitleStream is true and index 3 is PGSSUB with IsTextSubtitleStream is false.  I'm wondering if the client or server is either checking the wrong subtitle track for compatibility or assuming that the presence of a PGS sub track in the file despite it not being selected for presentation means all subs should be burned in.

 

Could it be that the entire file is flagged as "unsupported subtitles" because of that one track...just in case someone tries to switch mid-playback?  To some extent, I could understand if that was true so that playback doesn't seem to stall (or fail) if someone changes tracks to an unsupported codec, but it seems like counterintuitive behaviour when one of the two subtitle formats is supported and it happens to be the one that's selected for playback.

 

Let me do a multiplex of the same file without the english pgs to see what happend

Link to comment
Share on other sites

Looking at the "two" log and the server log, it looks like it's trying to burn-in the subrip stream...and I have no clue why.  This should be a remux at worst since the subrip stream is selected.

 

The file info dump at the top of the transcode log looks accurate - index 2 is subrip with IsTextSubtitleStream is true and index 3 is PGSSUB with IsTextSubtitleStream is false.  I'm wondering if the client or server is either checking the wrong subtitle track for compatibility or assuming that the presence of a PGS sub track in the file despite it not being selected for presentation means all subs should be burned in.

 

Could it be that the entire file is flagged as "unsupported subtitles" because of that one track...just in case someone tries to switch mid-playback?  To some extent, I could understand if that was true so that playback doesn't seem to stall (or fail) if someone changes tracks to an unsupported codec, but it seems like counterintuitive behaviour when one of the two subtitle formats is supported and it happens to be the one that's selected for playback.

 

Thanks, I was actually curious about this blurb and if it may cause a problem.

[matroska,webm @ 00000231bcfbf440] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Link to comment
Share on other sites

@, i think you may have also disabled on the fly subtitle extraction in server transcoding settings. That's why SRT is being burned in as well.

Link to comment
Share on other sites

Riggs

@, i think you may have also disabled on the fly subtitle extraction in server transcoding settings. That's why SRT is being burned in as well.

 

I never enable that setting

 

It is disabled

 

 

That the setting you mean?

 

5b4758022b4f4_transcodingsetting.jpg

Link to comment
Share on other sites

Exactly, you disabled it. You changed it. It is enabled by default, but you unchecked it.

 

That is why SRT is burning in instead of streaming direct to the clients. Emby Server is doing exactly what you have asked it to do.

Link to comment
Share on other sites

Riggs

Exactly, you disabled it. You changed it. It is enabled by default, but you unchecked it.

 

That is why SRT is burning in instead of streaming direct to the clients. Emby Server is doing exactly what you have asked it to do.

 

Ohh, ok got it, let me check it

Link to comment
Share on other sites

Riggs

@@Luke noting good happend after check on the fly

 

5b475a956c55b_blackscreenaftercheckonthe

 

 

5b475aa52f86d_crazyffmeg.jpg

 

The second image include the task manager with now 2 ffmeg task and the hard drive where the movie is at 100%.

 

There's is no option to stop the movie, no controls are available (yesterday either) the only way is killing the ffmpeg task... now, two tasks

 

Logs:

transcode log.txt

server log.txt

Edited by HRSCR
Link to comment
Share on other sites

The second ffmpeg is to extract the subtitles. It appears this is also very slow on your system. We are looking into better techniques to resolve this for a future update. For now the best workaround is external subtitles. Thanks.

Link to comment
Share on other sites

Riggs

The second ffmpeg is to extract the subtitles. It appears this is also very slow on your system. We are looking into better techniques to resolve this for a future update. For now the best workaround is external subtitles. Thanks.

 

I almost finish on repack with srt only.. i have a suspect that maybe the chapters ae making some mess. I'm testing all options that i can.

 

I updated you after testing with srt and chapters and without chapters

 

Thanks

 

PS: Do i leave check on the fly subs in the server?

Edited by HRSCR
Link to comment
Share on other sites

Riggs

The second ffmpeg is to extract the subtitles. It appears this is also very slow on your system. We are looking into better techniques to resolve this for a future update. For now the best workaround is external subtitles. Thanks.

 

 

Ok @@Luke

 

I found that in the PC now it can play the movie using the Intel Quick Sync ON. but with some issues using the new repack MKV without english subs

 

5b476de4dfd51_stutteringandotherissues.j

 

Settings:

 

5b476e27416dd_settings.jpg

 

Media info of the repack:

 

Complete name                            : K:\DRAMA-1\Eat Pray Love (2010).mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 27.2 GiB
Duration                                 : 2 h 25 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 26.8 Mb/s
Encoded date                             : UTC 2018-07-12 14:14:04
Writing application                      : mkvmerge v24.0.0 ('Beyond The Pale') 64-bit
Writing library                          : libebml v1.3.6 + libmatroska v1.4.9
 
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 2 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 25 min
Bit rate mode                            : Variable
Bit rate                                 : 24.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.482
Stream size                              : 24.4 GiB (90%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Codec ID                                 : A_DTS
Duration                                 : 2 h 25 min
Bit rate mode                            : Variable / Constant
Bit rate                                 : 2 792 kb/s / 1 509 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy
Stream size                              : 2.84 GiB (10%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 2 h 18 min
Bit rate                                 : 54 b/s
Count of elements                        : 1635
Stream size                              : 55.3 KiB (0%)
Language                                 : Spanish
Default                                  : Yes
Forced                                   : No
 
Menu
00:00:00.000                             : en:Plan B
00:10:37.845                             : en:The Bookstore
00:18:37.366                             : en:The Divorce
00:31:48.656                             : en:Italy - Eat
00:40:06.237                             : en:Spagetti
00:47:12.704                             : en:Pizza
00:56:22.629                             : en:Thanksgiving Dinner
01:03:20.796                             : en:India - Pray
01:13:44.211                             : en:Great Meditation
01:19:20.964                             : en:Arranged Marriage
01:25:30.959                             : en:Richards Story
01:38:32.948                             : en:Bali - Love
01:44:07.991                             : en:Chance Meeting
01:52:44.841                             : en:Hangover Cure
02:02:44.273                             : en:Hanging Out Together
02:12:55.008                             : en:Giving Up
---------------------------------------------------------------------------
 
Logs:

one.txt

two.txt

three.txt

server.txt

Link to comment
Share on other sites

Riggs

That image issues are random.

 

I check the movie with VLC and MPC an it is fine

 

UPDATE EDIT: Happends the same without acceleration.

 

HOWEVER, The subtitles are not displaying in both settings.

 

With on the fly unchecked can't play.

Edited by HRSCR
Link to comment
Share on other sites

Riggs

@@Luke Why the DTS-MA 5.1 audio codec is transcoded to mp3?

 

Confirmed, no subtitles are showing, they are marked how default to show

Link to comment
Share on other sites

Riggs

@@Luke

 

This is my last update about this:

 

With the settings: Allow subtitle extraction on the fly      Roku can play any pgs subtitle and the wait time is around 8-10 seconds to start BUT it can't show ANY .SRT subtitle, I mean, ANY.

( I test with 6 more files and it is the same.)

 

Without the check it can't play nothing at all.

 

However the server said that is direct playing but roku device never start to play.

 

The issue is there, and this happend with the PC in the same way (documented with logs and captures above)

 

This is my final log of the Roku and the Server at the time of play one movie that contain one srt subtitle and another in pgs format.

 

Seems the systme can handle or know what format of subtitle is that the APP is calling for do what the server needs to do according of the type of subtitle.

 

This not happend to me with direct play using Android TV APP.

 

I wait for any fix...  or misconfig that i can have

 

I'm tired to test without any success. :D

 

Thanks.

 

 

 

 

 

log roku with 2 subs.txt

server log.txt

Link to comment
Share on other sites

Waldonnis

 

Thanks, I was actually curious about this blurb and if it may cause a problem.

[matroska,webm @ 00000231bcfbf440] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

 

Ah, hmm, not that I know of, but there may be something with how the track was constructed.  If there are problems with timing or overlapping, though, it may require -fix_sub_duration (has some drawbacks, so check the docs).  I've never run across problems like that and don't deal with PGS subs too often, though, so there may be some other reason for it aside from the situation mentioned in the ffmpeg docs.

Link to comment
Share on other sites

Riggs

I leave here the srt sub of that file, there's not overlapping in timing. I check it with SubtittleEdit soft. 

 

Allowing subs on the fly: You can wach the movie on Roku. In the PC too but with many issues in the picture. However, in that way you CAN'T see the .srt... they just are not displaying. BUT any king of PGS has no problems. Plus, the ffmpeg doesn't crash.

 

Not allowing subs on the fly is the opposite. Can see the srt subtitles after some minutes waiting and the hard drive working like crazy. PGS doesn't display in any way. Most of the tie is impossible that the movie start to play, no matter if the server says that is direct playing, is not.

 

Happend the same with Roku (4 ULTRA) and with Chrome web browser.

 

I test other files of my collection and the situation is the same. PLUS... IF the MKV movie container have 1 srt sub and 1 pgs, the server don't know what sub is the default.

 

For me, it is a server side problem since Chrome is showing the same issue.

 

 

Thanks.

 

EDIT: Btw i do the ocr to the pgs file of that movie too with SubtitleEdit, I don't find nothing wrong.

Edited by HRSCR
Link to comment
Share on other sites

Waldonnis

I leave here the srt sub of that file, there's not overlapping in timing. I check it with SubtittleEdit soft. 

 

EDIT: Btw i do the ocr to the pgs file of that movie too with SubtitleEdit, I don't find nothing wrong.

 

Yeah, I meant with the PGS.  It's not that there's a timing issue in the stream, but rather that ffmpeg's rendering/representation of them may get weird if non-text subtitle streams are constructed in certain ways.  Subtitle editors and disc players know how to deal with these types of variations already, but they're more specialised than ffmpeg in that regard.  Basically, even if the subtitle stream is within spec, that doesn't mean ffmpeg always knows how to handle it properly (there's a lot of stuff that ffmpeg doesn't do or doesn't do well, actually).  The message from ffmpeg about stream 3 implies that something about the stream is different than what ffmpeg knows about or is capable of dealing with.  Doesn't mean the subtitle stream is messed up...just that ffmpeg probably hasn't been coded to identify/handle that specific situation properly yet.

  • Like 1
Link to comment
Share on other sites

snodrog742

Allowing subs on the fly: You can wach the movie on Roku. In the PC too but with many issues in the picture. 

 

@@Waldonnis his picture kind of does what mine is doing. I wonder if subtitles is a factor?

  • Like 1
Link to comment
Share on other sites

Riggs

Yeah, I meant with the PGS.  It's not that there's a timing issue in the stream, but rather that ffmpeg's rendering/representation of them may get weird if non-text subtitle streams are constructed in certain ways.  Subtitle editors and disc players know how to deal with these types of variations already, but they're more specialised than ffmpeg in that regard.  Basically, even if the subtitle stream is within spec, that doesn't mean ffmpeg always knows how to handle it properly (there's a lot of stuff that ffmpeg doesn't do or doesn't do well, actually).  The message from ffmpeg about stream 3 implies that something about the stream is different than what ffmpeg knows about or is capable of dealing with.  Doesn't mean the subtitle stream is messed up...just that ffmpeg probably hasn't been coded to identify/handle that specific situation properly yet.

 

Thank you for your long and clear explanation.

 

So well... houston, we have a problem, ffmpeg missing one screw  :lol:

Edited by HRSCR
Link to comment
Share on other sites

It appears the subtitle extraction is very slow on your system. We are looking into alternative techniques to improve this for a future update. For now the best workaround is external subtitles. Thanks.

  • Like 1
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...