Author Topic: How to convert video files to .ogg?  (Read 2873 times)

0 Members and 1 Guest are viewing this topic.

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
How to convert video files to .ogg?
Hey all!

I'm trying to replace the default opening cutscene with my own intro. Problem is, I'm not sure how to get it into .ogg format. Can someone who's done this before tell me what software they used? Does it even need to be .ogg to work?

Thanks!

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: How to convert video files to .ogg?
Here's a list of software to look at that might help, not sure which is the best, but while you're waiting for an answer, you could take a look see:


https://wiki.xiph.org/TheoraSoftwareEncoders

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: How to convert video files to .ogg?
Thanks!

I think I've succeeded in converting it to a .ogg, however it won't play in game. I've named it intro.ogg and put it in the data/movies folder, but when I launch my mod, it goes straight to the pilot login screen without showing any cutscene.

I know other mods like Blue Planet and BtA have done this, it's got to be posssible.

Help?

EDIT: Also, when I try to open my intro.ogg in Windows Media Player, it doesn't show any video. I can only hear the music. However when I extract the intro.ogg from BtA, Windows Media Player does play the video as well as the audio.

Really I should probably just ask mjn.mixael what he did for BtA.
« Last Edit: November 13, 2016, 12:17:57 pm by PVD_Hope »

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: How to convert video files to .ogg?
Here's a list of software to look at that might help, not sure which is the best, but while you're waiting for an answer, you could take a look see:


https://wiki.xiph.org/TheoraSoftwareEncoders

The problem with the applications that are offered on that list is that they convert to .ogv format, which is different from .ogg. I can't get .ogv to work with Freespace, every other mod seems to use .ogg.

Thanks anyway!

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: How to convert video files to .ogg?
Also, when I try to open my intro.ogg in Windows Media Player, it doesn't show any video. I can only hear the music.
Sounds like you may have accidentally created an OGG Vorbis (audio) file instead?

The problem with the applications that are offered on that list is that they convert to .ogv format, which is different from .ogg. I can't get .ogv to work with Freespace, every other mod seems to use .ogg.
.ogv and .ogg are both valid file extensions for OGG Theora; FSO only looks for the latter, so if you get a working video with the .ogv extension, you should be able to just rename it.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: How to convert video files to .ogg?
Also, when I try to open my intro.ogg in Windows Media Player, it doesn't show any video. I can only hear the music.
Sounds like you may have accidentally created an OGG Vorbis (audio) file instead?

The problem with the applications that are offered on that list is that they convert to .ogv format, which is different from .ogg. I can't get .ogv to work with Freespace, every other mod seems to use .ogg.
.ogv and .ogg are both valid file extensions for OGG Theora; FSO only looks for the latter, so if you get a working video with the .ogv extension, you should be able to just rename it.

I think that I could have created an audio file, yeah.

I converted my video to .ogv and renamed it intro.ogg. The default cutscene plays, FSO just ignores the file.

EDIT: So when FSO sees the file, I think what it sees is "intro.ogg.ogv"

EDIT: As a matter of fact, looking at my mod in VPView, that's exactly what it is - intro.ogg.ogv.
« Last Edit: November 13, 2016, 01:33:41 pm by PVD_Hope »

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: How to convert video files to .ogg?
SOLVED


Sorry for the text-heavy post above. I followed this tutorial: http://www.mediacollege.com/microsoft/windows/extension-change.html

...and renamed the .ogv file extension to .ogg. It works now, my cutscene plays! :D Thanks a ton!

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Minecraft
    • Steam
    • Something
Re: How to convert video files to .ogg?
Having that option enabled by default is the most pants-on-head stupid decision that Microsoft has ever made.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: How to convert video files to .ogg?
Having that option enabled by default is the most pants-on-head stupid decision that Microsoft has ever made.

Q.
F.
T.

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: How to convert video files to .ogg?
Not just Windows; Macs do it too.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: How to convert video files to .ogg?
On the other side of things... can you just imagine how many calls people like us would get asking for help when all our grandmothers and uncles start renaming files without any regard to the file extension? No thanks.

Let's leave the status quo for another 15 years and then we can start to un-stupid some computer related functions.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.