Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

How do I record a video file from my Python code which creates a moving object

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody. I've created a moving object in python and now I need to record it as a video to use it in another website. I looked at youtube videos but I couldn't find anything. I appreciate it a lot if anybody here can help me.
Here is my code:

 
Saloon Keeper
Posts: 6798
162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you want to code that in Python as well? That would likely be a big undertaking. Why not buy a commercial screen recording app? They don't cost much, and you can edit it afterwards to just show the parts you want to show.
 
Zhaleh Alipour
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, actually screen recording is a way I was thinking of. One question I have is that, isn't it time-consuming? As I have many videos of several seconds long for my project and this way it'll take a long time to edit all of them.
 
Rancher
Posts: 181
7
Mac OS X IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are on Mac you can use QuickTime to record screen and I think there is a way to do it from the command line, I'm sure that similar solutions exist for Windows too.
 
Tim Moores
Saloon Keeper
Posts: 6798
162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if you have many videos you should be prepared to edit many videos. It's natural that would take some time. I'm sure that with practice you'll get better at editing them quickly. On the plus side, if the videos are short, editing shouldn't take long.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can record your screen with the built-in screen recorder.

Click 'Start recording' or tap [Windows]+[Alt]+[R] to start, then use the same shortcut when you've finished. Recorded videos will be saved in your Videos/Capture folder in MP4 format.

Regards,
Caleb
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic