[Solved] ffmpeg and x11grab - can't grab entire xorg/winmngr screen?

Hi.
Got a Xorg running with OpenBox and I'd like to record the entire screen area,
for this I'm using the following:
ffmpeg -v 1 -f x11grab -r 30 -i :0.0 -f alsa -i hw:0,0 -acodec flac -vcodec libx264 -s 1920x1080 -crf 0 test.mkv
YouTube clip describing it better then I can in words
http://www.youtube.com/watch?v=11vA8BnYvzY
This gives me about ~400x400 resolution which has been stretched to a 1920x1080 resolution, most likely because X runs at ~400x400 while the window manager is actually running at the full resolution.
Any ideas on how to fix this?
I've been fippling around with the settings for a bit but nothing seems to be working, this is my xorg conf:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Also, xrandr shows:
[user@faparch ~]$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 380mm x 220mm
1920x1080 60.0*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-6 disconnected (normal left inverted right x axis y axis)
Last edited by Torxed (2013-01-29 19:05:56)

You simply needed to move "-s 1920x1080" as in input option. Otherwise, as in your first post, the default size for x11grab is 640x480 and you're resizing it to 1920x1080.
"-preset veryslow" is a libx264 option and is ignored by huffyuv.
"-qscale 1" is an output option, but you're attempting to apply it to the input which does not make sense. Also, huffyuv ignores qscale, since it is a lossless encoder, so you don't need it for an output option either.
Last edited by DrZaius (2013-01-31 20:57:50)

