This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 37 Vote(s) - 3.92 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crisis Core: Final Fantasy VII - ULUS10336
#31
It should definitely work for the next 31st of June.

Honestly, stop asking questions like that, if we knew how to make it work, it would be already done.
You don't understand that playing a movie with audio and video in sync is really complicated with the compression methods used today (and even with old consoles and simple codecs, it was difficult to do right).
More over, it's not just decoding the movie, it's also integrating it with the game playing code, not all games are done the same and it's difficult to make it right.
Reply
#32
(05-07-2010, 09:56 AM)hyakki Wrote: I made a new program that can take all the movies out of a decompressed pkg file and put them into a folder layout compatible for JPCSP (so the movies wont need to be copied by jpcsp first)..
I'm currently still testing it so might be a few days before i upload it..plus i'm trying to include at3

this way everything will be available for jpcsp first run through, or for easier decoding on psp.

if you already know how to unpack the pkg file and want to test pm me ^^, also right now im only testing on this game crisis core.

I think the movies are not needed to be dumped now that jpcsp can decode the videos "on the fly". But at3 audios would be interesting Wink
Reply
#33
Orphis is right. Plus, the process gets much more complicated when we're using a codec that has almost no information available. Dodgy

Anyway, I've updated the ME again in r1510. Now the video sequences are no longer external (only for sceMpeg videos, scePsmfPlayer is still using external methods), they're now re-converted and written to memory.
It now mimicks the PSP system much more accurately:
Video data is written to memory -> Data is sent to Media Engine -> Video is processed and decoded -> Sequential images are generated and sent back from the Media Engine -> These images are converted to pixels, readapted and finally written back to memory.
Expect some stuttering and laggy videos, because they now depend on the emulator's speed, but now Crisis Core should display them properly (menu and subtitles overlaying the video, just like it was doing with faked MPEG sequences). Also, you can now take screenshots and watch them full screen. Big Grin

By the way, I've also added an experimental external audio loading mechanism. If you want to test it, place a file named ExtAudio.wav in the same folder the Movie.pmf is located and it should play while the video is displaying. This is mostly targeted at testing the software conversion solutions available (Goldwave, Sonic Stage), so I've restricted it to .wav files.
Reply
#34
Nice work!
Here is a SS with menu + intro video.
Also, full screen movies are working, but couldnt make a full screen SShot cos it only take the "windowed mode" part (look at the 2ยบ SS).

Now, going to test the audio thing.
Ok, so i picked a random at3 file from crisis core atrac folder and converted it using himdrenderer + sonic stage.

This is the result: http://www.megavideo.com/?v=9QB63O0X


Attached Files Thumbnail(s)
       
Reply
#35
yea i know the movies are dumped on the fly now, but really im trying to do at3, still have a issue with the third part of the filename..

anyways i figured out how to convert video audio with the pc (i had to write a little program to interact with another program) currently i'm testing corvenik since you have sonicstage installed would you like to test?
Reply
#36
(05-07-2010, 08:04 PM)hyakki Wrote: yea i know the movies are dumped on the fly now, but really im trying to do at3, still have a issue with the third part of the filename..

anyways i figured out how to convert video audio with the pc (i had to write a little program to interact with another program) currently i'm testing corvenik since you have sonicstage installed would you like to test?

ok, just tell me what to do Big Grin
Reply
#37
(05-07-2010, 08:10 PM)corvenik Wrote:
(05-07-2010, 08:04 PM)hyakki Wrote: yea i know the movies are dumped on the fly now, but really im trying to do at3, still have a issue with the third part of the filename..

anyways i figured out how to convert video audio with the pc (i had to write a little program to interact with another program) currently i'm testing corvenik since you have sonicstage installed would you like to test?

ok, just tell me what to do Big Grin

