Extend video without re-encoding/encoding/re-compressing/transcoding












2















I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn't play properly in Media Player Classic/VLC with the duration of the video hanging on the last second while continuing to play audio, and the audio at the end doesn't get heard on Youtube/Dailymotion at all :(



( I want to do this without encode/compress/transcode the video again, to not lose quality, this is really important because it's a very old video and the original source is probably gone forever due to company bankruptcy https://www.youtube.com/watch?v=8r4N7JnysUM )



I read about how to concatenate (join) another video like a title screen and the original video in the ffmpeg FAQ by using cat file1.mpg file2.mpg > newfile.mpg but the video format I want to do this with is "VP90 29.97fps profile 0, yuv420p" (as used by Youtube) so I guess that is one solution if I there is a program that can make videos in a similar format, unless there is a better way to simply extend the video by making the last frame stay constant to match the new audio track?



Another issue is I don't actually know what open source program as an alternative to Sony Vegas etc that I would use to make a simple single image video to join to extend the video because I've never made a video before :s (I also have a lot of ultra-high quality uncompressed avi FRAPS videos from before nvidia drivers supported recording I would like to put on dailymotion and youtube with losing as little quality as possible) Thank you so much for anyone that can help










share|improve this question



























    2















    I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn't play properly in Media Player Classic/VLC with the duration of the video hanging on the last second while continuing to play audio, and the audio at the end doesn't get heard on Youtube/Dailymotion at all :(



    ( I want to do this without encode/compress/transcode the video again, to not lose quality, this is really important because it's a very old video and the original source is probably gone forever due to company bankruptcy https://www.youtube.com/watch?v=8r4N7JnysUM )



    I read about how to concatenate (join) another video like a title screen and the original video in the ffmpeg FAQ by using cat file1.mpg file2.mpg > newfile.mpg but the video format I want to do this with is "VP90 29.97fps profile 0, yuv420p" (as used by Youtube) so I guess that is one solution if I there is a program that can make videos in a similar format, unless there is a better way to simply extend the video by making the last frame stay constant to match the new audio track?



    Another issue is I don't actually know what open source program as an alternative to Sony Vegas etc that I would use to make a simple single image video to join to extend the video because I've never made a video before :s (I also have a lot of ultra-high quality uncompressed avi FRAPS videos from before nvidia drivers supported recording I would like to put on dailymotion and youtube with losing as little quality as possible) Thank you so much for anyone that can help










    share|improve this question

























      2












      2








      2


      2






      I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn't play properly in Media Player Classic/VLC with the duration of the video hanging on the last second while continuing to play audio, and the audio at the end doesn't get heard on Youtube/Dailymotion at all :(



      ( I want to do this without encode/compress/transcode the video again, to not lose quality, this is really important because it's a very old video and the original source is probably gone forever due to company bankruptcy https://www.youtube.com/watch?v=8r4N7JnysUM )



      I read about how to concatenate (join) another video like a title screen and the original video in the ffmpeg FAQ by using cat file1.mpg file2.mpg > newfile.mpg but the video format I want to do this with is "VP90 29.97fps profile 0, yuv420p" (as used by Youtube) so I guess that is one solution if I there is a program that can make videos in a similar format, unless there is a better way to simply extend the video by making the last frame stay constant to match the new audio track?



      Another issue is I don't actually know what open source program as an alternative to Sony Vegas etc that I would use to make a simple single image video to join to extend the video because I've never made a video before :s (I also have a lot of ultra-high quality uncompressed avi FRAPS videos from before nvidia drivers supported recording I would like to put on dailymotion and youtube with losing as little quality as possible) Thank you so much for anyone that can help










      share|improve this question














      I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn't play properly in Media Player Classic/VLC with the duration of the video hanging on the last second while continuing to play audio, and the audio at the end doesn't get heard on Youtube/Dailymotion at all :(



      ( I want to do this without encode/compress/transcode the video again, to not lose quality, this is really important because it's a very old video and the original source is probably gone forever due to company bankruptcy https://www.youtube.com/watch?v=8r4N7JnysUM )



      I read about how to concatenate (join) another video like a title screen and the original video in the ffmpeg FAQ by using cat file1.mpg file2.mpg > newfile.mpg but the video format I want to do this with is "VP90 29.97fps profile 0, yuv420p" (as used by Youtube) so I guess that is one solution if I there is a program that can make videos in a similar format, unless there is a better way to simply extend the video by making the last frame stay constant to match the new audio track?



      Another issue is I don't actually know what open source program as an alternative to Sony Vegas etc that I would use to make a simple single image video to join to extend the video because I've never made a video before :s (I also have a lot of ultra-high quality uncompressed avi FRAPS videos from before nvidia drivers supported recording I would like to put on dailymotion and youtube with losing as little quality as possible) Thank you so much for anyone that can help







      video ffmpeg video-editing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 30 '18 at 0:19









      internet is for kittensinternet is for kittens

      112




      112






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1388865%2fextend-video-without-re-encoding-encoding-re-compressing-transcoding%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1388865%2fextend-video-without-re-encoding-encoding-re-compressing-transcoding%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

          Сан-Квентин

          Алькесар

          Josef Freinademetz