NOT Recognize only by extension (for videos also)

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

George2006
Posts: 4
Joined: Sun Oct 21, 2007 9:52 pm

NOT Recognize only by extension (for videos also)

Post by George2006 »

I have a request, simllar with what is discussed in this thread:

http://newsgroup.xnview.com/viewtopic.php?t=5588

The problem is my videos from my Nokia phone have the extension .mp4, but it seems to me that is actually .3gp format (thus renaming the extension to .3gp shows a thumbnail).

I don;t want to rename the files because other programs (including my TV set that has a SD card reader build-in, sees the videos and plays them only with the mp4 extension)

So my request is to ignore the extension for the recognition of the actual format, not only in the pictures but in videos also OR any other solution you can make up, without renaming the original files.

Thank You.
Great Job, so far.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

A glance

Post by Clo »

—> George2006

:) Hello ! Welcome aboard !

• A glance HERE could help… ;)

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: A glance

Post by oops66 »

George2006
see here item : 1)
http://newsgroup.xnview.com/viewtopic.php?p=54262#54262
View\filter by\custom
and
Options\filelist\ custom files (at the bottom) and add : mp4
XnViewMP Linux X64 - Debian - X64
George2006
Posts: 4
Joined: Sun Oct 21, 2007 9:52 pm

Post by George2006 »

Thank you guys for your quick response :)
but unfortunately this doesn't seems to be the solution to my problem. :(
I already had this option checked and the MP4 extension at place.


I include an image that shows exactly what I mean:

Image

When I let the original extension (MP4) I get the plain icon for this filetype.
XnView ignores the fact that this file is actually a 3gp (as Gspot and similar programs recognize).
Only when I rename it to 3gp the file shows a proper thumbnail.

See the before/after photo. This is the same file.
As MP4 shows the icon, as 3gp shows the thumb.

Any (additional) help would be appreciated!
Last edited by George2006 on Mon Oct 22, 2007 5:08 pm, edited 1 time in total.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

Hello,
But this solution was only to hide the related thumbnails
with also:
View\filter by\custom
and uncheck custom files(*) at the bottom:" thumbnails" and if needed "other" too.
to hide at least your *.mp4 blank thumbnails.

But if you want to see your *.mp4 thumbnails as your *.3gp, I think (maybe) , in your case, it is a codec association issue or maybe a bug in xnview???
"if (thus renaming the extension to .3gp shows a thumbnail). "
XnViewMP Linux X64 - Debian - X64
George2006
Posts: 4
Joined: Sun Oct 21, 2007 9:52 pm

Post by George2006 »

My problem is that XnView doesn't build thumbnails because it looks at the extension. I don't have problems with codecs. I have almost 500 installed (Gspot states that) and all my clips are playing fine.
The problem is obviously with XnView.

In my 1st post you can see a related topic:
http://newsgroup.xnview.com/viewtopic.php?t=5588

In that post the author of Xnview says that the option
Options > Browser > File list > Recognize only by extension
is for pictures only.

So that's why I posted the "suugestion" for this option to include videos.

Any other solution? TIA.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

George2006 wrote:My problem is that XnView doesn't build thumbnails because it looks at the extension. I don't have problems with codecs. I have almost 500 installed (Gspot states that) and all my clips are playing fine.
The problem is obviously with XnView.

In my 1st post you can see a related topic:
http://newsgroup.xnview.com/viewtopic.php?t=5588

In that post the author of Xnview says that the option
Options > Browser > File list > Recognize only by extension
is for pictures only.

So that's why I posted the "suugestion" for this option to include videos.

Any other solution? TIA.
For videos, XnView check extension. For pictures, xnview can read header to find the format...
Pierre.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

For videos, XnView check extension. For pictures, xnview can read header to find the format...
thanks for this precision Pierre, about this current Xnview version (1.91.6).
Last edited by oops66 on Tue Oct 23, 2007 6:00 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
George2006
Posts: 4
Joined: Sun Oct 21, 2007 9:52 pm

Post by George2006 »

Videos have headers also.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

George2006 wrote:Videos have headers also.
Yes :-) but currently i have not the time to find specification of all videos format...
Pierre.
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

xnview wrote:For videos, XnView check extension. For pictures, xnview can read header to find the format...
It does? o.O Whenever I have a picture in a folder with a wrong extension, it's always given a blank icon and won't open. (Showing properties sometimes does show the real format though, for whatever good that does.)
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

foxyshadis wrote:
xnview wrote:For videos, XnView check extension. For pictures, xnview can read header to find the format...
It does? o.O Whenever I have a picture in a folder with a wrong extension, it's always given a blank icon and won't open. (Showing properties sometimes does show the real format though, for whatever good that does.)
Do you have enabled 'based only on extension'?
Pierre.
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

xnview wrote:Do you have enabled 'based only on extension'?
Oh, I guess that option is on by default. Well, I turned it off, so I'll see how it goes.
dmackesy
Posts: 2
Joined: Tue Aug 12, 2008 7:23 pm

Post by dmackesy »

I'm having a similar problem:

I have some 4:2:2 YUV pictures with the extension .yuv8. Even when I uncheck "Recognize only by extension", the thumbnail of these pictures will not display. However, as soon as I simplify the extension of the file to .yuv, the thumbnail appears perfectly.

I'd like to leave the existing extensions in place (if only to differentiate yuv16 from yuv8 files), but it seems that I can't do this if I want XnView to display them.

Is there any workaround for this? Am I missing something?

Thanks.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

dmackesy wrote: Is there any workaround for this? Am I missing something?
Not for yuv
Pierre.
Post Reply