How to increase video speed and frame rate without duplicating framesHow to convert video to higher FPS by...

Can you 'upgrade' leather armor to studded leather armor without purchasing the new armor directly?

Reason Why Dimensional Travelling Would be Restricted

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

What's the purpose of these copper coils with resistors inside them in A Yamaha RX-V396RDS amplifier?

Sometimes a banana is just a banana

How to speed up a process

Hacker Rank: Array left rotation

Is my plan for fixing my water heater leak bad?

Did 5.25" floppies undergo a change in magnetic coating?

Whom do I have to contact for a ticket refund in case of denied boarding (in the EU)?

Closure of presentable objects under finite limits

Book where the good guy lives backwards through time and the bad guy lives forward

How can atoms be electrically neutral when there is a difference in the positions of the charges?

Can chords be played on the flute?

How do I construct an nxn matrix?

Does music exist in Panem? And if so, what kinds of music?

What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?

How to tighten battery clamp?

Find the next monthly expiration date

Compare four integers, return word based on maximum

What is a term for a function that when called repeatedly, has the same effect as calling once?

Why does the author believe that the central mass that gas cloud HCN-0.009-0.044 orbits is smaller than our solar system?

What to do when being responsible for data protection in your lab, yet advice is ignored?

As a new poet, where can I find help from a professional to judge my work?



How to increase video speed and frame rate without duplicating frames


How to convert video to higher FPS by speeding it up?Troubleshooting “stream 0 codec frame rate differs from container frame rate” when splitting AVI in ffmpegProblems with frame rate on video conversion using ffmpeg with libx264reduce size of mp4 using avconvcompressing video with ffmpeg while maintaining high frame rateconvert high -speed video to normal by subsampling framesReduce video frame rate without dropping useful framesHow do I use ffmpeg to split a video into images and then reassemble exactly the same?ffmpeg - encode input stream to file with higher framerateHow to cut video frame specific with ffmpeg and convert framerate?Lightweight codec for streaming 1080p 60 FPS in real time













6















I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame in the output, making the 60 FPS output effectively 30 FPS. I want every frame to be unique. At a 200x speed increase and 2x frame rate increase, there is no reason to duplicate frames.



For example, the problem is that the output is using source frames like 1,1,21,21,41,41,... when I want it to use frames 1,11,21,31,41,51,...



Here's the command I'm using:



avconv -i input_30fps.avi -vcodec h264 -an -r 60 -vf "setpts=(1/200)*PTS" output_200x_60fps.avi









share|improve this question





























    6















    I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame in the output, making the 60 FPS output effectively 30 FPS. I want every frame to be unique. At a 200x speed increase and 2x frame rate increase, there is no reason to duplicate frames.



    For example, the problem is that the output is using source frames like 1,1,21,21,41,41,... when I want it to use frames 1,11,21,31,41,51,...



    Here's the command I'm using:



    avconv -i input_30fps.avi -vcodec h264 -an -r 60 -vf "setpts=(1/200)*PTS" output_200x_60fps.avi









    share|improve this question



























      6












      6








      6


      2






      I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame in the output, making the 60 FPS output effectively 30 FPS. I want every frame to be unique. At a 200x speed increase and 2x frame rate increase, there is no reason to duplicate frames.



      For example, the problem is that the output is using source frames like 1,1,21,21,41,41,... when I want it to use frames 1,11,21,31,41,51,...



      Here's the command I'm using:



      avconv -i input_30fps.avi -vcodec h264 -an -r 60 -vf "setpts=(1/200)*PTS" output_200x_60fps.avi









      share|improve this question
















      I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame in the output, making the 60 FPS output effectively 30 FPS. I want every frame to be unique. At a 200x speed increase and 2x frame rate increase, there is no reason to duplicate frames.



      For example, the problem is that the output is using source frames like 1,1,21,21,41,41,... when I want it to use frames 1,11,21,31,41,51,...



      Here's the command I'm using:



      avconv -i input_30fps.avi -vcodec h264 -an -r 60 -vf "setpts=(1/200)*PTS" output_200x_60fps.avi






      video ffmpeg libav framerate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 18 '16 at 22:40







      Pilot_51

















      asked Jul 18 '16 at 20:07









      Pilot_51Pilot_51

      17118




      17118






















          2 Answers
          2






          active

          oldest

          votes


















          4














          As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking.



          It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed it and found the equivalent command that doesn't duplicate frames:



          ffmpeg -i input_30fps.avi -vcodec h264 -an -vf "fps=60, setpts=(1/200)*PTS" output_200x_60fps.avi





          share|improve this answer





















          • 2





            ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

            – Gyan
            Jul 19 '16 at 5:11



















          0














          Yes, the reason it did not work is that the command you used is NOT designed to speed up playback, but to increase the definition of the video.






          share|improve this answer
























          • This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

            – DavidPostill
            Jan 16 '17 at 23:22











          • In any case, the command OP used does not "increase the definition" of the video.

            – Gyan
            Jan 17 '17 at 4:52











          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%2f1102426%2fhow-to-increase-video-speed-and-frame-rate-without-duplicating-frames%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking.



          It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed it and found the equivalent command that doesn't duplicate frames:



          ffmpeg -i input_30fps.avi -vcodec h264 -an -vf "fps=60, setpts=(1/200)*PTS" output_200x_60fps.avi





          share|improve this answer





















          • 2





            ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

            – Gyan
            Jul 19 '16 at 5:11
















          4














          As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking.



          It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed it and found the equivalent command that doesn't duplicate frames:



          ffmpeg -i input_30fps.avi -vcodec h264 -an -vf "fps=60, setpts=(1/200)*PTS" output_200x_60fps.avi





          share|improve this answer





















          • 2





            ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

            – Gyan
            Jul 19 '16 at 5:11














          4












          4








          4







          As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking.



          It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed it and found the equivalent command that doesn't duplicate frames:



          ffmpeg -i input_30fps.avi -vcodec h264 -an -vf "fps=60, setpts=(1/200)*PTS" output_200x_60fps.avi





          share|improve this answer















          As happens regularly to me, after spending hours trying to figure it out before asking for help, I find the solution myself just minutes after asking.



          It turns out avconv isn't the better replacement to ffmpeg that I thought it was when Linux Mint, IIRC, removed ffmpeg from the official repository in favor of avconv. Anyway, ffmpeg is back and I installed it and found the equivalent command that doesn't duplicate frames:



          ffmpeg -i input_30fps.avi -vcodec h264 -an -vf "fps=60, setpts=(1/200)*PTS" output_200x_60fps.avi






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 18 '16 at 22:01

























          answered Jul 18 '16 at 21:00









          Pilot_51Pilot_51

          17118




          17118








          • 2





            ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

            – Gyan
            Jul 19 '16 at 5:11














          • 2





            ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

            – Gyan
            Jul 19 '16 at 5:11








          2




          2





          ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

          – Gyan
          Jul 19 '16 at 5:11





          ffmpeg -r 6000 -i in_30.avi -c:v h264 -an -r 60 out.avi should do the same thing.

          – Gyan
          Jul 19 '16 at 5:11













          0














          Yes, the reason it did not work is that the command you used is NOT designed to speed up playback, but to increase the definition of the video.






          share|improve this answer
























          • This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

            – DavidPostill
            Jan 16 '17 at 23:22











          • In any case, the command OP used does not "increase the definition" of the video.

            – Gyan
            Jan 17 '17 at 4:52
















          0














          Yes, the reason it did not work is that the command you used is NOT designed to speed up playback, but to increase the definition of the video.






          share|improve this answer
























          • This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

            – DavidPostill
            Jan 16 '17 at 23:22











          • In any case, the command OP used does not "increase the definition" of the video.

            – Gyan
            Jan 17 '17 at 4:52














          0












          0








          0







          Yes, the reason it did not work is that the command you used is NOT designed to speed up playback, but to increase the definition of the video.






          share|improve this answer













          Yes, the reason it did not work is that the command you used is NOT designed to speed up playback, but to increase the definition of the video.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 16 '17 at 19:01









          the_try_guythe_try_guy

          1




          1













          • This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

            – DavidPostill
            Jan 16 '17 at 23:22











          • In any case, the command OP used does not "increase the definition" of the video.

            – Gyan
            Jan 17 '17 at 4:52



















          • This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

            – DavidPostill
            Jan 16 '17 at 23:22











          • In any case, the command OP used does not "increase the definition" of the video.

            – Gyan
            Jan 17 '17 at 4:52

















          This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

          – DavidPostill
          Jan 16 '17 at 23:22





          This is really a comment and not an answer to the original question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Please read Why do I need 50 reputation to comment? What can I do instead?

          – DavidPostill
          Jan 16 '17 at 23:22













          In any case, the command OP used does not "increase the definition" of the video.

          – Gyan
          Jan 17 '17 at 4:52





          In any case, the command OP used does not "increase the definition" of the video.

          – Gyan
          Jan 17 '17 at 4:52


















          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%2f1102426%2fhow-to-increase-video-speed-and-frame-rate-without-duplicating-frames%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

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...