#] #] ********************* #] $ "$d_SysMaint"'/video/recordmydesktop/0_recordmydesktop notes - setup, problems.txt" www.BillHowell.ca 27Mar2014 initial To view this file - use a text editor (not word processor) constant width font (eg courrier 10), tab - 3 spaces # capture videos one by one - or sound will be lagged badly, plus too many problems of cutting out parts #24************************24 24************************24 # Table of Contents : # $ grep "^#]" "$d_SysMaint"'/video/recordmydesktop/0_recordmydesktop notes - setup, problems.txt' | sed 's/^#\]/ /' ********************* $ "$d_SysMaint"'/video/recordmydesktop/0_recordmydesktop notes - setup, problems.txt" 09Sep2021 taken from "$d_bin""video production/capture video.sh" 31Jul2020 full screen recording 29Oct2017 search : what are the best large video file formats? 22Oct2017 recordmydesktop - audio capture problem 23Sep2017 preps for kidScience presentation at Drumheller library 14Apr2014 recordmydesktop doesn't seem to work with the HitlerLost video, although it still works fine with SovietStory ?? 15Apr2014 - One of the error messages : 15Apr2014 search "recordmydesktop – audio not in sync" 27Mar2014 recordmydesktop video capture 24************************24 08********08 #] ??Apr2022 08********08 #] ??Apr2022 08********08 #] ??Apr2022 08********08 #] ??Apr2022 08********08 #] ??Apr2022 08********08 #] 03Apr2022 recordmydesktop - audio capture problem (yet again - of course) recordmydesktop [halt, skip] audio as per blog, put in --fps 24 see "$d_bin""video production/capture video and audio, recordMyDesktop.sh" : recordmydesktop -x $xPosn -y $yPosn --width $width --height $hight --fps 24 --v_quality 63 --s_quality 8 --device pulse --buffer-size 264620032 -o "$p_out" & 08********08 #] 09Sep2021 taken from "$d_bin""video production/capture video.sh" >> Things finally work!!! [audio, video] combined next to see how Zoom works... # I don't need d_work!! $ man recordmydesktop # --workdir DIR - Location where a temporary directory will be created to hold project files(default /tmp). # 24Oct2017 - recordmydesktop DOESN'T capture YouTube videos # 09Mar2018 use Analog Stereo Duplex!! # Don't use (IEC958) Digital Output AT ALL - doesn't work # # # Before using recordMyDesktop, it is suggested that you visit the Documentation section of this site and in particular, read the User Guide, in order to get a better understanding of how to use the program. Also, recordMyDesktop produces files using only open formats These are theora for video and vorbis for audio, using the ogg container. # 21Oct2017 I can't capture the audio with recordmydesktop, so I changed from : # -v_quality 63 --v_bitrate 2000000 --fps 24 --buffer-size 264620032 \ # 21Oct2017 I added : -s_quality 8 --device pulse # 23Oct2017 I added --channels 2, see https://wiki.archlinux.org/index.php/RecordMyDesktop # 23Oct2017 I reverted back removing --s_quality 8 # 24Oct2017 slow playback - since yesterday!! can't seem to find the problem! # go from --fps 24 back to original --fps 24 -> resulted in bad video quality (chunky) probably due to internet # BUT audio is still Slow!! - go back to --fps 18 # Too slow to process! # Don't use this except for my QNial multi-[window, audio] streem recording system # Video - use my JVC HDMI video recorder # Audio - the camera audio sucks! Use my Sony digigal audio reecorder!!! # see "$d_bin""videoCam plus audioRecoder mix.sh" # https://unix.stackexchange.com/questions/3490/how-can-i-record-the-sound-output-with-gtk-recordmydesktop # I managed to get it going with the steps on the Ubuntu Forums, for clarity here is what I did: # sudo apt-get install gtk-recordmydesktop pavucontrol # Opened the Pulse Audio Volume Control dialog: Applications > Sound & Video > PulseAudio Volume Control # Opened gtk-recordmydesktop # In gtk-rmd advanced preferences, "Sound" tab, set "Device" to pulse # In gtk-rmd start a recording # In Volume Control goto the Recording tab and change the recordmydesktop entry to 'Monitor of ' # This is what seems to have worked for me. # edited Mar 16 '17 at 20:22 # Jérôme # 1,64833 gold badges2121 silver badges4545 bronze badges # answered Nov 12 '10 at 11:08 # N J # https://askubuntu.com/questions/63363/how-to-use-two-sound-sources-while-using-recordmydesktop # Yes, you can achieve that! # The proper way to do this is to use JACK sound server, which is fully supported by recordMyDesktop. There is a nice GUI app for controlling it (though it's name is terrifying) - qjackctl. # # You will want to use the Connections window of qjackctl, it will allow you to learn which audio input is which, and will enable you to direct both your system input & microphone input to your system speakers. # # Once your JACK server is running, launch recordMyDesktop. If you use gtk-recordMyDesktop you will be provided with a list of all JACK channels in the settings window (make sure to choose two with the Ctrl key in order get stereo sound!). If you run recordMyDesktop from command-line, you will need to experiment with command-line parameters, but that shouldn't be too hard. # # Instead of routing all audio you want to record to system speakers, you might also experiment with different JACK connection schemes. Use it as you like. And note that there are many JACK connections tutorials for begginers, if case you found JACK difficult. # # PS. You may find this article helpful: http://www.linuxplanet.com/linuxplanet/tutorials/6491/2 # Share # Improve this answer # Follow # answered Mar 23 '12 at 18:13 # Rafał Cieślak +-----+ olde code : #pname_PID_recMyDsk="" sleep_recrdMyDskTop=4 08********08 #] 31Jul2020 full screen recording Easy to do, see "$d_bin""video production/capture video.sh" recrd_start() { winDim="$1" t_sleep="$2" p_out="$3" echo "Type Ctrl-C to terminate recording" if [ "$winDim" == "fullScreen" ]; then recordmydesktop --v_quality 63 --v_bitrate 2000000 --fps 30 --device pulse --buffer-size 264620032 \ --workdir "$d_temp" -o "$p_out" & elif [ "$winDim" == "preset" ]; then recordmydesktop -x $xPosn -y $yPosn --width $width --height $height \ --v_quality 63 --v_bitrate 2000000 --fps 30 --device pulse --buffer-size 264620032 \ --workdir "$d_temp" -o "$p_out" & else echo "recrd_start error : unrecognized winDim type" fi # capture the process ID so it can later be killed # linux command "pidof" - process id of the specified program PID_recMyDsk="$(pidof recordmydesktop)" echo "PID_recMyDsk= $PID_recMyDsk" # wait for video to run & end, then kill record to start convert/save sleep "$t_sleep" # normally SIGTERM 15, SIGINT = 2 to interrupt kill -15 $PID_recMyDsk } 08********08 #] 29Oct2017 search : what are the best large video file formats? https://www.reddit.com/r/linux/comments/1vhesg/best_file_system_for_movies/ Best file system for movies? (self.linux) submitted 3 years ago * by [deleted] >> Nyet this is about the operating system's formatting of drives +-----+ http://www.makeuseof.com/tag/all-you-need-to-know-about-video-codecs-containers-and-compression/ Bryan Clark March 13, 2015 7 minutes Codec : H.264 - This is the most popular choice for high definition material. H.264 is also a relative Swiss Army knife of the codec world as it can utilize both lossy and lossless compression depending on the settings you choose when encoding, such as frame rate, quality, and target file size. H.264 relies on x264 for encoded video (as well as others, such as DivX or XviD), and audio is often encoded using AAC or MP3 audio codecs depending on the size and quality you’re targeting. H.264 is touted as 1.5 to 2 times as efficient as basic MPEG-4 compression, which leads to smaller file sizes and seamless playback on more devices. That said, H.264 is now included in the MPEG-4 codec (part 10, known as AVC), so it could become a moot point in the near future as the codecs become less reliant on a single encoding technology, and instead take on the role of a codec pack which includes multiple encoding methods in a single package. Container : MKV is a rapidly growing format that was designed to be future-proof. The container itself supports almost any audio or video format which makes it adaptable, efficient, and highly regarded as one of the best – if not the best – ways to store audio and video files. In addition, it even supports multiple audio, video and subtitle files even if they are encoded in different formats. Due to the options the container offers, as well as its handling of error recovery (which allows you to play back corrupted files), it has quickly become one of the best containers currently available. +-----+ recordmydesktop 08********08 #] 22Oct2017 recordmydesktop - audio capture problem It seems that my video capture frame rate, quality were too high for the Lenovo computer. I can't run QNial on the Dell64 (yet) Currently working : +-----+ # /media/bill/ATA_WDC_500G/Video production/170930 DrumLibrary - kids science/video production/0_vidExtrn DrumLib.sh #21Oct2017 I can't capture the audio with recordmydesktop, so I changed from : # -v_quality 63 --v_bitrate 2000000 --fps 24 --buffer-size 264620032 \ # 21Oct2017 I added : -s_quality 8 --device pulse To : recordmydesktop -x $xPosn -y $yPosn --width $width --height $height \ --v_quality 63 --v_bitrate 2000000 --fps 18 --s_quality 50 --device pulse --buffer-size 264620032 \ -o "$pName" +-----+ Pulseaudio volume control settings : +--+ audio jack plug-in green plug-in at FRONT of Lenovo!!! (important!) +--+ Configuration tab : High definition audio controller off Built-in audio Analog stereo duplex CMI8786 off +--+ Input devices tab : Built-in audio analog stereo microphone Monitor of built-in audio analog stereo no selections available Show All input devices +--+ Output devices tab : Built-in audio analog stereo Speakers Show All output devices +--+ Recording tab : Show Applications +--+ Playback : System sounds no selections available Show Applications 08********08 #] 23Sep2017 preps for kidScience presentation at Drumheller library video recording is easy - it is the audio that is a nightmare! specifications - see "/media/bill/HOWELL_BASE/Video production/video capture/0_vidExtrn.sh" # YouTube specifications on HDMI screen, using half-window # Youtube xPosn -> 1920/11 = 174 xPosn_YouTube=145 # Youtube yPosn -> 1080/6 = 180 yPosn_YouTube=205 # Youtube width -> 1920/2 = 960 take 60% = 606 width_YouTube=640 # Youtube height -> 1080/2 = 540 take 40% = 216 height_YouTube=475 audio capture - see "/home/bill/System_maintenance/PulseAudio Volume Control (pavuctrl)/0_PulseAudio Ctrl notes - setup, problems.txt" : # 23Sep2017 Dell64 : #$ cat /proc/asound/cards # 0 [XFi ]: SB-XFi - Creative X-Fi # Creative X-Fi 20K2 SB0880 # 1 [Intel ]: HDA-Intel - HDA Intel # HDA Intel at 0xf7ffc000 irq 68 # 2 [NVidia ]: HDA-Intel - HDA NVidia # HDA NVidia at 0xf7dfc000 irq 34 # 3 [Microphone ]: USB-Audio - Yeti Stereo Microphone # Blue Microphones Yeti Stereo Microphone at usb-0000:00:1a.1-1, full speed # try "pulse" as device name? -> # Identify the processID of recordmydesktop to allow closure later on # linux command "pidof" - process id of the specified program ; # pname_PID_recMyDsk=pidof recordmydesktop # 14Nov2016 added to give time for signaling processes to work ; # give time before searching for PID or WID - this DOESN'T extend recording time!! ; # sleep $sleep_recrdMyDskTop # not used now : # --device XFi -> Sound device(default hw:0,0 or /dev/dsp, depending on whether ALSA or OSS is used) # --buffer-size 264620032 --no-sound -> obviously won't get sound # --workdir "$d_temp" -o "$pName" 24********************************24 Lenovo computer 08********08 #] 14Apr2014 recordmydesktop doesn't work with the HitlerLost video, #] although it still works fine with SovietStory ?? - there is no audio, and video "snaps off" when loading in vlc, gives static image with totem moviePlayer I couldn't see any parameter problems, although giving HitlerLost 5 minutes to encode, and restarting PulseAudioVolumeControl did give a video of duration once, failed at other times?!?! current line in /home/bill/Projects/Stalin supported Hitler/0_vidExtract - HitlerLost.ndf host link 'recordmydesktop -x ' x ' -y ' y ' --width ' width ' --height ' height ' -o "' fpName '" & ' ; Google "recordmydesktop mpeg" #] 15Apr2014 - One of the error messages : [0xb5100618] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300ms) [0xb5100618] main input error: ES_OUT_RESET_PCR called [mpeg2video @ 0xb534cc0] allocate dummy last picture for field based first keyframe This looks like a "latency-related" problem? From "$man recordmydesktop", and From karussell (below, I'll try listed values) : Image options : --fps 20 later 10? Sound Options : --channels 2 (default 4) --freq 22050 (default 48,000 - try later), aka sample rate, "somewhere" I saw a table of std sound freq quality levels --buffer-size 65538 I need this - see 15Apr2014 note below from karussell --device alsa --s_quality 10 later -1? Encoding options : --v_bitrate 45000 later 2000000? --v_quality 20 later 63 Misc options : --delay 3 nyet - won't use --overwrite get rid of last version of file! - really helps work! --no-wm-check 1st try : host link 'recordmydesktop -x ' x ' -y ' y ' --width ' width ' --height ' height --fps 20 --channels 2 --freq 22050 --buffer-size 65538 --s_quality 10 --device alsa --v_bitrate 45000 --v_quality 20 --overwrite --no-wm-check ' -o "' fpName '" & ' ; 08********08 #] 15Apr2014 search "recordmydesktop – audio not in sync" http://karussell.wordpress.com/2009/11/18/recordmydesktop/ recordmydesktop – audio not in sync This entry was posted on 18 November, 2009, in Linux. Bookmark the permalink. 4 Comments Nice application! Normally one could use the GUI (gtk-recordMyDesktop) but I had a small problem: audio and video was not in sync. I worked around via specifying my headset on the command line tool directly via -device plughw:0,0 Thats it! recordmydesktop --width 800 --height 640 --v_quality 20 --s_quality 10 --delay 3 --fps 10 --overwrite --device plughw:0,0 -o timefinder-v4-screencast.ogv If this does not work for you look here, here, here or try to disable compiz via System -> Preferences -> Appearance -> Visual Effects and include –no-wm-check Or use the command where I got the best results: recordmydesktop --width 1024 --height 800 --v_bitrate 2000000 --s_quality 10 --delay 1 --fps 20 --overwrite --device plughw:0,0 --no-wm-check --buffer-size 65538 --freq 48000 --quick-subsampling --on-the-fly-encoding -o timefinder-v4-screencast.ogv To convert this into a youtube video do: mencoder -idx timefinder-v4-screencast.ogv -ovc lavc -oac mp3lame -o timefinder-v4-screencast.avi or ffmpeg -i timefinder-v4-screencast.ogv output.mpg !!!!!!!!!! - WOW! To cut sth. from the video you can do: ffmpeg -vcodec copy -i timefinder-v4-screencast.ogv -ss -00:00:10 -t 00:07:11 output.ogv On blip.tv you don’t need this! Simply upload! 08********08 #] 27Mar2014 recordmydesktop video capture I simply COULD NOT get jackd to work with recordmydesktop May be due to not having a clue about device names, port codes, links etc Anyways, the decision was to go with SEPARATE video capture (by recordmydesktop) and audio capture (pulseAudio to gnome-sound-recorder to mp3 files) See : /home/bill/System_maintenance/jackd/0_jackd notes - setup, problems.txt /home/bill/System_maintenance/PulseAudio Volume Control (pavuctrl)/0_PulseAudio Ctrl notes - setup, problems.txt /home/bill/System_maintenance/recordmydesktop/0_recordmydesktop notes - setup, problems.txt /home/bill/Projects/Stalin supported Hitler/vidExtract - Soviet Story snippets.ndf enddoc