Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Feb 2022
Posts: 28
|
PGS sample that uses cropping?
I am looking for a SUP sample file that use the PGS cropping functionality. Simple as that.
I tried to mimick the description in the PGS patent and BDAV patent but I cannot get it to work at all. Is it even part of the Blu-Ray specs nowadays? There must be at least one sample around, because the FFmpeg developers are aware that the flag mask is 0x80 (while the forced one is masked with 0x40). |
![]() |
![]() |
![]() |
#2 | Link |
hlg-tools Maintainer
Join Date: Feb 2008
Posts: 345
|
If anyone has a professionally-produced sample, I'll take a copy as well. I've got a PGS library that I maintain. The best I've come up with for testing cropped windows is synthetic unit tests, but no real-world samples.
cubicibo: If you want to mess with Rust, that library should be correct about generating such window definition segments. On the other hand, I imagine everyone sees that only the simplest uses of PGS serve any real purpose. It shouldn't be so surprising that part of it would be omitted from whatever production specification is in effect. Last edited by wswartzendruber; 23rd November 2022 at 16:45. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Feb 2022
Posts: 28
|
I do not know how to program in RUST. if you can produce an attempt that mimics the patent drawings 15 (scrolling) or 16 (wipe-out) that also passes your unit tests, I'll check it on real hardware. I failed to reproduce both. I did get my playback device to start the wipe-in on a sample I produced but it always crashed within one or two pixels in. Object was displayed at the wrong location too. But in most of the time the decoder was crashing before anything would show on screen.
Last edited by cubicibo; 23rd November 2022 at 18:18. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Feb 2022
Posts: 28
|
But forced subtitles are just done using an additional flag not described in the original patent? If a PGS decoder is too old to decode the forced flag, it is ignored and the PCS is decoded normally. There are no fewer or additional data fields inserted whatever the flag is decoded or not, unlike cropping.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|