# Video created by VideoIO.jl doesn't display properly on Android WhatsApp

**URL:** <https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492>\
**Category:** Visualization\
**Tags:** video, videoio\
**Created:** [April 14, 2023, 9:20pm UTC](https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492 "2023-04-14T21:20:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcsgil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marcsgil/32/33908_2.png) [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Post date:** [April 14, 2023, 9:20pm UTC](https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492/1 "2023-04-14T21:20:13Z")

</div>

Hello!

I’m trying to share some videos I generated using VideoIO.jl on WhatsApp. Although the videos work well on WhatsApp Web and WhatsApp iOS, I’m encountering some strange issues when I try to play them on my Android phone.

For instance, when I run the minimal working example from the [VideoIO.jl documentation](https://juliaio.github.io/VideoIO.jl/stable/writing/), which generates a grayscale random video, I see a green-scale video instead of a grayscale one. I’ve attached a screenshot of the issue below.

 ![WhatsApp Image 2023-04-14 at 17.31.05](https://global.discourse-cdn.com/julialang/original/3X/0/1/0117503e39f8aab75e9c98fe780103c6ad8c59ed.jpeg)

The videos I’m actually interested have an `RGB{N0f8}` color type. While I can see the correct thumbnail for these videos, I only get a black screen when I try to play them. I’ve confirmed that these issues also occur on another Android phone.

Is there a way to get these videos to work properly on WhatsApp for Android? I’d appreciate any suggestions or advice on how to resolve these issues.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 15, 2023, 5:54am UTC](https://discourse.julialang.org/t/video-created-by-videoio-jl-doesnt-display-properly-on-android-whatsapp/97492/2 "2023-04-15T05:54:00Z")

</div>

Video codecs are tricky, in my experience any number of small things can trip up certain players or end devices. For example, many codecs don’t work right if the video doesn’t have a width and height divisible by 2. VideoIO calls ffmpeg with some preset codec settings I think, so you would have to check what those are and if you can find a reason why they wouldn’t be appropriate for your Android device. Maybe the defaults can be improved.
