P
P
Pythonchik32020-06-03 17:41:37
Python
Pythonchik3, 2020-06-03 17:41:37

How to do video and audio mixing in python?

Hello!
Please tell me how can I write the following program. Change has files 1.mp4 and 2.mp4. We need to write a python program that plays 1.mp4, and when the spacebar is pressed, immediately pauses 1.mp4 and starts playing 2.mp4. When the second file ends, the first continues to play from the same point.
Any hints will be glad.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-06-03
@bacon

Nothing changes, it's the same as in the previous ones
How to cut a video into parts in python?
How to slow down playback of a python file?
Speed ​​up audio file in python?
How to overlay a photo on a video clip in python?
How to cut part of a python video?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question