Export a 3d surface movie with good quality

Click For Summary
SUMMARY

The discussion focuses on exporting high-quality 3D surface movies using Mathematica and ffmpeg. The user initially struggled with low-quality output when attempting to create a movie from a 3D parametric plot. They discovered that using ffmpeg to convert PNG files into a movie significantly improved the output quality. The solution involves generating frames in Mathematica and then utilizing ffmpeg for the final movie export.

PREREQUISITES
  • Familiarity with Mathematica for creating 3D parametric plots
  • Understanding of the ffmpeg tool for video processing
  • Basic knowledge of exporting image sequences
  • Experience with color functions in Mathematica
NEXT STEPS
  • Learn how to optimize 3D plots in Mathematica for better visual quality
  • Explore advanced ffmpeg commands for video encoding and compression
  • Research techniques for creating high-resolution PNG files in Mathematica
  • Investigate color mapping and functions in Mathematica to enhance visual appeal
USEFUL FOR

This discussion is beneficial for Mathematica users, graphic designers, and video editors looking to produce high-quality 3D animations and improve their workflow with video processing tools like ffmpeg.

member 428835
Hi PF!

I have a 3D surface that changes with time. I am trying to make a movie. The following is what I do, but the output is extremely low quality. Does anyone know how I can get the same quality that Mathematica uses for its images?

Matlab:
mov[t_] :=
Show[ParametricPlot3D[{(2 + Cos[v]) Cos[U] Cos[t], (2 + Cos[v]) Sin[
      u] Cos[t], Sin[v] Cos[t]}, {u, 0, 2 Pi}, {v, 0, 2 Pi}, 
   Mesh -> 25, ColorFunction -> (ColorData["Rainbow"][#4] &)]]
frames = ParallelTable[mov[t], {t, 0, 2 \[Pi], (2 \[Pi])/10}]
Export["josh.mov", frames]
 
Last edited by a moderator:
Physics news on Phys.org
I found a way to do it but external to Mathematica. It's called ffmpeg, it converts png files into movies. Very simple. Happy to help if anyone need help.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K