Speed up video using avconv without quality loss

libavvideo

After having read this page, I'm using avconv (which in this case is apparently same as ffmpeg, and which I need to use instead since I'm on Ubuntu trusty) to speed up a .swf video.

I don't want a quality loss (not interested in compression), just a visual speed-up.

avconv -i input.swf -filter:v "setpts=0.5*PTS" output.swf

results in quality loss. how do I prevent that?

I don't see why this occurs, mplayer -af scaletempo -speed 1.7 myvideo.swf plays it fine.


From reading this page I tried

avconv -i input.mkv -filter:v "setpts=0.5*PTS" -b 1080 output.mkv

But it didn't help.

Best Answer

  • Gotcha!

    avconv -i HTSA2-copy.swf -filter:v "setpts=0.5*PTS" -b 12000k -s 1080x1080 Sped_up-setpts=0.5*PTS-HTSA2.swf
    

    the -b and -s parameter values might be overkill haha, but it gets me what I wanted.

  • Related Question