mpeg-2 ts PCR 33-bit 90 kHz base and 9-bit 27 MHz extension bit… What does it mean?












0














I understand the PCR field in mpeg-2 ts adaptation field is 42 bits wide. 33 bits for the 90 kHz base, and the 9-bit 27 MHz extension.



The 27 MHz clock will churn out 0 - 299 over and over again at a rate of 27 Mhz. And each time a "rollover" occurs from 299 to 0, then the 33-bit (90 kHz) counter is incremented.



I understand the PTS/DTS are generated from these 33-bit values.



What I don't understand is this: What is meant by "extension bit". What's being extended? And I would love to see some examples of this 42 bit value. I need to see some examples so it can become clear. How is this 42 bit value used? How are the 33-bit and 9-bit values used and what do they look like? Never seen them before, I just read this is what they do so I really need practical examples.



Thank you so much!!!










share|improve this question



























    0














    I understand the PCR field in mpeg-2 ts adaptation field is 42 bits wide. 33 bits for the 90 kHz base, and the 9-bit 27 MHz extension.



    The 27 MHz clock will churn out 0 - 299 over and over again at a rate of 27 Mhz. And each time a "rollover" occurs from 299 to 0, then the 33-bit (90 kHz) counter is incremented.



    I understand the PTS/DTS are generated from these 33-bit values.



    What I don't understand is this: What is meant by "extension bit". What's being extended? And I would love to see some examples of this 42 bit value. I need to see some examples so it can become clear. How is this 42 bit value used? How are the 33-bit and 9-bit values used and what do they look like? Never seen them before, I just read this is what they do so I really need practical examples.



    Thank you so much!!!










    share|improve this question

























      0












      0








      0







      I understand the PCR field in mpeg-2 ts adaptation field is 42 bits wide. 33 bits for the 90 kHz base, and the 9-bit 27 MHz extension.



      The 27 MHz clock will churn out 0 - 299 over and over again at a rate of 27 Mhz. And each time a "rollover" occurs from 299 to 0, then the 33-bit (90 kHz) counter is incremented.



      I understand the PTS/DTS are generated from these 33-bit values.



      What I don't understand is this: What is meant by "extension bit". What's being extended? And I would love to see some examples of this 42 bit value. I need to see some examples so it can become clear. How is this 42 bit value used? How are the 33-bit and 9-bit values used and what do they look like? Never seen them before, I just read this is what they do so I really need practical examples.



      Thank you so much!!!










      share|improve this question













      I understand the PCR field in mpeg-2 ts adaptation field is 42 bits wide. 33 bits for the 90 kHz base, and the 9-bit 27 MHz extension.



      The 27 MHz clock will churn out 0 - 299 over and over again at a rate of 27 Mhz. And each time a "rollover" occurs from 299 to 0, then the 33-bit (90 kHz) counter is incremented.



      I understand the PTS/DTS are generated from these 33-bit values.



      What I don't understand is this: What is meant by "extension bit". What's being extended? And I would love to see some examples of this 42 bit value. I need to see some examples so it can become clear. How is this 42 bit value used? How are the 33-bit and 9-bit values used and what do they look like? Never seen them before, I just read this is what they do so I really need practical examples.



      Thank you so much!!!







      mpeg2-ts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 20:44









      Baba.SBaba.S

      529




      529
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Think of an analog clock with a second and a minute hand. Every minute the second hand ticks off 60 times, then the minute hand ticks off once, and second rolls back to zero. This is the same. Every second the 27Mhz hand tick 300 times, the the 90khz hand ticks off once, and the 27Mhz hand rolls back to zero. 300 * 90000 = 27000000 Every number between 0 and 2^42-1 is a valid example.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53420209%2fmpeg-2-ts-pcr-33-bit-90-khz-base-and-9-bit-27-mhz-extension-bit-what-does-it%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Think of an analog clock with a second and a minute hand. Every minute the second hand ticks off 60 times, then the minute hand ticks off once, and second rolls back to zero. This is the same. Every second the 27Mhz hand tick 300 times, the the 90khz hand ticks off once, and the 27Mhz hand rolls back to zero. 300 * 90000 = 27000000 Every number between 0 and 2^42-1 is a valid example.






            share|improve this answer


























              0














              Think of an analog clock with a second and a minute hand. Every minute the second hand ticks off 60 times, then the minute hand ticks off once, and second rolls back to zero. This is the same. Every second the 27Mhz hand tick 300 times, the the 90khz hand ticks off once, and the 27Mhz hand rolls back to zero. 300 * 90000 = 27000000 Every number between 0 and 2^42-1 is a valid example.






              share|improve this answer
























                0












                0








                0






                Think of an analog clock with a second and a minute hand. Every minute the second hand ticks off 60 times, then the minute hand ticks off once, and second rolls back to zero. This is the same. Every second the 27Mhz hand tick 300 times, the the 90khz hand ticks off once, and the 27Mhz hand rolls back to zero. 300 * 90000 = 27000000 Every number between 0 and 2^42-1 is a valid example.






                share|improve this answer












                Think of an analog clock with a second and a minute hand. Every minute the second hand ticks off 60 times, then the minute hand ticks off once, and second rolls back to zero. This is the same. Every second the 27Mhz hand tick 300 times, the the 90khz hand ticks off once, and the 27Mhz hand rolls back to zero. 300 * 90000 = 27000000 Every number between 0 and 2^42-1 is a valid example.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 22 '18 at 1:10









                szatmaryszatmary

                17.9k62940




                17.9k62940






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53420209%2fmpeg-2-ts-pcr-33-bit-90-khz-base-and-9-bit-27-mhz-extension-bit-what-does-it%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'