Author Topic: Convert ogg/ogv to somthing KdenLive likes?  (Read 1753 times)

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Convert ogg/ogv to somthing KdenLive likes?
« on: April 30, 2010, 01:08:22 PM »
OK Since Kdenlive can not use the ogg/ogv files recordmydesktop / screen grab create how to I convert them to something it will like?

some one sugested doing

mencoder /path/to/the/non-avi-file.ogv -o /path/to/where/avi/file/will/be/saved/name.avi -ovc lavc -oac pcm

to make the an AVI but when I do that the AVI created for a 8 min vid winds up being 6-10 hours long. And if I use the fix ogg from KDEN I get a very p0or vid Is there a way to convert them where the time and quality are still ok so the converted file is usable?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #1 on: April 30, 2010, 01:22:31 PM »
OK Since Kdenlive can not use the ogg/ogv files recordmydesktop / screen grab create how to I convert them to something it will like?

some one sugested doing

mencoder /path/to/the/non-avi-file.ogv -o /path/to/where/avi/file/will/be/saved/name.avi -ovc lavc -oac pcm

to make the an AVI but when I do that the AVI created for a 8 min vid winds up being 6-10 hours long. And if I use the fix ogg from KDEN I get a very p0or vid Is there a way to convert them where the time and quality are still ok so the converted file is usable?

I seem to recall someone posting an additional option to be included in RecordMyDesktop in order to get good videos .......  you might search the forum for mention of it. No guarantee that I am remembering correctly   ;)

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #2 on: April 30, 2010, 04:28:10 PM »
JohnBoy

the problem is notgetting a good vid with recordmydesktop

it is that the vid is a .ovg

Kdenlive can not play/edit these vids for the most part

so I need to convert it to something KDENlive can use with out losing 90% of the quality or multiplying it length a few thousand times,as i do not need, supper duper slow mode when the conversion happens.

Is there a way to convert the ogg/ovg files recordmydesktop makes to an avi/mpeg/mp4 that kdenlive can use with out making a 8 min vid half a day long?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #3 on: April 30, 2010, 04:33:28 PM »
Yes there are lots of converters in the repository .....  one I like is WinFF which has presets to choose from. I don't remember using it for ogv but it should work fine.
But searching for video and or convert should give you many options.

My point was that if the ogv is not in correctly created in the first place then it won't be possible to get a good video of any format from it ........  but if you are sure it is OK then that is fine.

regards.

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #4 on: April 30, 2010, 04:45:46 PM »
I will try it but WinFF probably wont work any better that Kden

from what I gather Kden can not play the ogv because KDEN in ffmpeg cannot handle the thero codec well and WinFF uses FFmpeg to?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #5 on: April 30, 2010, 04:49:27 PM »
Yes WinFF uses ffmpeg ......  there are lots of others available too.

Offline Jaws

  • Sr. Member
  • ****
  • Posts: 445
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #6 on: April 30, 2010, 06:46:06 PM »
This is the command I use for ogv files from recordmydesktop. ogv to avi with MEncoder in Konsole...

Code: [Select]
mencoder  -ovc lavc -ofps 30 -oac mp3lame -af volnorm=1:0.5 out.ogv -o output.avi
Where...

-ovc lavc = uses the libavcodec video codecs.
-ofps 30 = output file frames per second
-oac mp3lame = encode to MP3 (using LAME).
-af volnorm=1:0.5 = increases sound volume.
out.ogv = input file
-o output.avi = output file

Hope this helps.
« Last Edit: April 30, 2010, 06:48:00 PM by Jaws »

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #7 on: May 01, 2010, 07:49:49 PM »
Jaws

when I use

mencoder  -ovc lavc -ofps 30 -oac mp3lame -af volnorm=1:0.5 out.ogv -o output.avi

I get the same time error. the vid I tested on was 28 sec but the outputted avi was 2 min 29 sec

is there a way to have the out put file be the same run time as the original ogv?

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #8 on: May 02, 2010, 01:11:53 AM »
rm-ogv-flv-to-avi is in the repository ....  did you try that?

I still suspect the out.gov is not correctly formatted ......   

Offline Jaws

  • Sr. Member
  • ****
  • Posts: 445
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #9 on: May 02, 2010, 09:51:30 AM »
What command are you using for a RMD session? Or are you using a GUI?

I’ve made various length Inkscape tutorials with RMD using a Konsole command as I find it pretty easy, even for a non-nerd like me. This may not apply to you but this is the command I use to record a windowed session...

Code: [Select]
recordmydesktop -windowid $(xwininfo |grep "Window id:"|sed -e "s/xwininfo\:\ Window id:\ // ;s/\ .*//") -fps 15 -device hw:1,0
Where...

-windowid $(xwininfo |grep "Window id:"|sed -e "s/xwininfo\:\ Window id:\ // ;s/\ .*//")   is the window you what to record. If you what to record your whole desktop just drop this portion of the command.

-fps 15 = frames per second

-device hw:1,0 = microphone location (I use a USB Mic)

Time wise, my videos are the exact same length, ogv to avi, but I’ve also found that converting ogv to avi makes the final file size smaller than the original ogv.

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #10 on: May 02, 2010, 12:31:18 PM »
I am using the built in scean grab in KDENlive which uses record my desktop as its back end.

the settings I am using are 15 for fame rate 63 for quality and 2000000 for bit rate

...

I tied the command you gave but get an error and see a record frame I can notfigue out how to stop it so it will render the ogv





« Last Edit: May 02, 2010, 01:02:21 PM by newbi462 »

Offline Jaws

  • Sr. Member
  • ****
  • Posts: 445
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #11 on: May 02, 2010, 02:06:35 PM »
Sorry 'bout that Newbi, didn't mean to leave you hanging.

If you use the command as it was typed for doing a windowed recording session then...

When first launching the command, a cross-hair will appear and you use it to select the window you want to record. Clicking on a window will start a recording session.

Some handy key combos...

Ctrl + Alt + p = pause the screencast.
Ctrl + c = ends the session. There is a slight pause before the video starts encoding. Tapping Ctrl + c a second time and you'll lose whatever is left that wasn't encoded before it finished.

Hope this helps

BTW, the Konsole window will show errors if you move off the recording window or so it seems. I get them all the time because I'm moving different windows on and off the recording window as I'm recording, if you know what I mean. This doesn't affect the final video.
« Last Edit: May 02, 2010, 02:11:33 PM by Jaws »

Offline newbi462

  • Hero Member
  • *****
  • Posts: 629
Re: Convert ogg/ogv to somthing KdenLive likes?
« Reply #12 on: May 06, 2010, 01:16:52 PM »
ok still getting the time issue just not as bad 6 min now becomes 26min or so.

Any ideas how to fix the AVI being way longer than the OGV?