Slide show feature in VLC 1.0.0 not consistent

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.
s.g.
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2009 17:27

Slide show feature in VLC 1.0.0 not consistent

Postby s.g. » 29 Jul 2009 21:05

Hi,

I am using VLC 1.0.0 to load a set of jpeg images into a playlist so I can view the images as an automatic slide show.
I set the Playlist option to "Repeat All".
When I press play. I expect each image to play for 10 seconds (as this is the value automatically set in the Playslist option called "Duration").
However, about 80% of the time, after the play bar has incremented by 10 seconds and has reached its end, the image will hang around for about another 10 seconds before switching to the next image in the list.
And at other times the switch from image1 to image 2 is almost immediate.
Each image that I tested was around 2048x2048.
I have tried this with VLC 1.0.1, as well as on two different Windows XP Machines.

In addition, I tried to use the command line to set the duration and file reload time, as follows:

vlc.exe --fake-duration=5000 (5000 is in ms)
vlc.exe --fake-file-reload=1 (1 is in sec)

But the duration of an image would never match up with the value I set.

Any suggestions as to how to get consistent image switching and playback when playing back images as a slide show?
Last edited by s.g. on 29 Jul 2009 21:16, edited 1 time in total.

s.g.
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2009 17:27

Re: Slide show feature in VLC 1.0.0 not consistent

Postby s.g. » 29 Jul 2009 21:15

One more thing, I performed a similar test as above, except that the images were al 2048x1536 jpegs, running on a mac book pro, and there were no irregularities/timing issues.

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: Slide show feature in VLC 1.0.0 not consistent

Postby Jean-Baptiste Kempf » 30 Jul 2009 13:25

It doesn't work with 2048x2048 but is ok with 2048x1536?
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.

s.g.
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2009 17:27

Re: Slide show feature in VLC 1.0.0 not consistent

Postby s.g. » 30 Jul 2009 16:31

It is still a problem with 2048x1536 images.
However, I did forget to mention that the problem occurs when Video Ouput is set to "OpenGL video output."
When Video Output is set to "Default", the Slide Show works as expected.
I am interested in the Slide Show feature when using OpenGL video output.

Thanks.

My Machine Specs:
Windows XP
Processors: Pentium D CPU 2.8GHz, 2 GB RAM
Graphics Card: NVIDIA GeForce 9800 GT

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Slide show feature in VLC 1.0.0 not consistent

Postby VLC_help » 31 Jul 2009 13:11

Does messages (Tools -> Messages... set Verbosity to 2) complain something when do slideshow with big pictures using OpenGL output?

s.g.
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2009 17:27

Re: Slide show feature in VLC 1.0.0 not consistent

Postby s.g. » 31 Jul 2009 16:21

There are no error messages from Messages:

Following is the Messages output when playing three 2048x1536 jpeg images.
The output is from the switch from image0 to image1:

main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 3 items, index -1
main debug: processing request item null node Playlist skip 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'P7280757.JPG'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\DOCUME~1\STEVEN~1\LOCALS~1\Temp'
main debug: `C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG' gives access `' demux `' path `C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG'
main debug: looking for access_demux module: 3 candidates
access_fake debug: still image detected with codec format jpeg
main debug: selecting program id=0
main debug: using access_demux module "access_fake"
main debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: looking for a subtitle file in C:\Documents and Settings\Steven Webb\Desktop\
main debug: looking for decoder module: 35 candidates
main debug: creating access '' path='C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Steven Webb\Desktop\P7280757.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG'
main debug: using access module "access_file"
main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 kbytes/s
main debug: removing module "access_file"
main debug: looking for decoder module: 35 candidates
avcodec debug: libavcodec initialized (interface 0x341e02)
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (Motion JPEG Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 56.000 ms - Total 56.000 ms / 1 intvls (Avg 56.000 ms)
main debug: looking for video filter2 module: 21 candidates
swscale debug: 2048x1536 chroma: J422 -> 2048x1536 chroma: I420 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms)
avcodec debug: ffmpeg codec (Motion JPEG Video) stopped
main debug: removing module "avcodec"
main debug: removing module "swscale"
fake debug: file C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG loaded successfully
main debug: using decoder module "fake"
main debug: TIMER module_need() : 324.000 ms - Total 324.000 ms / 1 intvls (Avg 324.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
main debug: thread started
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
main debug: thread (fontlist builder) created at priority 0 (../../.././modules/misc/freetype.c:473)
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 15.000 ms - Total 15.000 ms / 1 intvls (Avg 15.000 ms)
main debug: looking for video filter2 module: 21 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: looking for video filter2 module: 21 candidates
main debug: thread started
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 17.000 ms - Total 17.000 ms / 1 intvls (Avg 17.000 ms)
freetype debug: Building font database...
freetype debug: Finished building font database.
freetype debug: Took 0 microseconds
main debug: thread ended
main debug: window size: 2048x1536
main debug: looking for video output module: 8 candidates
opengl debug: Texture size: 2048x2048
main debug: looking for opengl provider module: 1 candidate
glwin32 debug: creating Vout EventThread
main debug: thread (Vout Events Thread) created at priority 0 (../../../.././modules/video_output/msw/glwin32.c:137)
main debug: thread started
glwin32 debug: DirectXCreateWindow
main debug: looking for hwnd module: 3 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
qt4 debug: Video is resizing to: 2048 1536
main debug: using hwnd module "qt4"
main debug: TIMER module_need() : 81.000 ms - Total 81.000 ms / 1 intvls (Avg 81.000 ms)
glwin32 debug: created video sub-window
glwin32 debug: Vout EventThread running
main debug: using opengl provider module "glwin32"
main debug: TIMER module_need() : 89.000 ms - Total 89.000 ms / 1 intvls (Avg 89.000 ms)
main debug: using video output module "opengl"
main debug: TIMER module_need() : 161.000 ms - Total 161.000 ms / 1 intvls (Avg 161.000 ms)
main debug: Deinterlacing available
main debug: got 1 direct buffer(s)
main debug: pic render sz 2048x1536, of (0,0), vsz 2048x1536, 4cc I420, ar 4:3, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 2048x1536, of (0,0), vsz 2048x1536, 4cc I420, ar 4:3, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 2048x1536, of (0,0), vsz 2048x1536, 4cc RV32, ar 4:3, sar 1:1, msk r0xff g0xff00 b0xff0000
main debug: looking for video filter2 module: 21 candidates
swscale debug: 2048x1536 chroma: I420 -> 2048x1536 chroma: RV32 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
main debug: indirect render, mapping render pictures 0-15 to system pictures 1-16
main debug: `C:\Documents and Settings\Steven Webb\Desktop\P7280757.JPG' successfully opened
main debug: Buffering 0%
main debug: End of video preroll
main debug: Received first picture
qt4 debug: Qt: Entering Fullscreen
main debug: Buffering 13%
qt4 debug: New caching: 13
qt4 debug: New caching: 13
main debug: Buffering 26%
qt4 debug: New caching: 26
qt4 debug: New caching: 26
main debug: Buffering 40%
qt4 debug: New caching: 40
qt4 debug: New caching: 40
main debug: Buffering 53%
qt4 debug: New caching: 53
qt4 debug: New caching: 53
qt4 debug: New caching: 66
main debug: Buffering 66%
qt4 debug: New caching: 66
main debug: Buffering 80%
qt4 debug: New caching: 80
qt4 debug: New caching: 80
freetype debug: using fontsize: 96
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVA -> RV32
main debug: using video blending module "blend"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: Buffering 93%
qt4 debug: New caching: 93
qt4 debug: New caching: 93
main debug: skipped big render time 201000 > 200010
main debug: Stream buffering done (320 ms in 320 ms)
main debug: Decoder buffering done in 0 ms
qt4 debug: New caching: 100
qt4 debug: New caching: 100
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
...[repeated multiple times]
main debug: finished input
main debug: thread times: real 0m36.984375s, kernel 0m0.140625s, user 0m1.062500s
main debug: removing module "fake"
main debug: killing decoder fourcc `fake', 0 PES in FIFO
main debug: [0] 2 0
main debug: [1] 2 0
main debug: [2] 4 0
main debug: [3] 4 0
main debug: [4] 2 0
main debug: [5] 2 0
main debug: [6] 0 0
main debug: [7] 4 0
main debug: [8] 0 0
main debug: [9] 0 0
main debug: [10] 0 0
main debug: [11] 0 0
main debug: [12] 0 0
main debug: [13] 0 0
main debug: [14] 0 0
main debug: [15] 2 0
main debug: saving a free vout
main debug: removing module "access_fake"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m37.312500s, kernel 0m0.031250s, user 0m0.296875s
main debug: changing item without a request (current 0/3)
main debug: using item 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'P7270744.JPG'

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Slide show feature in VLC 1.0.0 not consistent

Postby VLC_help » 01 Aug 2009 17:50

I don't see any OpenGL related errors, so I have no clue why this would happen with OpenGL video output.

s.g.
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2009 17:27

Re: Slide show feature in VLC 1.0.0 not consistent

Postby s.g. » 14 Aug 2009 21:22

Ok, using VLC 1.0.1, I observe that images in a playlist (I tested with 4 images of 2048x2048 with the duration of each image set to be 10 seconds) still have long pauses between image switches.

This occurs with the Video Output set to either "Default" or "OpenGL Video Output".

I was watching the Message Logger, and right after an image has been displayed for 10 seconds, the logger says:

(1) EOF reached
(2) waiting decoder fifos to empty (this is repeated multiple times)
(3) finished input (this occurs right before the image switches to the next image)

So, during the extra stall time after an image has played its normal 10 second duration, it is stalling with the message in (2).

This message comes from src/input/input.c.

Any ideas how this can be remedied?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Slide show feature in VLC 1.0.0 not consistent

Postby VLC_help » 15 Aug 2009 19:03

Decoder size was changed so hopefully it fixes the issue. But is just seems little odd that this would exist just with one VOUT.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests