extract audio track from dvd Суббота, Дек 20 2008 

Original: http://www.ubuntugeek.com/how-to-rip-dvd-audio-to-mp3-or-ogg.html

You can extract sound from a DVD, one track at a time or a chapter at a time. Some simple command line examples should suffice to demonstrate how this is done.

First thing you need to do is make sure you have lsdvd and transcode installed:

sudo apt-get install lsdvd transcode

A DVD in your DVD drive will probably be identified as /dev/dvd. Have a look at its table of contents with the lsdvd command

lsdvd

to find the track information, and the longest track

Output looks like as follows
libdvdread: Using libdvdcss version 1.2.5 for DVD access
Title: 01, Length: 02:32:44 Chapters: 26, Cells: 27, Audio streams: 02, Subpictures: 01
Title: 02, Length: 00:17:36 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 03, Length: 00:00:11 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Longest track: 1

To capture the audio from the tenth chapter of the first title, saving it in ogg format, the command line is simply

transcode -i /dev/dvd -x dvd -T 1,10,1 -a 0 -y ogg -m track10.ogg

The arguments identify the input as /dev/dvd (-i), the type of input as DVD (-x), the title, chapter, and angle to encode, in this case being title 1, chapter 10, and camera angle 1 (-T), the audio track is track 0 (-a), the output format is ogg (-y, and the output filename is track10.ogg (-m).

generates mp3 output of chapter 20 from title 1

transcode -i /dev/dvd -x dvd -T 1,20,1 -a 0 -y raw -m track20.mp3

To extract the whole audio track of a title (all chapters) as ogg audio

transcode -i /dev/dvd -x dvd -T 1,-1 -a 0 -y ogg -m audiotrack.ogg

If you prefer WAV files, the following will do it

transcode -i /dev/dvd -x dvd -T 1,20 -a 0 -y wav -m track20.wav

1C + Wine Четверг, Дек 4 2008 

За основу взял вот это:

http://gloomka.livejournal.com/35655.html#cutid1

Не все шло по написанному. Посему в назидание и для пользы дела изложу вкратце так:

  1. в настройках wine (>winecfg) предлагается вырубить менджер окон (Allow the window manager to control the windows). Отключил. Потом правда включил снова.
  2. Установил DCOM98, как указано. wine c:\\DCOM98.EXE /C /T:c:\\temp /Q
  3. Переписал все распакованные в c:\temp библиотеки в с:\windows\system32, опять же, как указано
  4. Прописываем для приложения DCOM98.EXE (добавляем в списке, закладка Applications) добавляем библиотеку ole32.dll (Libraries) – как указано.
  5. Пункт «8″ – получил ошибку.
  6. Далее все как обычно. LANG=ru_RU.KOI8-R wine /media/cdrom1/DISK1/setup.exe
  7. При старте 1С ошибок при выборе пути БД не было. На всяк. случай все же определил библиотеки для 1cv7s.exe, как указано в инструкции (ole32, oleaut32, olepro32, rpcrt4, все – native).
  8. ГЛАВНОЕ: после старта 1С
    LANG=ru_RU.KOI8-R wine ~/.wine/drive_c/Program\ Files/1Cv77/BIN/1cv7s.exe
    ОТКЛЮЧИТЬ ПАНЕЛЬ ОКОН. Иначе щелкнет ластами весьма быстро.
  9. Как видно из комманд, проблемма с фонтами решена переменной LANG. Всякие манипуляции с виндовым сист. регистром ничего не дали.

Особо не тестировл. Будут новости (надеюсь что нет) – дополню.