Dreamcast 4XM video testing

General Dreamcast discussion applies here. Before posting here please check the other forums in the Dreamcast section to see if your topic would fit better in those categories.

Moderators: pcwzrd13, mazonemayu

Forum rules
Please check the other forums in the Dreamcast section before posting here to see if your topic would fit better in those categories. Example: A new game/homebrew release would go in the New Releases/Homebrew/Emulation section: http://dreamcast-talk.com/forum/viewforum.php?f=5 or if you're having an issue with getting your Dreamcast to work or a game to boot it would go in the Support section: http://dreamcast-talk.com/forum/viewforum.php?f=42
SMiTH
Black Mesa
Posts: 1496

Re: Dreamcast 4XM video testing

Post#181 » Sat Jul 02, 2022 12:23 am

updated 4xm selfboot script to v4.
added drez's cfg to allow standalone 4xm player. :)

Code: Select all

4XM DC VCD Selfboot Script v4 README
====================================

Rename 4XM video file to "VIDEO.4XM"
Add 4XM video file to the data folder
Run "create vcd.bat"
Done!

Credits:

Ian Michael (for coding/testing)
-drez01- (for standalone 4xm player cfg)
Moefoh (for script updates/testing)
SiZiOUS (for cdi4dc)
Jorg Schilling and others (for cdrtools)
SMiTH (for 4XM DC VCD SelfBoot Script)
Attachments
4XM DC VCD Selfboot Script v4.rar
(732.59 KiB) Downloaded 120 times


User avatar
MoeFoh
Uber
Posts: 1042

Re: Dreamcast 4XM video testing

Post#183 » Sat Jul 02, 2022 5:24 am

SMiTH wrote:updated 4xm selfboot script to v4.
added drez's cfg to allow standalone 4xm player. :)

Code: Select all

4XM DC VCD Selfboot Script v4 README
====================================

Rename 4XM video file to "VIDEO.4XM"
Add 4XM video file to the data folder
Run "create vcd.bat"
Done!

Credits:

Ian Michael (for coding/testing)
-drez01- (for standalone 4xm player cfg)
Moefoh (for script updates/testing)
SiZiOUS (for cdi4dc)
Jorg Schilling and others (for cdrtools)
SMiTH (for 4XM DC VCD SelfBoot Script)


https://mediawiki.darkrealm.dyndns.org/ ... /Dreamcast

Section 12.3.3 Worth testing out?
“The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.”
- Charles Bukowski

SMiTH
Black Mesa
Posts: 1496

Re: Dreamcast 4XM video testing

Post#184 » Sat Jul 02, 2022 1:53 pm

MoeFoh wrote:https://mediawiki.darkrealm.dyndns.org/index.php/Dreamcast

Section 12.3.3 Worth testing out?


Convert to AVI first with ffmpeg

Code: Select all

