You are not logged in.

#1 2007-02-16 19:28:45

kwidzin
Member
From: Gdansk, Poland
Registered: 2007-02-04
Posts: 26

Can't mount/play VCD (Gnome)

I can automount and play almost all types of disks ex. vcd. When I inserting vcd, the CD/DVD-RW icon in nautilus go out, and the totem can't play a movie. I think it's maybe the hal bug, because other users reports same problem in feisty fawn - development tree of ubuntu.

Offline

#2 2007-02-17 00:53:07

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Can't mount/play VCD (Gnome)

well i'm sure vcd`s are like cd`s ... if i'm right then u can't mount it.
which totem-build are you using ? gst or xine ....
i don't know if totem supports vcd, but i should assume it does .. i'm pretty sure totem-xine does though.
u could also try mplayer or vlc to make sure it's not/just a totem issue.
vlc|mplayer /dev/[vcd_device]


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#3 2007-02-27 10:48:44

kwidzin
Member
From: Gdansk, Poland
Registered: 2007-02-04
Posts: 26

Re: Can't mount/play VCD (Gnome)

Hmmm. I'm sure it's possible to mount vcd as I can in other distibutions like Ubuntu. I think it is problem of hal or maybe the kernel > 2.16.17. I found patch by google (not tested yet):

Index: kioslave/media/mediamanager/halbackend.cpp
===================================================================
--- kioslave/media/mediamanager/halbackend.cpp    (revision 605183)
+++ kioslave/media/mediamanager/halbackend.cpp    (working copy)
@@ -494,19 +494,12 @@
         medium->setIconName(QString::null);
 
         /* check if the disc id a vcd or a video dvd */
-        DiscType type = LinuxCDPolling::identifyDiscType(libhal_volume_get_device_file(halVolume));
-        switch (type)
-        {
-        case DiscType::VCD:
-            mimeType = "media/vcd";
-            break;
-        case DiscType::SVCD:
-            mimeType = "media/svcd";
-            break;
-        case DiscType::DVD:
-            mimeType = "media/dvdvideo";
-            break;
-        }
+        if (libhal_device_get_property_bool(m_halContext, udi, "volume.disc.is_vcd", NULL))
+          mimeType = "media/vcd";
+        else if (libhal_device_get_property_bool(m_halContext, udi, "volume.disc.is_svcd", NULL))
+          mimeType = "media/svcd";
+        else if (libhal_device_get_property_bool(m_halContext, udi, "volume.disc.is_videodvd", NULL))
+          mimeType = "media/dvdvideo";
     }
     else
     {

Last edited by kwidzin (2007-02-27 10:49:41)

Offline

#4 2007-02-27 10:59:09

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Can't mount/play VCD (Gnome)

You can mount Video CDs, but you don't have to to play them. Playing a VCD with mplayer is as easy as putting the disc in the drive and running

mplayer vcd://track# -cdrom-device /dev/device

(without mounting the disc beforehand. Actually mounting the VCD to watch it's contents is nonsense). track# is the number of the track you want to play (usually 2) and /dev/device is the path to the device-node of the drive you put the disc in - /dev/cdrom for example.

*Edit*: Just found that: http://www.mplayerhq.hu/DOCS/HTML/en/vcd.html. And according to this document it is even possible for a VCD to not being mountable (that is if it is missing the data track (#1)) but still being playable.

Last edited by smoon (2007-02-27 11:03:38)

Offline

Board footer

Powered by FluxBB