thunar video thumnails

On 2014-03-06 22:36, rick71 wrote:>
> robin_listas;2629039 Wrote:

>> But it has to be something else, because I do see the thumbnails in my
>> Thunar.
>
> You are seeing thumbnails for video files?

Yes, I do.

On 2014-03-06 22:56, finders wrote:
>
> rick71;2629048 Wrote:
>> You are seeing thumbnails for video files?
> It will show everything from ~/.thumbnails even without tumbler
> installed.

I don’t have that directory.

I’m using Thunar 1.6.3

I see a process named “/usr/lib64/tumbler-1/tumblerd” running, which is
a part of “tumbler”.

I exited Thunar, and as root renamed that file to “tumblerd.no”. I
restarted Thunar, and now some avi files still display the tumbnail, but
others do not.

The ones that do, media info says:


Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 41mn 13s
Bit rate                                 : 187 Kbps
Width                                    : 704 pixels
Height                                   : 396 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.027
Stream size                              : 55.2 MiB (33%)
Writing library                          : XviD 1.1.2 (UTC 2006-11-01)

And one that doesn’t work is identified as:


Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 41mn 47s
Bit rate                                 : 1 022 Kbps
Width                                    : 624 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Original frame rate                      : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.186
Stream size                              : 305 MiB (88%)
Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

They are the same type… only differences is the pixel count. And I do
not have any thumbnail directory in there. Unless there is a common
thumbnail directory somewhwere :-?

That’s is. I have a “~/.thumbnails” directory. Probably big thumbnails
are deleted fast.

I rename back the “tumblerd” file and it works again.

I’m looking at the most recent thumbail with “identify”, to see if the
png contains something about what created it… No such luck. It does
contain a reference to the source .avi file, though.


>     Thumb::URI: file:///home/cer/Videos/Temporales/csi/CSILV.10x23.djzaid.avi

So what it appears from these experiments on my system is that you need
“tumbler” to work properly in order for “thunar” to display video
thumbnails.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I probably should have upgraded to 12.3 and waited for 13.2.

On 2014-03-07 17:56, rick71 wrote:
>
> robin_listas;2629073 Wrote:
>>
>>
>> So what it appears from these experiments on my system is that you need
>> “tumbler” to work properly in order for “thunar” to display video
>> thumbnails.

> I probably should have upgraded to 12.3 and waited for 13.2.

But it is working on my 13.1 systems (on two that I have checked).

I know that it is done by “tumbler”, but I don’t know what exact
components it lacks on your system so that it doesn’t work for you.

There is a configuration in “/etc/xdg/tumbler/tumbler.rc”, where you can
see what it uses.

There is a “/usr/share/doc/packages/tumbler/README”, where it mentions a
switch for debug. Maybe that would say something. I don’t know how
exactly to start it that way, perhaps in a terminal.

This functionality is probably managed by
“/usr/lib64/tumbler-1/plugins/tumbler-gst-thumbnailer.so”, so it would
seem that some gstreamer component in your computer is not right.

This is the list of libraries it uses in my system:


> Telcontar:~ # ldd /usr/lib64/tumbler-1/plugins/tumbler-gst-thumbnailer.so
>         linux-vdso.so.1 (0x00007ffffd9fe000)
>         libtumbler-1.so.0 => /usr/lib64/libtumbler-1.so.0 (0x00007f73f59be000)
>         libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f73f579c000)
>         libgsttag-1.0.so.0 => /usr/lib64/libgsttag-1.0.so.0 (0x00007f73f5564000)
>         libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0 (0x00007f73f525f000)
>         libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f73f4ef8000)
>         libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f73f4ca6000)
>         libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f73f49a3000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007f73f46a0000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f73f4481000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f73f40d2000)
>         libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f73f3ece000)
>         libgstbase-1.0.so.0 => /usr/lib64/libgstbase-1.0.so.0 (0x00007f73f3c75000)
>         libz.so.1 => /lib64/libz.so.1 (0x00007f73f3a5f000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f73f385b000)
>         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f73f3636000)
>         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f73f341f000)
>         libffi.so.4 => /usr/lib64/libffi.so.4 (0x00007f73f3217000)
>         libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f73f2fb0000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f73f5e13000)
> Telcontar:~ #

