Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Saving iTunes4 videos Apps
Here's how to save iTunes4 videos even though the playback bar is missing the little downward dongle with the Save As menu item.

Unix Geek way:
  1. Launch Terminal
  2. Type cd /private/tmp
  3. Type ls, and look for a numbered directory. Mine is 501.
  4. cd into that numbered directory
  5. Type cd Temp*; this puts you into the Temporary Items folder
  6. Type ls and look for files named QTPluginTemp with numbers after the word.
  7. Copy this file to the desktop. Wait for it to appear.
  8. Rename from the desktop with a .mov extension. Confirm.
  9. Launch in QuickTime
Non Unix Geek way:
  1. Command-F from Finder
  2. Add criteria: Visibility. Set to All
  3. Search for File Name contains QTPluginTemp
  4. Select the file
  5. At the bottom part with the folders, double-click Temporary Items to open the folder
  6. Drag a copy to the desktop.
  7. Rename with a .mov extension. Confirm that you want to add the extension.
  8. Launch in QuickTime
Extra hint: do the search *while* the video is downloading.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[13,181 views]  

Saving iTunes4 videos | 12 comments | Create New Account
Click here to return to the 'Saving iTunes4 videos' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Saving iTunes4 videos
Authored by: peednas on May 05, '03 01:33:08PM

Wow! I never even noticed the ability to watch videos for some of the artists till I saw this post. iTunes just keeps getting better and better!!!!



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: baronenz on May 06, '03 01:15:12AM

im wondering on how to see the these videos since i have yet to find the
button/mnu in itunes wich makes me se the videos at all i might just be
blind im not sure....



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: MostlyHarmless on May 05, '03 02:26:15PM

Many moons ago I wrote a very spiffy (IMO) little Perl script
for snagging those temporary QT files:

--- cut ---
#!/usr/bin/perl -w

$uid = qx(id -u); chop $uid;
$tmpdir = "/tmp/$uid/Temporary Items/";
$outdir = glob ("~/Movies/");

opendir(DIR, "$tmpdir") or die "Can't open $tmpdir: $!";
@files = grep { /^QT/ && -f "$tmpdir/$_" } readdir(DIR);
closedir DIR;

