Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
mplayer [2013/06/28 14:57]
beandog
mplayer [2013/06/28 15:48]
beandog
Line 13: Line 13:
 </​code>​ </​code>​
  
-=== AC3 through SPDIF ===+=== Dolby Digital (AC3through SPDIF ===
  
 Send audio through the SPDIF device to the audio receiver Send audio through the SPDIF device to the audio receiver
Line 20: Line 20:
 mplayer movie.mkv -ao alsa:​device=spdif -ac hwac3 mplayer movie.mkv -ao alsa:​device=spdif -ac hwac3
 </​code>​ </​code>​
 +
 +=== PAL playback ===
 +
 +For movies with the wrong aspect (PAL), that should be flat but show up 
 +in 4/3 try this:
 +
 +<​code>​
 +mplayer airborne.vob -monitoraspect 1.00
 +</​code>​
 +
 +That should straighten it out. :)
 +
 +Also, sometimes mplayer <​nowiki>​dvd://</​nowiki>​ will play them correctly.
  
 === archives: ~/​.mplayer/​config === === archives: ~/​.mplayer/​config ===
Line 472: Line 485:
 </​cmdlist>​ </​cmdlist>​
  
 +</​code>​
 +
 +=== archives: mplayer notes ===
 +
 +** Rip embedded media **
 +
 +<​code>​
 +mplayer -dumpstream -dumpfile matrix.mov http://​embed.site.com/​movie.mov
 +mplayer -dumpaudio -dumpfile radio.mp3 http://​webradio.com/​radio.mp3
 +</​code>​
 +
 +** Rip Realplayer movies **
 +
 +<​code>​mencoder -ovc lavc -lavcopts vcodec=mpeg4 -oac mp3lame -o filename.avi http://​url.to.streaming.video</​code>​
 +
 +** Capture a few frames for a screenshot **
 +
 +<​code>​mplayer dvd:// -vo jpeg -ss 90 -frames 30 -ao null</​code>​
 +
 +** List options **
 +
 +<​code>​mplayer -list-options</​code>​
 +
 +** Screenshot **
 +
 +Works for MPEG2
 +
 +<​code>​mplayer movie.mpg -noframedrop -ss 360 -vo jpeg:​quality=50 -frames 2 -nosound -vc ffmpeg12</​code>​
 +
 +** -playing-msg **
 +
 +<​code>​
 +Not really sure where you would use this, but getting it to work was a 
 +bit tricky:
 +
 +mplayer /​var/​media/​101._The_Force_Phantom.mkv -nosound -quiet ​
 +-playing-msg \$\{filename\}\\n -vo null
 +
 +prints out the filename and then a line break
 +</​code>​
 +
 +** Print out options **
 +
 +<​code>​
 +mplayer −list−options <command line>
 +mplayer -input cmdlist <​slave>​
 +mplayer -input keylist <​events>​
 +</​code>​
 +
 +** Display MKV title **
 +
 +<​code>​
 +osd_show_property_text "​${metadata/​title}"​ 2400
 </​code>​ </​code>​

Navigation