Difference between revisions of "User:Fleetwood"

From ArchWiki
Jump to navigation Jump to search
(→‎xorriso: improved (filled-in) description for "toc" paragraph (; as well as "pvd" one, as well))
(→‎cdda2wav: improved (clarified) explanation filled-in words)
Line 101: Line 101:
== cdda2wav ==
== cdda2wav ==
and it's <u>cdrkit</u> equivalent (sister app): <tt>icedax</tt> (the incredible digital audio extractor)
Compact Disc Digital Audio -> .wav (windows RIFF? container file, which contains/houses PCM audio samples (content / bistream).)
Compact Disc Digital Audio -> .wav (PCM windows RIFF? container file)
This app/program/utility is used for  audio "ripping" or extraction
audio "ripping" or extraction
Apparently <tt>cdda2wav</tt> is capable of providing some data about data CD-Rs (and DVD Rs too?) too -- not just audio CDs.
apparently can give some info about even data CD-Rs (and DVD Rs too?)
<code>-J --info-only</code> switch.
<code>-J --info-only</code> switch.  
Its <u>cdrkit</u> equivalent (sister app) is called : <tt>icedax</tt> (which stands for: the Incredible Digital Audio Extractor).
== Linux mount ==
== Linux mount ==

Revision as of 09:50, 22 January 2015

Get dimensions (pixels location) of the window that you want to capture, for screen-casting remote desktop , screen recording Desktop capture screen-capture with:



sleep 5 && ffmpeg -f alsa -ac 1 -i pulse -f x11grab -r 10 -s 1024x720 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 output-file1.mkv

If Pulse audio is super-ceding ALSA, try:

-i hw:0


-i 'hw:1,0'

If top-left bound (corner) of the window (area / region) that you want captured/recorded is not 0,0 (top-most edge of display server Desktop, then add:

-i :0.0+62,168

to specify the left and top co-ordinate locations of the top-left of the window.

TIP: Disable your screen saver. That -will- interfere with the video that is captured. This is not semantic, instead it captures pixels (raster).

Download ffmpeg for Windows (daily/nightly build): http://FFmpeg.Zeranoe.com/builds/win32/static/ffmpeg-latest-win32-static.7z

recordmydesktop -width 1024 -height 720 -o $filename.720.1Mbps.ogv -delay $time -freq 44100 -channels 1 -fps 15 -s_quality 10 -v_bitrate 1000000

When using mkisofs don't forget to include "ERRCTL="WARN|ALL *" in the command line. Otherwise, if mkiso encounters a warning and certainly any errors, it will stop abort. uugh. Overcome that default beahvior by including that.

RIP 13.7 has all of the optical disc open-source software listed below, except libcdio ("cd-info", in particular).

libCDio from GNU

offers (at least one) tool that can query (report) stats status state of optical media (CD-Rs, DVD+Rs)

libcdio-utils: sample applications based on the CDIO libraries

    This package contains a collection of small libcdio-based tools:
     * cd-drive show CD-ROM drive characteristics
     * cd-info show information about a CD or CD-image
     * cd-paranoia an audio CD ripper
     * cd-read read information from a CD or CD-image
     * cdda-player a simple curses-based audio CD player
     * iso-info show information about an ISO 9660 image
     * iso-read read portions of an ISO 9660 image
     * mmc-tool issue low-level commands to a CD drive


which, in turn [1]

cd-info may need --dvd switch for DVD R media, of course. (never cd-rs, I assume)

cd-info --dvd

cd-info --dvd --iso9660


isoinfo -d -i /mnt/image/2014may7.iso

is like cd-info's --iso9660 switch. (well a combination of that and ...)

isoinfo -f -i /mnt/image/2014may7.iso

to either role/mode/command (report '-d' primary volume Descriptor (info head about volume as a whole) or list (find) "-l" contents (all files and folders)) -- optionally add switches "-J" for Joliet and -R for RockRidge extensions to / layers of the ISO 9660 volume.

others include

cdrwtool -d -i


cdrecord ... -minfo , -msinfo , -toc switches (and maybe -atip)

cdrdao disk-info and cdrdao msinfo


xorriso -devices

xorriso -indev /dev/sr0 -pvd_info

"pvd" stands for Primary Volume Descriptor, which reports information (metadata) about the ISO 9660 filesystem volume. That filesystem volume comprises the contents of a given, individual data track that resides on the optical medium (disc). The Primary Volume Descriptor is located (resides) in/at the beginning/top of that filesystem volume (data track / bitstream).

xorriso -indev /dev/sr0 -toc

"toc" is (stands for) Table of Contents, which is the overhead for the disc, overall / as a whole. The optical disc (medium)'s T.O.C. can be thought of as the equivalent to what a partition table is on/for other types of block storage devices, like USB flash drives, Solid State Drives, Hard Disc Drives (HDDs). The point here is, (the information that / what is reported/returned/output by that above command serves as information/data about the sessions (and tracks) on the disc (the overall layout structure of the contents of the disc).


Compact Disc Digital Audio -> .wav (windows RIFF? container file, which contains/houses PCM audio samples (content / bistream).)

This app/program/utility is used for audio "ripping" or extraction

Apparently cdda2wav is capable of providing some data about data CD-Rs (and DVD Rs too?) too -- not just audio CDs.

-J --info-only switch.

Its cdrkit equivalent (sister app) is called : icedax (which stands for: the Incredible Digital Audio Extractor).

Linux mount

Also try mounting the filesystem storage volume on the disc

mount -t iso9660 -o norock,nojoliet -o noatime,uid=1000,gid=100 /dev/sr0 /mnt/image/

optionally add options like "session" to choose which session (if more than one session(track) is on the disc).

The "nojliet" and "norock" mount optiosn instruct the mount command to NOT mount the RockRidge and Joliet extensions/layers to ISO9660.



ImgBurn has Read and Verify modes. It gives details stats figures

except what Windows Explorer gives (which corresponds to cdrecord -minfo (msinfo mode too?) for "Free:" free/unallocated space (capacity)

see /generate-optical-filesystems (ISO9660 and its optional extensions like Joliet and Rockridge and UDF)


according to the description of the software it may use DVD Info Pro for the stats functionality (aspect).