for i in ../rips/unmodified/aitd4/cd2/AITD4_GD_2/MOVIES/*.4XM; do ffmpeg -i "$i" -vf scale=320x160 -y "${i%.*}.avi"; done


Downsample with 4xm_comp.exe

Speed : 30 fps Data Rate : 110000 Resize Width 320 Height 160

---

Yes, thank you moefoh.

User avatar
-drez01-
Tank Jr.
Posts: 344

Re: Dreamcast 4XM video testing

Post#185 » Sat Jul 02, 2022 2:12 pm

Thanks for the shout out SMiTH. Never got Cred before. I did a thing! Feels good.

Nice work on the script. Might you edit your first post with it? So it don’t get buried? 19 pages is a lot to wade thru..

Next I wanna test the multi launcher GINSU. To see it work with more than one 4x vid.
For science.

SMiTH
Black Mesa
Posts: 1496

Re: Dreamcast 4XM video testing

Post#186 » Mon Jul 04, 2022 3:12 am

Here is a quick test using the 4xm selfboot script v4...

Fight Club Trailer 4xm test:
https://mega.nz/file/QYpGUSyI#JqOGAvix6 ... XbISw-_ID4

source:
video codec: xvid-avi
(viewed in file properties, details tab)
width: 1280 height: 720
datarate: 100000
total bitrate: 101411kbps
fps: 30
audio: 1411kbps, 44 khz, stereo

4xm_comp:
resize width: 320 height: 160
speed: 30fps
data rate: 800000

testing another 4xm with different settings, will post later..

User avatar
Ian Micheal
Developer
Posts: 6003
Contact:

Re: Dreamcast 4XM video testing

Post#187 » Mon Jul 04, 2022 8:36 am

SMiTH wrote:Here is a quick test using the 4xm selfboot script v4...

Fight Club Trailer 4xm test:
https://mega.nz/file/QYpGUSyI#JqOGAvix6 ... XbISw-_ID4

source:
video codec: xvid-avi
(viewed in file properties, details tab)
width: 1280 height: 720
datarate: 100000
total bitrate: 101411kbps
fps: 30
audio: 1411kbps, 44 khz, stereo

4xm_comp:
resize width: 320 height: 160
speed: 30fps
data rate: 800000

testing another 4xm with different settings, will post later..


That works but it is the same spec as softdec.. This spec is what they used in the games that used it..

User avatar
Ian Micheal
Developer
Posts: 6003
Contact:

Re: Dreamcast 4XM video testing

Post#188 » Mon Jul 04, 2022 9:23 am

SMiTH wrote:Here is a quick test using the 4xm selfboot script v4...

Fight Club Trailer 4xm test:
https://mega.nz/file/QYpGUSyI#JqOGAvix6 ... XbISw-_ID4

source:
video codec: xvid-avi
(viewed in file properties, details tab)
width: 1280 height: 720
datarate: 100000
total bitrate: 101411kbps
fps: 30
audio: 1411kbps, 44 khz, stereo

4xm_comp:
resize width: 320 height: 160
speed: 30fps
data rate: 800000

testing another 4xm with different settings, will post later..


There are 2 version of 4xm player one is the c player it can use Ginsu and the C++ version which can not use it at all..
I have my katana dev and wince set up so we can make changes to the player..

Current every version is set to scalex=640.f/app_handle->width;
scaley=480.f/app_handle->height;

Dont save any thing far as speed using 320x160 this was for space on a retail game..
It still drawing 640x480 to the screen..

Sample player on dreamon is crippled version
config->memory_cache_size=128; // we ask 128 pages (256Ko pre-buffer); default is 1024 only set to 128k pre buffer

Code: Select all

4x Movie player - DreamCast Version
   (c) 4x Technologies / 2000
---------------------------------

1 - C

In the directory C, you can find the player working in full C. So, it supports SHC, GNU and MetroWerks CodeWarrior.
To build the SHC or GNU version, open the makefile and change the compiler option, and run gmake on the command line.
To build the CodeWarrior version, go in the subdirectory cw and open the mcp project.

2 - C++
In the directory C++, you can find the player working in full C++. So, it supports GNU and MetroWerks CodeWarrior. But the SHC doesn't work at all.
To build the GNU version, run gmake on the command line.
To build the CodeWarrior version, go in the subdirectory cw and open the mcp project.

3 - Note
The source code of the player is only here to show how the 4xmovie sdk works. You can modify it for your own use.


This thing where using is basic sample of 4xm sdk..

User avatar
-drez01-
Tank Jr.
Posts: 344

Re: Dreamcast 4XM video testing

Post#189 » Mon Jul 04, 2022 10:19 am

So the multi launcher GINSU works with more than one Video. Here is a quick and dirty example:

https://drive.google.com/file/d/1qo9Tuv ... sp=sharing

I'm guessing Dreamon should work too? I will have a look

User avatar
-drez01-
Tank Jr.
Posts: 344

Re: Dreamcast 4XM video testing

Post#190 » Mon Jul 04, 2022 11:13 am

Dreamon works. You just play the videos the same way as with GINSU, but using Dreamon's menu system. Have to add it to the MENU.CFG. Plus each Vid needs its own CFG

https://drive.google.com/file/d/1NzFdNi ... sp=sharing

  • Similar Topics
    Replies
    Views
    Last post

Return to “Lounge”

Who is online

Users browsing this forum: No registered users