Page 1 of 1

VideoThumbnail in rox

Posted: Thu 16 Dec 2010, 08:13
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

Re: VideoThumbnail in rox

Posted: Sun 26 Dec 2010, 21:08
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...

Posted: Mon 27 Dec 2010, 04:10
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.

Posted: Mon 27 Dec 2010, 10:06
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

Posted: Mon 27 Dec 2010, 10:14
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

Posted: Wed 29 Dec 2010, 08:29
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

Posted: Wed 29 Dec 2010, 09:53
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?

Posted: Thu 06 Jan 2011, 08:49
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

Posted: Thu 06 Jan 2011, 20:08
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.

Posted: Sat 08 Jan 2011, 10:12
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

Posted: Sat 08 Jan 2011, 11:21
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

Posted: Thu 20 Jan 2011, 15:42
by papos
thanks for report

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

Posted: Sat 26 Apr 2014, 15:28
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

DVD-Author shows video thumnails

Posted: Thu 19 Mar 2015, 12:20
by Pelo
DVD-Author shows video thumbnails (in Papos Puppy Videopup running in may double core laptop)

Geeqie does it too

Posted: Fri 29 May 2015, 07:01
by Mayou
I will try the pets with My triton 5.7.3 (default viewer is geeqie which should do it too)

true ! installed to-day.

Posted: Fri 12 Jan 2018, 10:53
by hamoudoudou
true ! installed to-day.