Friday, October 17, 2008

Internet Radio 3

Testing in the Lab

We brought the labtop to the computer lab to test it out. First we had to register the mac address of the laptop in the DNS. We plugged into the free Z port near the instructor workstation and booted up. We then ran cmd and at the > prompt typed ipconfig /all to determine our IP address which was 129.100.35.254 today.

All the MP3 files are in a file called CONTENT in the Winamp directory although they could be anywhere.

We ran Winamp and clicked the ADD button and added that folder into a playlist. We can now arrange the content into the desired order - mixing longer speeches or music with short adverts or sound effects or canned carts like 'You're listenting to Bill and Marty on KBBL'. This allows the producer or DJ to design their own show. We saved this to a playlist file called playlist.M3U and started the show playing.

Next we ran the win32 version of icecast. (maybe we should do this first before playing the list!) which started streaming the audio.

We then fired up one of the lab machines and tested out the web interface by going to http://129.100.35.254:8000 and the web screen is displayed with the menu options of Administration | Server Status | Version. We clicked on the Administration menu option and verified it requires a username and password (which we had set up in the icecast.xml file) to log in.

We start the stream playing and the status menu shows up we are listening to the Giants of Philosophy series. So far so good. The only negative is it is playing in the horrid Windows Media Player but that is the default on windows machines so what can you do...

Next we fired up another lab workstation and ran Internet Explorer and went to http://129.100.35.254:8000 but got cannot display the web page and in Firefox we got a network timeout.

The problem is likely that our server is only accepting 1 connection? We changed some of the defaults in icecast.xml so we need to look at that, make some changes and try again.

Also we had logged in as ourselves on two workstations although that should not really make a difference.

Time for some lunch...and maybe we should look at the documentation...where we see:

"A mountpoint is a resource on the icecast server that represents a single broadcast stream. Mountpoints are named similar to files (/mystream.ogg, /mymp3stream). When listeners connect to icecast2, they must specify the mountpoint in the request (i.e. http://192.168.1.10:8000/mystream.ogg)"

I think we used a mountpoint the first time we did this so we try http://129.100.35.254:8000/stream.mp3 and it loads the Quicktime player. The spinner is going and going..

We go to the admin interface and log in and looks like we need to spend some more time in the config and documentation.

More tomorrow...



Monday, October 13, 2008

Internet Radio Station Part II

Internet Radio Broadcasting

The problem for our students will be they can't do anything in the computer labs as the machines only run Windows. I got the IT staff to install VirtualBox hoping that each student could create a VM but the IT dept won't let them do this - they can only define a VM to boot a livecd with. So how to do broadcasting when you can't set up anything?

The answer of course is open source to the rescue - having access to the source code means you can innovate and come up with solutions to problems. Can't install? - then run the application you want from a USB stick. They are now large enough and fast enough to be useful for this purpose. And while booting Linux from a USB would be the best solution - the lab locks down the BIOS so this is not possible. They should really provide a lab of diskless machines that boot from USB.

Apps that don't need installing are called portable applications and while it is possible to write windows apps that do this (remember the old .com executables?), it is not common because most window apps need to be in the registry and use windows system DLLs. However, many open source apps can be modified to run under windows without being installed. A list can be found at:
http://portableapps.com/support and there is also a large list linked from the wikipedia article.

The download site offers a choice of just the platform or the platform and applications. You can get a full suite of software that will run on a 512k stick.

Download PortableApps.com Suite and Platform

Get all the apps you need at once or add only the apps you want. Pick the download that's right for you:

Platform Only Suite Light Suite Standard
Download PortableApps.com Platform (Do Not Right-Click) Download PortableApps.com Suite Light (Do Not Right-Click) Download PortableApps.com Suite (Do Not Right-Click)
Download Size1MB download35MB download113MB download
Free Space Needed1.2MB installed100MB installed350MB installed
Recommended DeviceAll devices256MB+ devices512MB+ devices
Supported LanguageMultilingualEnglishEnglish
PortableApps.com Platform
PortableApps.com MenuXXX
PortableApps.com BackupXXX
Custom Folders, Icons & AutorunXXX
Bundled Apps
Mozilla Firefox, Portable Edition (web browser)
XX
Mozilla Thunderbird, Portable Edition (email)
XX
Mozilla Sunbird, Portable Edition (calendar/tasks)
XX
ClamWin Portable (antivirus)
XX
Pidgin Portable (instant messaging)
XX
Sumatra PDF Portable (PDF reader)
XX
KeePass Portable (password manager)
XX
Sudoku Portable (game)
XX
Mines-Perfect Portable (game)
XX
CoolPlayer+ Portable (audio player)
XX
OpenOffice.org Portable (office suite)
- Writer (word processor)
- Calc (spreadsheet)
- Impress (presentations)
- Base (database utility)
- Draw (drawing)


