Martin Francis

Blog (hosted for free at Google)

Martin Francis - Web designer in Bristol


Saturday, 29 August 2009

HTML, hyperlinks and images - the basics.

When working in HTML for the first time the very first principle that was is the one of "containment" which means that content must have a tag in front and a tag and the end.

With this blog I have used examples of html code but left off the <> brackets that usually surround the code so that the code is not recognised by the blog text editor.

The next is what links the internet together which is the hyperlinks and these can be a "relative address" where you use the Anchor hyperlink reference or "a href" to go to a local directory and "absolute address" where you use the full hyper text transfer protocol (HTTP) address that you see entered in browsers.

Something that is in the book Heads first HTML & CSS was the terms "Parent" or "grandparent" folders when referring to relative linking.
If the parent folder is the folder that all the code and images are held then any page linking to another page within the parent folder does not need the full HTTP address in it's link.
For example A page would use the tag a href="bpage.html" (inside of <>) then the words describing the link such as "link to B page" then the closing tag /a inside <> brackets.
The full address of "B page" could be placed there after the ahref= but it is not necessary.

If there is another level folder the parent folder, can become the grandparent folder.
If you want to link a page that is held within the lowest level of folder (which you can call the parent folder) and you want to link to a page or image in a higher level folder (which you could call the grandparent folder) then you use the tag
a href="../apage.html" then the description, and then the closing tag.
And this is still addressing the file or page locally.

Useful for long scrolling text is the relative links that are links that point to the Anchor point that is at the top of the page.
You may have seen this this before where sometimes you see a "back to top" link. Of course you get this the other way with the Anchor points throughout the long page with the links to them at the top commonly used in FAQ pages.

Absolute addressing then is only necessary when you want to link to websites outside of the one you are currently looking at.
And so the full HTTP address is used but sometimes you don't want to have the reader/user leaving your website and just simply open a new window with the original window still open then you use:-

a target="_blank" href=http://www.etc etc etc.....

Without the attribute "target=_blank" the reader may leave your website and never come back!!

The next important principle while working on a web page is how your working environment should "mirror" whats on your public or server file.


And lastly a quick word on images.

1. that you should use the "alt" and dimension attributes because they are required for validation.
2. that you can dither a GIF so that you can give the appearance of a graduated colour without going to the generally large file sizes of JPEGS. Which could be handy for a vector diagram such as a company logo with a graduated tine or it could be used for a button or tab like the tab on the browser window a few inches about this text if you are using IE 7. But this is of limited use and JPEGs are still better for photo's.
3. Interlacing where the image appears out of focus and then gradually comes into focus as the page loads fully.

Anyway that's the basics.

Thursday, 27 August 2009

Broadcast Quality Video Sequence on the Web.

What are the technical considerations and typical workflow process involved in capturing, editing and exporting a broadcast-quality video sequence using a video editing software application like Adobe Premier Pro?

This sequence could equally apply to Final Cut Pro (Mac) or Pinnacle which are both excellent for editing video.
Having prepared a resource folder ready take in items for your project, the sort of raw files you may start with are:-
Video Clips - Flash SWF, AVI, MPEG 1&2, Quicktime, Windows Media WMV files.
Sound Clips - Audio AVI, MP3, Quicktime Audio, Windows Media WMA files.
Still Images - JPEG, TIFF, GIF, PSD, and even flm files.

You will also need a PC or mac with a fast processor, and large amount of hard drive space. Video projects are large while you are working on them, before they are finally compressed ready for broadcast on the web. Two monitors make thinks easier too. One with your resources and one with your constructed sequence.
Now launch Premier Pro, open a project folder and choose what sort of output format you will need for broadcasting. For example for television, (not HD) you will need to choose to output at 31Megabytes (MB) per second. Now you can see why you need the high end processing power!!
Next choosing the depending on the country of broadcast you may choose Phase Alternating Line (PAL) or National Television System Commitee (NTSC) which for colour TV is 720 x 576 pixels and 720 x 480 pixels. The 31MB per second comes from multiplying the number of pixels by the frame rate (frames per second - fps).

PAL = 720 x 576 x 3 (RGB) x 25 fps = 31MB/s
NTSC = 720 x 480 x 3 (RGB) x 30 fps = 31MB/s

Where RGB stands for Red, Green, and Blue, one pixel for each colour.

This may seem overkill to talk about TV broadcast quality but broadband speeds are getting faster all the time plus it is better to have a really qood quality version of your finished sequence that can always be compressed to match the broadcast medium later.

Now at this point you can click OK and start your project proper.

Bring in any resource files to the project folder which is on the far left of the Premier Pro inferface. You can then preview any of these files by dragging and dropping them into the source screen.
Using the scrub wheel you can easily find the points you need to mark. Marking the start and finish of the segment you want with "outpoint" which look like curly brackets. Then simply drag and drop the segment to the timeline which appears at the bottom of the Premier Pro application.
Repeat this adding the segments to the timeline while previewing what is on the timeline in the sequence screen.
You can also do more accurate editing using the timeline.
Audio is added to it's own timeline and can be edited in Adobe Soundbooth.
Premier Pro has a long list of transitions and effects that can be added to your sequence. For titles, and credits etc it is best to switch over to Adobe After Effects. This is done seemlessly from Premier Pro.
And finally when finished the sequence can be compressed or flattened ready for broadcast. At no point were the original resource files edited or erased.