You can see the gstreamer libraries it uses… so verify them.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

This is my list:


rick@tower:~> ldd /usr/lib/tumbler-1/plugins/tumbler-gst-thumbnailer.so
    linux-gate.so.1 (0xb7722000)
    libtumbler-1.so.0 => /usr/lib/libtumbler-1.so.0 (0xb76f2000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb76ce000)
    libgsttag-1.0.so.0 => /usr/lib/libgsttag-1.0.so.0 (0xb7696000)
    libgstreamer-1.0.so.0 => /usr/lib/libgstreamer-1.0.so.0 (0xb7590000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb741c000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb73ca000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb72c3000)
    libm.so.6 => /lib/libm.so.6 (0xb727d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7260000)
    libc.so.6 => /lib/libc.so.6 (0xb70af000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb70a9000)
    libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0xb7044000)
    libz.so.1 => /lib/libz.so.1 (0xb702d000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7028000)
    libselinux.so.1 => /lib/libselinux.so.1 (0xb7004000)
    libresolv.so.2 => /lib/libresolv.so.2 (0xb6feb000)
    libffi.so.4 => /usr/lib/libffi.so.4 (0xb6fe4000)
    libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb6f7a000)
    /lib/ld-linux.so.2 (0xb7723000)


I have also noticed there is no ffmepegthumnailer .so file in /usr/lib/tumbler-1/plugins/.

I added a new user to the system. I logged in and that user could generate video thumbnails. So, I guess it is something in my user directory that is stopping video thumbnail generation.

On 2014-03-09 14:26, rick71 wrote:
>
> I added a new user to the system. I logged in and that user could
> generate video thumbnails. So, I guess it is something in my user
> directory that is stopping video thumbnail generation.

Ah! Good idea.

Then you could probably delete the configuration files/directories on
your normal user for xfce. I’m not sure which will they be.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I renamed /home/rick/.config/xfce4 which generated a new directory and files, but still no video thumbnails.

I searched for ffmpeg in my home directory, and found none. I then searched for gstreamer and removed every hidden gstreamer file. I then re-booted. I now have video thumbnails for everything except .mpg.

On 2014-03-12 07:36, rick71 wrote:
>
> I searched for ffmpeg in my home directory, and found none. I then
> searched for gstreamer and removed every hidden gstreamer file. I then
> re-booted. I now have video thumbnails for everything except .mpg.

Wow!! :slight_smile:

Well, that’s progress.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

More progress… without deleting things now… It seems when tumblerd runs into mpg files, it crashes. If I kill the tumblerd process, and then enter a directory without mpgs, video thumbnails get generated.

When I list files in XFCE4 Terminal, all the files except the mpg files are listed in white. The mpgs are listed in bright purple and bold.

Any idea what kind of files are listed in bright bold purple in the xfce4 terminal?

Well, .mpg files… :wink:
And all other image or video files as well are listed in bright bold purple (bold magenta, actually).
That’s an “ls” feature, not specific to XFCE’s terminal.

See “dircolors -p”.

I can’t help you with your original problem though. Never used XFCE.

Thanks for the info.

when I do an ls in a directory with video files only the mpgs are bold magenta. flv, mpeg, mp4 are all normal white.

Ah, well. I have most videos generating thumbnails, now.

Strange. What does “dircolors -p” say then?
I have:

...
.mpg 01;35
.mpeg 01;35
.m2v 01;35
.mkv 01;35
.webm 01;35
.ogm 01;35
.mp4 01;35
.m4v 01;35
.mp4v 01;35
.vob 01;35
.qt 01;35
.nuv 01;35
.wmv 01;35
.asf 01;35
.rm 01;35
.rmvb 01;35
.flc 01;35
.avi 01;35
.fli 01;35
.flv 01;35
...

(and I haven’t changed anything myself in this regard on my system)
01;35 means bold magenta (although strange enough, they show up green here… must be some terminal settings) .

But please note, that this feature only takes the filename into account. So if you name an .mpeg video “video.mpegvideo” f.e. it will not get colored as .mpeg. Not even video.MPEG will work, as filenames are case-sensitive.
In any case, which colour ls uses for those files is absolutely unrelated to the thumbnail generator and your problems with it.

Mine says the same as yours.