Similar Messages

  • HT1212 So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Update Word and now can't even login! Blue Screen and returns to login!

    Hi,
    I'm new to Macs and recently put Word onto it. Went to use it a couple of days ago and it said that it had a critical update for Word. So I clicked yes to update.
    Next thing...it all froze!
    Then took me to login screen. Initially I just thought..."Oh it's restarted after update." But when I logged in it accepted password...went to a blue screen and came back to the login.
    Now I can't get into my mac!
    Please help...what do I do!!???

    There are a couple possibilities. Start out by turning the computer on while holding down the 'Shift' key until you see the grey Apple. This is a safe boot and you can read more about it here. If the computer boots up to the login screen and you can log into your account the problem may be solved. The failed Word update may simply have led to a scrambled cache file that kept the computer from booting.
    The other possibility I'd consider is that the update failed due to a disk drive error. If the safe boot doesn't work get out your System disc and restart your computer with it. (Start the computer, hold the 'C' key and insert the System Restore disc. Once it has booted, move to the Utilties menu and select Disk Utility. Perform a repair and if it reports the drive isn't repairable you'll know that's the problem - and we can talk about what to do next.

  • Where and how can i beautify my iPhone 3G screen ie themes?, where and how can i beautify my iPhone 3G screen ie themes?

    Please where and how can i beautify my iphone screen with themes?

    It was not.  Home screen wall paper is only available on iphone 3gs and above.
    iPhone: Which iOS 4 software features does my iPhone support?

  • New to iMac and iMovie-can I grab a shot from a movie to use as an image?

    Hi,
    I took some video of my son juggling and I would love to grab an image from it to make in to a still shot. I can't seem to find any instructions on if I can do this.... I would think it would be an option??
    TIA!
    Can anyone recommend a good book for using iMovie? I would love to be able to use it to make videos of my son for my Mom who isn't mobile anymore, but I always seem to stumble over things.

    As for books, the Missing Manual is really good in my opinion. The iMovie 11 version isn't out for another couple of weeks, but the iMovie 09 is. Wait for the new version if you can
    http://www.amazon.com/iMovie-11-iDVD-Missing-Manual/dp/1449393276/ref=sr11?ie=UTF8&qid=1299963982&sr=8-1
    However start off with the great support provided free of charge on the Apple website
    http://www.apple.com/support/imovie/
    The video tutorials are particularly useful.
    Hope that helps
    Message was edited by: Mac on Andy

  • [Solved] Apache and Plex can't access files on my second drive anymore

    Hi, I'm  having a strange issue accessing files on a second drive through web servers.  I have a main SSD drive, and a second HDD that mounts to ~/Media with `/dev/sdb1  /home/diego/Media  ext4  defaults,noatime,data=writeback,x-gvfs-show 0 0`.  I used to have set up my Apache server (2.4) with some symlinks to files in Media, and was able to access them externally.  I also had set up Plex to read from that drive, and everything worked flawlessly.  Ever since a few days ago I noticed that I couldn't access my files externally anymore, and today I noticed Plex isn't able to access my files either.
    I really don't remember having changed anything that would affect this, and the permissions haven't changed since it used to work.  Anybody have any ideas of things to try or how to debug?
    Thanks!
    Last edited by aiguofer (2014-03-31 22:34:54)

    I just did chown -R ~ <user>:users and chmod -R 755 ~ and all is well

  • Hello,  my ipad has never been paired with any computer.  My PC is ready to die and iTunes will not upload on it.  My iPad is insisting that I connect to iTunes and I can't get out of that screen.  How can I use my iPad without syncing it to iTunes?  Than

    Hello,
    My iPad 2 has never been "paired" with any PC.  My one and only PC is corrupted and will not, after many many attempts, download iTunes.  When I turn on my iPad it insists that I connect to my iTunes.  How can I avoid this and just get the iPad to work like normal?  Any help is much appreciated

    You cannot do anything with the iPad until you do as instructed by the iPad and connect to iTunes on a computer.
    You probably need to restore the iPad and the only way to do that is via iTunes on a computer.
    Take it to an Apple Store and ask for help at a Genius bar or take it to a friend's house that is running iTunes on their computer and try to restore it.
    You will lose all of your data and settings now because you never backed the iPad up in the past.

  • IPad started acting up, so I reset and now all I get is the apple icon and I can't even turn it off screen frozen and has been for about 18 hours

    iPad started acting up, would not open books, screens come up that I never touched etc. so I did a reset, the apple icon showed up and has been on now for about 18 hours I can't even turn it off I plugged in in over night but still screen frozen? Any suggestions?

    Hello there, Gina1964.
    The following Knowledge Base article offers some great information for troubleshooting the issue you're describing:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My gmail account is not retrieving mail and I can't even move move the screen

    Yesterday, my "Itouch" stopped retrieving mail.  I can not even move the screen.  All other apps work fine except for the gmail.
    What am I to do?
    Thanks

    I would try going to the settings app, then go to mail, contacts and calendar. Removed your gmail account and then re-add the account.

  • I need to do a factory reset, but it says that I need to turn off "find my phone" and I can't do that because my screen is black

    I would really appreciate it if someone could help me turn off "find my Phone" through the computer.  My screen is black on my phone and I just need to do a factory reset.
    Thank you

    Hi patti273,
    Welcome to the Support Communities!
    The following article will show you how to remove your iPhone from "Find My Phone"
    iCloud: Remove your device from Find My iPhone
    http://support.apple.com/kb/ph2702
    I hope this information helps ....
    Happy Holidays!
    - Judy

  • Brand new hard drive and still can't get past the gray screen

    i was having problems with my mac last night going to the gray screen, sometimes i'd get the folder with the question mark. i looked up for solutions and i tried every one i could find short of reformatting the hard drive. nothing worked, getting the start-up disk causes the mac to freeze on the screen with the picture of a disk and an arrow after i press the arrow to go into disk utilities. i took it to the apple store, which i wasn't really happy with my service there- i was called up immediately but then was never able to explain  what was happening to the guy he just plugged in the computer, went back to helping someone else and periodically looked at my screen. i understand that they probably take care of multiple people at once so they don't get complaints about wait times, but i don't think i was really helped at all, he just ended up saying that i needed a new hard drive and if i knew how to put one in i was better off doing it myself then sent me on my way. well i bought a new hard drive and upon installing it and putting in the mac os x disk it still freezes and no solution has worked yet.

    So all you need then is to know how to format the drive and install Snow Leopard.
    How to erase and install Snow Leopard 10.6
    https://support.apple.com/kb/HT3910

  • I have a new MacBook Pro. While getting rid of voice over I ended up with a black box with icons in it and I cannot get rid of it and I can't get off the home screen

    I have a brand new MacBook Pro . I got into voice over and then figured out how to stop that but now have a black box in the middle of the home screen and that box has a bunch of icons .....(Keyboard, pointer etc) I cannot get it to close and I'm not able to go past the home screen.  Help

    If you click on that window, the menu bar should change to whatever program that is. Then click the program name and click Exit.
    If that doesn't work, click the Apple icon, then Force Quit. Look for something that says Not Responding and quit it.
    Last... if nothing else works reboot and see if that does it.

  • TS1702 Hi, I have just tried downloading Facebook app on, but the app store has frozen and I can't do anything on the screen. Shall I just try turning it all off and back on again? Thanks

    Hi, I have just tried downloading the Facebook app, but the app store has frozen. It will not let me click on anything. Shall I try turning it all off and back on again? Or is there something else I need to do.
    Thanks, Rebecca

    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How do I activate Iphone 5 --- it would not connect to network and then I did a reset and I can't get passed the hello screen and choose a language --- it just spins and spins -- any ideass??

    Activate Iphone 5 --- after reset it won't activate -- just spins and spins and says try back later.

    Possibly... but per the terms of use of these forums, discussion of jailbroken devices is not permitted.
    <Edited by Host>

  • My screen has cracked and i can't se anything on the screen

    Ive recently cracked my screen and the screen itself is not working and i cant see anything on it does anyone know how much sony would charge to repair it because im debating whether or not to send it to them to get a huge bill. 

    Contact xperia care for more info:
    http://www.sonymobile.com/global-en/support/contact-us/
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

Maybe you are looking for

  • Exporting DV back to a Samsung VP-D351

    Hi, Could anyone tell me if they have been successful in exporting DV back to a Samsung VP-D351 camera within iMovie? I can transfer DV from the D351 to the iMac but after editing the movie I cannot copy it back to the camera, I’ve tried all the sugg

  • I'm trying to setup a High Availability build for SP13

    Here what I've mapped out Software: Windows Server 2012 SharePoint Server 2013 Enterprise SQL Server 2012 Enterprise I have a good idea on what the hardware specs of the SP and SQL servers should be. What type of hardware specs would should I use for

  • Reading 21576 bytes of data at offset 3 in a buffer of total size 114

    Logs claim it's a 'buffer overflow' - [2015-Jan-05 22:32:41] RDP (0): Exception caught: BufferOverflowException in file '../../gryps/misc/containers/flexbuffer.h' at line 421 Specifics:  attempting to connect to virtual box running on localhost:55985

  • Marking Audio stream as EF in Video-Conferencing?

    Hi, Traditionally I have marked both the audio and video streams as AF41/CS4 but increasingly I have seen VC vendors marking the audio streams as EF. According to the Telepresence SRND both streams should be marked as CS4 - is there any benefit is cl

  • Having issues pushing a simple batch

    I have a simple batch that I am trying to deploy and run.  It runs an .exe on the client.  Although SCCM give me a success notification it never actually runs the .exe.  I am running it as the admin, whether a user is logged in or not and outside the