1
$\begingroup$

Right now I have:

animation = 
 Table[ParametricPlot[{Cos[t], Sin[t]}, {t, -Pi, Pi}], {a, Pi, 
   0, -0.1}]
Export["~/animation.mov", animation, "FrameRate" -> 60]

but the result is fuzzy.

I tried increasing ImageSize but that just made a bigger blurry video. How can I increase the DPI?

There is some sort of metadata associated with this:

https://stackoverflow.com/questions/31586732/how-can-i-retain-2x-pixel-density-when-encoding-retina-screen-capture-with-ffmpe

https://video.stackexchange.com/questions/23503/how-does-quicktime-player-know-when-do-play-a-video-in-hidpi-retina-2x-mode

I made screen recording with a higher pixel density and found.

com.apple.quicktime.pixeldensity

present in the file

$\endgroup$
8
  • $\begingroup$ Without your data, we cannot say anything. Show me what you're trying to do? $\endgroup$ Commented Nov 14, 2019 at 11:49
  • $\begingroup$ @AlexTrounev I want to increase the pixel density $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:15
  • $\begingroup$ You don’t even show us a picture? We have to guess what is hidden in your line of code there? $\endgroup$ Commented Nov 14, 2019 at 14:38
  • $\begingroup$ @AlexTrounev pick any graph does not matter $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:48
  • $\begingroup$ @AlexTrounev I’m asking about the export process $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:49

1 Answer 1

2
$\begingroup$

I cannot reproduce what you say. Increasing ImageSize increases the graphics size (but not the text size within the graphics!) without making it blurry.

I suggest you use Rasterize[..., ImageResolution -> a*72] on each frame to increase the frame size a-fold. The export the list of frames.

$\endgroup$
9
  • $\begingroup$ I want 2x pixel-density like in stackoverflow.com/questions/31586732/… $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:09
  • $\begingroup$ ImageResolution increase the frame size but not the pixel density $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:11
  • $\begingroup$ When I open the movie in QuickTime it opens at 720x652 but I want it to open at 360x326 with double the density. Rising the video player window works but I want it to open with the correct size. $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 14:14
  • 1
    $\begingroup$ @2426021684 Does QuickTime (or any movie format at all!) encode pixel density at all? I highly doubt that it does. If you know it does, can you provide a link that explains this? $\endgroup$
    – Szabolcs
    Commented Nov 14, 2019 at 15:30
  • $\begingroup$ stackoverflow.com/questions/31586732/… $\endgroup$
    – 2426021684
    Commented Nov 14, 2019 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.