Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Using ffmpeg to record my desktop
New Posts  All Forums:Forum Nav:

Using ffmpeg to record my desktop - Page 2

post #11 of 25
Could always try istanbul.
post #12 of 25
Thread Starter 
Interesting results. When I use ffmpeg to do a screen recording and set it to use the .ogv container, I get the same result. The issue is with ogv and not recordmydesktop.

One of two things:

1. I'm missing a package that ogv needs to transcode.
2. My resolution is too high for ogv standards.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #13 of 25
Thread Starter 
I found out from the arch forums that this is a known bug. Wide .ogv files do not work.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #14 of 25
Thanks for the heads up.
post #15 of 25
Thread Starter 
Now I'm not sure. It's either the theora codec or the .ogv container.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #16 of 25
can't you just pull it out of the OGV container and throw it in an mp4(or whatever else you would want)? Then you don't have to re-encode.
     
CPUMotherboardGraphicsRAM
Intel Core i3 4150 Gigabyte  Gigabyte Geforce GTX 1050 Ti 8GB DDR3 
OSMonitorPowerCase
Windows 10 x64 Samsung BX2450 300 Watt Bitfenix 
Audio
Small Amp + Pair of Realistic Minimus 26 
CPUMotherboardGraphicsRAM
Intel Core i5 4570 H81 EVGA Geforce GTX 750 Ti 8GB 1600Mhz DDR3 
Hard DriveOSMonitor
Western Digital 1TB 7200 RPM  Windows 10 Pro x64 HP w2007 
  hide details  
Reply
     
CPUMotherboardGraphicsRAM
Intel Core i3 4150 Gigabyte  Gigabyte Geforce GTX 1050 Ti 8GB DDR3 
OSMonitorPowerCase
Windows 10 x64 Samsung BX2450 300 Watt Bitfenix 
Audio
Small Amp + Pair of Realistic Minimus 26 
CPUMotherboardGraphicsRAM
Intel Core i5 4570 H81 EVGA Geforce GTX 750 Ti 8GB 1600Mhz DDR3 
Hard DriveOSMonitor
Western Digital 1TB 7200 RPM  Windows 10 Pro x64 HP w2007 
  hide details  
Reply
post #17 of 25
Thread Starter 
I've tried. Nothing seems to want to work. The last thing I'm going to do is try ffmpeg with a different codec but the ogv container. Then I'll see if it's the codec or the container.

Of course, that's not going to help me with recordmydesktop since you can't change either, but at least I'll have gotten to the bottom of it and took it as far as I could.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #18 of 25
Thread Starter 
I've got some good news! If I use:

Code:
ffmpeg -f x11grab -r 25 -s 3360x1050 -i $DISPLAY -vcodec libx264 -vpre lossless_ultrafast -threads 0 video.mkv
I get a very good quality recording that I can actually play in most players and upload to youtube.

Now, I just need to figure out how to hook up the audio. I'll make a little bash script with all the different options and I'll be done.
Edited by TFB - 1/17/11 at 6:48pm
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #19 of 25
Thread Starter 
Success!

Code:
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s 3360x1050 -i $DISPLAY -acodec libmp3lame -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #20 of 25
Try this:
http://www.osalt.com/xvidcap
    
CPUMotherboardGraphicsRAM
Xeon w3680 Gigabyte X58A-UD3R GTX 295 Engineering Samples 2X Corsair XMS3 
Hard DriveHard DriveCoolingOS
Sandisk SSD Seagate Corsair H50 W7 Ult 
MonitorMonitorKeyboardCase
Viewsonic VA1912wb Viewsonic VA912b K350 CM HAF 
Mouse
Logitech M570 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Xeon w3680 Gigabyte X58A-UD3R GTX 295 Engineering Samples 2X Corsair XMS3 
Hard DriveHard DriveCoolingOS
Sandisk SSD Seagate Corsair H50 W7 Ult 
MonitorMonitorKeyboardCase
Viewsonic VA1912wb Viewsonic VA912b K350 CM HAF 
Mouse
Logitech M570 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Using ffmpeg to record my desktop