X
AbiWord Portable (word processor)
X


We decide to take only the platform as we want to add our own applications, the VLC media player and the Audacity sound editor in particular. VLC can stream audio so we want to see if it can work over a USB stick as a pirate Internet radio station.

Step 1 - Plug in a USB stick.
Step 2 - Download and save the portable apps platform software to your USB stick
Step 3 - Run the portableappscomplatformsetup_1.1.exe installer from your USB stick
Step 4 - Type in the drive letter of your USB stick and click OK
Step 5 - When the install is finished double-click the StartPortableApps.exe file

The menu appears. It can also be minimized to the taskbar. Right now the menu is empty as we just downloaded the platform. Now we need to get some portable apps so off to http://portableapps.com/apps/ we go.

We select Audacity which the site says "Audacity Portable is the popular Audacity audio editor packaged as a portable app, so you can take your audio files along with everything you need to edit and record on the go". We also grab coolplayer, a light audio player that does streaming and the popular and excellent VLC media player.

We first installed Audacity by running the installer and it selected its install folder on the USB drive. We then added MP3 support by copying lame_enc.dll from the winamp folder we had already installed it in to the AudacityPortable\App\LAME directory.

Finally we installed the VLC media player to the USB stick.

The next step was to add the newly installed applications to the portable apps menu. At this point we find out we should have installed from within the portable apps menu and it would have automatically added the apps to the menu. No problem - we quit the p-apps platform and run it again and the new programs are on the menu.

Now to set up VLC as a streaming audio server. First we copy over some content as we want to run both content and server off the USB stick as a test. We then run VLC and set the downloading of album art to manual and turn off the update checking.

Now that the program is running we select Media, File Open and choose a bunch of files. The first file starts playing so we stop it.

We select Audio, Audio Device, Mono from the menu
We select Playlist, Show Playlist from the menu to display our selections
We highlight the selections and right-click and select Stream from the menu

This brings up the Stream Output dialog box. Check the box next to Play Locally under Outputs. When streaming to another system we would not play the file on the server, but this option is useful for testing that our audio plays ok.

We have a number of options under outputs. We can use check the HTTP box and add the IP address of the machine VLC is running on. This should give us access using a web browser - of course the web browser needs to have the proper extensions or plug-ins to play audio files. Since we are using Firefox on Ubuntu the firefox mplayer extension does the job, however users of IE may be out of luck. There is also an icecast option - actually this would be good!

The other option is to click the RTP box which ungreys the UDP box. Either one should work and stream the audio so it could be picked up by another VLC client running on a second comptuer.

Let's try the HTTP option first. We add 191.168.1.108 as the address and the service is running on port 8000.

We also turn on VLC's web interface by selecting Tools, Add Interface, Web Interface from the menu. This seems to do nothing and we cannot connect to port 8080.

Under the Profile section we click the Audio Codec tab and select MPEG audio as the codec with a bitrate of 96bps and 1 channel.

We click Stream to start the audio server playing. Now off to the second computer and run firefox and goto http://192.168.1.108:8000 and all we get is a spinning loading. We can hear the file playing locally. So we return to the Stream Output dialog box and change the setting to RTP with the same address and fire up VLC on the second computer.

Select File, Open Network Stream. UDP is selected so we click OK and VLC should start playing, but it does not. We change to udp/multicast and enter in the ip address of 192.168.1.108 but this returns an 'unable to open' error message. It looks like our laptop is not streaming at all.

Perhaps download a portable version of icecast? WE do but it is in .rar format so we also download the excellent 7-zip portable app and add it to our keychain usb stick. Once we extract we find a portable icecast.exe file in an icecast folder. Do we run this - is it an installer or is it the executable? It does not look to be in paf format. We decide to copy the icecast folder to the portableapps directory on the USB stick as well as our working icecast.xml file.

When we run the program it asks for the location of the M3U file to stream. M3U is a winamp file that stores playlists. It is actually a text file that looks something like this:

#EXTM3U
#EXTINF:134,Have A Holly Jolly Christmas - A Holly Jolly Christmas
\xmasprogram\Burl Ives\Have A Holly Jolly Christmas\A Holly Jolly Christmas.mp3

