Homebrew Discussion Any Yuzu Mods to Play Video with External Player or Encode Video to Playable Format?

gbadl

Well-Known Member
OP
Member
Joined
Sep 13, 2009
Messages
199
Trophies
1
XP
554
Country
Since Yuzu still can't play video and emulation being near perfect already, I have done some testing. When Extracting Mario Odyssey, I can play the video files fine on a PC with the latest KLite Codec Pack installed. Is it possible to mod the emulator to play the video in an external player or use the codec from KLite to play the video files?

If that is not possible, how about a tool to extract the mp4 files from the game and converting the encoding from Nvidia NVDEC MP4 format to Standard MP4 format or something the emulator can play and rebuild the rom?
 
Last edited by gbadl,

gbadl

Well-Known Member
OP
Member
Joined
Sep 13, 2009
Messages
199
Trophies
1
XP
554
Country
I learned how to make romfs mods. I have tried converting the videos in NVDEC format to x264 and then added them as a romfs mod to Yuzu and they didn't work. I don't know if I did something wrong or if yuzu doesn't support any videos at all.

I guess the only option is some kind of Yuzu mod like cemuhook that will play videos using an external codec.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,272
Trophies
3
XP
12,037
Country
Poland
I learned how to make romfs mods. I have tried converting the videos in NVDEC format to x264 and then added them as a romfs mod to Yuzu and they didn't work. I don't know if I did something wrong or if yuzu doesn't support any videos at all.

I guess the only option is some kind of Yuzu mod like cemuhook that will play videos using an external codec.
Or switch to ryujinx which supports videos.

And btw. There is no "nvdec mp4". Nvdec is a decoder, nvenc is an encoder and in the end all mp4 at the base is the same container, what matters is what you use as codec (h264 or h265), processing unit to calculate changes in image and how much power you can give to encoder to get better results with defined settings at given time.

Your "nvdec mp4" is just "mp4 supported by hardware decoding on all devices supporting codec used in this container". Issue is not how to play video per se, but how to do that without breaking game. And this is something yuzu devs still didn't figure out how to implement it to their code.
 
Last edited by masagrator,

gbadl

Well-Known Member
OP
Member
Joined
Sep 13, 2009
Messages
199
Trophies
1
XP
554
Country
Or switch to ryujinx which supports videos.

And btw. There is no "nvdec mp4". Nvdec is a decoder, nvenc is an encoder and in the end all mp4 at the base is the same container, what matters is what you use as codec (h264 or h265), processing unit to calculate changes in image and how much power you can give to encoder to get better results with defined settings at given time.

Your "nvdec mp4" is just "mp4 supported by hardware decoding on all devices supporting codec used in this container". Issue is not how to play video per se, but how to do that without breaking game. And this is something yuzu devs still didn't figure out how to implement it to their code.

Yes, I re-encoded to h264 but it didn't work. I am getting 60FPS on 5th Gen i7, should I expect similar performance on ryujinx these days?
 

gbadl

Well-Known Member
OP
Member
Joined
Sep 13, 2009
Messages
199
Trophies
1
XP
554
Country
Tested out ryujinx and I only got black screen. Installed Firmware and Bios file, in addition to updating my drivers and its the same. Might not be compatible with my PC.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Maximumbeans @ Maximumbeans: butte