kkroening / ffmpeg-python

Python bindings for FFmpeg - with complex filtering support
Apache License 2.0
10.06k stars 892 forks source link

Sync audio and video in the streaming output #716

Open Skylighty opened 2 years ago

Skylighty commented 2 years ago

Hello!

I'm dealing with the problem presented in the attached picture. I have RTMP source stream which i want to read, perform numpy operations on it and then pass to the output streams with well synced audio and video. Is there any easy solution to perform such operations? I would be very happy if someone could help.

example

Thanks in advance!

hctung57 commented 1 year ago

i have same problem, Skylighty. Do you have solution for this problem ?

xiaofanku commented 5 months ago

I tried to merge the audio(pipe) and video(pipe) and it didn't get an error, the program got stuck and I had to restart the IDE