# \#audio

**URL:** https://forum.opencv.org/tag/audio/325.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [How to play audio with video in opencv?](https://forum.opencv.org/t/how-to-play-audio-with-video-in-opencv/8697)

<div class="topic-metadata">

**Author:** [@rizwan1122](https://forum.opencv.org/u/rizwan1122)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 1:58am UTC](https://forum.opencv.org/t/how-to-play-audio-with-video-in-opencv/8697 "2023-03-16T01:58:04Z")

</div>

I want to play audio with video in opencv. I am using opencv version 4.5.5. According to {Reference link}, it seems that opencv-4.5.5 can play audio with video. Is there any sample code that can run audio alongside vide…

---

## [Write video with audio as well using opencv video writer function](https://forum.opencv.org/t/write-video-with-audio-as-well-using-opencv-video-writer-function/7701)

<div class="topic-metadata">

**Author:** [@Hassan](https://forum.opencv.org/u/Hassan)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 7:36am UTC](https://forum.opencv.org/t/write-video-with-audio-as-well-using-opencv-video-writer-function/7701 "2022-02-24T07:36:37Z")

</div>

I am using opencv to write processed video via cv2.videoWriter function. But that video get write without sound. How can I write a video with its original audio as well. I am reading video using cv2.Videocapture(0), and…
