Category Archives: Multimedia

PHPHOST BLOG

Web Hosting Related Articles You May Need

Record your Linux desktop from the command line

If you do not wish to install a dedicated application for recording your desktop, you can do it with this one-liner:
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /home/user/out.mpg
All you need is have ffmpeg already installed (and most systems do). … Continue reading

Posted in cli, Multimedia, Syndicated | Comments Off on Record your Linux desktop from the command line

Linux and website design

So you want to develop your website using Linux and you?re not sure if you’ll find the right tools you might need. Don’t worry, this article will get you rolling in no time.
There’s not such a large array of tools available for Linux website development, but the ones already here are doing a good job […] Continue reading

Posted in Applications, Multimedia, Syndicated | Comments Off on Linux and website design

Record Live Radio using only Mplayer

Did you know that you only need MPlayer to record a live radio station? Use
mplayer http://ip:port/ -ao pcm:file=radio.wav  -vo null -vc null
to dump a radio.wav file of the audio stream. You can later convert it to MP3 using LAME or Audacity. Continue reading

Posted in Multimedia, networking, Syndicated | Comments Off on Record Live Radio using only Mplayer

Use MPlayer to record live streams from the Internet

All you need to record a live stream from the web is MPlayer. Use the -dumpstream argument to capture a MMS, ASF or Live WMV stream to a file called stream.dump. For example:
mplayer -dumpstream mmsh://streamer3.carnation.hu/mtvonlinem2?MSWMExt=.asf
wi… Continue reading

Posted in Applications, Multimedia, networking, Syndicated | Comments Off on Use MPlayer to record live streams from the Internet

Remove DRM from Amazon Kindle’s ebooks using Linux

When you buy an ebook using your Kindle, there’s a 99% chance it’s a DRM file. That means you won’t be able to read it anywhere else but on your Kindle. And we won’t accept that. To be able to convert that file and remove its DRM protection, you need a set of Python scripts […] Continue reading

Posted in cli, Multimedia, Security, Syndicated | Comments Off on Remove DRM from Amazon Kindle’s ebooks using Linux

Convert eBooks in Linux

Say you just bought an Amazon Kindle or a Barnes and Noble Nook. You want to convert your eBook collection to .EPUB or .MOBI format. For this, install Calibre. The application not only provides you with a graphical way to manage your eBook collection, but also comes with a set of useful command-line tools. One […] Continue reading

Posted in cli, convert, ebook, eink, epub, file, files, Multimedia, pdf, Syndicated | Comments Off on Convert eBooks in Linux

Batch resize images using the command line in Linux

If you have a ton of images that need resizing, you can do it all with the imagemagick package:cd /home/user/imagesmkdir resized_imagescp /home/user/images/* /home/user/images/resized_images
Now that you have a copy of the files in resized_images, time to resize them all:
mogrify -resize 800 *.jpg
This will resize them all to a width of 800px while keeping the aspect ratio. […] Continue reading

Posted in cli, Multimedia, Syndicated | Comments Off on Batch resize images using the command line in Linux

Play videos packed in RAR without extracting them in Linux

Most DivX/XviD movies you download from Torrent sites are packed in multiple RAR archives. It takes some time for each to extract. If you don;t want to wait, you can use VLC and unrar to play the file within instantly. You won’t be able to rewind and move fast forward within the file, but you’ll […] Continue reading

Posted in Applications, files, movie, Multimedia, RAR, Syndicated, unrar, video, VLC | Comments Off on Play videos packed in RAR without extracting them in Linux

Enable Flash support in Google Chrome for Linux

If you want to have Flash support in Google Crome, the Linux version, you can enable it like this:Make a plugins directory in the Google Chrome folder
sudo mkdir /opt/google/chrome/pluginscd to it
cd /opt/google/chrome/pluginsmake a link from Firefox’s Flash Player plugin into the newly created folder
sudo ln -s ~/.mozilla/plugins/libflashplayer.so
Now launch the browser with this command:
google-chrome –enable-plugins

Continue reading

Posted in Applications, firefox, Flash, Google, Google Chrome, Multimedia, Syndicated | Comments Off on Enable Flash support in Google Chrome for Linux

Make MPlayer play h264 video files faster on multicore machines

You can make MPlayer play h264-encoded video files a lot faster on multicore machines if you graft some libraries from the ffmpeg-mt project into the resulting mplayer binary. We need to recompile for this. First, use Subversion to download the code for MPlayer:
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
Then the code for ff-mpeg
svn co svn://svn.mplayerhq.hu/mplayer/trunk ffmpeg-mt
Remove the old […] Continue reading

Posted in Applications, cli, ff-mpeg, ffmpeg, files, MPlayer, Multimedia, Syndicated, video | Comments Off on Make MPlayer play h264 video files faster on multicore machines