Multimedia
My favorite music player is now Foobar 2000. Some extensions I like:
Other good choices:
Winamp is easier to use. Foobar has better quality out of the box ; unless one uses libMAD or Ffdshow. MAD is one of the best MPEG audio decoder, the only one having an error rate under 10-7 (neither Foobar nor Ffdshow are compared on this list unfortunately).
"C:\Program Files\MPlayer\mplayer.exe" -vc dummy -vo null -ao pcm stream.dump %1 %2 %3 %4 %5
lame -b 192 -B 224 -F -h -V 0 audiodump.wav audiodump.mp3
Windows - Ffdshow
In FFDShow audio properties, open the mixer properties, and switch on headphone output and HRTF.
Or: use NVidia Purevideo audio decoder or PowerDVD filters. Or buy a X-Fi soundcard which supports CSS3D-Heaphones.
Also other sound cards like Nforce and Realtek SoundMAX also have 3d sound emulation on headphones. Set your headphone configuration as 5.1 in Windows, and as headphones in the soundcard tools or drivers.
Linux - Mplayer
mplayer -channels 6 -af lavcresample=48000,hrtf
Official documentation
Hardware acceleration on GeForce 6200/6600/6800/7300/7600/7800/7900
Create the file /usr/X11R6/lib/XVMCConfig and put int the following line: /usr/lib/libXvMCNVIDIA_dynamic.so.1
To see a video in mpeg2 format (dvd, .mpg or .ts file):
mplayer -vo xvmc -vc ffmpeg12mc file.mpg
Xine
xine --post unsharp:luma_matrix_width = 3, luma_matrix_height = 3, luma_amount =2.0, chroma_matrix_width = 3, chroma_matrix_height = 3, chroma_amount =2.0
Also see contextual menu/Video/Post-effect/Reaction.
Xine pros: graphical GUI, quite complete.
Xine cons: cannot read DVDs which are CSS-protected.
Mplayer
mplayer -vf unsharp=l3x3:1.5:c3x3:1.5 Video.avi
It can read almost any videos. But it's command line-based, and GUI usually are quite poor.
Useful keys:
- Left/Right, Up/Down, PgUp/Down: forward/backward by a few seconds, minutes, several minutes
- v, j: activate and setup subtitles
- Space: pause
- q: quit
- f: fullscreen
- o: Onscreen display (none, user actions, always display time)
- a: subtitle position
- Shift+T: on top of other applicaitons
Permanent link
Conversion de vidéos en FLV for a web site
Use the following command line (change 420:236 for the desired resolution, and alter the bitrate for more quality, here 1536):
mencoder -forceidx \
-vf unsharp=l3x3:1.5:c3x3:1.5 \
-vf scale=420:236 \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \
-of lavf -ffourcc FLV1 \
-oac mp3lame -lameopts abr:br=56 -srate 22050 \
-ovc lavc \
-lavcopts vcodec=flv:vbitrate=1536:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
-o out.flv in.avi