Video won't play 動画が再生できません——resolved

I created a 5-second video animation and attempted to play it using AGM.
First, I converted this animation from MP4 format to OGV format.
Both video formats can be opened on a PC using video software—no problem.
However, when I imported this video into AGM and tried to play it using VideoStreamPlayer, there was no response.
I’m not sure which step went wrong.
Could it be that the video resolution is too high (4K), causing it to be unrecognized?
Please help—I’d appreciate it!

(Note: Attached are the AGM source files and the OGV-format video.)

Video Playback Test.rar (3.5 MB)
Dream 3.rar (3.4 MB)

1 Like

I tried your video in a regular Godot 4.5 project and it wouldn’t play either. What tool did you use to convert the video? Show us the export settings if you have them.

It seems that the problem lies in the video file.
I use a popular format conversion software in China called Format Factory.
I am trying to convert the format again and take a screenshot.

Resolution: 3840 * 2160
Bit rate: 1.5Mbit/s

I am trying to output videos with different bitrates to give it a try.
At the same time, I will see if other software can be used to generate OVG format files.

At the beginning, the source video output was HEVC encoding with 4K resolution, and I think there should be an issue with this HEVC. Then I tried outputting H264 encoded, 1080P resolution mp4 files, but it still didn’t work.
I will upload this MP4 source file. (H264,1080P)
If possible, please help me test if there are any issues with this source file.
If there is no problem, then it can only be a problem that occurred when converting the format…

1080P.rar (3.7 MB)

I was able to convert the video and get it working with VLC :

  1. Open VLC and go to Media > Convert / Save

  2. Click Add and select your MP4 file. Click Convert / Save

  3. In the Profile dropdown, select Video - Theora + Vorbis (OGG)

  4. Click the Settings (Wrench icon) next to the profile:

    • Encapsulation: Ensure Ogg/Ogm is selected

    • Video codec: Verify “Video” is checked and codec is Theora

    • Audio codec: Verify “Audio” is checked and codec is Vorbis

    • Click Save

  5. Choose a Destination file and ensure the filename ends in .ogv (e.g., myvideo.ogv). You might have to select All Files to be able to use .ogv as the file extension

  6. Click Start

When you click Start the VLC will go black and you will see the playback bar increasing representing the progress. Slightly confusing, but works.

2 Likes

Thank you so much, truly thank you so much, you are my god!

I used your method for transcoding and successfully played it on AGM. The only minor issue is that the video quality has significant flaws. I tried many methods and finally found that as long as the bitrate is increased, it can be solved.

Add the following steps:
In step 4 of your method, adjust the bit rate to 【10000kb/s】
Other unchanged.

The video is perfectly converted and restored to its original quality even when placed in AGM.
Thank you again, Mr. Bas, for your help and for adding an opening animation to my project in the future, which solved the technical difficulties.
Love you!

1 Like

You’re very welcome! Thanks for the additional bit rate tip.

1 Like