Results 1 to 4 of 4

Thread: ffmpeg - convert .ogv to .avi

  1. #1
    Join Date
    Jun 2010
    Location
    Australia, Melb*,SE Sub's
    Beans
    164
    Distro
    Ubuntu 12.04 Precise Pangolin

    ffmpeg - convert .ogv to .avi

    Recently I installed gtk-recordMyDesktop, so that I could record my movements and send the Media File to my dad, so he could learn how to use Ubuntu too [plug]

    My problem is converting the .ogv file to .avi - I have tried ffmpeg but it loses quality dramatically.

    Can anyone tell me how to get better quality video out of ffmpeg, or let me know another way to convert the .ogv file to .avi or something that is widely used?

    Sincerely,

    Scott

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: ffmpeg - convert .ogv to .avi

    Hi
    If you have an up-to-date version of ffmpeg then this command is good for YouTube:-
    Code:
    ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec copy foo.mkv
    And this command is OK, but might not work for YouTube:-
    Code:
    ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac foo.mp4
    If you need to update your ffmpeg there's a smart tutorial here:-
    http://ubuntu-ky.ubuntuforums.org/sh...ng+FFmpeg+x264
    There are also some example commands.

    If you want to use mencoder instead to make an avi file there's a tutorial here:-
    http://ubuntu-ky.ubuntuforums.org/sh...upload+youtube

    Last edited by ron999; November 4th, 2010 at 12:50 PM.

  3. #3
    Join Date
    Jun 2010
    Location
    Australia, Melb*,SE Sub's
    Beans
    164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ffmpeg - convert .ogv to .avi

    Thanks ron999,
    I will give it a go soon.
    Kind regards,
    Scott

  4. #4
    Join Date
    Jun 2010
    Location
    Australia, Melb*,SE Sub's
    Beans
    164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ffmpeg - convert .ogv to .avi

    Quote Originally Posted by ron999 View Post
    Hi
    Code:
    ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec copy foo.mkv
    And this command is OK, but might not work for YouTube:-
    Code:
    ffmpeg -i out.ogv -vcodec libx264 -vpre medium -crf 24 -threads 0 -acodec libfaac foo.mp4
    Hey ron999,
    This worked really well for me!
    Thanks,
    Sincerely,
    Scott

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •