{"id":155,"date":"2007-09-21T19:10:50","date_gmt":"2007-09-22T00:10:50","guid":{"rendered":"http:\/\/www.summet.com\/blog\/2007\/09\/21\/saving-a-mms-streaming-video-to-a-file-using-mencoder\/"},"modified":"2007-09-21T19:17:52","modified_gmt":"2007-09-22T00:17:52","slug":"saving-a-mms-streaming-video-to-a-file-using-mencoder","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2007\/09\/21\/saving-a-mms-streaming-video-to-a-file-using-mencoder\/","title":{"rendered":"Saving a mms streaming video to a file using mencoder"},"content":{"rendered":"<p>Copying a streaming video to a file using mencoder.<\/p>\n<p>I wanted to watch Randy Pausch&#39;s last lecture on my home media PC as opposed to my laptop. It has MythTV, which can be used to watch any file on the hard disk. Unfortunately, you can&#39;t just download the a file, as his lecture is hosted by a streaming server. The specific URL is:<\/p>\n<p><a href=\"mms:\/\/wms.andrew.cmu.edu\/001\/pausch.wmv\">mms:\/\/wms.andrew.cmu.edu\/001\/pausch.wmv<\/a> &nbsp;<\/p>\n<p>wget won&#39;t work, so I had to use mencoder to download the stream and copy it to a file on my hard disk. The command line I used was:<\/p>\n<pre><strong>&nbsp;<\/strong><em>mencoder <span class=\"moz-txt-link-freetext\">mms:\/\/wms.andrew.cmu.edu\/001\/pausch.wmv<\/span><span class=\"moz-txt-link-freetext\"> -o randy.wmv -oac copy -ovc copy<\/span><\/em><\/pre>\n<p> (The -oac and -ovc are the output audio and video codec specfiers, and I have set it to just copy. If you would prefer the file be transcoded to a different format, you could specify a specific codec (xvid with ogg vorbis sound, for example) and mencoder would transcode the file (possibly losing some quality) at the same time. <\/p>\n<pre>&nbsp;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Copying a streaming video to a file using mencoder. I wanted to watch Randy Pausch&#39;s last lecture on my home media PC as opposed to my laptop. It has MythTV, which can be used to watch any file on the &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2007\/09\/21\/saving-a-mms-streaming-video-to-a-file-using-mencoder\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}