You are not logged in.

#1 2009-11-10 17:08:06

webnull
Member
Registered: 2009-11-10
Posts: 7

Freezing when saving to OGV ( Theora codec )

Hi, i have two Linux distributions installed on my hard disk.

1. Debian GNU/Linux - recordmydesktop is recording at full fps
2. Arch Linux - recordmydesktop is recording at 4-5 fps

But i can play Garry's Mod using Wine at good fps, the 3D acceleration is working...

What's wrong? Please help..

HOW TO REINSTALL THEORA CODEC?!

THERE IS A PROBLEM WITH THEORA ( OGV ) ENCODER
All screen recording programs freezing when saving to theora codec.

My tests:

ffmpeg -f x11grab -vc theora -s 1280x800 -r 24 -b 1200 -g 300 -i :0.0 ~/screenCapture1.ogv -cqp 25

Doesnt work.

recordmydesktop output.ogv

Doesnt work.

ffmpeg -r 30 -s 228x332 -f x11grab -i :0.0+0,0 -g 300 -threads 0 -vcodec libx264 -vpre fastfirstpass -vpre baseline -sc_threshold -1 -cqp 22 -flags -loop -y x11grab.mp4

Works, but without sound - i need sound, i need recordmydesktop to record sound.

Any help please? smile

-- WebNuLL

Last edited by webnull (2009-11-10 19:41:36)

Offline

#2 2009-11-12 19:37:47

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: Freezing when saving to OGV ( Theora codec )

webnull wrote:
ffmpeg -r 30 -s 228x332 -f x11grab -i :0.0+0,0 -g 300 -threads 0 -vcodec libx264 -vpre fastfirstpass -vpre baseline -sc_threshold -1 -cqp 22 -flags -loop -y x11grab.mp4

Works, but without sound - i need sound, i need recordmydesktop to record sound.

I see you copied this command directly from my post FFmpeg crash when recording desktop where I ask for people to test this command because it crashes for me, yet you neglected to take a few seconds to reply in that thread to let me know that it works for you.

You won't get sound with that command because you are not telling FFmpeg to record any sound.  You need to specify the input format and device, such as:

-f oss -i /dev/dsp

Offline

#3 2009-11-12 20:08:44

webnull
Member
Registered: 2009-11-10
Posts: 7

Re: Freezing when saving to OGV ( Theora codec )

Im using only ALSA, not OSS.

The ffmpeg is not crashing, but recording with low fps.

I fixed recordmydesktop bug installing theora codecs from "old" arch repository.

-- WebNuLL

Offline

Board footer

Powered by FluxBB