corvenik check your pm.
steps to decode video audio.
1. You must have Sonic Stage(or even just the codecs ax files registered , and that includes the wav writer), its probably more easy just to install since it installs all that automatic.
2. Copy the files i sent you "cmd file & tools folder" to jpcsp\tmp
3. run the cmd file & my program will automate the task for every movie file in all the dirs.
4. since PCM are large files make sure you have a few gigs free. (its about 800~ megs in pcm files for all the videos)
(this file is alpha very limited testing has been done, right now it will output a PCM file , later if jpcsp allows other formats i can easily convert it to flaac/mp3/aac ..etc)

himcmd.exe is my program let me know of any issues you have, the other programs i cant help you with but they should work ^^, so far i got the total conversion process down to 3 files ^^ (besides for sonic stage, but there isnt anything i can do about that since sony owns the format :p).

btw this is why i was working on videos from the pkg , since if jpcsp did it you would still need to go through it twice since first decode = no audio , then manually convert - second playthrough audio ..etc (where if i got them out of the pkg file its just convert audio - run - initial video has sound on all videos. so now if i can do at3 i can do them too and the whole game would be complete, then i could write guides and release the program for everyone.)

also if anyone knows how to calculate the third value (outside of java) for the .at3 filename let me know, i tried everything from hashcode, hex, float , int .. I couldn't get the value...so i hope its not a java only function..

hykem great job on r1510, subtitles / menus /ext audio works, videos play pretty smooth, this is a good revision.

as you mentioned i get the choppy playback when using extaudio.wav.
audio files are
pcm_s16le, 44100 Hz, 2 channels, s16
(PCM signed 16bit)
(u-law, a-law wav formats playback are almost decent, but with PCM audio sounds really choppy also really out of sync ^^)

sample video here (wav PCM audio)
http://www.megavideo.com/?v=PN7VFJOE

sample video here (wav U-Law audio)
http://www.megavideo.com/?v=D3JP2TGC

(anyways this is good just need to find a format that can work the best with jpcsp and can keep sync with the video, using 'u-law' was almost perfect so might maybe a few more tweaks and it should be perfect)
i can post a sample wav if you want.
Reply
#38
Well, so i tested ur program. Dont know why but sometimes it work and sometimes i have to close the proccesing window and i get an error in the cmd window (cant find file).

I have to rerun the program but finally, i managed to get the extaudio.wav files from each of the videos ^^ (i have 6 in total).

What program did you use to convert to 'u-law' ?
Reply
#39
(05-08-2010, 09:24 AM)corvenik Wrote: Well, so i tested ur program. Dont know why but sometimes it work and sometimes i have to close the proccesing window and i get an error in the cmd window (cant find file).

I have to rerun the program but finally, i managed to get the extaudio.wav files from each of the videos ^^ (i have 6 in total).

What program did you use to convert to 'u-law' ?

i found the source for the crash, when i get a chance ill upload it ^^

for testing i just used ffmpeg but you can use goldwave (save as - >type wav - attributes -> select U-Law stereo)
FFmpeg.exe -i inputfile.wav -acodec pcm_mulaw ExtAudio.wav
Reply
#40
hello guys someone help me how can i fullscreen jpcsp r1510 in playing crisis core ULUS10336? because when i check "Use GE graphics" my screen goes small and the game make faster and smoother but my problem is i cant fullscreen it... these are my settings:

those option are Check and others uncheck:
General Tab:
use compiler (dynarec)

compatibility tab:
Only Ge graphics (not recomended for homebrew)
Use Viewport (can improve graphics)
Enable faked MPEG video
Use vertex cache
Use Media Engine
Disable reserved thread memory
Disable audio channels (not recommended)

Thats all my settings please anyone help me how to fullscreen it.....
My PC Specs:
OS:Windows 7 Ultimate x64 bit
Motherboard:MSI-K9N6PGM2V2 AM2
GPU: HD Radeon 6570 DDR3 128bit
HDD:80GB
RAM:3GB DDR2 800Mhz Kingmax
Processor:AMD Athlon II X2 255 Dual-Core 3.1Ghz

Reply


Forum Jump:


Users browsing this thread: 125 Guest(s)