Skip navigation

I helped a customer with a Windows XP computer who purchased a brand new HP Deskjet 2542 to get his printer (which says on the box that it supports XP!) to work. The first printer I had him take back due to it not printing any documents at all and the alignment page missing many lines of information. The second printer would print an alignment page but would not print ANY documents, not even a printer test page. Here’s what I initially tried to get it to work:

  1. Updating the printer firmware
  2. Changing the USB cable
  3. Changing from USB to wireless connectivity
  4. Changing the network connectivity from JetDirect RAW on port 9100 to IPP
  5. Updating the driver from the provided CD to the latest driver from HP
  6. Changing the print processor from “XPS_EP -> RAW” to “WinPrint -> RAW”
  7. Trying random HP printer drivers that come with Windows XP
  8. An uneventful exorcism

Nothing worked until I tried the HP PSC 950 driver. After installing the printer, I brought up its properties, then used the “New Driver” button on the Advanced tab to switch the printer driver. The HP management software works regardless of the actual printer driver selected and the HP PSC 950 driver prints consistently. It’s sad that HP’s own drivers don’t work but a random old HP printer driver that probably shouldn’t work does the job.

I have used the excellent SaveTube script for Greasemonkey for quite some time. It lets you download video files from popular video sharing sites and it does a fantastic job. One of the flaws that has existed for quite some time is that SaveTube can only obtain working video/audio files for lower quality levels because of the MPEG DASH formatting done to make changing the resolution on-the-fly function properly.

It’s not SaveTube’s fault, however I have wanted to pull full-quality videos from YouTube for a long time, so I contacted SaveTube’s creater “isebaro” about it. He produced this test userscript which creates a right-clickable link for downloading the DASH streams, enabling me to pull the maximum quality video/audio streams and store them. Choose a very-high-quality stream, right-click, save link as, and rename “videoplayback.mp4″ to something more relevant.mp4!

One problem remains: the video and audio streams are separate files. We’ll use the most awesome media splicing program on the planet, ffmpeg, to merge the streams. On Linux you can use your package manager to obtain ffmpeg; for Windows and the link provided, get the “static” version that matches your OS (32/64 bit) and extract the ffmpeg.exe binary, then copy it into the C:\Windows folder (so you can run it from anywhere). ffmpeg runs within a Command Prompt or a Linux terminal.

I already had a copy of the lower quality video with the audio stream, so I used that. Here’s what you type to do the audio/video merge:

ffmpeg -vn -i “Audio stream source.mp4″ -an -i “Video stream source.mp4″ -vcodec copy -acodec copy “Awesome 1080p Video.mp4″

The switches are as follows. -vn means “don’t use video from this file” and -an means “don’t use audio from this file.” -i indicates an input file and must come AFTER the options that directly apply to that input file. “-{a,v}codec copy” tells ffmpeg not to decompress and recompress the streams, but to do a direct copy of them without further processing (you DO NOT want to recompress streams, I promise!)

Once you’ve merged the streams and verified the new video file works properly (seek around to check for A/V sync issues), feel free to delete the original stream files.

That is all.


Get every new post delivered to your Inbox.

Join 66 other followers

%d bloggers like this: