# OpenMV H7 Cam does not stream video via RTSP

**URL:** <https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592>\
**Category:** OpenMV Boards\
**Created:** [October 18, 2022, 11:26am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592 "2022-10-18T11:26:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunvs](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunvs](https://forums.openmv.io/u/arunvs)\
**Post date:** [October 18, 2022, 11:26am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/1 "2022-10-18T11:26:42Z")

</div>

I am using rtsp\_video\_server\_wlan1.py from example in the OpenMV IDE. I try to stream vedio with vlc, but i don’t get any vedio streaming.

play\_callback(pathname, session):  
print(“Playing "%s" in session %d” % (pathname, session))

in the openmv ide terminal, I only see play\_callback output.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 18, 2022, 1:19pm UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/2 "2022-10-18T13:19:54Z")

</div>

Hi, it only works with the JPEG mode of the OV5640 for VLC. It doesn’t like the JPEG image format produced by our JPEG compressor.

If you use FFMPEG it works fine with our jpeg compressor.

---

<div class="post-metadata">

**Author:** ![arunvs](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunvs](https://forums.openmv.io/u/arunvs)\
**Post date:** [October 19, 2022, 10:37am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/3 "2022-10-19T10:37:26Z")

</div>

Hi Kwagyeman,

As you suggested above, tried to use FFMPEG on windows 11 PC. By following the below url: [https://www.thewindowsclub.com/play-rtsp-stream-via-command-line-interface-ffmpeg](https://www.thewindowsclub.com/play-rtsp-stream-via-command-line-interface-ffmpeg)

When we tried to stream it using command [ffplay.exe] in CMD, we still couldn’t get any stream. Please refer the below output.

 ![MicrosoftTeams-image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/a/acf6c073a1ea100339c8bb40a2d547e031aa8249.jpeg)

Any help on this would be much appreciated thanks!!

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 19, 2022, 6:42pm UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/4 "2022-10-19T18:42:13Z")

</div>

Did the camera report that it was streaming?

---

<div class="post-metadata">

**Author:** ![arunvs](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunvs](https://forums.openmv.io/u/arunvs)\
**Post date:** [October 20, 2022, 5:54am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/5 "2022-10-20T05:54:38Z")

</div>

Hi Kwagyeman,

Yes, from RTSP code from openMV examples, the below pasted imag\_callback function is being called only once.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/0/034e45eaa6b5d5a002f61888b96bb85a087f210e.png)

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 23, 2022, 6:26am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/6 "2022-10-23T06:26:11Z")

</div>

Can you make a github bug on this on the openmv repo? I’ll debug it.

---

<div class="post-metadata">

**Author:** ![arunvs](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunvs](https://forums.openmv.io/u/arunvs)\
**Post date:** [October 31, 2022, 7:31am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/7 "2022-10-31T07:31:30Z")

</div>

Hi Kwagyeman,

I see you have updated the RTSP code on 17th Oct does it resolve this issue? Can I try to use the update code.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 31, 2022, 1:37pm UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/8 "2022-10-31T13:37:58Z")

</div>

Sorry, I haven’t had the time yet.

---

<div class="post-metadata">

**Author:** ![arunvs](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@arunvs](https://forums.openmv.io/u/arunvs)\
**Post date:** [November 24, 2022, 8:14am UTC](https://forums.openmv.io/t/openmv-h7-cam-does-not-stream-video-via-rtsp/7592/9 "2022-11-24T08:14:50Z")

</div>

Hello Kwagyeman,

I have created a bug on this issue, request your help in this.