M3U files are now used as a single entry point for streaming content over the internet.

Each location is placed on a new line. The 134 indicates the length in seconds, although a value of -1 should be used when the media file is a streaming file. Next comes the display title. The next line indicates the location of the content. The location can be either an absolute or relative path pathnames (e.g., "E:\ives\holly.mp3" or "\ives\holly.mp3") or they can be URLs. The file can also include comments, prefaced by the "#" character. For portability reason it would be best to use relative paths.

Probably the easiest thing to do would be to put all the content into a folder and then place the folder path into the M3U file so that when the media player starts it plays all the content which then gets streamed. Here is an example from Wikipedia:

#EXTM3U

#EXTINF:123,Sample title
Sample.mp3

#EXTINF:321,Example title
Greatest Hits\Example.ogg
So first step is to move all the content on the flash drive to a folder and edit the M3U file. So we created a content folder on the flash drive. Instead of hand-coding the M3U file we ran winamp and right-clicked and choose Playlist Editor from the menu, removed the existing entries in the playlist and pointed winamp to the content folder on the USB drive. We then re-arranged the content in the desired sequence and clicked the List Opts button and saved the list to the USB stick as playlist.m3u.

Ok now we are almost ready to try again. We did notice during the last attempt that the IP address of the portable icecast was incorrect. This could be due to the configuration so we check the icecast folder on the USB stick. We had copied our working icecast.xml file to the stick but let's take a look:

ezstream_mp3.xml is a configuration file - uses localhost:8000 and it looks for a m3u filename but it is currently set to look in c:\program files\winamp\winamp.m3u

This could be a problem as what if the computer you are running the pirate internet radio station on does not have winamp but something useless like windows media player? There was no portable winamp listed on the portableapps site but since winamp doesn't really hook into windows it should be portable. Let's search. Ok there is a :

Portable Winamp 5.35:

So we switch to the windows laptop and download. We start up the portable apps environment and select Options, Install a New App. However, the winamp.exe is not in the portable applications (paf) exe format. So we have to do it by hand. We create a folder in the Portable Apps directory on the USB stick. Run the winamp install and select the folder and click install.

It's writing tons of crap to the stick - all sorts of stuff we don't want. It is the FULL version - 33mb of stuff is installed. We don't need no stinkin visualizations of skins or dsp effects for streaming audio! So don't use the softpedia download. I now either have to prune it manually or uninstall and find a portable lite version. What we need to find is the portable winamp lite 5.1

No joy yet - there is on out there but either you end up at scary sites or get the redirect runaround. Too dangerous to take a windows machine. Let's try installing the non-portable lite version to the USB stick first and removing things like file associations etc.

Run the winamplite installer and choose the minimal version which takes 2.7mb of space. We deselect all associations or icons or other hooks with a custom install and then choose a destination of d:\portableapps\winamp. We select shared settings for all users but choose NOT to copy them to the c:\program files\winamp folder. No downloading of codecs and we click install. We untick the anon stats and tick the do not ask again until the next install in case it has a nag setting.

Next we examine the winamp configuration settings in install.ini and see that everything is pretty much set to =0 but we change the associate with m3u playlist files to =1 and add the line no_registry=1

Since there is no need to unininstall or to run the winamp agent we delele the uninstallwa.exe file and the winampa.exe file. We also run winamp from the USB Stick and right click and select Preferences. We untick the check for new instances and the show winamp in systray stuff and untick the show winamp in windows folders, and untick restore file associations. Not sure about disabling the 3 default plugins - we leave them alone for now.

Next we want to add winamp to the portableapps menu and test it out on a computer without winamp installed.

First we run portableapps and the winamp icon is displayed in our list. If it was not we would select Options, Refresh Apps Icons from the menu.

When we run the portableicecast and feed it our playlist.M3U file we get the message:

"your stream is on: http://172.33.16.23:8000/stream.m3u" which should not be as the ip address of the machine is 192.168.1.110. Could it be the person who created this version hard-coded the server ip? There are no notes with the file.

Ok for now looks like we will have to come back later to the idea of running a portable pirate radio station from USB and work on running it from the laptop.

Internet Radio Station

Internet Radio

Today we want to take a first look at Internet broadcasting, but not necessarily the creation of podcasts, which when you strip away the jargon are just recorded audio files - usually just some talking head. Good for listening to lectures on the bus possibly but pretty boring most of the time. What is more interesting is the concept of replacing amplitude modulation or frequency modulation transmission methods for radio with broadcasting over tcp/ip. A mac server using the included quicktime broadcaster would be a good way of proceeding but let's see if we can do this on the cheap.

