Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing audio on output video after FFmpeg overlay #6

Open
2 tasks
Seangottarun opened this issue Sep 7, 2020 · 0 comments
Open
2 tasks

Missing audio on output video after FFmpeg overlay #6

Seangottarun opened this issue Sep 7, 2020 · 0 comments

Comments

@Seangottarun
Copy link
Owner

Issue

As mentioned in #5 (review), when the GPS data video is overlayed on the original input video, the audio stream is dropped. According to ffmpeg-python documentation,

Some ffmpeg filters drop audio streams, and care must be taken to preserve the audio in the final output. The .audio and .video operators can be used to reference the audio/video portions of a stream so that they can be processed separately and then re-combined later in the pipeline. This dilemma is intrinsic to ffmpeg, and ffmpeg-python tries to stay out of the way while users may refer to the official ffmpeg documentation as to why certain filters drop audio.

TODO

  • Find proper way to keep audio stream without distortion or any modification
  • Test on Windows and macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant