VideoThumbnail in rox

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

VideoThumbnail in rox

#1 Post by papos »

This is a helper program for ROX-Filer. It provides images for video files. It repackages my vidthumb.py script as a fully-fledged application directory.
Note: you need at least version 2.1.1 of ROX-Filer and 2.0.4 of ROX-Lib2
http://www.kerofin.demon.co.uk/rox/VideoThumbnail.html
I test it on lupu511 diaboluq who have ROX-Filer and python
I installed ROX-Lib2

updated pet
videothumbnail with_dv-rm-flv-mp4-avi-mpeg
roxlib is include in this pet
Last edited by papos on Thu 20 Jan 2011, 15:51, edited 2 times in total.

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

Re: VideoThumbnail in rox

#2 Post by neurino »

papos wrote:This is a helper program for ROX-Filer. It provides images for video files. It repackages my vidthumb.py script as a fully-fledged application directory.
Note: you need at least version 2.1.1 of ROX-Filer and 2.0.4 of ROX-Lib2
http://www.kerofin.demon.co.uk/rox/VideoThumbnail.html
I test it on lupu511 diaboluq who have ROX-Filer and python
I installed ROX-Lib2

but I have this problem
# ./AppRun
Traceback (most recent call last):
File "./AppRun", line 8, in <module>
import findrox; findrox.version(2, 0, 2)
File "/root/my-applications/VideoThumbnail/findrox.py", line 60, in version
import rox
File "/usr/lib/ROX-Lib2/python/rox/__init__.py", line 72, in <module>
sys.stderr.write(_('The pygtk2 package (2.0.0 or later) must be '
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 38: ordinal not in range(128)
#some help?
It's an encoding problem in python, should be easy to solve, can you post the full line 72 in /usr/lib/ROX-Lib2/python/rox/__init__.py (and surroundings)?

Anyway the error comes from a write to standard error so I guess solving this encoding error will lead to the real exception raised...

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Since ROX is a file handling program, should I move this to the Filesystem section?

The idea is to put it where people are most likely to look if they're looking for a program like this.

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#4 Post by papos »

Thanks to look
71 except:
72 sys.stderr.write(_('The pygtk2 package (2.0.0 or later) must be '
73 'installed to use this program:\n'
74 'http://rox.sourceforge.net/desktop/ROX-Lib\n'))
75 raise

tested in wary102
http://distro.ibiblio.org/pub/linux/dis ... /wary-104/
with
http://distro.ibiblio.org/pub/linux/dis ... 6.4-w5.pet
http://sourceforge.net/projects/rox/fil ... 2/download
ROX-Filer 20100408smw-patched included in wary104
http://bkhome.org/blog/?viewDetailed=01570



<<Since ROX is a file handling program, should I move this to the Filesystem section? >>
this program is useful for all desktop manager that use Rox like jwm enlightment or xfe, most of Rox are published here?
Thanks

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#5 Post by neurino »

71 except:
72 sys.stderr.write(_('The pygtk2 package (2.0.0 or later) must be '
73 'installed to use this program:\n'
74 'http://rox.sourceforge.net/desktop/ROX-Lib\n'))
75 raise
Well the full string does not contain unicode chars, I should know what the _ def contains:

Code: Select all

def _(self, whatever):
    ...
it probably adds some unicode char to the string...
Anyway you can read by yourself the exception that would be raised once this encoding problem is solved: pygtk2 package is not installed or detected or its version is lower than 2.0.0.

There are pygtk2 pets around, try installing one, if you get the same problem again try:

Code: Select all

#python
>>>import pygtk2
>>>pygtk.__version__
and see what version you have

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#6 Post by papos »

can't find a correct python-gtk2_2
most are linked to python 2.5
and deb http://packages.debian.org/source/sid/pygtk is not linked correctly with python_DEV-2.6.4-w5.pet

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#7 Post by neurino »

papos wrote:can't find a correct python-gtk2_2
most are linked to python 2.5
and deb http://packages.debian.org/source/sid/pygtk is not linked correctly with python_DEV-2.6.4-w5.pet
Did you tried easy_installing it?

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#8 Post by papos »

neurino wrote:<Did you tried easy_installing it?>
easy_install require apt dpkg, unvailaible under puppy (gslapt work)

succes tested work well in diaboluq
Well drag and drop application with openshoot, kino etc

install first
rox-lib2-2.06
and videothumbnail


I have compiled Booh a very usefull fotos videos explorer with thumbnails and static Web-Album generator, compiled with lupu511.
booh
Attachments
rox-lib2-2.06.pet
(186.85 KiB) Downloaded 1265 times
videothumbnail-0.1.14_python_u5.pet
(28.88 KiB) Downloaded 1269 times

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#9 Post by neurino »

papos wrote: easy_install require apt dpkg, unvailaible under puppy (gslapt work)
What??? You mean installing easy_install itself or python-gtk2_2?

Installin' easy_install is no more than running a shell script.

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#10 Post by papos »

I look further for easy install in forum Utilities

with videothumbnail rox-lib2-2.06 we have thumbnails also in gqview
just in gqview mark |edit |preference| files| show iden files
look further to play video in geeqie(just with one click;-)

see also
filemanageer with videothumbnails

User avatar
neurino
Posts: 362
Joined: Thu 15 Oct 2009, 13:08

#11 Post by neurino »

Not everithing that works in puppy needs a pet...

Go here:
http://pypi.python.org/pypi/setuptools

download egg file for your python version and run it as a shell script. You're done.

Ex. for python 2.6:

Code: Select all

# wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
# chmod a+x setuptools-0.6c11-py2.6.egg
# ./setuptools-0.6c11-py2.6.egg

Now you can easy_install from python package index:

# easy_install somepackage

User avatar
papos
Posts: 120
Joined: Thu 21 Dec 2006, 07:47
Location: france
Contact:

#12 Post by papos »

thanks for report

update a new pet with thumbnails for flv rm dv mp4
see first post

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#13 Post by live »

Under Retro Precise 571

I've installed zeroinstall and its dependicies from PPM

Then

ROX>Options>Thumbnails>Video Thumbnails
download a bunch of handlers, that I can see under "Install type handers".

Once (I don't know how) I manage to have video thumbnail, though not for all codecs.

Now, everytime I try with a fresh Retro P571 I failed to view the thumbnails.
If I go to ROX>Options>Thumbnails>Video Thumbnails>manage MIME type and drop a video, I do view a thumbnail, but seems not to save the changes.

Thanks for helping

Pelo

DVD-Author shows video thumnails

#14 Post by Pelo »

DVD-Author shows video thumbnails (in Papos Puppy Videopup running in may double core laptop)
Attachments
DVD-Author.jpg
(77.72 KiB) Downloaded 1002 times

Mayou

Geeqie does it too

#15 Post by Mayou »

I will try the pets with My triton 5.7.3 (default viewer is geeqie which should do it too)
Attachments
Geeqie.jpg
This picture does not proove anything ?
(49.03 KiB) Downloaded 912 times

hamoudoudou

true ! installed to-day.

#16 Post by hamoudoudou »

true ! installed to-day.
Attachments
geeqie.jpg
Pictures appears newer, not depending on the title, which is silly
(63.36 KiB) Downloaded 169 times

Post Reply