Looking through the storage bins we came up with a bag full of old mac microphones - the ones that also work on PC's. So we can set up the class with mics for recording their voice-overs and carts. We also have a bunch of audio content already in MP3 format as the test files for the web class - including songs, speeches, sound effects etc. All we have to do is set up a steaming audio server and design our show.

We are going to start with Windows first and then see how it can be done on Linux. The first requirement is something to steam audio in MP3 format.

So we head off to http://www.icecast.org/ the home of the open source Icecast project. Their home page says "Icecast, the project, is a collection of programs and libraries for streaming audio over the Internet". This includes:
  • icecast, a program that streams audio data to listeners
  • libshout, a library for communicating with Icecast servers
  • IceS, a program that sends audio data to Icecast servers
They have download versions for windows, red hat (.rpm) and a generic tarball which would what we will use later with Ubuntu. I see there is some user-contribute howtos that will be usedful later such as the ogg vorbis howto and a long article by Kerry Cox on open source audio streaming.

For now we download and install the Windows version which installs itself as a windows service. This means you can administer the service through the control panel, administrative tools, services applet. The default is to set the icecast service to automatic which makes sense for a server. Since this is running on my sub-notebook we change this to manual for now. If you do this you have to tick the checkbox Start Server on Application Startup in Icecast.

The program installs itself to C:\Program Files\Icecast2 Win32 which contains the configuraion file called icecast.xml which we open in the Notepad text editor. For doing a demonstration we problably want to 'lighten' the load on the mini book.

For example, i've reduced the number of clients from the default of 100 down to 10 and made some other changes. Also enabled burst mode, changed the source/relay passwords and setup the admin user password. I left the directory listings commented so that functionality is disabled for now. Port 8000 was set up for multiple connections.

After we save the file we run Icecast. Since we had set the service to manual we had to click the Start Service button which immediate brings up a windows security alert from the windows firewall. Click Unblock to allow Icecast to proceed. You can actually edit your configuration inside the program.

Once we verified the icecast server program is running ok we n0w need some broadcasting tools for the audio. The idea is to play the audio and send it to the icecast server for streaming. We don't want to a bloated program like windows media player (which we disabled anyway) because we prefer Winamp, especially the lite version on Windows with the dumb visualizations turned off.

There was a neat plug-in called oddcast. So off to http://www.oddsock.org/tools/edcast/ we go. The web site says:

"Edcast is a broadcasting application targeted to the small station owner. There are three different flavors, a Winamp plugin, a Foobar plugin, and a standalone broadcaster".

This give us some choices. Since we already have winamp lite version 5.xx we can try the old oddcast plugin and see how it goes - and if that is no good then try the standalone edcast program. So we install oddcast version 3.xx and choose the default install. Note that this comes with an option for the Lame mp3 encoder but that it cannot be included for legal reasons.

We right click on winamp and select Options, Preferences from the menu. In the plug-in section we select DSP/effect and choose Oddcast. The configuration dialog box for the plug-in appears.

The problem here is that only the ogg vorbis encoder appears so that all audio will be streamed in that format. Since all our content is in MP3 format that is no good. Looks like we have to install the lame MP3 encoder.

So we need to reinstall oddcast. First we search the web and download out_lame162 which is a lame encoder plug-in for winamp and install. The installer works but returns a warning:

Quality value setting is broken in 3.96.1. Use presets to set quality of use 3.97.4

Let's see if we can use presets to get an acceptably low bitrate for streaming. If not we have to get the newer version. However, it doesn't even turnup as a plugin in winamp s o we go back to the oddcast and select lamp this time. We download the lam_enc.dll and copy it to the winamp program directory.

Now we run winamp again and right click and select Options, Preferences from the menu
Then we click on the oddcast dsp.
You have to move to (none) and then back to Oddcast to bring up the configuration box
Clicking the Configure active plug-in button did nothing
Select the encoder setting and right click. Select Configure from the menu

We select the existing encoder entry (ogg vorbis) and right click to bring up the properties. For encoder type we select MP3 instead of ogg or flac. As warned the quality box is greyed out so we manually select a bitrate of 96 with a mono channel with a sampling rate of 22050 about half of the normal rate.

5512 Capable of telephone quality audio
11025 Capable of radio quality audio
22050 Reasonable fidelity
44100 CD quality

The idea was to get it working first and then see about optimizing the sound. The oddcast panel also has a live recording feature so you can broadcast voiceovers or commericals or 'radio personality' chit-chat. We hooked up a gooseneck clarad mic to the mic input jack on the laptop.

Once confusing item is the mount point of /stream.ogg - it is not clear what this refers to. I changed it to /stream.mp3 and clicked ok.

Ooops- better figure out the IP address of the laptop. Drop to DOS and type ipconfig and see it is running on 192.168.1.110 on the wireless and 192.168.1.108 on the wired. Will we be broadcasting on both? Stay tuned...Best load up some content - we goto winamp and load the classic 'green eggs and ham'.

We now click the Connect button and goto the linux box and type:
http://192.168.1.108:8000/stream.mp3

Success!

We can hear the bedtime story. It buffers the audio and actually sounds quite good. Will have to test with some music later - load up the laptop with tunes. We also want to test the connection with a number of different machines listening to see the load on a light laptop.

Interesting to see how the streaming works. I stopped playing the file on the laptop and it was eerie to still hear it playing on the desktop next to it. I then used the live recording function with the mic to create a short promo. The neat thing is the promo is not heard by the client until the green eggs and ham story was finished. Streaming means there is a steam of data being sent out. Obviously this affects how you setup your show. Do you record everything at once or combine bits into a single audio file or more likely set up a playlist in winamp or even do a random shuffle (with repeats or no repeats) of MP3 files in a directory. Takes me back to Acadia radio in college.

More later - time for some dinner

Weird thing - i decided to switch laptops to use the full-size machine. Icecast installed but winamp crashed on install a couple of times. I only got it to install by delselecting all the options. I then installed and configured oddcast and setup a playlist. Everything looks ok but the web browser could not find the mount point file of /stream.mp3 that i had specified in oddcast.

Checking the oddcast configuration in winamp i noticed it was constantly disconnecting and reconnecting. If winamp was stopped it connected but when the playlist was playing it kept timing out and trying to reconnect. Nothing seemed to solve the problem - i checked the config settings for everything against the working version. Then i copied the plugin directory from the working mininote and ran winamp again. An error message of libsnd.dll not found was displayed but the program ran and oddcast connected and the mp3 stream was ok. The web browser now connected and found the mount point. There was funny business with quicktime, the app associsted with the stream on the client - it would only play a few seconds and i could not get two clients to connect.

Saturday, October 4, 2008

Creating Audio CD's

Creating a regular CD from MPs

Sometimes you want to create a legacy cd from a collection of mp3 files - perhaps for someone who has only a cd player or for long trips in cars that have older equipment. Commercial programs like Roxio offer this capability so we were curious to know how easy it is to do under Ubuntu.

We fired up the Brasero disc burning program and selected Create an Audio Disc. We then dragged a bunch on MP3 files into the disc project. Each MP3 file took a little time to process but in a minute or so we were ready to burn.

We click BURN and it starts creating the audio disc.

One thing about this - since it is recreating cd audio from the mp3 lossy format the quality should vary depending on the amount of compression . A 128bit file should sound worse as an audio cd than a 256bit file. The test would be to burn the same file at different bit rates and compare. While audiophiles decry any loss of data as a horror, in fact it can, in some cases, improve the sound. Before CSNY 4 Way Street came out on CD, i had downloaded an mp3 version ripped from the vinyl from Napster. And frankly, after comparing the sound of the two - i preferred listening to the 'lower quality' mp3 as it was more 'listenable'. Not scientific to be sure but similar to hearing a song on the radio and liking it and then buying the CD and hating it. Compression does change the sound but not always for the worse...otherwise why do some people prefer vinyl records with their oddball compression schemes and restricted audio bandwidth?

Ah - cd is finished. Let's test it out...sounds fine to me - of course these speakers are little jbl's so lets move it on upstairs to the psb status goldi's and see how it sounds..

Update

Some pople package their audio into bin/cue files which can be a problem. So i installed the bchunk package which converts a CD image in a .bin/.cue format (sometimes .raw/.cue) into
a set of .iso and .cdr/.wav tracks. The .bin/.cue format is used by some non-UNIX CD-writing software, but is not supported on most other CD-writing programs. Hopefully, this solves the problem.

Wednesday, October 1, 2008

Open Source to the Rescue

Saved by firefox and Ubuntu

