Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Video Recorder


  • Please log in to reply
6 replies to this topic

#1 Keith1

Keith1

  • Members
  • 504 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamilton, Ohio
  • Local time:08:05 PM

Posted 23 March 2011 - 06:51 PM

I'm using Ubuntu 10.10.

This video stuff is all new to me, so please bear with me if I use any incorrect terminology. First of all I should state what I'm trying to accomplish - I want to make a recording of my desktop ( to show off my Compiz stuff ) and post it on my Youtube account.

I'm using Recordmydesktop to run some trials. I see it saves the recording as an ogg file. A fellow Linux user told me that will not play on Youtube, that I have to convert it to avi. He suggested I use WinFF to convert it - which I installed from the repositories. After doing that, I see that my original recording ( ogg ) is clear, but the avi conversion is very poor quality ( blurry ).So here is my question - - - -


Is there a video convertor that will create a quality video, or...... do I need to start over with a different desktop recorder?

Thanks, Keith

BC AdBot (Login to Remove)

 


#2 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:05 PM

Posted 23 March 2011 - 08:14 PM

Hope this helps

This will convert almost any video to AVI:

mencoder /path/to/input.file -o /path/to/file.avi -ovc lavc -oac pcm

Yes its this simple.

Now about recordmydesktop fix:

Add this --v_bitrate 2000000 in the Qt/Gtk-recordmydesktop Advanced options on the Misc tab in the Extra Options box to make the recordings quality / speed perfect.


And this:

Open a terminal and use this command

ffmpeg -f x11grab -xerror -r 15 -s 960x720 -i :0.0 -qscale 5 -f alsa -i hw:0,0 -ar 44100 out.avi


And VLC will record desktop, i looked at the option,but didn't try it.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#3 Keith1

Keith1
  • Topic Starter

  • Members
  • 504 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamilton, Ohio
  • Local time:08:05 PM

Posted 24 March 2011 - 06:55 AM

Ok, thanks.... I'll work with those suggestions and see how it works for me.

#4 Keith1

Keith1
  • Topic Starter

  • Members
  • 504 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamilton, Ohio
  • Local time:08:05 PM

Posted 27 March 2011 - 08:02 PM

Mencoder does a wonderful job converting with good quality - thanks

I'm having a problem understanding the recordmydesktop instructions however...... Here's what I get -

keith@keith-desktop:~$ ffmpeg -f x11grab -xerror -r 15 -s 960x720 -i :0.0 -qscale 5 -f alsa -i hw:0,0 -ar 44100 out.avi
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright © 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:35:47 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6-2ubuntu3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavcodec configuration: --extra-version=4:0.6-2ubuntu3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavformat configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavdevice configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavfilter configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libswscale configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libpostproc configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[x11grab @ 0x9f28bc0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 960 height: 720
[x11grab @ 0x9f28bc0]shared memory extension found
[x11grab @ 0x9f28bc0]Estimating duration from bitrate, this may be inaccurate
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1301273861.743386, bitrate: 331775 kb/s
Stream #0.0: Video: rawvideo, bgra, 960x720, 331775 kb/s, 15 tbr, 1000k tbn, 15 tbc
[alsa @ 0x9f35e00]cannot set channel count to 1 (Invalid argument)
hw:0,0: Input/output error
keith@keith-desktop:~$
keith@keith-desktop:~$

What am I doing wrong?

#5 Guest_trizicus_*

Guest_trizicus_*

  • Guests
  • OFFLINE
  •  

Posted 27 March 2011 - 10:44 PM

There is quite a bit of video editing software on Linux. I can name three off the top of my head: ffmpeg, avidemux, handbrake.

Have a try at those... If you can do CLI use ffmpeg, if not try handbrake.

Edited by trizicus, 27 March 2011 - 10:44 PM.


#6 Keith1

Keith1
  • Topic Starter

  • Members
  • 504 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamilton, Ohio

Posted 31 March 2011 - 10:43 AM

I've decided to go with Recordmydesktop and Mencoder. The combination does an excellent job of recording/converting. The only problem I have is that it won't capture audio from a web page ( Youtube ). I've been searching for a "fix" for a couple of days, and have tried a bunch of "supposed" fixes to no avail. Is it supposed to work that way, or does it only capture sound from an input device such as a microphone?

#7 Keith1

Keith1
  • Topic Starter

  • Members
  • 504 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamilton, Ohio
  • Local time:08:05 PM

Posted 02 April 2011 - 08:42 AM

I found something that records sound in Recordmydesktop - I installed Jack from SPM and though the volume is very low it does work.

Thanks for your input, Keith




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users