Tag Archives: Multimedia

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ā€¦ Read More »

Convert YouTube FLV files in Linux

If you downloaded a Flash FLV file and want to convert it to an audio or video file, do the following: For audio: ffmpeg -i input.flv -ar 44100 -ab 160 -ac 2 output.mp3 For video: ffmpeg -i input.flv -s 352×288 -b 512 -ab 128 output.mpg 

Find more about your multimedia files

This is a nice trick to easily access information about your multimedia files. Install the mplayer package then add the following to your ~/.bashrc file: idmedia(){ mplayer -identify -frames 0 -ao null -vo null -vc dummy “$@” 2>/dev/null | grep ID_ } Now run it like idmedia file.mp3 (this tip was sent in by lockw3)