Page 1 of 1
How to play music with slide show?
Posted: Fri Oct 17, 2008 8:46 pm
by klapperstorch
Using XnView 1.95 I wish to play a WAV file together with the slide show. I specify the WAV file in the slide show config and start the show. No sound audible!
It's my first try with music in slide show. Never used it with previous versions of XnView.
The WAV file is ok. It plays with Windows Media Player as well as with XnView when I click on the WAV file in the Browser window.
Am I doing something wrong? What are the pre/corequisites for hearing music with a slide show?
klapperstorch
Not in config…
Posted: Fri Oct 17, 2008 9:41 pm
by Clo
klapperstorch

Hello !
• I tested on that moment making an EXE with a .WAV sound file played as a loop.
1. The sound doesn't work
while you are still in the Slide Show dialogue and click "Start" to test your new Slide Show…
2. Going to the folder which contains that new EXE >> 2-click on, the sound is played alright as it should…

VG
Claude
Clo
Re: Not in config…
Posted: Fri Oct 17, 2008 10:09 pm
by klapperstorch
Clo wrote:
• I tested on that moment making an EXE with a .WAV sound file played as a loop.
1. The sound doesn't work
while you are still in the Slide Show dialogue and click "Start" to test your new Slide Show…
2. Going to the folder which contains that new EXE >> 2-click on, the sound is played alright as it should…

VG
Claude
Clo
Thanks. Yes, it works this way. I didn't try that.
HOWEVER !!!
1. I think it should be possible to play the music also when starting the slide show from the slide show dialogue. And if not, then at least it should play the sound after saving the slide show and then starting it from the SLD file, but it doesn't.
Creating an EXE with all the images in it, when I already have them on my disk as JPG files does not make much sense.
2. When I create the EXE, and later, when I want to play the slide show with sound but the sound file has gone (maybe I moved it, or deleted it, or did not forward it to the person to whom I gave the EXE, or this person does not save the sound file in the expected folder) then the slide show exe hangs the system and a reboot is necessary.
<b>This seems to be a bug.</b>
Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.
klapperstorch
Re: Not in config…
Posted: Fri Oct 17, 2008 10:35 pm
by Dreamer
klapperstorch wrote:...And if not, then at least it should play the sound after saving the slide show and then starting it from the SLD file, but it doesn't.
Right, it was working in previous versions, it's a bug IMO.
klapperstorch wrote:Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.
Strange, it works good here, the sound file (wav, mp3) is always included in the exe. Try to create slide show with just few pictures and then check the size of the exe file, is it larger than size of those pictures? What about other options? Perhaps you could paste the options from .sld file here (not the list of pictures, just the options), so we could try to reproduce it.
What about OS? Windows Vista Home Premium 32 bit here.
Yes and ?
Posted: Fri Oct 17, 2008 10:46 pm
by Clo
klapperstorch

Again…
…1. I think it should be possible to play the music also when starting the slide show from the slide show dialogue…
• I agree, the test must be quite real and not lame as currently.
…This seems to be a bug.
Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.
• I'would have bet my boots that it contains the sound file… Indeed, it must be added in the EXE !
- I build rarely such EXEs, and those I sent to friends were without sound…
• Win XP-Pro SP1 (FR) here.

VG
Claude
Clo
Posted: Fri Oct 17, 2008 11:32 pm
by klapperstorch
I can't say whether the sound file is in the exe or not. I'll check tomorrow (that is, later today. It's already 1:30 a.m. here).
But the exe played the sound when the WAV file was there, and it hung the system when when the WAV file had been moved.
klapperstorch
IT IS embedded !
Posted: Sat Oct 18, 2008 6:23 am
by Clo
klapperstorch

Good morning !
• I checked by moving the .WAV from its storage location, that doesn't prevent the sound to be played from the EXE !
- Thus, it's copied inside… that one can verify by viewing the EXE as binary in TC -Lister, for instance :
.wav Lé xØ „Ø lØ º RIFF² WAVEfmt + + data? €€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€ …

KR
Claude
Clo
Re: IT IS embedded !
Posted: Sat Oct 18, 2008 7:53 am
by klapperstorch
Clo wrote:
klapperstorch

Good morning !
• I checked by moving the .WAV from its storage location, that doesn't prevent the sound to be played from the EXE !
- Thus, it's copied inside…

KR
Claude
Clo
I tried again this morning. The slideshow exe with sound is much bigger than without. And now it plays the music even when the original sound file has been moved or deleted.
Sorry to have bothered you with this problem which I attribute to some temporary error in Windows.
For the other problem (no sound in playing an SLD file) I would really appreciate that this be supported in a future version.
Thanks Pierre for this very useful program, and thanks to the others for support and help.
klapperstorch
Re: How to play music with slide show?
Posted: Sat Oct 18, 2008 11:07 am
by xnview
Yes, a bug in 1.95
Re: How to play music with slide show?
Posted: Sat Oct 18, 2008 10:19 pm
by Dreamer
xnview wrote:Yes, a bug in 1.95
I knew it was working earlier.

I think it was working also in preview, not only when starting .sld file.