y29shi 8 Posted August 6, 2024 Posted August 6, 2024 Some movie doesn't cut the black bars, for these movies, the subtitles would find the real bottom. but for those don't cut the black bars, the subtitles would see the buttom edge of the movie instead of the screen, resulting in displayed inside the movie content, which is annoying. Can we display the subtitles at the bottom of the screen regardless if the movies cut or not cut the black bars?
pwhodges 2012 Posted August 6, 2024 Posted August 6, 2024 For a start, what kind of subtitles, SRT or PGS? It may be possible to arrange with the first, not so much with the second. Paul
y29shi 8 Posted August 6, 2024 Author Posted August 6, 2024 1 hour ago, pwhodges said: For a start, what kind of subtitles, SRT or PGS? It may be possible to arrange with the first, not so much with the second. Paul i mostly use ass, sometimes use srt. how to arrange the srt?
visproduction 315 Posted August 6, 2024 Posted August 6, 2024 Related? https://emby.media/community/index.php?/topic/45555-increase-height-of-subtitles-or-user-feature-to-change-position/page/4/#comment-1162437
pwhodges 2012 Posted August 6, 2024 Posted August 6, 2024 3 hours ago, y29shi said: i mostly use ass, sometimes use srt. ASS subs have their position defined as part of the subs, relative to and within the edges of the media; it would be unusual for ASS subs to be set up allowing for the media to include black border. PGS subs are images overlaid on the media, so their position cannot readily be manipulated, but they are sometimes designed to go outside the image if there is letterboxing; if the media is transcoded by a program set up to crop black borders, the subs may get cropped with them in that case... SRT subs are positioned by the player, and different players vary in whether they use the media image or the viewport as the reference for their position. If you are prepared to transcode, it is possible, e.g. with Handbrake, to re-add black borders which have been removed, making the media (typically) 16:9 again - this would enable SRT subs to be placed in that area by any program. Paul
Luke 42079 Posted August 6, 2024 Posted August 6, 2024 6 hours ago, y29shi said: Some movie doesn't cut the black bars, for these movies, the subtitles would find the real bottom. but for those don't cut the black bars, the subtitles would see the buttom edge of the movie instead of the screen, resulting in displayed inside the movie content, which is annoying. Can we display the subtitles at the bottom of the screen regardless if the movies cut or not cut the black bars? Hi, can you please show a screenshot example of your issue? Thanks.
Gilgamesh_48 1240 Posted August 7, 2024 Posted August 7, 2024 I think the OP wants the sub to appear, on videos that have black regions at the bottom they want the subs in that region. But that is NOT actually part of the video so, somehow, you would need to get the subs to appear in an area that is not part of the actual stream. Which I guess would mean either creating a video that is 16x9 out of whatever resolution the stream is actually in and then placing the subs below the actual picture area. That seems somewhat hard. The other way to do it would be to send the subs to the lower part of the screen, outside the actual video in bursts of some kind when they need to appear. That does not seem doable to me either. I think, and I am sure i will be corrected if needed, that the OP believes the entire picture even the back bars ae part of the stream but I think that is not so. Therefore a lot of stream manipulation would be needed to make it happen. Note: Some TVs can display info outside of whatever the current stream is actually using but the "feature" seems very brand/make/model specific so taking advantage of that feature is very specific to whatever TV is being used and I cannot see a way to leverage that to be able to get subs below the actual stream. I almost never use subs much so I have no dog in this fight but, if I am correct about what is wanted, it seems close to impossible without a major rewrite of a lot of the code that actually handles streams. In other words it is impossible to do what the OP wants without a lot of work and the people that would be helped by the effective rewrite would be somewhere between small and tiny and I do not think such a change is good for Emby because it simply would take too many recourses and the return would be too small. 1
y29shi 8 Posted August 7, 2024 Author Posted August 7, 2024 13 hours ago, Luke said: Hi, can you please show a screenshot example of your issue? Thanks. This is from emby This is from when I was playing it in potplayer.
y29shi 8 Posted August 7, 2024 Author Posted August 7, 2024 11 hours ago, Gilgamesh_48 said: I think the OP wants the sub to appear, on videos that have black regions at the bottom they want the subs in that region. But that is NOT actually part of the video so, somehow, you would need to get the subs to appear in an area that is not part of the actual stream. Which I guess would mean either creating a video that is 16x9 out of whatever resolution the stream is actually in and then placing the subs below the actual picture area. That seems somewhat hard. The other way to do it would be to send the subs to the lower part of the screen, outside the actual video in bursts of some kind when they need to appear. That does not seem doable to me either. I think, and I am sure i will be corrected if needed, that the OP believes the entire picture even the back bars ae part of the stream but I think that is not so. Therefore a lot of stream manipulation would be needed to make it happen. Note: Some TVs can display info outside of whatever the current stream is actually using but the "feature" seems very brand/make/model specific so taking advantage of that feature is very specific to whatever TV is being used and I cannot see a way to leverage that to be able to get subs below the actual stream. I almost never use subs much so I have no dog in this fight but, if I am correct about what is wanted, it seems close to impossible without a major rewrite of a lot of the code that actually handles streams. In other words it is impossible to do what the OP wants without a lot of work and the people that would be helped by the effective rewrite would be somewhere between small and tiny and I do not think such a change is good for Emby because it simply would take too many recourses and the return would be too small. Actually, I am very sure that "the entire picture even the black bars are part of the stream" is not true, because when I play it in potplayer without set it to full screen, the window size is just as the content of the show, which does not include any black bars. But yes, I want the subtitles to show at the edge of my "screen" instead of the stream, regardless if the file include black bars or not. This screenshot is from potplayer when it's not full screen. And this is from potplayer when it's on full screen. This proves that the file itself doesn't include black bars, however potplayer can detect the edge of my actual screen and then place the subtitle near the edge of my screen. However, emby doesn't seem to be able to do that. It only displays subtitles at the edge of the actual content.
y29shi 8 Posted August 7, 2024 Author Posted August 7, 2024 4 minutes ago, ebr said: You can lend your voice here: Oh thanks! I didn't know that there's a discussion about this
pwhodges 2012 Posted August 7, 2024 Posted August 7, 2024 7 hours ago, y29shi said: Actually, I am very sure that "the entire picture even the black bars are part of the stream" is not true, because when I play it in potplayer without set it to full screen, the window size is just as the content of the show, which does not include any black bars. Depending on how the file has been ripped or transcoded, there may or may not be black bars included in the file to make it 16:9. This may well vary in different files in your library, even though your sample file has no black bars. As I wrote above, you can add the black bars by re-encoding in Handbrake, which has a parameter for the purpose; if the black bars are present, SRT subtitles will use them, because Emby (or any other player) will simply count that area as the bottom of the image. Paul
y29shi 8 Posted August 8, 2024 Author Posted August 8, 2024 9 hours ago, pwhodges said: Depending on how the file has been ripped or transcoded, there may or may not be black bars included in the file to make it 16:9. This may well vary in different files in your library, even though your sample file has no black bars. As I wrote above, you can add the black bars by re-encoding in Handbrake, which has a parameter for the purpose; if the black bars are present, SRT subtitles will use them, because Emby (or any other player) will simply count that area as the bottom of the image. Paul re-encoding seems to complicated for such a simple requirement...
pwhodges 2012 Posted August 8, 2024 Posted August 8, 2024 Sure - it depends how urgently you want a solution. Paul 1
Luke 42079 Posted August 14, 2024 Posted August 14, 2024 On 8/7/2024 at 8:50 AM, y29shi said: Actually, I am very sure that "the entire picture even the black bars are part of the stream" is not true, because when I play it in potplayer without set it to full screen, the window size is just as the content of the show, which does not include any black bars. But yes, I want the subtitles to show at the edge of my "screen" instead of the stream, regardless if the file include black bars or not. This screenshot is from potplayer when it's not full screen. And this is from potplayer when it's on full screen. This proves that the file itself doesn't include black bars, however potplayer can detect the edge of my actual screen and then place the subtitle near the edge of my screen. However, emby doesn't seem to be able to do that. It only displays subtitles at the edge of the actual content. Hi, more options to control this are always possible for future updates. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now