MpeGer v1.0 mpgplayer m1v and pss ps2 format release!

This forum is for discussion pertaining to homebrew and indie software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

MpeGer v1.0 mpgplayer m1v and pss ps2 format release!

Post by Ian Micheal »

MpeGer v1.0


MpeGer plays M1v files, which are mpeg files but encoded, so keep reading.

Mpger v1.0 plays 6 files so, name your files movie1 , movie2 , movie3 , movie4 , movie5 and ps2.pss

You will have use a program called TMPGEnc to encode your videos to m1v mpeg. I have included a TMPGEnc template called m1v320.mcf. You need to use this to encode your videos, or it will not work.

From the original author La Cible-
MPEG : use a resol 320x240 (a bit slow)
no sound suport yet ... sorry
Encode your video with :
Profile & level : MP@ML
Stream type : System or Video (ES)
YUV format : 4:2:0 Bitrate : <= 700

The odd one out is the ps2.pss file. You'll have to find out how to encode that, as I dont know how, but it plays with sound.

Again from La Cible - PSS : PSS interleave an M2V and ADS sound you can found around the web some tool for encoding pss file. use a resol 320x240

Movies go into the movies directory, 6 in all. They must be named like i siad, as they are hardcoded for now (sorry!).

The background is themeable, so you can match your movie sets per disk. The mpeg videos have no sound yet, but I think they're playing fullspeed. I made some compiler settings, and did a bit of magic.

In my opinion it plays great! I've given my settings to La Cible, and all credit to him for such a great LIB!

Read the readme for controller support and other information. You can download it from here.

remember this is just a test app i wrote to test Libvfdc which has come a long way 20 to 30 fps m1v play back is neat! no sound but there is sound if you use the PS2 pss format the menu tells you which file that is.

cheers, Ian

http://www.imrtech.mirrorz.com/

(comments)
OneThirty8
Damn Dirty Ape
Damn Dirty Ape
Posts: 5031
Joined: Thu Nov 07, 2002 11:11 pm
Location: Saugerties, NY
Has thanked: 0
Been thanked: 0

Post by OneThirty8 »

:o

Can't wait to try this out Reaper! I'm busy with a project at the moment, but when I burn a DreamInducer disc (probably later today) I'll be sure to put this on there and share my findings.
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

NO worrys its not that great only a test but it works pss ps2 format has sound im trying to get that to run better. make sure you try the spiderman video thats encoded right when you test just name it movie1

you can find it at CV in the post about this hang on!

EDIT#
http://www.storm-studios.net/mpeg.rar Will Sams uploaded this for people test the lib .

its pretty picky on how the M1v is encoded if its not right it does not play i had trouble with that so included the template make sure to use demo menu or some thing like that and keep testing to you get it to play movies.
If its not right it will just reboot.

If any one needs some sample clips i can make them for easyer testing

1 to 5 are named movie1 to movie5 you dont need to have that many they stream and are not preloaded so you should be able to try large movies in the end which is cool.

bit unstable sorry!
User avatar
Nyarlathotep
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 7390
Joined: Sat Jan 05, 2002 1:37 pm
Has thanked: 0
Been thanked: 0

Post by Nyarlathotep »

MOVED to homebrew apps
Image
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

Opps sorry so use to doing emulators. any way if any one wants some thing added to it ill try and do it.

over and out pretty neat to play ps2 movies on the dc .
Dreamcast forever!!!
BlackAura
DC Developer
DC Developer
Posts: 9951
Joined: Sun Dec 30, 2001 9:02 am
Has thanked: 0
Been thanked: 1 time

Post by BlackAura »

If you want some directory scanning code, I've written some in Genesis Plus and nxQuake. It's pretty easy once you know how.

m1v is a MPEG video stream only. An MPG file is a container for video/audio streams, and usually contains a video stream (m1v/mpv or m2v) and an audio stream (mpa/mp1/mp2/mp3/ac3/dts). So that explains why there's no sound.
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

"Pss" format the sound works fine if you encode it and set the audio at 11O50hz ive got a movie pss format movie, playing and the sound is working no skipping and the video is about 20 to 30 fps i cant jugde to much but its pretty dam good!. watchable no worrys i found a page with all the tools needed to do all the work. SO you can play movies with sound if you use the last option, with this player bit of encoding work thou i have to write a tut i would think. Yeah problem is i dont know what im doing with that bit of code really holds me up doing a lot of things. this player would be a lot better with it. i was trying to use getto play for the selector code at first then went to some thing i can code a SDL menu.

Going to test making more pss files one a lot longer and get back to you on how well i can get the video and audio to play when i make the template for pss i can upload it on my site step by step how to encode these files to play sound and make pss files for it.

might be on to some thing here!

You can encode any video to pss with working sound , as its just making a m2v and wave and adding them together the tools do that for you. its very picky i have to find the right setting or it reboots.

so if any one wants to help find the best settings for the pss format video that would help. im doing that now as well.


PSS :
PSS interleave an M2V and ADS sound , you can found around the web
some tool for encoding pss file.
use a resol 320x240
has to be encoded like that takes awhile to find the right setting if you want a test clip to prove it works i can upload one .

thats about it for now
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

Well ill have an update and some templates for you all soon WOW just encoded a music video i own. great plays nice Mpg2 video pss format same as used on the ps2 ill update the player later as well so its just M2v player and or pss format im very happy much better then VCD picture very close to fullspeed, mini DVD quality or SVCD at the worst IMO.


templates and how to do this ill upload later today i say pss format is better then a lot of the other formats niice.
Dreamcast forever!!!
Warmachine
DCEmu Veteran
DCEmu Veteran
Posts: 4306
Joined: Sat Nov 30, 2002 7:01 pm
Location: San Jose
Has thanked: 0
Been thanked: 0
Contact:

Post by Warmachine »

What is this pss thing?? Also so it has to be mpv2 or something? What is technacliy full speed and whats this ones speed.
:headbang: Dreamcast :headbang:
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

Pss is playstation 2 video format its better then VCD picture what it really is a mpeg 2 video stream mixed with a wav file. if you have seen a video intros on the ps2 you would know what they look like. you have to encode it thou to work. it will not just play ps2 videos straight off the ps2 cd yet. you can take any video mpg or other wize and encode it to play on this format. i hope to get it even better this was just a test. next version will come with a movie trailer encoded to show it working nicely. its as good or better then divx video

AS for speed 20 to 30 fps 24 to 30 fps is fullspeed for some video formats

then you can test it better!.
Dreamcast forever!!!
User avatar
az_bont
Administrator
Administrator
Posts: 13567
Joined: Sat Mar 09, 2002 8:35 am
Location: Swansea, Wales
Has thanked: 0
Been thanked: 0
Contact:

Post by az_bont »

Would there be a way of fiddling with the code so that you can use PSS video, but OGG or MP3 audio instead of WAV?
Sick of sub-par Dreamcast web browsers that fail to impress? Visit Psilocybin Dreams!
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

There might be it also does have compression format ADS sound. i have to look at it more hoping to get help on it and make it better then it is like a real file selector and disk swap support. its only a demo test at the moment to show the hard work of the author who ported and wrote this lib for dreamcast not much was done with his lib so i wanted to try use it in some way.

Theres a lot of things that can be done to this lib and the code might pan out to be a really good player ive given the source of my part to a few coders and it will be on my source forge project page if i can ever get it working.

ill be working on this and quake only from now on.
User avatar
az_bont
Administrator
Administrator
Posts: 13567
Joined: Sat Mar 09, 2002 8:35 am
Location: Swansea, Wales
Has thanked: 0
Been thanked: 0
Contact:

Post by az_bont »

Is this the same MPEG2 library that was released several months ago that you talked about porting?
Sick of sub-par Dreamcast web browsers that fail to impress? Visit Psilocybin Dreams!
User avatar
ZacMc
DCEmu Super Fan
DCEmu Super Fan
Posts: 2716
Joined: Fri Nov 16, 2001 11:16 am
Location: Brookfield, WI
Has thanked: 0
Been thanked: 1 time
Contact:

Post by ZacMc »

Is this the same MPEG2 library that was released several months ago...
Yeah, he's using Libvfdc by L@ Cible.
..that you talked about porting?
Porting to what? It's already for DC ;)
Last edited by ZacMc on Wed Jul 23, 2003 10:15 am, edited 2 times in total.
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

IT is but a new version i did not port it just wrote some simple menu so you can try it. this version is new and is 20 fps to 30fps faster then the other version of the lib he did .

really big speed up and great work by La Cible any speed up is due to his great coding skill all i did was change the compiler settings and write a simple sdl menu and i have sent him my settings and compiler settings to try help ive not got into, looking at the lib that much just compiled them for space not speed -0s helps on the dreamcast minmizing cache misses.


flc m1v m2v pss formats and plugins could be coded for it looking at the code the adx pss is a plugin .

he liked my compiler guild for dreamcast i sent him for optimizing i wrote for gcc and the dreamcast.
Last edited by Ian Micheal on Wed Jul 23, 2003 10:24 am, edited 1 time in total.
User avatar
az_bont
Administrator
Administrator
Posts: 13567
Joined: Sat Mar 09, 2002 8:35 am
Location: Swansea, Wales
Has thanked: 0
Been thanked: 0
Contact:

Post by az_bont »

ZacMc wrote:
Is this the same MPEG2 library that was released several months ago...
Yeah, he's using Libvfdc by L@ Cible.
..that you talked about porting?
Porting to what? It's already for DC ;)
Uhhh... I meant, the thing where a library becomes a binary.
Sick of sub-par Dreamcast web browsers that fail to impress? Visit Psilocybin Dreams!
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

Well i wrote a simple bit of code a menu eg player that lets you use the lib handed , that code over to any one that wants it. as i cant seem to get the directory scanning code working due to me not understanding how to at this point. it may come to me. but black aura has helped a lot with me trying to get directory scanning code working thats the last hurdle on the player part of the code. as 6 hardcoded videos is not great.


#edit any one want the sdl menu player part of the code just pm or email me only happy for any one to improve it.
BlackAura
DC Developer
DC Developer
Posts: 9951
Joined: Sun Dec 30, 2001 9:02 am
Has thanked: 0
Been thanked: 1 time

Post by BlackAura »

It's not too hard once you get the hang of it, but I had to read a couple of header files and examples before I got it to work. It's nearly the same as the Unix way of doing things, but not quite the same.

If I can get my email back up and running (I need to get Mozilla Mail set up properly, but I've forgotten my passwords for both my accounts) I'll have a look at the code, and see if I can get some directory scanning code put into it.
User avatar
ZacMc
DCEmu Super Fan
DCEmu Super Fan
Posts: 2716
Joined: Fri Nov 16, 2001 11:16 am
Location: Brookfield, WI
Has thanked: 0
Been thanked: 1 time
Contact:

Post by ZacMc »

Anyone have a mirror of this?
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

A update with dir scanning code is coming soon it will be whole new player much better. seems thou its not easy enff to use for the public to much work to encode the videos i think as playback for the pss format is rather good i have a disk with 5 of my fav music videos all play well with sound.
Dreamcast forever!!!
Post Reply