Cannot display JPG picture using IMAGE module

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 10:25

Hey
I have tried to use the latest nightly VLC build to display JPG image picture.
Want to use the new image module.
But it can’t display jpg image.

Then I tried to copy the program to a shorter path etc. No luck.
Because what I get from the error.log is it doesn’t load the plugins ("no demux module matching "Image" could be loaded"). Hope I’m wrong.
Is there any PATH or environment variables needed?

Then I tried specifying demux=image. No luck.

I want to replace Google Picasa as my slideshow player (TV monitor in the kitchen). It is so bad at playing video files.
I hope (in future) I can use VLC to play playlist with mixed JPG, MP4 and MOV.

But first things first, I need to get a simple <vlc.exe test.jpg> working.

Please guide me… :cry:

Log file

Code: Select all

-- logger module started -- main debug: using interface module "logger" main dembauign: dreebbuugi:l dpilnagy lairsrta yt horfe acdusr rceonrtr e-c trloyo ta cPtliavyaltiesdt main debumagi:n rdeebbuuigl:d addodnien g- i0t eimt e`m1s.,j pign'd e(x f-i1l e:///C:/1.jpg ) main debug: lookinmga ifno rd eibnutger:f aCcree amtoidnugl ea:n 1i ncpauntd ifdoart e' 1.jpg' main debug: using interface modumlaei n" gdleobbuagl:h omtekteay so"k for (null), need to fetch art mmaaiinn :d eRbuungn:i nlgo ovklicn gw fiotrh mtehtea dfeeftauclhte ri nmtoedruflaec:e .1 Ucsaen d'icdvaltce' to use vlc without interface. main debug: lookingl ufao rd eibnutge:r fTarcyei nmgo dLuulae :s c4r icpatnsd iidna tCe:s\ Users\jgf\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\VLC\DataCache\lua\meta\fetcher main debug: no meta fetcher module matching "any" could be loaded main debug: searching art for 1.jpg main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\jgf\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\VLC\DataCache\lua\meta\art main debug: no art finder module matching "any" could be loaded main debug: art not found for 1.jpg main debug: looking for extension module: 1 candidate lua debug: Opening Lua Extension module lua debug: Trying Lua scripts in C:\Users\jgf\AppData\Roaming\vlc\lua\extensions lua debug: Trying Lua scripts in C:\VLC\DataCache\lua\extensions main debug: using extension module "lua" main debug: using interface module "qt4" main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item: null, node: Playlist, skip: 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for '1.jpg' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\jgf\AppData\Local\Temp' main debug: `file:///C:/1.jpg' gives access `file' demux `' path `/C:/1.jpg' main debug: enforced demux ` Image' main debug: creating demux: access='file' demux='Image' location='/C:/1.jpg' file='C:\1.jpg' main debug: looking for access_demux module: 3 candidates main debug: no access_demux module matching "file" could be loaded main debug: creating access 'file' location='/C:/1.jpg', path='C:\1.jpg' main debug: looking for access module: 3 candidates filesystem debug: opening file `C:\1.jpg' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms qt4 debug: IM: Setting an input main debug: pre-buffering done 1024 bytes in 0s - 585 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: creating demux: access='file' demux='Image' location='/C:/1.jpg' file='C:\1.jpg' main debug: looking for demux module: 1 candidate main debug: no demux module matching "Image" could be loaded main error: no suitable demux module for `file/Image:///C:/1.jpg' main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: finished input main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: Destroying the input for '1.jpg' main debug: exiting main debug: deactivating the playlist main debug: deactivating the playlist main debug: saving Media Library to file C:\Users\jgf\AppData\Roaming\vlc\ml.xspf main debug: looking for playlist export module: 1 candidate main debug: using playlist export module "export" main debug: removing module "export" main debug: playlist correctly deactivated main debug: removing all services discovery tasks main debug: removing all interfaces main debug: removing module "qt4" qt4 debug: requesting exit... qt4 debug: waiting for UI thread... qt4 debug: QApp exec() finished qt4 debug: Video is not needed anymore qt4 debug: Killing extension dialog provider qt4 debug: ExtensionsDialogProvider is quitting... main debug: removing module "lua" lua debug: Deactivating all loaded extensions lua debug: All extensions are now deactivated main debug: removing module "globalhotkeys" main debug: removing module "logger" -- logger module stopped --
The latest command I use
The config and datapath is just me trying diffrent things.

