Announcement

Collapse
No announcement yet.

Converting .ogg video file to .avi?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Converting .ogg video file to .avi?

    I've successfully converted a home DVD (multiple .VOB files) to one .OGG file using the Thoggen DVD Ripper; all I need now is something to convert the .OGG file into something that Kino video editor can work with (.AVI). I'm using Kubuntu 6.06 LTS: the Dapper Drake Release. Any help would be great.

    #2
    Re: Converting .ogg video file to .avi?

    Avi and ogg are container formats.


    Conversion with the ffmpeg (from .ogg/theora to .avi/xvid):
    Code:
    ffmpeg -i "/media/sda6/tmp_therora/Temp.ogg" -vcodec xvid "/media/sda6/tmp_therora/Temp.avi"

    Source Temp.ogg:
    General #0
    Complete name : /media/sda6/tmp_therora/Temp.ogg
    Format : OGG
    File size : 497 KiB
    PlayTime : 16s 497ms
    Bit rate : 247 Kbps
    Writing application : ffmpeg2theora 0.19
    Video #0
    Codec : Theora
    Codec/Family : Theora
    Audio #0
    Codec : Vorbis
    Codec/Family : Vorbis
    Codec settings, Floor : 1
    PlayTime : 16s 497ms
    Bit rate : 30.4 Kbps
    Channel(s) : 1 channel
    Sampling rate : 22.05 KHz
    Result Temp.avi:
    General #0
    Complete name : /media/sda6/tmp_therora/Temp.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    Format/Family : RIFF
    File size : 574 KiB
    PlayTime : 16s 457ms
    Bit rate : 286 Kbps
    StreamSize : 22.9 KiB
    Writing application : Lavf1d.51.10.0
    Video #0
    Codec : xvid
    PlayTime : 16s 104ms
    Bit rate : 215 Kbps
    Width : 320 pixels
    Height : 240 pixels
    Display Aspect ratio : 4/3
    Frame rate : 15.152 fps
    Resolution : 24 bits
    Bits/(Pixel*Frame) : 0.185
    StreamSize : 423 KiB
    Audio #0
    Codec : MPEG-2 Audio layer 2
    PlayTime : 16s 457ms
    Bit rate mode : CBR
    Bit rate : 64.0 Kbps
    Channel(s) : 1 channel
    Sampling rate : 22.05 KHz
    Resolution : 16 bits
    StreamSize : 129 KiB

    I was using > Hyper Video Converter
    Type: KDE Kommander Script

    Description:
    Hello,

    this is a frontend for ffmpeg I have made because I wanted something, that let's me quickly convert videos from konqueror without typing 3-line-commands in the console.
    Dapper has:
    Package ffmpeg
    * dapper (graphics): multimedia player, server and encoder [universe]

    Package ffmpeg2theora
    * dapper (graphics): Theora video encoder using ffmpeg [universe]

    Links:

    > kino/avidemux wont accept my .ogg files
    > How do I convert .ogg to .avi
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Converting .ogg video file to .avi?

      I use ConvertIt to change video formats it's in the repos

      hxxp://ubuntuforums.org/showthread.php?t=567016

      Comment


        #4
        Re: Converting .ogg video file to .avi?

        Thanks for all of the Information on the topic. Unfortunately I have tried a number things suggested and each one has had it's own difficulties.

        First off, I used Rog's code (ffmpeg -i "/media/sda6/tmp_therora/Temp.ogg" -vcodec xvid "/media/sda6/tmp_therora/Temp.avi") and for some reason It kept telling me that xvid was an unknown codec. I looked in Adept and I have all the xvid that are available to me downloaded already. Tried again with the same results.

        Then I used a code that I found in one of Rog's links (How do I convert .ogg to .avi). That code was: ffmpeg -i inputmovie.ogg -target ntsc-dv output.dv. This was at first successfull and converted the whole hour-long file. Later I noticed that the audio was about fifty frames sooner than the video, though. I can, with Kino Video Editor, strip the audio and save it as a separate file, then "mix" the video in with a fifty frame delay, and even view it in Keno--confirming that the audio is in sync with the video. The problem comes when I try to export it. I've tried many different formats and settings but every exported file doesn't have the sound synced up like It is when viewed in Kino.

        Brick wall. . .

        Comment


          #5
          Re: Converting .ogg video file to .avi?

          Maybe another possibility? Easy Linux Encoding (FFMPEG)
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: Converting .ogg video file to .avi?

            This is how I setup my kubuntu for Comprehensive Multimedia & Video How-to all my conversion work very well it's a matter of having the right packages installed.

            hxxp://ubuntuforums.org/showthread.php?t=661833

            Comment

            Working...
            X