Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Tutorial - Transcoding a Audio or Video fille into OGG format (Theora / Vorbis)  (Read 3554 times)

0 Members and 1 Guest are viewing this topic.

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 351
    • View Profile
    • Jyujinkai's WME Development Blog

Jyujinkai's Continuing Tutorials for Nubs and the Programming Impaired
(sorry but i can only properly support windows)

How to Transcode a OGG files from an existing video and audio files on your Harddrive

Summery
RTFM - "The video codec [therora] is hardcoded in WME, you don't need to install any external codecs with your game."
RTFM - "File format for storing the sounds - OGG files – Ogg Vorbis files are compressed sound files, similar to the popular MP3’s. Unlike MP3, the Ogg Vorbis is an open format and it provides better sound quality."

So in order to properly use video in WME it is by far better to use OGG files than any other format due to the native WME support. Also it is far better to use OGG for sound as like an mp3 they are a bazzillion times smaller than wav files yet still retain a high level of audio quality, as well as also being a native WME format.

So this tutorial we will learn how to transcode any video or audio file on your harddrive into a ogg video or audio file ready for use!!

Software you will need

VLC Player - http://www.videolan.org/
Codec Pak - http://www.illiminable.com/ogg/

Transcoding Video

1) Load the VLC Player and go to "File/Wizard"


2) Select "transcode/save to file"


3) Select "Select Stream" and hit "Browse"


4) Hit "browse" again and Select your input file


5) Select "Transcode Video and Transcode Audio
 - Set the video to THEORA
 - Set the Audio to VORBIS
(if resulting file it to large re-encode using lower bit rates)


6) Select OGG (it should be the only thing you can select


7) Select your output file name and folder


8 ) When you hit finish the transcode will start. NOTE - You will NOT see any video. If the video file you are transcoding is big, this MAY take a while. The VLC "progress" bar is small so it may look like it is not moving at all when it first starts. Try stretching the player to the length of your screen to get a better update on progress.

Transcoding Audio

This is exactly the same process as the way to make the video. The only difference is that you do NOT tick Transcode Video when the option comes up in step 5.



Some Notes

  • Remember you can transcode audio directly from a video file and not include the video
  • When selecting your video / audio file (step 3) you can add a time index in and out point, allowing you split your video and audio


See ya
Have fun!!!
« Last Edit: September 20, 2007, 12:22:12 AM by Jyujinkai »
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 351
    • View Profile
    • Jyujinkai's WME Development Blog

For another transcoding tutorial that is aimed for people with a little more understanding of these things...

Please see CMK2901's Thread:- Ogg Theora - Or, how to convert them and have them play correctly.
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Exposed

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile

This thread was the result of a search. The above instructions do not work with the latest version of VLC Player. What specific version is that above?
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1455
  • Lamp dog!
    • View Profile

This tutorial is about the previous version of vlc (0.8.x) and not for the latest version (0.9.x).

For transcoding videos to ogg theora I suggest the command line tool ffmpeg2theora.
Logged
fl*p

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 351
    • View Profile
    • Jyujinkai's WME Development Blog

This thread was the result of a search. The above instructions do not work with the latest version of VLC Player. What specific version is that above?

CMK2901 made a very good tut for the more experienced user
http://res.dead-code.org/doku.php/kbase:tranzaudiosimple

try looking though that?
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe
 

Page created in 0.36 seconds with 24 queries.