[chimerax-users] Changing MD trajectory default frame rate
Tom Goddard
goddard at sonic.net
Thu Jan 12 13:02:42 PST 2023
Hi Vis,
I just added another way to control the movie playback speed when you record a movie with the red button on the MD coordinate set slider. You can create a new slider panel with the "coordset slider" command and specify the playback speed of the recorded movie file, for example,
coordset slider #1 movieFramerate 5
The default frame rate for the recorded movie if none is specified is 25. This will be in tomorrow's (January 13, 2023) ChimeraX daily builds.
Tom
> On Jan 12, 2023, at 12:40 PM, Tom Goddard via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> Hi Vis,
>
> The ChimeraX daily build has a speed control on the MD slider panel (thanks to Eric Pettersen). If you record with that setting slower speed it will play back at slower speed. That speed control says how many rendered graphics frames are show for each MD time. So if you set it to 10 then it will run 10 times slower than the default value where it is set to 1. When the movie is recorded with the record button it always sets the playback speed as 25 frames per second in the .mp4 file. But the same MD time is repeated for 10 frames so it runs slower. You may think that will produce a bigger movie file, but it does not, because of the H264 compression used for the movie.
>
> Tom
>
>
>> On Jan 12, 2023, at 12:10 PM, Visvaldas K. via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>>
>> Dear all,
>>
>> Is there a way to change frame rate when I hit that red "record" button when playing MD trajectory?
>>
>> I could do "movie record", but then it becomes interactive (I hit triangle "play", and then "movie encode /Users/visvaldas/Desktop/movie.mp4 framerate 5"), so inadvertently can record some undesired frames.
>>
>> Of course I probably can reduce framerate using external programs, but how to that non-interactively in ChimeraX?
>>
>> Best regards,
>>
>> Vis
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20230112/270d0710/attachment.html>
More information about the ChimeraX-users
mailing list