Code: Select all

C:\VLC\vlc.exe -vvv --config="C:\VLC\Config\Geovlcrc.config" --data-path="C:\VLC\DataCache" --demux="Image" C:\1.jpg
The VLC version

Code: Select all

VLC version 2.1.0-git-20120214-0005 Rincewind (1.3.0-git-1196-gf0cc43f) Compiled by buildslave on altair.videolan.org (Feb 14 2012 00:10:52) Compiler: gcc version 4.4.4 (GCC)
Let see if the plugin is there:

Code: Select all

C:\VLC>DIR plugins\demux\libimage_plugin.dll Volume in drive C has no label. Volume Serial Number is 5A77-13D4 Directory of C:\VLC\plugins\demux 14-02-2012 00:35 17.920 libimage_plugin.dll

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Cannot display JPG picture using IMAGE module

Postby Sébastien Escudier » 15 Feb 2012 10:42

it means the image module did not detect your file as an image.
Did you try other files ?
can you send us 1.jpg ?

Because it works fine here for me.

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 11:11

Ofcause.
The 1.jpg should be downloadable from here: http://dl.dropbox.com/u/57861208/1.jpg

The 1.jpg is just a normal picture from my Canon Powershot camara, as you should be able to see in the file properties.

/Georg

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 11:17

Just testede C:\Windows\Web\Wallpaper\Nature\img1.jpg , and it is opening fine ... hem

So VLC can't do Canon pic?

Have to test pic fom iPad and Android phone...

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 11:30

Hey
Just made at test folder with the clips from C:\Windows\Performance\WinSAT
and the JPG from C:\Windows\Web\Wallpaper\Nature
Change the FILE module not to ignore JPG, and open the folder in VLC. It is working as expected. Slideshow both videos and picture / image.

Hope we can find out why VLC will not play my Canon camera picture.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Cannot display JPG picture using IMAGE module

Postby Sébastien Escudier » 15 Feb 2012 11:33

Indeed, the image demuxer does not support this type of jpeg (Exif).
Thanks for the report.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot display JPG picture using IMAGE module

Postby Jean-Baptiste Kempf » 15 Feb 2012 12:02

Indeed, the image demuxer does not support this type of jpeg (Exif).
Thanks for the report.
Shouldn't this be fixed?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 12:11

Hey
Could you try my Test Slideshow folder ?
With jpg from diffrent cameras and the test videos from Windows test folder.
The Canon is the only one that do not show up. Some will play for 10 sec other will play for 3 sec.

Remember to go into settings and change FILE not to ignore jpg.
Then open test folder from VLC.

http://dl.dropbox.com/u/57861208/VLC_Test_Slideshow.7z

/Georg

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 15 Feb 2012 12:15

The JPG picture from iPad and Andriod also says EXIF in the header, but VLC plays them (but only for 3 sec).

The picture from Samsung camera and my old Windows Mobil 6, shows JFIF in the header and plays correct for 10 sec (set in the settings).

/Georg

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Cannot display JPG picture using IMAGE module

Postby Sébastien Escudier » 15 Feb 2012 13:28

yes, the ipad and android are not detected correctly also.
That's why they don't play for 10sec.
I have a patch to fix this, it should be corrected in the next release.

Georg
New Cone
New Cone
Posts: 7
Joined: 15 Feb 2012 08:20
VLC version: 2.0.1
Operating System: Windows
Location: Denmark

Re: Cannot display JPG picture using IMAGE module

Postby Georg » 17 Feb 2012 12:12

Great !! It is working now.
All pic show up and in the time/sec I have specified in the Image module in preference.

Thanks a lot.
yours Georg


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 22 guests