Main Page: Difference between revisions

info about DVD on Linux
m 1 revision imported: from https://www.mediawiki.org/wiki/Extension:MultimediaViewer/Exported_test_wiki - supposed to add features?
 
(75 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Image:Wall--02290102062003.jpg|thumb|Inspired by the Free Software Foundation]]
We created [[QualityBox]], a [[Cloud#SaaS Examples|SaaS]], enterprise-grade, knowledge platform with Wikipedia at it's core. The source is still available in our [https://github.com/freephile/meza github]. Much of this site is dedicated to showcasing the [[features]] and solutions of "Enterprise MediaWiki" - defined as the Knowledge Platform for organizations.


=Newburyport GNUS=
Check out our latest [[Video]]s !
''That is pronounced '''News'''''


Please join the community here, login (not necessary, [http://meta.wikimedia.org/wiki/Help:Logging_in but a good idea]) and start creating some useful content.
== Freephile Wiki ==
Freephile Wiki is a site about [[FreeSoftware|free technology]], supporting [[wp:Declaration of Internet Freedom|freedom in general]], in life and on the Internet.  It was started by [[User:Freephile|Greg Rundlett]] of {{CompanyName}}. This site is a ''[[wp:Wiki|wiki]]'' that ''you'' can edit. Contact [[User:Freephile|Greg]] to request an account.


DVD and video playback on Linux[[Image:Example.jpg]]
<table style="border: dotted 1px gray; -moz-border-radius:15px;">
My latest adventure had involved getting video and dvd playback from Debian (Sarge) and Fedora Core 1. With Debian, getting xine installed was as easy as apt-get install xine-ui, because apt-get took care of the dependencies (namely xine lib). Once xine was installed, I found a neat site about xine in general, and found out that you can install various skins for the xine player user interface (the picture shows Celoma Gold).  To download a new skin, you press Ctrl+d  while window focus is on the Xine application. You should definately visit http://cambuca.ldhs.cetuc.puc-rio.br/xine/ for instructions on how to get xine, and how to get various codecs to support Windows and Mov file formats.
<tr>
<td style=" -moz-border-radius:15px;background-color:#FDFFD0;width:50%; padding:10px;">
<!-- panel 1 -->
<div class="floatright">[[Image:Tux.png|FOSS Experts|128px|right|link=Local experts]]</div> [[People]] and [[Local experts]] are available to answer your specific questions and go beyond what you can do on your own.
</td>
<td style=" -moz-border-radius:15px;background-color:#D0E3FF;width:50%; padding:10px;">
<!-- panel 2 -->
<div class="floatright">[[Image:Krfb.svg|Free Software|128px|right|link=Applications]]</div> [[Applications]] are specific tools that you can use in business, home, education and life.
</td>
</tr>
<tr>
<td style=" -moz-border-radius:15px;background-color:#E5FFD0; padding:10px;">
<!-- panel 3 -->
<div class="floatright">[[Image:Help-contents.svg.green.png|Help|128px|right|link=Help:Contents]]</div>
The [[Help:Contents|Help system]] will get you started quickly, and is a trusty resource whenever you need [[Help]].
</td>
<td style=" -moz-border-radius:15px;background-color:#FFD0D0; padding:10px;">
<!-- panel 4 -->
<div class="floatright">[[Image:Edit-find.svg|Search|128px|right|link=Special:Search]]</div>
The [[Special:Search|powerful search]] in this wiki will help you find whatever you are looking for.
See the [[Index]] for a complete list of articles.  [[Search]] is also a complete category.
</td>
</tr>
</table>
__NOTOC__


Of course, once xine was installed, I found out quickly that I could not access my CD-R drive, or my external DVD drive.  I would get an error to the effect that "only root could mount dev/scd0 on mnt/dvdram".  I was pretty sure that when I installed Debian on my system originally that I had chosen to allow normal users to mount devices (like floppy, cd-writer, dvd) -- mostly because this is my computer and I want to do what I want without having to invoke special super-user privileges.  Also, this is what I'm accustomed to doing in a Windows environment.  I think it is great that Linux allows you to precisely configure access to various resources, but for a desktop system, this feature can get in the way.  So, I went hunting for the proper way to turn these devices on.


ls -al /mnt
<!-- @FIXME this section needs to be served over https
showed that there was indeed a mount point defined called /mnt/dvdram. I tried to change the ownership of the mount point
== Status ==
  chown greg:greg /mnt/dvdram
{{#widget:Embed|param1=http://wiki.freephile.org:20000/api/v1/badge.svg?chart=elasticsearch_local.cluster_health_status&alarm=elasticsearch_last_collected&refresh=auto}}
but that didn't work
 
ls -al /dev/scd0
-->
showed that the device was owned by root, and the group cdrom. I checked into the group to see if I was a member by using the graphical tool kuser (System -> User Manager).  That showed I was a member of the cdrom group and the floppy group.
== What's New ==
brw-rw-rw-    1 root    cdrom    11,  0 May 20 21:22 /dev/scd0
=== POTD ===
I read somewhere that I should do a 'modprobe ide-scsi' which didn't show any results.
[[File:Potd-logo.svg|link=http://commons.wikimedia.org/wiki/Commons:Picture_of_the_day|thumb|click here for the Picture Of The Day]]
The next command I found was
 
cdrecord -scanbus
=== Articles ===
which did show that my DVD drive was there, and also my scanner.
{{Special:Newpages/limit=10,shownav,namespace=Main}}
I made sure the device was indeed mounted on the /mnt/dvdram mountpoint
[[Special:Newpages/namespace=Main|more]] [[Image:Go-next.svg|16px|more|link=Special:Newpages/namespace=Main]]
mount /dev/scd0 /mnt/dvdram
 
and, since Xine looks for DVDs at /dev/dvd by default, I created a symbolic link from /dev/dvd to the existing /dev/scd0
=== Revisions ===
ln -s /dev/scd0 /dev/dvd
{{Special:RecentChanges/days=90,limit=10,hidebots,hideminor}}
I also read that you need to have mtrr compiled into your kernel, which you can tell by this command
[[Special:RecentChanges|more]] {{More|Special:RecentChanges}}
cat /proc/mtrr
 
According to this article, http://linux.omnipotent.net/article.php?article_id=11799, you need DMA (Direct Memory Addressing) enabled on the drive in order to avoid jumpy playback. 
=== Files ===
hdparm -d /dev/dvd
See the following links:
Told me I didn't have the hdparm tool, which I confirmed with a
[[Special:NewImages|more]] {{More|Special:NewImages}}
locate hdparm
 
So, I installed hdparm
=== Templates ===
apt-get install hdparm
{{Special:Newpages/limit=10,shownav,namespace=Template}}
But now, when I run the same command, it tells me that this operation is not allowed on a SCSI drive.  As far as I know, this is not a scsi drive, but an ide drive using scsi emulation...Then again, I just a user, and I'm feeling pretty lucky that I know it's a DVD drive.  So, I'm not sure how to cure my jumpy playback issues.  Anyway, at least I've got the permission problems licked, and Xine is installed with a nice UI, and I can playback a DVD from my external DVD drive.
[[Special:Newpages/namespace=Template|more]] [[Image:Go-next.svg|16px|more|link=Special:Newpages/namespace=Template]]