foreach $file (@files) {

$size = (stat("$tmpdir/$file"))[7]/1024/1024;
printf ("\nFound: %s, %5.2f MB\n", $file, $size);

print ("New name? ");
$name = <STDIN>; chop $name;
$name = "${name}.mov" unless grep {/.mov$/} "$name";

print ("\nMoving $file to ${outdir}$name\n\n");
rename "${tmpdir}$file", "${outdir}$name" or die "Can't
move file: $!";
}
--- cut ---
(that last line "can't move file" isn't supposed to wrap...)

Save that file (with Unix linefeeds) into /usr/local/bin/ and
make it executable (chmod 755 ...).

When you run it it will list all the QT temp files and let you
rename them before it moves them to your Movies
directory.



[ Reply to This | # ]
Saving iTunes4 videos - Safari version
Authored by: haighy on May 08, '03 04:18:22PM

Spiffy indeed. I tried this one out, but it failed silently. Upon
further investigation, it seems as though Safari saves its
temporary QuickTime movies with the prefix
'SafariPlugInStream' in the directory /tmp (i.e. no user id). I
guess MostlyHarmless isn't using Safari...in any case, here's a
modified version for Safari users. Same treatment as above
(and thanks to MostlyHarmless for the original script).

#!/usr/bin/perl -w
# Safari version

$tmpdir = "/tmp/";
$outdir = glob ("~/Movies/");
$ignorefilesunder = 100; # ignore files under this size (KB)

opendir(DIR, "$tmpdir") or die "Can't open $tmpdir: $!";
@files = grep { /^SafariPlugInStream\./ && -f "$tmpdir/$_" }
readdir(DIR);
closedir DIR;

foreach $file (@files) {

next unless ((stat("$tmpdir/$file"))[7] > 1024 *
$ignorefilesunder);
$size = (stat("$tmpdir/$file"))[7]/1024/1024;
printf ("\nFound: %s, %5.2f MB\n", $file, $size);

print ("New name? ");
$name = ; chop $name;
$name = "${name}.mov" unless grep {/.mov$/}
"$name";

print ("\nMoving $file to ${outdir}$name\n\n");
rename "${tmpdir}$file", "${outdir}$name" or die "Can't
move file: $!";
}



[ Reply to This | # ]
Saving iTunes4 videos - Safari version
Authored by: haighy on May 08, '03 04:35:40PM

Oh dear, seems as though the escaped characters in the original
have become unescaped. Sorry about that. It applies to the
newline characters (e.g. "nFound" should be "\nFound") and to
the period in the regexp. Just let me know if you'd like me to
send a copy or repost it...otherwise I'll just be brushing up on
my macosxhints-comments quoting rules...



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: DriverDan on Jul 24, '03 09:09:40PM

I tried the non-geek method a month or so ago, and it worked fine. Now, it no longer works. Did Apple change things so this doesn't work anymore, or am I stupid? (of course both might be true.)



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: jiclark on Jul 25, '03 01:40:59AM

Still works here... And very cool indeed!

---



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: PhilMathon on Nov 30, '03 07:51:01AM

To save any QuickTime video, one can also type the following in the terminal (after the video has been played):

cp /tmp/501/Temporary\ Items/QT* ~/Desktop/newmovie.mov

Change the UID number if yours is not 501.



[ Reply to This | # ]
Saving iTunes4 videos on *WINDOWS* plattform ???
Authored by: paxson on Jul 07, '04 06:31:23AM

hi,

has anybody ever been able to extract/copy itunes4 videos on a *windows* plattform ? how can this be done ?

i' am sure i have fount the spot were the video is stored on the harddrive (c:\documents settings\my_username\local settings\temp\IDHxx.tmp

but I can't copy/move the file or even play it with quicktime/vlc/zoom player/windows media player...

can anybody help please ?!?
cheers
paxson
paxson69@hotmail.com



[ Reply to This | # ]
Saving iTunes4 videos
Authored by: jmonkie on May 20, '04 05:44:47AM

hey, does this perlscript work for windows too or still just mac?

I want to use this on my laptop...but not sure where and what to code it as.

thanks.



[ Reply to This | # ]
Saving iTunes4 videos on *WINDOWS* plattform ?
Authored by: paxson on Jul 07, '04 06:33:34AM

hi,

has anybody ever been able to extract/copy itunes4 videos on a *windows* plattform ? how can this be done ?

i' am sure i have fount the spot were the video is stored on the harddrive (c:\documents settings\my_username\local settings\temp\IDHxx.tmp

but I can't copy/move the file or even play it with quicktime/vlc/zoom player/windows media player...

can anybody help please ?!?
cheers
paxson
paxson69@hotmail.com



[ Reply to This | # ]
Saving iTunes4 videos on windows
Authored by: paxson on Jul 08, '04 03:01:07AM

Hi All,

I found a way to do it (it is not very nice though, but it works on windows !!!):

*you wait until the movie is loaded in itunes4 complete
*DONT CLOSE the program
*the video can be found in:
c:\document and settings\your_username\local settings\temp\IDHxx.tmp...(xx - can change)
*remove the power cord - thats right !!! it is a "hard" turn off
- if you try to shut down the computer, or "kill" the itunes or explorer process. then the IDHxx.tmp file will be deleted as well !!!
*if you restart your computer again, you will find the file in the specified directory
*now you can copy/rename it to xxxxx.mov - and play it in quicktime/vlc/....

I know it's an ugly trick, but I can't remove the filehandle from itunes in the IDHxx.tmp file, without the IDHxx.tmp file being deleted instantly/at the same time...

cheers
christian



[ Reply to This | # ]