One of the first things a Linux user needs to understand is the /tmp directory.
This directory contains mostly files that are required temporarily. Many programs use this to create lock files and for temporary storage of data. Usually it doesn't contain more than a few KB of data at any one time as on most systems, this directory is cleared out at boot or at shut down by the local system. The basis for this was historical precedent and common practice. However, it was not made a requirement because system administration is not within the scope of the FSSTND. For this reason people and programs must not assume that any files or directories in /tmp are preserved between invocations of the program. The reasoning behind this is for compliance with IEEE standard P1003.2 (POSIX, part 2).
So one would then assume that as a flash player is being downloaded by your Internet browser it is being stored within this /tmp directory, which it is. If you go to a site with the video that you want to download and wait for the video to fully load you will find this video inside the /tmp directory.
From there on you may simply copy and paste the file to where ever you want and if you have ffmpeg installed, you can easily convert these files to what ever you want.
This directory contains mostly files that are required temporarily. Many programs use this to create lock files and for temporary storage of data. Usually it doesn't contain more than a few KB of data at any one time as on most systems, this directory is cleared out at boot or at shut down by the local system. The basis for this was historical precedent and common practice. However, it was not made a requirement because system administration is not within the scope of the FSSTND. For this reason people and programs must not assume that any files or directories in /tmp are preserved between invocations of the program. The reasoning behind this is for compliance with IEEE standard P1003.2 (POSIX, part 2).
From there on you may simply copy and paste the file to where ever you want and if you have ffmpeg installed, you can easily convert these files to what ever you want.
NOTE: ffmpeg and libavcodec-unstripped-52 needed in order for this How To:
...@her###:~$ sudo aptitude install ffmpeg libavcodec-unstripped-52
ffmpeg has a few options however none are more important the the few used below, i (inputfile), ar (sample rate; a sample rate of 44.1 kHz is almost always used, because this is also used for CD audio, the main source used for creating MP3 files), ab (audio bitrate; as Internet bandwidth availability and hard drive sizes have increased, higher bit rates like 160 and 192 kbit/s have increased in popularity) and ac (audio channels).
...@her###:~$ ffmpeg -i flashvideo -ar 44100 -ab 160k -ac 2 output.mp3
No comments:
Post a Comment