Re: [Freevo-users] DVD identification
Hi, On 1/7/07, Guillaume Proux [EMAIL PROTECTED] wrote: I did install libdvdread and libdvdcss before (using the unofficial packages coming from the multimedia repositories of Ubuntu without them, a bunch of other software would not work correctly). Maybe Freevo can't find them? Corrected the problem. I had actually install libdvdread3 using apt-get in Ubuntu. However I had forgotten to install libdvdread3-dev and when I setup.py-installed kaa I don't think I got a very strong error or warning and thought all worked well. I see in the stream of recent messages that this is a common issue. Maybe would deserve to have a better warning in place? Now, I am trying to actually make the dvdbackup plugin work. It is correctly set in my local config file but i don't see any effect of inserting this. - No additional main menu item - No additional submenu item in the Watch video - No additional submenu item when I browse the content of a DVD title list... I even try to set DEBUG=2 in my config file and things get verbose very fast ... but I still can't see the debug info that should be displayed in the first lines called in the actions method of the plugin. I also tried to raise an Exception from there but it seems to never have been called... Does dvdbackup works for somebody else in 1.7rc2 ? Thank you very much! Regards, Guillaume - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Guillaume Proux a écrit : Does dvdbackup works for somebody else in 1.7rc2 ? Hi Guillaume, I just started to play with dvdbackup. On my system, I run in a bug or misconfiguration, I don't know now (I send a message on the devel list a few hour before). For the use of dvdbackup : In fact, dvdbackup don't permit a dvdbackup, but permit a backup of some tracks of the dvd. So, to use it : In front of the DVD (in the freevo menu !), press the E key (or whatever on your remote), choose Track List (I believe, using freevo in french), the second choice, and then, select the track you want to backup, the E key again and Backup this DVD title Bear in mind that this is a little experimental for now :-) But it works fine for me, after a small change in one part of the code. I really would know if it works for you without change. To test, it's easier to use a bonus track that to encode a whole film ! Regards, -- Pascal Schirrmann - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Hello, Thank you for your initial answer BUS=ide, KERNEL=*[!0-9], PROGRAM=/bin/cat /proc/ide/%k/media, RESULT=cdrom, NAME=%k, SYMLINK+=cdrom dvd This is a flexible rule that creates two symlinks to the cdrom device called cdrom and dvd. I am running Ubuntu Edgy. I believe similar rules are already in place Make sure that, in local_conf.py ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ] or your equivalent is set I tried that out but when doing that, Freevo complained that no action has been set when I selected the DVD drive entry. Try different dvds, No change. mminfo /dev/dvd [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ mminfo /dev/dvd kaa media metadata info /dev/dvd | type: CD |subtype: data | media: MEDIA_DISC | mime: unknown/unknown | id: 2002120318420300LILOSTITCH_D2 | label: LILOSTITCH_D2 [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ So this is stil recognized as a CD although it should clearly be a DVD ... Any help appreciated ! Guillaume - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Guillaume Proux wrote: Hello, Thank you for your initial answer BUS=ide, KERNEL=*[!0-9], PROGRAM=/bin/cat /proc/ide/%k/media, RESULT=cdrom, NAME=%k, SYMLINK+=cdrom dvd This is a flexible rule that creates two symlinks to the cdrom device called cdrom and dvd. I am running Ubuntu Edgy. I believe similar rules are already in place Make sure that, in local_conf.py ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ] or your equivalent is set I tried that out but when doing that, Freevo complained that no action has been set when I selected the DVD drive entry. Try different dvds, No change. mminfo /dev/dvd [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ mminfo /dev/dvd kaa media metadata info /dev/dvd | type: CD |subtype: data | media: MEDIA_DISC | mime: unknown/unknown | id: 2002120318420300LILOSTITCH_D2 | label: LILOSTITCH_D2 [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ So this is stil recognized as a CD although it should clearly be a DVD ... Any help appreciated ! I would guess that libdvdread and libdvdcss have not been installed before kaa.metadata. The solution is to install the above libs and re-install kaa.metadata. I get this for Lilo Stitch /dev/dvd | type: DVD |subtype: video | media: MEDIA_DISC | mime: video/dvd | id: 2002120512513800LILOSTITCH_D4 | label: LILOSTITCH_D4 | length: 9057.24 +-- Track #1 || media: MEDIA_AV || mime: video/mpeg || length: 4828.01 ||trackno: 1 ||trackof: 35 || angles: 1 ... Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Hi Duncan, Thank you for your help... I did install libdvdread and libdvdcss before (using the unofficial packages coming from the multimedia repositories of Ubuntu without them, a bunch of other software would not work correctly). Maybe Freevo can't find them? Thank you for your help so far, I will do the Use the source Luke and try to solve this mystery alone! cheers! Guillaume On 1/7/07, Duncan Webb [EMAIL PROTECTED] wrote: Guillaume Proux wrote: Hello, Thank you for your initial answer BUS=ide, KERNEL=*[!0-9], PROGRAM=/bin/cat /proc/ide/%k/media, RESULT=cdrom, NAME=%k, SYMLINK+=cdrom dvd This is a flexible rule that creates two symlinks to the cdrom device called cdrom and dvd. I am running Ubuntu Edgy. I believe similar rules are already in place Make sure that, in local_conf.py ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ] or your equivalent is set I tried that out but when doing that, Freevo complained that no action has been set when I selected the DVD drive entry. Try different dvds, No change. mminfo /dev/dvd [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ mminfo /dev/dvd kaa media metadata info /dev/dvd | type: CD |subtype: data | media: MEDIA_DISC | mime: unknown/unknown | id: 2002120318420300LILOSTITCH_D2 | label: LILOSTITCH_D2 [EMAIL PROTECTED]:~/freevo-1.7.0-rc2$ So this is stil recognized as a CD although it should clearly be a DVD ... Any help appreciated ! I would guess that libdvdread and libdvdcss have not been installed before kaa.metadata. The solution is to install the above libs and re-install kaa.metadata. I get this for Lilo Stitch /dev/dvd | type: DVD |subtype: video | media: MEDIA_DISC | mime: video/dvd | id: 2002120512513800LILOSTITCH_D4 | label: LILOSTITCH_D4 | length: 9057.24 +-- Track #1 || media: MEDIA_AV || mime: video/mpeg || length: 4828.01 ||trackno: 1 ||trackof: 35 || angles: 1 ... Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
I'm also having trouble with 1.7 svn but mminfo seems to be working correctly. This was working before the upgrade to the SVN version. Freevo still displays (no disc) when a disc is inserted and mounted. I was using Freevo 1.5.4 when everything was working. kaa output: | media: MEDIA_DISC | mime: video/dvd | length: 20532.46 +-- Track #1 || media: MEDIA_AV || mime: video/mpeg || length: 40.14 ||trackno: 1 ||trackof: 8 || angles: 1 |+-- Video Track #1 ||| media: MEDIA_VIDEO ||| length: 40.14 ||| codec: MPEG-2 Video ||| format: PAL ||| width: 720 ||| height: 576 |||fps: 25.0 ||| aspect: 1.778 ||| fourcc: MP2V |+-- Audio Track #1 ||| language: en ||| media: MEDIA_AUDIO ||| channels: 2 ||| samplerate: 48000 ||| codec: AC3 ||| fourcc: 0x2000 ||| id: 128 This is the error I see in the log file: Exception in thread Thread-2: Traceback (most recent call last): File /usr/local/lib/python2.4/threading.py, line 442, in __bootstrap self.run() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 736, in run self.check_all() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 696, in check_all self.identify(media) File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 438, in identify disc_info = util.mediainfo.disc_info(media, force_rebuild) File /usr/local/src/freevo-1.7/src/util/mediainfo.py, line 600, in disc_info type, id = mmpython.cdrom.status(media.devicename) AttributeError: 'module' object has no attribute 'status' if I run a mminfo on my dvd drive /dev/hdc, I get the same error as above but when I run mminfo on the mount point (/mnt/dvd), it works correctly. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Actually, if I do an mminfo on the device (/dev/dvd - /dev/hdc), I get a slightly different error but along the same lines. kaa media metadata info ERROR factory(319): kaa.metadata.create error Traceback (most recent call last): File /usr/local/lib/python2.4/site-packages/kaa/metadata/factory.py, line 312, in create return self.create_from_device(name) File /usr/local/lib/python2.4/site-packages/kaa/metadata/factory.py, line 274, in create_from_device t = e[R_CLASS](devicename) File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/vcd.py, line 44, in __init__ self.parseDisc(device) File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/vcd.py, line 49, in parseDisc if self.is_disc(device) != 2: File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/core.py, line 54, in is_disc (type, self.id) = cdrom.status(device, handle_mix=1) AttributeError: 'module' object has no attribute 'status' WARNING factory(320): Please report this bug to the Freevo mailing list /dev/hdc No Match found On 1/6/07, Justin Wetherell [EMAIL PROTECTED] wrote: I'm also having trouble with 1.7 svn but mminfo seems to be working correctly. This was working before the upgrade to the SVN version. Freevo still displays (no disc) when a disc is inserted and mounted. I was using Freevo 1.5.4 when everything was working. kaa output: | media: MEDIA_DISC | mime: video/dvd | length: 20532.46 +-- Track #1 || media: MEDIA_AV || mime: video/mpeg || length: 40.14 ||trackno: 1 ||trackof: 8 || angles: 1 |+-- Video Track #1 ||| media: MEDIA_VIDEO ||| length: 40.14 ||| codec: MPEG-2 Video ||| format: PAL ||| width: 720 ||| height: 576 |||fps: 25.0 ||| aspect: 1.778 ||| fourcc: MP2V |+-- Audio Track #1 ||| language: en ||| media: MEDIA_AUDIO ||| channels: 2 ||| samplerate: 48000 ||| codec: AC3 ||| fourcc: 0x2000 ||| id: 128 This is the error I see in the log file: Exception in thread Thread-2: Traceback (most recent call last): File /usr/local/lib/python2.4/threading.py, line 442, in __bootstrap self.run() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 736, in run self.check_all() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 696, in check_all self.identify(media) File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 438, in identify disc_info = util.mediainfo.disc_info(media, force_rebuild) File /usr/local/src/freevo-1.7/src/util/mediainfo.py, line 600, in disc_info type, id = mmpython.cdrom.status(media.devicename) AttributeError: 'module' object has no attribute 'status' if I run a mminfo on my dvd drive /dev/hdc, I get the same error as above but when I run mminfo on the mount point (/mnt/dvd), it works correctly. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
I solved both issues (internal to freevo and mminfo of a device file) by upgrading to kaa svn. /usr/local/bin/svn co svn://svn.freevo.org/kaa/ kaa cd kaa/trunk python setup.py install restart freevo and it all worked. On 1/6/07, Justin Wetherell [EMAIL PROTECTED] wrote: Actually, if I do an mminfo on the device (/dev/dvd - /dev/hdc), I get a slightly different error but along the same lines. kaa media metadata info ERROR factory(319): kaa.metadata.create error Traceback (most recent call last): File /usr/local/lib/python2.4/site-packages/kaa/metadata/factory.py, line 312, in create return self.create_from_device(name) File /usr/local/lib/python2.4/site-packages/kaa/metadata/factory.py, line 274, in create_from_device t = e[R_CLASS](devicename) File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/vcd.py, line 44, in __init__ self.parseDisc(device) File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/vcd.py, line 49, in parseDisc if self.is_disc(device) != 2: File /usr/local/lib/python2.4/site-packages/kaa/metadata/disc/core.py, line 54, in is_disc (type, self.id) = cdrom.status(device, handle_mix=1) AttributeError: 'module' object has no attribute 'status' WARNING factory(320): Please report this bug to the Freevo mailing list /dev/hdc No Match found On 1/6/07, Justin Wetherell [EMAIL PROTECTED] wrote: I'm also having trouble with 1.7 svn but mminfo seems to be working correctly. This was working before the upgrade to the SVN version. Freevo still displays (no disc) when a disc is inserted and mounted. I was using Freevo 1.5.4 when everything was working. kaa output: | media: MEDIA_DISC | mime: video/dvd | length: 20532.46 +-- Track #1 || media: MEDIA_AV || mime: video/mpeg || length: 40.14 ||trackno: 1 ||trackof: 8 || angles: 1 |+-- Video Track #1 ||| media: MEDIA_VIDEO ||| length: 40.14 ||| codec: MPEG-2 Video ||| format: PAL ||| width: 720 ||| height: 576 |||fps: 25.0 ||| aspect: 1.778 ||| fourcc: MP2V |+-- Audio Track #1 ||| language: en ||| media: MEDIA_AUDIO ||| channels: 2 ||| samplerate: 48000 ||| codec: AC3 ||| fourcc: 0x2000 ||| id: 128 This is the error I see in the log file: Exception in thread Thread-2: Traceback (most recent call last): File /usr/local/lib/python2.4/threading.py, line 442, in __bootstrap self.run() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 736, in run self.check_all() File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 696, in check_all self.identify(media) File /usr/local/src/freevo-1.7/src/plugins/rom_drives.py, line 438, in identify disc_info = util.mediainfo.disc_info(media, force_rebuild) File /usr/local/src/freevo-1.7/src/util/mediainfo.py, line 600, in disc_info type, id = mmpython.cdrom.status(media.devicename) AttributeError: 'module' object has no attribute 'status' if I run a mminfo on my dvd drive /dev/hdc, I get the same error as above but when I run mminfo on the mount point (/mnt/dvd), it works correctly. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] DVD identification
Guillaume Proux wrote: Just installed 1.7.0 rc2 from tgz and kaa from SVN. I am running from the extracted tarball but did python setup.py install for both freevo and kaa This is my first install and i am getting lost. I would like to do the following: - watch DVDs - rip DVDs and encode into xvid - watch xvids My first problem is that every time I put a DVD in my player, kaa does not seem to recognize it as a DVD and freevo just shows me the content of the DVD as if it was a damn CDROM. Of course, mplayer is not happy camper. Difficult to say what you problem is from the description that you have given where the problem could be. Try checking what the dvd rule is in /etc/udev/rules.d/50-udev.rules, should be something like: BUS=ide, KERNEL=*[!0-9], PROGRAM=/bin/cat /proc/ide/%k/media, RESULT=cdrom, NAME=%k, SYMLINK+=cdrom dvd This is a flexible rule that creates two symlinks to the cdrom device called cdrom and dvd. Make sure that, in local_conf.py ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ] or your equivalent is set Try different dvds, Try: mminfo /dev/dvd I kicked out MythTV because I think Freevo is better thought out (and written in Python). But I really need the system to really recongize DVDs and show them as DVD :) Does anyone knows how to do? Next steps: (can't find any doc...). How to install the encoding service and the ripping module? Best place to look if it is not in the wiki is local_conf.py.example the comments _should_ tell you what to set. For DVDs just add: plugin.activate('video.dvdbackup') to local_conf.py And for progress: plugin.activate('idlebar.encoding', level=20) Not very good at the moment but does show what phase is being run and the expected finish time for that phase. Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users