mp4 to mpeg TS 2












2















I want to convert mp4 video to mpeg Ts2. What's the best way to do it and preserve HD quality?



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'How to Get the Newest Smartphones from AT&T - YouTube.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-09-12 01:05:48
Duration: 00:01:03.53, start: 0.000000, bitrate: 1358 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1163 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
Metadata:
creation_time : 2013-09-12 01:05:49
handler_name : IsoMedia File Produced by Google, 5-11-2011









share|improve this question





























    2















    I want to convert mp4 video to mpeg Ts2. What's the best way to do it and preserve HD quality?



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'How to Get the Newest Smartphones from AT&T - YouTube.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    creation_time : 2013-09-12 01:05:48
    Duration: 00:01:03.53, start: 0.000000, bitrate: 1358 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1163 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
    Metadata:
    creation_time : 2013-09-12 01:05:49
    handler_name : IsoMedia File Produced by Google, 5-11-2011









    share|improve this question



























      2












      2








      2


      1






      I want to convert mp4 video to mpeg Ts2. What's the best way to do it and preserve HD quality?



      Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'How to Get the Newest Smartphones from AT&T - YouTube.mp4':
      Metadata:
      major_brand : mp42
      minor_version : 0
      compatible_brands: isommp42
      creation_time : 2013-09-12 01:05:48
      Duration: 00:01:03.53, start: 0.000000, bitrate: 1358 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1163 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
      Metadata:
      handler_name : VideoHandler
      Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
      Metadata:
      creation_time : 2013-09-12 01:05:49
      handler_name : IsoMedia File Produced by Google, 5-11-2011









      share|improve this question
















      I want to convert mp4 video to mpeg Ts2. What's the best way to do it and preserve HD quality?



      Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'How to Get the Newest Smartphones from AT&T - YouTube.mp4':
      Metadata:
      major_brand : mp42
      minor_version : 0
      compatible_brands: isommp42
      creation_time : 2013-09-12 01:05:48
      Duration: 00:01:03.53, start: 0.000000, bitrate: 1358 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1163 kb/s, 23.98 fps, 23.98 tbr, 48k tbn, 47.95 tbc
      Metadata:
      handler_name : VideoHandler
      Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
      Metadata:
      creation_time : 2013-09-12 01:05:49
      handler_name : IsoMedia File Produced by Google, 5-11-2011






      video ffmpeg conversion






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 27 '13 at 22:49









      llogan

      5,0451535




      5,0451535










      asked Oct 26 '13 at 5:58









      spicyramenspicyramen

      111113




      111113






















          1 Answer
          1






          active

          oldest

          votes


















          5














          You can re-mux to TS container by using stream copy since this container supports the formats from the input.



          ffmpeg -i input.mp4 -c copy -bsf h264_mp4toannexb output.ts


          Since it's basically "copying and pasting" and not re-encoding there will be no quality loss and it will be very quick to complete.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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%2faskubuntu.com%2fquestions%2f366009%2fmp4-to-mpeg-ts-2%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









            5














            You can re-mux to TS container by using stream copy since this container supports the formats from the input.



            ffmpeg -i input.mp4 -c copy -bsf h264_mp4toannexb output.ts


            Since it's basically "copying and pasting" and not re-encoding there will be no quality loss and it will be very quick to complete.






            share|improve this answer




























              5














              You can re-mux to TS container by using stream copy since this container supports the formats from the input.



              ffmpeg -i input.mp4 -c copy -bsf h264_mp4toannexb output.ts


              Since it's basically "copying and pasting" and not re-encoding there will be no quality loss and it will be very quick to complete.






              share|improve this answer


























                5












                5








                5







                You can re-mux to TS container by using stream copy since this container supports the formats from the input.



                ffmpeg -i input.mp4 -c copy -bsf h264_mp4toannexb output.ts


                Since it's basically "copying and pasting" and not re-encoding there will be no quality loss and it will be very quick to complete.






                share|improve this answer













                You can re-mux to TS container by using stream copy since this container supports the formats from the input.



                ffmpeg -i input.mp4 -c copy -bsf h264_mp4toannexb output.ts


                Since it's basically "copying and pasting" and not re-encoding there will be no quality loss and it will be very quick to complete.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 27 '13 at 22:34









                lloganllogan

                5,0451535




                5,0451535






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f366009%2fmp4-to-mpeg-ts-2%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

                    Mouse cursor on multiple screens with different PPI

                    Agildo Ribeiro

                    Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”