One of the dangers and annoyances of using windows is the ever present threat of viruses, malware, spyware and such junk. And I manage to get one every 6 months or so. This time i had to use IE for a web site and it managed to get a very clever virus on the machine. The trend av software can point to the DLL but can't remove it or quarantine it. And of course you can't remove it manually, even in safe mode command prompt. I couldn't even unregister the DLL. Removing most of the entries in the registry is easy but some keep coming back and i've combed through and can't find where it is hiding the re-entry point - it seems to have attached itself to windows logon, a process that can't be shut down without rebooting.

I can take the process out of the registry startup list and remove the notify entry from the windows NT logon entry but the thing keeps recreating helpers all over the place. Clever but evil.

I removed the machine from the network while it stews. Kind of funny to watch the anti virus software keep spinning and reporting i have a virus while suggesting i delete the file! dumb and dumber, and me dumb for paying $$$ for anti virus software in the first place...

Anyway this is not a disaster as all the files are not stored on the machine, just the OS - which can be re-installed (the usual xp fix). However, the most useful stuff these days is in the web browser but since i use firefox with the FEBE extension i just exported all my data out to a usb stick and brought it to the old compaq evo dual p3 machine that used to be a server. Restored the data to firefox and we are productive again.

However, the loss to time to windows folly is very annoying - if i did not have to keep a windows machine around for work-related tasks it would be gone immediately.

The solution to the very pesky virus was to pull the hard drive out of the machine, put in in a portable drive case and hook it to the Ubuntu machine. It mounted the NTFS partition on the desktop and i went in and deleted the offending .DLL that was attached to winlogon and then deleted the copies it placed in the system restore folders (which windows let it do - but would not let me delete) and deleted the files in placed in a .username hidden folder. Once everything was deleted i returned the drive to the original machine and restarted up in safe mode and ran regedit and deleted the last remaining entries.

Open Office Annoyances


Impress insert picture problem

While i mainly hate Microsoft Office 2007 for lots of good reasons such as the giant, non-movable menu that takes all the screen real estate and the fact that drop down menus obscure the content under them -but open office also has some annoying habits.

twitter = someone just told me to right click on the ribbon and it can be minimized. This point out the other problem with 2007 - 10 years of word knowledge down the drain...i used the program for an hour before discovering the 'office button' which looks like a decoration is in fact a control and can be clicked. The control has no affordance to indicate it can be clicked - you learn by trial and error with 2007.

The first Open Office annoyance was the default box around the page - so 1990's but easy to turn off once you know where.

Today i discovered that the default behaviour of Impress is to put a link to a graphic into the presentation. This may be done to keep down the size of the presentation but it is a HUGE inconvenience when you upload presentations to make them available as suddenly //gnickers/home/documents/presentations/sept 30/images/stock prices.jpg is not displayed in the presentation but only a link to a file that Impress cannot find. I had been inserting images from files and while this works on your computer it fails when you move the presentation to the classroom.

What i've been doing as a workaround is opening the image in the GIMP and doing a copy and paste into the Impress slide. This embeds the image so that the presentation works as you would expect.

At least powerpoint embeds the image in the presentation - ok it make the presentation 6 mb in size but that is a small one these days. Hell, people send 4mb e-mails without thinking.

The OO wiki notes "Also, with many large images, OpenOffice.org consumes more memory and may crash."

The setting probably can be changed. Let's see how easy it is to find...ah from the oo wiki the answer appears:

Notice in the Insert picture dialog the two checkboxes called Link and Preview. Their position is determined by the operating system, but they are normally in the bottom part of the dialog.

If Preview is checked a thumbnail of the selected image shows in the preview area on the right.

Select the Link checkbox to insert the picture as a link to the file rather than embedding the file itself. In general it is preferable to embed images so that the presentation can be copied to other computers, however on some occasions it makes sense to link the image rather than embed it:

  • When the image file is quite large (linking rather than embedding will dramatically reduce the size of the presentation file)
  • When the same image file is used in many presentations (for example when using the same background image for all the presentations created)
  • When the linked file will be available when loading the presentation (for example if the presentation is a slide show of holiday pictures)

Test

So we select Insert picture from a USB stick and in the dialog box are the two checkboxes and neither of them are checked so the default if you do nothing is to LINK. Personally, i think this is bad default choice. I select PREVIEW and it works. We unmount the USB and the picture is still there - whereas before just the URL would show.

Problem solved....Time for some tea

Latest annoyance is the Fonts menu display. Instead of just showing a list of fonts and what they look like it has a blue A and and up and down arrow at the start of each font which is really annoying. The question is why? Do they have some meaning? If i install some postscript type 1 fonts will they have s different prefix in the list - perhaps a blue P? Don't know but i would like to get rid of the blue letter and red arrows!

One