Jump to content


Photo

VP6 Codec


  • Please log in to reply
52 replies to this topic

#41 Lord Of Gifts

Lord Of Gifts

    I'm not corrupt, I'm morally flexible.

  • Hosted
  • 889 posts
  • Location:Canada
  • Projects:Battle for the Galaxy, EaWZone, Spy Mod
  •  Ph34r the blue text!
  • Division:EaWZone
  • Job:Webmaster and Modding Community Leader

Posted 30 March 2006 - 06:19 PM

If VP61 is not supported yet, you'll just have to wait until it is before you can get movies with alpha ingame. Its not a problem we here can solve. :p

#42 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 23 June 2006 - 08:10 PM

Getting Audio Ingame with the videos


First off, kudos to Argolis of the Valarian mod Studios for showing me the missing bit of the puzzle.


To extract the audio off a video, follow this tutorial for VirtualDub

Then, follow the regular process to convert your video, and rename your .wav file to the EXACT same filename as your VP6. So if your file is called MyLogo.vp6, your audio will be called MyLogo.wav. Note that .mp3 files can also be used.
Place it in data/audio/speech, and then open up Speech.ini , and add an Event for your video :

DialogEvent MyLogo
  Filename = MyLogo.mp3
  SubmixSlider = None;; User is not allowed to lower volume on EA logo
  Volume = 50	; This is the ONLY volume adjustment for the movie
End

as you can imagine, the video event will be similar :

Video MyLogoMovie
	Filename = MyLogo	
End

And there you go, audio working in your video ;)
Software is like sex; it's better when it's free ~Linus Torvald

#43 Argolis

Argolis

    Big Crazy Modder.

  • Project Team
  • 337 posts
  • Location:London
  • Projects:The Wars of Arda
  •  The modding jack-of-all-trades

Posted 23 June 2006 - 08:13 PM

And to think...ive had this working for months (in my old mod),..and none of you noticed....

I figured it out when I was porting BFME1's campaign movie files into BFME2.

Edited by Argolis, 23 June 2006 - 08:13 PM.

I do not kill with my hand.
He who kills with his hand has forgotten the face of his father.
I kill with my heart.
-The Gunslingers Catechism
Posted Image
NEEDED: Modeller/skinner and 2D artist for Wars of Arda. PM me. Please.

#44 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 23 June 2006 - 09:47 PM

Thats kinda funny ;) Good work anyway!
Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#45 Lord of Nazgul95

Lord of Nazgul95
  • New Members
  • 47 posts

Posted 01 January 2007 - 02:52 AM

Thanks for telling me this, I have found the link. I am not sure if anyone else has gotten this link yet, but even though the site is under construction you may download it from here.

#46 {IP}Sauron

{IP}Sauron

    title available

  • Hosted
  • 391 posts
  • Location:Denmark
  •  Istari Productions Leader

Posted 27 February 2007 - 09:16 PM

dam cant get the VP6 codec :'(
"A still more glourious dawn awaits. Not a sunrise, but a galaxy-rise. A morning filled with 400 billion suns." - Carl Sagan
Posted Image

#47 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 02 March 2007 - 12:24 AM

the VP6 pack I linked to contains the codec :
http://the3rdage.net/tools/VP6Pack.zip
Software is like sex; it's better when it's free ~Linus Torvald

#48 {IP}Sauron

{IP}Sauron

    title available

  • Hosted
  • 391 posts
  • Location:Denmark
  •  Istari Productions Leader

Posted 02 March 2007 - 10:52 PM

thnx ched ure the best!
"A still more glourious dawn awaits. Not a sunrise, but a galaxy-rise. A morning filled with 400 billion suns." - Carl Sagan
Posted Image

#49 Lord of the Rings Junkie

Lord of the Rings Junkie

    Musn't hurt the Precious!

  • Project Team
  • 827 posts
  • Location:Middle-Earth
  • Projects:S.E.E., Gate Mod

Posted 06 November 2007 - 03:23 AM

Sorry for kicking this up, but I was having some problems with the tutorial. (BFME2)

I do everything as directed, but the game just goes to a black screen when the video should play and I have to ctrl+alt+delete out of it.

You may also want to make a note in your tutorial about the fact that the width of the video has to be a multiple of 32 and the height has to be a multiple of 16. (Although Virtual Dub warns you if the dimensions are otherwise.)

Here are the relevant portions of my video and speech.ini

video.ini

Video MyVideoIngame
Filename = testmodvideo
Comment = "This is my video"
End

Video Overall_Game_Intro
Filename = testmodvideo
Comment = "Overall Game Intro Cinematic"
End

Speech.ini

DialogEvent testmodvideo
Filename = testmodvideo.mp3
SubmixSlider = Movie
Volume = #ADD( MOVIE_VOLUME 0 )
End


[Edit] I just tried a simpler one and it also froze the game. I tried to replace the spinning ring video that plays when something is loading to my own video (called "spinning_gate.VP6".) I placed the converted video into the data/movies folder of my test mod, and I edited video.ini from

Video SmallRing
Filename = SmallRing
Comment = "Small spinning ring for loading screens"
End

to

Video SmallRing
Filename = spinning_gate
Comment = "Small spinning ring for loading screens"
End

but the game just froze up again when the movie was supposed to play.

Edited by Lord of the Rings Junkie, 07 November 2007 - 02:23 AM.

"Et Earello Endorenna utulien.
Sinome maruvan ar Hildinyar
tenn' Ambar-metta!"
Posted Image
Posted Image
Posted Image
Don't come between The Lord of the Rings and its junkie!

#50 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 13 November 2007 - 01:29 AM

I suppose the spinning ring uses a more complex form of codec, namely VP61, which we haven't gotten round decoding yet.


As for your initial movie problems, try using a shorter film, perhaps it hangs when loading it?
Software is like sex; it's better when it's free ~Linus Torvald

#51 Guest_amink_*

Guest_amink_*
  • Guests

Posted 20 February 2008 - 05:04 AM

:p
nice info brother, but if i have a file with .vp6 format (EA video: need for speed) how to convert them to .avi format


#52 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 22 February 2008 - 06:39 AM

The last part of the tutorial I compiled on the website deals with this.

You may read it there.
Software is like sex; it's better when it's free ~Linus Torvald

#53 Guest_Kumarjit_*

Guest_Kumarjit_*
  • Guests

Posted 05 June 2011 - 01:56 PM

but the game cannot start when i put new video




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users