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
mplayer [2013/06/28 15:00]
beandog
mplayer [2013/06/28 15:58] (current)
beandog
Line 4: Line 4:
  
   * [[mplayer helper scripts]]   * [[mplayer helper scripts]]
 +  * [[mplayer slave protocol]]
  
 === blu-ray === === blu-ray ===
Line 32: Line 33:
 That should straighten it out. :) That should straighten it out. :)
  
-Also, sometimes mplayer dvd:// will play them correctly.+Also, sometimes mplayer ​<​nowiki>​dvd://</​nowiki> ​will play them correctly.
  
 === archives: ~/​.mplayer/​config === === archives: ~/​.mplayer/​config ===
Line 485: Line 486:
 </​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