Author Topic: Convert ogv file to fly file <Solved>  (Read 991 times)

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Convert ogv file to fly file <Solved>
« on: January 25, 2010, 02:26:35 PM »
I am trying to convert ogv files to fly files.  I tried this:

ffmpeg -i FILE.ogv -acodec libfaac -ab 96k -vcodec libx264 -vpre hq -crf 35 -threads 0 FILE.flv

But after converting now it seems my video is just a bunch of colors...I attached a screenshot


[attachment deleted by admin]
« Last Edit: January 25, 2010, 05:46:46 PM by davidwillis »

Offline Jaws

  • Sr. Member
  • ****
  • Posts: 445
Re: Convert ogv file to fly file
« Reply #1 on: January 25, 2010, 05:02:17 PM »
I’d use MEncoder in a terminal. Try this command:

Code: [Select]
mencoder  -ovc lavc -ofps 30 -oac mp3lame -af volnorm=1:0.5 your_file.ogv -o your_file.flv
Make sure you’re in the proper directory if your file is not in /home.

More info is here: http://linuxgraphicsusers.com/forum/index.php?topic=626.msg4562#msg4562

Cheers

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogv file to fly file
« Reply #2 on: January 25, 2010, 05:09:11 PM »
Use WinFF ....  it is a GUI front end to ffmpeg with presets already present for the conversion.

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: Convert ogv file to fly file
« Reply #3 on: January 25, 2010, 05:46:30 PM »
Thanks.  I couldn't see an option to convert to fly in WinFF, so I converted to avi which is fine.   The the command line worked great.

Thanks for the fast responses....

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogv file to fly file
« Reply #4 on: January 26, 2010, 05:06:17 AM »
Thanks.  I couldn't see an option to convert to fly in WinFF, so I converted to avi which is fine.   The the command line worked great.

Thanks for the fast responses....

Websites - Flash    ........  flv  not  fly

Glad you are sorted in any case   ;)

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: Convert ogv file to fly file <Solved>
« Reply #5 on: January 26, 2010, 08:07:54 AM »
LOL... that is funny... Yes, flv... not fly

Thanks

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: Convert ogv file to fly file <Solved>
« Reply #6 on: January 26, 2010, 10:30:50 AM »
hmm... for some reason my ffmpeg does not work, even using winff and converting to avi.  mencoder works fine, so it is not really an issue, it is just bugging me now..

I get this:

Input #0, ogg, from 'out-8.ogv':
  Duration: 00:03:08.06, start: 0.000000, bitrate: 1148 kb/s
    Stream #0.0: Invalid Codec type -1
    Stream #0.1: Video: theora, yuv420p, 1680x1040, PAR 1:1 DAR 21:13, 15 tbr, 15 tbn, 15 tbc
    Stream #0.2: Audio: vorbis, 48000 Hz, mono, s16, 239 kb/s


I wonder why I get an invalid codec type -1?

Edit:  I think I will start a new thread, since this one is solved....
« Last Edit: January 26, 2010, 11:10:03 AM by davidwillis »