Author Topic: Unable to save animation file  (Read 229 times)

EtienneF

  • Newbie
  • *
  • Posts: 1
Unable to save animation file
« on: June 17, 2019, 02:32:08 PM »
Hi,
I have been  trying to render an animation with Ovito2.9.0. After setting everything up according to https://ovito.org/manual/usage.rendering.html, when I click on "render active viewport", I get an error message in terminal that depends on the output format :

AVI:
Code: [Select]
Output #0, avi, to '/home/etienne/Documents/stageM2/progress/presentation17_06_19/animation/animation.avi':
    Stream #0:0: Unknown: none (mpeg4)
[avi @ 0x55d659099200] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[avi @ 0x55d659099200] dimensions not set
Failed to write video file header: Invalid argument
ERROR: Failed to write video file header: Invalid argument

GIF:
Code: [Select]
Output #0, gif, to '/home/etienne/Documents/stageM2/progress/presentation17_06_19/animation/animation.gif':
    Stream #0:0: Unknown: none (gif)
[gif @ 0x55d659051400] Specified pixel format rgb24 is invalid or not supported
Could not open video codec: Invalid argument
ERROR: Could not open video codec: Invalid argument

MOV and MP4:
Code: [Select]
Output #0, mov, to '/home/etienne/Documents/stageM2/progress/presentation17_06_19/animation/animation.mov':
    Stream #0:0: Unknown: none (libx264)
[libx264 @ 0x55d658e19c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55d658e19c00] profile High, level 2.2
[libx264 @ 0x55d658e19c00] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=12 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=4 qpmax=4 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mov @ 0x55d659051400] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mov @ 0x55d659051400] dimensions not set
Failed to write video file header: Invalid argument
ERROR: Failed to write video file header: Invalid argument

I couldn't find similar problem on the forum.
Thanks for your help,
Etienne

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 638
Re: Unable to save animation file
« Reply #1 on: June 17, 2019, 06:04:08 PM »
Hi Etienne,

you are using the Linux version of Ovito 2.9.0, right? We can look into this problem in more detail, but as a quick workaround you may already try switching to the current development build of Ovito 3.0.0.

-Alex