Author Topic: [FF7PC-98/Steam] FMV Restoration (Discontinued, use Steam FMVs)  (Read 311534 times)

Aali

  • *
  • Posts: 1196
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #125 on: 2010-12-03 07:56:46 »
And thats based on what information exactly?
I appreciate the effort but I'm going to need some proof that its correct before I change anything.

Also you want to change the values in the matrix, adding other operations is just a waste of precious GPU resources.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #126 on: 2010-12-03 09:38:37 »
Also, I solved the looping issue.  Seems that using baseline profile and only 1 reference frame solves it. So make sure you are not using advanced encoding options when it comes to the 5 looping videos. 

I also recorded the frames from the playstation version using fraps for white2.avi.  Have a look at it and you will see why I had to. 

Terid__K

  • Guest
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #127 on: 2010-12-03 12:17:58 »
And thats based on what information exactly?
I appreciate the effort but I'm going to need some proof that its correct before I change anything.

Also you want to change the values in the matrix, adding other operations is just a waste of precious GPU resources.

I just took the value from here:

http://code.google.com/p/sage-graphics/source/browse/trunk/bin/yuv.frag?r=187&spec=svn187


Aali

  • *
  • Posts: 1196
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #128 on: 2010-12-03 16:43:36 »
Seems like there is some merit to that after all, the YUV format used is probably not full range.
Try this shader, see what happens:

Code: [Select]
uniform sampler2D y_tex;
uniform sampler2D u_tex;
uniform sampler2D v_tex;

const mat3 rgb_transform = mat3(
1.164,    1.164,   1.164,
0.0,   -0.391, 2.018,
1.596, -0.813, 0.0
);

void main()
{
float y = texture2D(y_tex, gl_TexCoord[0].st).x - 0.0625;
float u = texture2D(u_tex, gl_TexCoord[0].st).x - 0.5;
float v = texture2D(v_tex, gl_TexCoord[0].st).x - 0.5;

vec3 yuv_color = vec3(y, u, v);
vec4 rgba_color = vec4(rgb_transform * yuv_color, 1.0);
gl_FragColor = rgba_color;
}

Terid__K

  • Guest
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #129 on: 2010-12-03 18:05:14 »
Seems like there is some merit to that after all, the YUV format used is probably not full range.
Try this shader, see what happens:

Code: [Select]
uniform sampler2D y_tex;
uniform sampler2D u_tex;
uniform sampler2D v_tex;

const mat3 rgb_transform = mat3(
1.164,    1.164,   1.164,
0.0,   -0.391, 2.018,
1.596, -0.813, 0.0
);

void main()
{
float y = texture2D(y_tex, gl_TexCoord[0].st).x - 0.0625;
float u = texture2D(u_tex, gl_TexCoord[0].st).x - 0.5;
float v = texture2D(v_tex, gl_TexCoord[0].st).x - 0.5;

vec3 yuv_color = vec3(y, u, v);
vec4 rgba_color = vec4(rgb_transform * yuv_color, 1.0);
gl_FragColor = rgba_color;
}

That worked just fine as well. I couldn't tell the difference between either one though (probably not very noticeable).



DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #130 on: 2010-12-05 05:16:33 »

FeliX Leonhart

  • *
  • Posts: 259
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #131 on: 2010-12-05 07:17:48 »
Someone please mirror this for me as well. 

https://docs.google.com/uc?id=0ByaJayPcq6ieOTZmZmEzZWUtMGNiMi00ZTUwLTk4NzEtZjYyZTUxMmZhOTlk&export=download&hl=en

Ending2.avi, Russian.

......Lifestream?
.....Lifestream?
......Поток жизни?


......I think I'm beginning to understand.
......I think I understand it now.
......Похоже я начинаю понимать.

What?
Huh?
Что?

An answer from the Planet...
The Planet's answer...
Ответ, данный Планетой...

the Promised Land...
The Promised Land.
Земля обетованная...


I think I can meet her... there.
I think we can meet her there.
Думаю, я могу встретить её... там.


Yeah, let's go meet her.
Yeah, let's go and meet her.
Да, встретимся с ней.

Hey, where is everyone?
Oh yeah, where is everyone else?
Эй, куда все подевались?

Heeeey!
Heeeeeeeeey!
Эгееей!

I'm glad you're all safe!
Thank goodness!  Everyone seems to be alright!
Я так рада, что вы все в порядке!

They all seem to be safe, too.
Looks like they're OK, too.
Похоже они тоже не пострадали.

But... now what're we going to do?
But... now what're we gonna do?
Но... что же мы будем делать теперь?

Holy should be moving soon,
Holy is going to act soon, right?
Святой должен выбраться с минуты на минуту,


and that means this place will...
Then, this place will...
и вероятно все здесь...

Oh, Lady Luck don't fail me now...
Ahh, oh Goddess of fate... don't fail me now! [verify Goddess]
Ох, Госпожа удача... не подведи меня...

Cid:  sh*t!
Cid: sh*t! [Technically Damn]
Черт!

Marlene:  The flower girl?
Marlene:  The flower lady?
Цветочница?

Wait a damn minute!
Hey, hey, hey!
Эй, погоди-ка!


What's going to happen to Midgar?
Damn it! What's gonna happen to Midgar? [verify this is happening as opposed to going to]
И что же случится с Мидгаром?

We can't let that happen!
This is bad!<<<<<<<<<<<<[needs further work]
Мы должны остановить все это!


I had everyone take refuge in the slums,
We had everyone evacuate to the slums, [verify this is "we" and make Scottish dialect]
Я уже отправил всех в трущобы,

but the way things are now...
but the way things are now... [make Scottish dialect]
но теперь...

Red: It's too late for holy.
Red: Holy was too late.
Святой опоздал.

Meteor is approaching the Planet.
Meteor got too close to the Planet.
Метеор был слишком близко.

Holy is having the opposite effect.
Holy is just making matters worse. [verify more  2 v 1 in favour of original.]
Святой только все ухудшит.

Forget Midgar,
Never mind Midgar,
Забудьте о Мидгаре,


We've gotta worry about the Planet.
the entire Planet might...
Мы должны беспокоиться о самой Планете...

Tifa: What's that!?
Tifa: What's that!?
Что это!?

Barrett: What the hell IS that...?
Barrett: What the hell IS that...?
Что, черт возьми это такое...?

.......Lifestream.
.......The Lifestream.
.......Поток жизни.


It's coming.
It's coming.
Он приближается.
« Last Edit: 2010-12-05 08:08:49 by felix_leonhart »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #132 on: 2010-12-05 08:32:59 »
I mean mirror, as in make a mirror for the actual file.  So it can be downloaded elsewhere and not my google account :)  Also, all links are down now for the main files because I am just gonna create 1 installer.  Too much pissin about.
« Last Edit: 2010-12-05 08:36:09 by DLPB »

Terid__K

  • Guest
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #133 on: 2010-12-05 22:08:46 »
I mean mirror, as in make a mirror for the actual file.  So it can be downloaded elsewhere and not my google account :)  Also, all links are down now for the main files because I am just gonna create 1 installer.  Too much pissin about.

At least make a 4th installer for those of us who already downloaded the others >_>


DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #134 on: 2010-12-05 22:31:19 »
I will :)  and I will leave it up 1 week.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #135 on: 2010-12-06 01:41:40 »
In fact, given I have had to leave the Japanese in place with the jenova one, it may be wiser that you all get me the FMV from the playstation discs (of course that would mean 0 editing of text)?

Well, see how this goes.

If you want to supply me with the actual FMV it is on Disc 1 and usually has "jenova" etc in the title.  It is MOV extension.

On english version it is called Jenova_E.mov

If that is what you want me to do, I will only do Spanish and Italian.

Italian:
https://docs.google.com/leaf?id=0B1JH_wU1qqN4YjI1ZDkxYTgtMTk0ZS00OTczLTk3NTMtNjJiNDVkNmFjOTIw&hl=en

Russian:
https://docs.google.com/leaf?id=0B1JH_wU1qqN4YzkzMGY1MzMtY2RmYy00NmVkLWIyMTMtMjIwMTBkMmNiNTgx&hl=en

Spanish:
https://docs.google.com/leaf?id=0B1JH_wU1qqN4YzI0OTkzNDQtMjUyMS00ZmIwLWJlODAtZWQ3YTQxNTQxNGFh&hl=en

Japanese:
https://docs.google.com/leaf?id=0B1JH_wU1qqN4YWQ4ZjI2YjgtNGY3OS00ZWQ2LWE0ODgtNjIxMjAzOWJhYmRh&hl=en
« Last Edit: 2010-12-06 02:33:25 by DLPB »

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #136 on: 2010-12-06 02:10:32 »
December 10th huh? Wanna a hold it for a day and make it a birthday present for me? :D

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #137 on: 2010-12-06 02:22:02 »
December 10th huh? Wanna a hold it for a day and make it a birthday present for me? :D

That would make me a liar, but I will consider it :P

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #138 on: 2010-12-06 02:43:17 »
December 10th huh? Wanna a hold it for a day and make it a birthday present for me? :D

That would make me a liar, but I will consider it :P
Well... a day early is fine. Don't want ya bein a liar now :P

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #139 on: 2010-12-06 02:44:04 »
Too late, I have changed it :)  11th it is.

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #140 on: 2010-12-06 03:06:15 »
Woohoo! happy birthday to me :D

DestroGalacticmon

  • *
  • Posts: 38
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #141 on: 2010-12-06 11:08:45 »
I have a question.

Do I need Aali's custom driver for these?
(asking just because my graphic card has no love for openGL stuff)

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #142 on: 2010-12-06 15:41:14 »
Yes you do. The video are in a format that ff7 use natively


DestroGalacticmon

  • *
  • Posts: 38
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #144 on: 2010-12-06 20:09:34 »
Yes you do. The video are in a format that ff7 use natively

Ah, alright...
Well, thanks anyway for telling.

Terid__K

  • Guest
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #145 on: 2010-12-07 21:03:24 »
Looks like I messed up big time. That whole deal with the video too bright was my fault. I was re-compressing the videos in RGB24 format instead of YV12 format.

Looks like there was nothing wrong in the yuv.frag file to begin with.


DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #146 on: 2010-12-07 21:07:11 »
oops :)

Aali

  • *
  • Posts: 1196
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #147 on: 2010-12-07 22:26:54 »
Yes there is something wrong with the yuv shader and I've fixed it for the next version. It assumes the y component is always full range, while infact that differs between codecs, most of them are not full range.

indrema

  • *
  • Posts: 69
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #148 on: 2010-12-08 10:10:22 »
Here you can find the mirror for jenova_e in Italian.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [WIP] Final Fantasy VII FMV Restoration
« Reply #149 on: 2010-12-08 22:29:29 »
Can someone mirror the other languages too?  There are 2 FMV's for each

Russian
Spanish
Italian