logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
iloney  
#1 Posted : Friday, February 7, 2025 5:56:06 AM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Hi, thanks for reading my post.

I've tried searching for a solution to this but I'm not sure if it is possible, I'm hoping someone could advise please.

My vMix (latest update) will play many MP4 video clips with no issue but it seems unable to cope with certain MP4s (I get audio with black screen).

The interesting thing is that the clips that don't work play fine on the same computer using VLC or Media Player.

I'm fairly confident that these apps have an MP4 codec that vMix doesn't.

My question is can I update the codecs that vMix uses?

In vMix settings MP4 is currently on the list to use the FFMPEG decoder. However, I've also tried removing it from the list and still have the same issue.

I assume when it is removed from the list it looks for a Windows decoder? I was hoping that it would find the ones that VLC or Media Player are using although perhaps they are built in to those apps and not accessible?

Is there any way to allow vMix to access a wider / newer selection of MP4 codecs?

Many thanks for any advice!
nikosman88  
#2 Posted : Friday, February 7, 2025 9:44:07 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 588
Greece
Location: athens

Thanks: 146 times
Was thanked: 79 time(s) in 75 post(s)
Hello.In order to enable the windows codec instead of Vmix ffmpeg,you need to remove from ffmpeg in Vmix the extension and play with EVR mode,instead of VMR9 mode. See this https://forums.vmix.com/...-Hardware-Video-Decoding my post 7 and 9
Yes there exist way but actually not recomended at my opinion. Yes it can work and also un-load cpu load and work with windows decoder but it needs attention when you do this
iloney  
#3 Posted : Friday, February 7, 2025 10:56:28 AM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Thank you for your reply.
I tried removing *.mp4 from ffmpeg which didn’t solve it so I added it back again before trying anything else.
I also read about changing to EVR and tried that too which didn’t solve it so I changed it back.
However, I didn’t try both changes together, just 1 at a time.
I will now try both changes together although from your post you are advising caution as it may create other problems.
Many thanks.
admin  
#4 Posted : Friday, February 7, 2025 12:18:52 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,182
Man
Location: Gold Coast, Australia

Was thanked: 4422 time(s) in 1550 post(s)
Hi,

Just adding a note here that it is definitely not recommended to go and change the vMix decoder settings, especially to things like EVR which is considered deprecated.
In this instance it sounds like the MP4 that isn't working is using a new video format such as AV1 which vMix does not currently support for playback.

MP4 using AV1 is still quite rare and is usually only found by files retrieved using YouTube downloader apps.
These apps should also have an option of downloading in a different codec such as VP9 or H264 which is what we would recommend.

We may add support for more codecs in the future, but given the rarity of these formats at the moment, this may not be for a while.

Regards,

Martin
vMix
iloney  
#5 Posted : Friday, February 7, 2025 5:29:44 PM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Thank you for your reply Martin.
That sounds like exactly the problem we are having.
I have found that the Handbrake app can modify the problem files to a format that vMix seems to be able to handle with little loss of quality.
I don’t know if that will work every time and it’s an extra step but hopefully that will help until there is a codec update.
Thank you.
ckvideo  
#6 Posted : Friday, February 7, 2025 6:44:14 PM(UTC)
ckvideo

Rank: Advanced Member

Groups: Registered
Joined: 3/21/2022(UTC)
Posts: 35
Germany

Thanks: 1 times
Was thanked: 7 time(s) in 7 post(s)
Originally Posted by: iloney Go to Quoted Post
Thank you for your reply Martin.
That sounds like exactly the problem we are having.
I have found that the Handbrake app can modify the problem files to a format that vMix seems to be able to handle with little loss of quality.
I don’t know if that will work every time and it’s an extra step but hopefully that will help until there is a codec update.
Thank you.


Hi,

please note that MP4 is a video container format that can hold different actual video codecs - the math to compress/decompress the video data. Wikipedia has it in detail.

I had a similar experience with HEVC/H.265. If this codec is not installed on your Windows system, you get sound in vMix and black video. Very annoying if you try to stream SRT into vMix. VLC plays all things because it does not use the Windows codecs but its own codec pack.

(Sidenote: You need to buy the H.265 codec from the Microsoft app store for 0,99 €...)

As a check, play the video in VLC and see the codec information in the information window. Also, I think if the video plays in Windows media player it should also play in vMix.

Good luck!
iloney  
#7 Posted : Friday, February 7, 2025 8:56:42 PM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Thanks.
Yes, I found the codec info on VLC. I can’t remember exactly what it said, I’ll check later, but it listed 2 codecs. I think it said stream 1 and stream 2. Maybe video and audio separately?
You’ve said what I have been thinking. It does play fine on Media Player so the correct codec must be somewhere in either Windows or Media Player.
Is there no way to force vMix to use existing codecs on the computer as a useable codec must already be there?
If I add the H265 codec that should help? Would that just be installed into Windows then vMix would find it?
Although presumably that codec it is already accessible to Media Player as it is capable of playing the video yet vMix cannot use it at the moment.
Thank you

admin  
#8 Posted : Friday, February 7, 2025 11:25:39 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,182
Man
Location: Gold Coast, Australia

Was thanked: 4422 time(s) in 1550 post(s)
vMix uses a special FFMPEG built-in for MP4 playback and therefore videos are not impacted by the codecs installed in Windows.
This is something we would need to add support in the future, I would suggest checking exactly what codec for the video stream and submitting a feature request for us to add support for it:

https://forums.vmix.com/topics/4-Feature-Requests

The Windows codecs are only relevant to SRT, Recording and some very old video formats (AVI in particular)
nikosman88  
#9 Posted : Saturday, February 8, 2025 1:20:29 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 588
Greece
Location: athens

Thanks: 146 times
Was thanked: 79 time(s) in 75 post(s)
Originally Posted by: admin Go to Quoted Post
vMix uses a special FFMPEG built-in for MP4 playback and therefore videos are not impacted by the codecs installed in Windows.
This is something we would need to add support in the future, I would suggest checking exactly what codec for the video stream and submitting a feature request for us to add support for it:

https://forums.vmix.com/topics/4-Feature-Requests

The Windows codecs are only relevant to SRT, Recording and some very old video formats (AVI in particular)

Hi. In my personal opinion this FR allready exist twice https://forums.vmix.com/...-Hardware-Video-Decoding and https://forums.vmix.com/...re-video-decoding-on-GPU
and i hope in Vmix 29 you will add it
This FR at my personal opinion is going together with HW video decoding option. It is somehow funnny to have the best GPU and rely and load CPU in order to play a video
iloney  
#10 Posted : Saturday, February 8, 2025 2:48:03 AM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Thanks to everyone for offering advice.

I think what’s really confusing me is that there is the option to add whichever file types you like to the FFMPEG decoder in the settings menu.

MP4 is currently on the list along with mov etc.

What happens if you remove a file type from the list? Surely it stops using FFMPEG and then tries to locate a suitable codec somewhere else on the computer? Why can’t it then find whatever the media players are making use of?

Thanks again
iloney  
#11 Posted : Saturday, February 8, 2025 7:28:03 PM(UTC)
iloney

Rank: Newbie

Groups: Registered
Joined: 2/7/2025(UTC)
Posts: 6
United Kingdom

Hi.
I’ve looked at the problem videos again using VLC and it does indeed identify the video codecs on these as av01 as suggested in an earlier reply.
Thanks to everyone for your suggestions. I think if this happens again I’ll just try to convert them.
Hopefully a future update will add this codec to vMix.
Thank you.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.