translated by Tomasz Napierala <draggho@users.sf.net>
eMoviX jest mikro dystrybucj± Linuxa na bootowalnej p³ycie CD, pozwalaj±c± automatycznie odtworzyæ ka¿dy plik video umieszczony w g³ównym katalogu p³yty. Program obs³uguje wszystkie formaty wspierane przez Mplayer-a, przede wszystkim DivX, ale równie¿ AVI, MPEG, QuickTime, WMV, ASF, FLI oraz kilka innych.
Je¿eli umie¶cisz w g³ównym katalogu p³yty plik z napisami i nazwiesz go tak jak plik z filmem (np. film.avi i film.sub) to napisy zostan± wy¶wietlone automatycznie.
Innymi s³owy, je¿eli umie¶cisz twój film i eMoviX na tym samym CD, uzyskasz nie tylko p³ytê z filmem, ale kompletne oprogramowanie potrzebne do uruchomienia komputera i ogl±dania filmu. Bêdziesz móg³ odtworzyæ go na dowolnym pececie, nawet nie posiadaj±cym zainstalowanego systemu operacyjnego (lub maj±cym jaki¶ z³y OS :). Pod warunkiem ¿e sprzêt jest wspierany przez Linuksa.
Oczywi¶cie ca³y czas bêdziesz móg³ odczytaæ CD i odtworzyæ film za pomoc± dowolnego, innego odtwarzacza. Jedyne co tracisz to oko³o 8Mb, które eMoviX zajmie na p³ytce.
eMoviX zosta³ stworzony na bazie oprogramowania dostêpnego w sieci:
syslinux v2.00 <syslinux.zytor.com> bootowanie systemu; mplayer v0.90rc3 <www.mplayerhq.hu> odtwarzacz filmów; alsa 0.9.1 <www.alsa-project.org> sterowniki kart d&fraq14;wiêkowych; slackware v8.0 <www.slackware.com> baza dla mini-dystrybucji; linux kernel v2.4.20 <www.kernel.org> sprawia ze reszta dzia³a :-)
Jedyne co zrobi³em, to zebra³em to wszystko do kupy :-)
Z dystrybucji Slackware, która korzysta z SysLinuksa do bootowania, wyci±gn±³em ramdysk, zmodyfikowa³em go wyrzucaj±c mnóstwo niepotrzebnych plików, doda³em wszystkie mo¿liwe modu³y d&fraq14;wiêkowe dla j±dra v2.4.20 i oczywi¶cie MPlayer-a. Po wystartowaniu systemu uruchamia sie skrypt perla, (/usr/local/bin/movix.pl) który sprawdza wszystkie mo¿liwe modu³y d&fraq14;wiêkowe a nastêpnie uruchamia odtwarzanie filmu.
A¿ do dzisiaj nie mia³em do¶æ czasu aby napisaæ dokumentacje projektu, wiêc ten plik zawiera praktycznie cala dostêpn± wiedzê nt. eMovixa. Mam nadziejê ze znajdê trochê czasu w przysz³o¶ci. Krótkie informacje s± dostêpne podczas uruchamiania ka¿dej p³yty z eMovixem.
--> Oprogramowanie:
Jedyn± rzecz± jakiej potrzebujesz s±: narzêdzie do utworzenia uruchamialnego
obrazu iso oraz co¶ do jego wypalenia na CD. Zarówno pod Linuxem i M$ Window$
mo¿esz u¿yæ mkisofs & cdrecord, dostêpnych pod adresem
ftp://ftp.berlios.de/pub/cdrecord/
W pe³ni funkcjonalne kopie mkisofs.exi i cdrecord.exe znajduj± siê w pakiecie MoviX_Win32_Script.zip stworzonym przez Christophe Paris i dostêpnym do ¶ci±gniêcia ze strony MoviXa:
http://sourceforge.net/project/showfiles.php?group_id=61561
Pakiet zawiera równie¿ kilka po¿ytecznych skryptów .bat napisanych przez Christophe, które u³atwi± korzystanie z mkisofs i cdrecord u¿ytkownikom M$. Wielkie dziêki dla Christophe za te pliki!
--> Sprzêt:
CPU
Tylko procesory kompatybilne z x86 s± wspierane i tylko i586 lub nowsze.
RAM
Mam wra¿enie, ¿e eMovix-0.8.0 zu¿ywa wiêcej pamiêci ni¿ poprzednie wersje, ale
32MB nadal powinny wystarczyæ [pewnie ³atwo mo¿na sprawdziæ ¿e wystarczy z
ledwo¶ci±, ale nie mam w tej chwili na to czasu], ale dla pewno¶ci: ka¿da
ilo¶æ powy¿ej 40MB jest w porz±dku.
MYSZY
Do u¿ywania eMoviXa nie potrzebujesz myszy.
KONTROLERY
Wszystkie wspierane przez j±dro 2.4.20 kontrolery s± obs³ugiwane. Powiadom
mnie je¿eli masz problemy ze swoim kontrolerem.
KARTY WIDEO
Nie³atwo wymieniæ karty z którymi eMoviX wspó³pracuje.
Generalnie karty nastêpuj±cych producentów dzia³aj± z eMoviXem:
Matrox
Ati
NVidia
Intel
3Dfx
Sis
S3
Trident
ale prawdopodobnie wiêkszo¶æ kart bêdzie dobrze dzia³aæ. Mam w planach opublikowanie dok³adniejszej bazy kart dzia³aj±cych pod eMoviXem na stronie WWW, wiêc je¶li Twoja karta funkcjonuje a nie jest na li¶cie, daj mi znaæ a dodam j± do bazy. Oczywi¶cie daj równie¿ znaæ je¶li nie dzia³a:)
BTW, je¿eli u¿ywasz trybu "aa" eMoviX zadzia³a niezale¿nie od tego jak± kartê posiadasz. Jasne, to tylko wizualizacja ASCII, ale - do diab³a - to dzia³a :-)
KARTY Z WYJ¦CIEM TV
eMovix obs³uguje wyj¶cie TV w kilku modelach Matroxa, ATI, S3 Savage i NVidii.
W wiêkszo¶ci przypadków musisz u¿yæ trybu TV podczas uruchamiania (kiedy
pojawi siê logo eMoviXa wpisz TV i naci¶nij Enter).
Karty ATI w³±czaj± obs³ugê wyj¶cia TV automatycznie, je¶li karta jest pod³±czona do telewizora w momencie startu.
Matrox G400: wystartuj eMoviXa w trybie TV.
Matrox G450 i G550: wystartuj eMoviXa w trybie TV. Obraz pojawi siê je¿eli telewizor bêdzie pod³±czony do drugiego wyj¶cia karty.
NVidia: wystartuj eMoviXa w trybie TV.
S3 Savage: wystartuj eMoviXa w trybie TV. Ekran telewizora bêdzie czarny, poniewa¿ sygna³ zostanie skierowany na wyj¶cie TV. Kiedy film sie skoñczy, bêdziesz móg³ przywróciæ ekran na monitorze wpisuj±c "s3switch lcd" lub "s3switch crt".
KARTY DZWIÊKOWE
eMoviX u¿ywa sterowników ALSA.
Pe³na lista wspieranych kart z dok³adnymi wyja¶nieniami znajduje siê na
stronie domowej projektu ALSA:
http://www.alsa-project.org/
KARTY SIECIOWE
eMoviX nie obs³uguje ¿adnych kart sieciowych.
PILOTY
Od wersji v0.8.0 eMoviX wspiera piloty!!! Có¿, aby byæ dok³adnym, wspiera tylko jeden model: pilota dodawanego do karty Hauppage WinTV (tak, to w³a¶nie ta, której jestem posiadaczem ;-) Pilot dzia³a wspaniale, i mam nadzieje ze bêdzie jednym z d³ugiej listy obs³ugiwanych modeli, ale aby tego dokonaæ potrzebuje od Ciebie wiele pomocy. Je¿eli jeste¶ ekspertem i masz ochotê pomóc w rozwoju eMoviXa, daj mi znaæ!
Nie jestem w tych zagadnieniach ekspertem, wiêc mogê byæ nieprecyzyjny. Jedyne co wiem, to ¿e bêdziesz móg³ odtwarzaæ wiêkszo¶æ plików DivX, i generalnie wiêkszo¶æ plików AVI, MPG, QuickTime, ASF i WMV. Je¿eli chodzi o zbiory d&fraq14;wiêkowe, to wszystkie MP3 oraz OGG/VORBIS s± odtwarzane.
Je¿eli wiesz, ¿e jakie¶ formaty nie dzia³aj± z eMoviXem daj mi znaæ.
[OD T£UMACZA: Je¿eli czytasz ten tekst to prawdopodobnie oznacza, ¿e nie mia³em do¶æ czasu aby przet³umaczyæ ca³e README przed ukazaniem siê nowej wersji eMoviXa. Ale prawdopodobnie w CVS znajduje siê ju¿ kompletne t³umaczenie, mo¿esz wiêc je ¶ci±gn±æ. Link do CVS znajduje siê na stronie projektu. Je¿eli masz problem z obs³ug± CVS, zwróæ siê do mnie, a postaram Ci siê podes³aæ najaktualniejsz± wersjê dokumentacji. Gotowy jest za to fragment o przygotowaniu p³yt po Windows przy pomocy NERO. Na os³odê doda³em kilka fragmentów, które nie znajduj± siê w oryginale:)]
Pocz±wszy od wersji 0.6pre2 instalacja odbywa siê z u¿yciem mechanizmu autoconf, wiêc instalowanie eMoviXa sprowadza siê do rozpakowania tarballa, wej¶cia do powsta³ego katalogu i wydania standardowych komend
./configure make make install Domy¶lnie binaria "mkmovixiso" i "movix-version" zostan± zainstalowane w /usr/local/bin a wszystkie pliki z danymi eMoviXa zostan± skopiowane do /usr/local/share/emovix
Je¿eli to wszystko nie ma dla Ciebie sensu, lub wolisz raczej przygotowywaæ obrazy iso rêcznie, zapomnij o tym co w³a¶nie przeczyta³e¶.
Dziêki wieku pro¶bom uzytkowników, obecna wersja K3b dostêpna w CVS wspiera
eMoviXa!!!
To oznacza, ¿e je¶li zainstalujesz K3b z bie¿±cego drzewa CVS, bêdziesz móg³
przygotowywaæ p³yty z eMoviXem w rewelacyjnym ¶rodowisku graficznym!
W zwi±zku z tym, opu¶æ trzy kolejne sekcje :-)
[OD T£UMACZA: ch³opaki które u¿ywaj± Linuksa w wiêkszo¶ci pewnie znaj± angielski. Tak przynajmniej za³o¿y³em i skupi³em siê raczej (z braku czasu) na u¿ytkownikach Wingrozy:). So sections below will coming soon]
UWAGA DLA U&hibar;YTKOWNIKÓW WINDOWS: dopóki nie istnieje tryb graficzny dla Windows [je¿eli w ogóle bêdzie] naj³atwiejszym sposobem jest zainstalowanie CygWina (http://cygwin.com). To bardzo fajny pakiet, który umieszcza w Windowsie wiêkszo¶æ narzêdzi dostêpnych w Unixach, szczególnie tych, które s± niezbêdne do uruchomienia skryptu "mkmovixiso", za pomoc± którego ³atwo mo¿na utworzyæ obrazy iso z eMoviXem.
Aby uczyniæ tworzenie rozruchowych obrazów iso tak ³atwym jak to tylko mo¿liwe w pakiecie dostarczamy skrypt perla "mkmovixiso". Typow± czynno¶ci±, któr± musisz wykonaæ aby utworzyæ obraz iso zawieraj±cy pliki "plik1" i "plik2" oraz zawarto¶æ katalogu "katalog", jest wpisanie
mkmovixiso -t "Mój tytu³" -o /tmp/movix.iso plik1 plik2 katalog
Pamiêtaj, ¿e mo¿esz równie¿ dodaæ playlisty do CD, je¿eli chcesz aby utwory na p³ycie by³y odtwarzane w konkretnej kolejno¶ci. Aby dowiedzieæ siê wiêcej przeczytaj sekcjê "Playlisty (listy odtwarzania)"
Aby dowiedzieæ siê wiêcej o opcjach mkmovixiso wpisz "mkmovixiso -h".
If you use always the same output file or same language or like to add
always the same extra options, you can avoid writing them explicitly
every time you run mkmovixiso creating a .mkmovixisorc file in your home dir.
Here is an example
[WARNING: these are more or less random setting, use your own ones!!!]:
# <--------- .mkmovixisorc sample
# my .mkmovixisorc file
# all lines starting by # are comments!
# default output file location
output-file=/tmp/movix.iso
# default boot label
boot-label=MoviX
# default font set
subtitleFonts=polish
# extra options for mkisofs
extra-mkisofs-options=-J
### Options to be passed to MPlayer
# extra options for mplayer
extra-mplayer-options=-double -aspect 4:3
# options you want to be sure won't be used ny mplayer unwanted-mplayer-options=-fs -zoom
# repeat the playback 5 times [0 = repeat for ever] loop=5
# do not enforce DMA usage
#[use it only if your system hangs during the boot]
dma=n
# play all files in random order
random=y
# reboot after playback is over
reboot=y
# turn off the PC after playback is over # shut=y
# eject after playback is over
eject=y
# delete temporary directory
auto-delete=y
# ---------> end of .mkmovixisorc sample
No other options are available till now for the .movixrc
If you like better the good old way do something similar to this:
0. make somewhere, e.g. inside the "utils" folder", a new directory,
say you call it "movix";
Please let me know if you find any mistake in this algorithm :-)
[poni¿sza metoda nie zosta³ przez mnie przetestowana, poniewa¿ nie mam Nero:). Nie wiem równie¿, czy dobrze przet³umaczy³em nazwy opcji Nero]
U¿ytkownicy Window$, którzy nienawidz± mkisofs nadal mog± stworzyæ bootowaln±
p³ytê CD, postêpuj±c zgodnie z poni¿sz± metod±, któr± przedstawi³ mi
utalentowany Hakan Atac:
0. ¶ci±gnij bootowalny obraz dyskietki z eMoviXem;
Wielkie dziêki dla Hakana Ataca za dostarczenie sposobu wypalania bootowalnych p³yt CD pod Nero!
[OD TLUMACZA: niedlugo wrzuce tu grafe obrazujaca to co czytaliscie wyzej]
To learn how to add sessions to an eMoviX CD you can read the docs on
http://advancemame.sourceforge.net/doc-advcd.html
in sections 5-7.
WARNING: making an eMoviX multisession CD with Nero is tricky because
Nero is not aware of the Rock-Ridge CD format, so please read the
sections above.
NOTE: a user suggested using Winimage to add files to a bootable ISO file
under WinXX. I had no time to test this, so if you try it please let
me know if it works!
Once you have your iso image you can burn it over a CD with something like
cdrecord dev=0,0 -v -eject /tmp/movix.iso
or just use Nero or any package able to burn iso images on CDs.
Leave the newly created CD in the CD-ROM drive and reboot your PC: if everything went fine your PC will boot from the CD and after a few seconds the mplayer copy contained in eMoviX will start playing all of your files.
There are a lot of video cards out there and a lot of mplayer video drivers and not necessarily all of their combinations work well together.
The movix.pl script tries to determine automatically the best options for you, so that you don't need in general to enter anything at the boot prompt.
But in case you are not satisfied with the playback video quality there are a few extra boot labels you can try to force eMoviX to use a particular driver:
Label Comment
MoviX - The default label causes the movix script to choose (default) automagically the best mplayer driver for your card. sdl - Very good subtitles rendering but not the best video quality. vesa - The "vesa" driver should work for most cards. vesaFB - Use the generic vesa FrameBuffer driver. FB - Use the specific FB driver for yr card (if any). aa - Watch your videos in ASCII format! :-) aa1024 - Watch your videos in ASCII format at a 1024x768 resolution. aa1280 - Watch your videos in ASCII format at a 1280x1024 resolution. (these last two requires a CPU >= 1GHz) TV - Initialize the applications [if any] needed to activate the TV-out of your card.
There are also two extra labels that can be useful too when you forget an eMoviX CD in your drive:
hd - forget the CD and boot from the HD floppy - forget the CD and boot from the Floppy
Thanks a lot to Christophe Paris for this nice suggestion, I use it many times a day!
You can also provide at boot time a few options that will be automagically passed to the movix.pl script to modify its behaviour:
Boot Args Values Effect
SLOW y,n By default movix slows down your CD-ROM drives to decrease their noise, but sometimes this messes them up. If your CD drive seems to behave in some strange way try using this option. ACCEL sw,no Force software or no rescaling. If your playback appears to be very slow you can try "ACCEL=no" to make it smoother [but your movie won't be rescaled to fullscreen!]. VO_DRIVER <driver> Force vo driver (read mplayer DOCS first!). MP_OPTIONS <opts> Add mplayer options (same as above!). LIST <list> Use "list" as default playlist. DMA y,n Use "DMA=n" if your system hangs at boot time trying to access your CD drive. SHUT y,n Power off PC after playing all CD files. This is especially useful if you are likely to fall asleep before the end of the playback :-) REBOOT y,n Reboot PC after playing all CD files. LOOP <N> Loops playback n times. Setting "LOOP=0" let mplayer playing your files for ever. RANDOM y,n Play all the CD files in random order. REGION <region> Either one of NTSC, NTSC-J, PAL, PAL-B, PAL-M, PAL-NC, PAL-60, PAL-M60 or SECAM. For your TV-Out to work properly, your video card needs to know what mode uses your TV (ATI cards don't need this). AUDIO <N> Audio card selection (if you have more than one) 0 for the "first" card, 1 for the "second" etc. The order in which the audio cards are detected by eMoviX is somewhat arbitrary, so you might need to try 0 and 1.
Example: if you like the standard boot label but you want to play your "sleepy.asx" playlist and you want your PC to shut down after the playlist's end (probably because you shut down way before that) and you don't want to slow down your CD-ROM because you like that buzzing background, then you should use the folowing boot string:
boot: MoviX LIST=sleepy.asx SLOW=n SHUT=y
To play QuickTime files MPlayer needs a few special DLL. Their total size is ~4MB and therefore I decided not to include them in the eMoviX package. To be able to visualize QT files with eMoviX you have to perform the following operations after installing eMoviX in your PC:
You can easily use the new MPlayer "menu" feature to "navigate" through your videos selection and/or to change playlist! Just wait for mplayer to start and press the key "m" to activate the menu.
The list of the other active keys for the mplayer is available on the
mplayer site.
The list of the most important keys is also available on every eMoviX CD
when the splash-page logo appears.
After eMoviX finished playing the CD content you can play any
other eMoviX CD just putting the new CD inside and running the command
"movix" at the prompt.
NOTE THAT UNFORTUNATELY this command won't play non-eMoviX CD though.
If you want to do this then you are looking for MoviX, not eMoviX!
Still, thanks to Balazs Barany, eMoviX now features a limited support
to play CD/DVD/VCD/AudioCD/MP3CD media: after watching your eMoviX CD you can
put any CD/DVD/VCD/AudioCD/MP3CD in one of your CD/DVD drives and use one of:
movix (to play a CD with audio/video files inside)
dvd N (where N is usually 1 or 2)
vcd N (where N is usually 1 or 2)
acd
mcd
to play it!
To get a much more powerful interface to MPlayer go back at the MoviX
web site and download the last MoviX or MoviX2 version!
If the audio is too low or absent even after maximizing it from mplayer
then you can try the following:
stop the movie, change console with ALT-F2, change the volume
with alsamixer, go back to the original console with ALT-F1 and
start back the playback with the "movix" command.
Note: you cannot do this while the movie is playing!
Since version 0.6 eMoviX supports playlists! The supported formats are: .asx .m3u .pls .txt .list
E.g. if you have a file "My Video.avi" and "My Audio.mp3" you may write the following lists:
that will look like:
<asx version = "3.0">
<title>My List</title>
<entry>
<ref href = "/cdrom/My Video.avi"/>
</entry>
<entry>
<ref href = "/cdrom/My Audio.mp3"/>
</entry>
</asx>
2. movix.list or movix.txt
that will look like:
/cdrom/My Video.avi
/cdrom/My Audio.mp3
Don't know much about pls or m3u formats but I know that they work, at least in some case :-)
eMoviX by default looks in the CD root for "movix.asx" or "movix.list"
or similar.
If none of them is available, then files should be played in alphabetic
order.
If you like to have more than a playlist you can use other names and activate
the other ones booting the CD with the LIST parameter.
E.g if you have two playlists named "movix.list" and "alt.list" and want to
use the second, then boot the CD in the following way:
boot: MoviX LIST=alt.list
NOTE: keep in mind that the new mplayer "menu" feature allows you to open a new playlist (or even to move from file) without having to reboot!
Starting from v0.8.0pre3 I started including translations of a few docs. To get a complete list use "mkmovixiso -h". To use boot messages in a language different from english use the "-lang <lang>" option of mkmovixiso [find details with "mkmovixiso -h"].
Starting from v0.6pre2 the movix distro contains the following mplayer
font packages: czech, cyrillic, greek, hebrew, polish, russian and turkish.
All these packages support latin characters (iso-8859-1) plus their
specific characters.
By default the polish package is added to the iso image.
To have no fonts installed (in case you have no subtitles) use add the
-noSub option to the "mkmovixiso" command.
See "mkmovixiso -h" to set a different language.
In general you'll write something like
mkmovixiso -a filename -t "My title" -sub=greek -o /tmp/movix.iso All fonts packages were extracted from ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/ except for the polish fonts (sent me by Krzysztof Kajkowski) and hebrew fonts (sent me by Pavel Bibergal).
For debugging purposes, after a nice suggestion by Jose' M. Fandinho, I added to eMoviX a script that will put on a floppy the following info:
To run the script just put an empty floppy in the floppy drive, write "debug" and press ENTER.
To retrieve all the info from the floppy from your Linux installation
give the following command:
sed -n "1,/MOVIX_MARK/p" /dev/fd0 > bugreport.txt
Thanks a lot to Jose' for this nice trick!
You will find the config files for the current eMoviX mplayer and vmlinuz in the "config" dir of this package.
I want to thank the great guys at www.scriptamanent.it for making the logo for the eMoviX project. I also want to thanks my friend Andrea Assorgia for all his encouragements and good advices about making eMoviX and for actually having suggested the name of the project. Special thanks go to my brother Vincenzo that bought me a very fast CD burner speeding up a lot the development of this package! :-)