{"id":299,"date":"2009-07-29T13:12:01","date_gmt":"2009-07-29T12:12:01","guid":{"rendered":"http:\/\/www.codingfriends.com\/?p=299"},"modified":"2009-07-29T13:25:20","modified_gmt":"2009-07-29T12:25:20","slug":"how-to-convert-dvd-to-avi","status":"publish","type":"post","link":"https:\/\/www.codingfriends.com\/index.php\/2009\/07\/29\/how-to-convert-dvd-to-avi\/","title":{"rendered":"How to convert DVD to AVI"},"content":{"rendered":"<p>The program required to change a DVD to AVI format is called &#8220;transcode&#8221;, below is a link to the homesite and also a link to any rpm&#8217;s that have been build and lurking on the <a href=\"www.rpmfind.org\" title=\"Link to RPM-FIND\">RPM-FIND<\/a><\/p>\n<ul>\n<li><a href=\"http:\/\/www.theorie.physik.uni-goettingen.de\/~ostreich\/transcode\/\" title=\"Transcode source\" target=\"_blank\">Transcode<\/a> (RPM-FIND <a href=\"http:\/\/rpmfind.net\/linux\/rpm2html\/search.php?query=transcode\" title=\"rpmfind transcode\" target=\"_blank\">results<\/a>)<\/li>\n<\/ul>\n<p>Usually the first block of the DVD is the whole, or if not a big part, of the movie thus would be better to do a test run on the second block.  The second block is tested by using the &#8220;-T 2&#8221; parameter. To ascertain the bitrate\/information from the DVD for the conversion the command line is ( I am assuming that the DVD in mounted on \/dev\/dvd)<\/p>\n<pre class=\"consoleoutput\">     \r\ntccat -t dvd -T 2,-1 -i \/dev\/dvd | tcextract -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm\r\n<\/pre>\n<p>tccat parameter&#8217;s<\/p>\n<ul>\n<li>-t Type of input<\/li>\n<li>-T Title\/chapter<\/li>\n<li>-i Input device<\/li>\n<\/ul>\n<p>tcextract parameter&#8217;s<\/p>\n<ul>\n<li>-x Codec<\/li>\n<li>-t Source file format (vod = mpeg stream)<\/li>\n<\/ul>\n<p>tcdecode parameter&#8217;s<\/p>\n<ul>\n<li>-x Codec<\/li>\n<\/ul>\n<p>tscan parameter<\/p>\n<ul>\n<li>-x Codec<\/li>\n<\/ul>\n<p>The tccat program places the dvd media onto the standard output for the 4 pipping command line.  The tcextract extracts from the standard output (the output from tccat) and extracts\/demultiplex the stream and places the output back onto the standard output for the tcdecode program.  The tcdeocde converts the output<br \/>\nfrom the tcextract pipe into the raw format for the tcscan program to display the different aspects of the output stream and displays the results on the standard output(the console).<br \/>\nThe tcscan program displays information about the video and also the audio. The audio information includes the audio gain that is required for the conversion so that the audio is not to low\/loud :).<\/p>\n<p>To run a conversion test on the second block (&#8220;-T 2&#8221;) for converting into the divx5 format and also testing the audio gain, the audio gain from the above tcscan is placed into the parameter &#8220;-s&#8221;. <\/p>\n<pre class=\"consoleoutput\">\r\ntranscode -i\/dev\/dvd -x dvd -T 2,-1 -V -B 1,0 -Y 76,8 -s 2.340 -t 83920,dvd1 -y divx5 -w 1618 \r\n<\/pre>\n<p>and then finally the film<\/p>\n<pre class=\"consoleoutput\">\r\ntranscode -i\/dev\/dvd -x dvd -T 1,-1 -V -B 1,0 -Y 76,8 -s 2.340 -t 83920,dvd1 -y divx5 -w 1618\r\n<\/pre>\n<p>transcode parameter&#8217;s\n<\/p>\n<ul>\n<li>-i Input device<\/li>\n<li>-x Video input module<\/li>\n<li>-T Title\/Chapter<\/li>\n<li>-V YUV internal encoding<\/li>\n<li>-B resize n,m,M (M = 8,16,32) height = n * M, width = m * M<\/li>\n<li>-Y Select encoder clipping border<\/li>\n<li>-s Audio gain<\/li>\n<li>-t (n,base) Split the outputted film into frames (n) with base name (base)<\/li>\n<li>-y Video export module<\/li>\n<li>-w Encode bitrate<\/li>\n<\/ul>\n<p>Hope that helps, and this also servers as a reminder to me \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The program required to change a DVD to AVI format is called &#8220;transcode&#8221;, below is a link to the homesite and also a link to any rpm&#8217;s that have been build and lurking on the RPM-FIND Transcode (RPM-FIND results) Usually the first block of the DVD is the whole, or if not a big part, &hellip; <a href=\"https:\/\/www.codingfriends.com\/index.php\/2009\/07\/29\/how-to-convert-dvd-to-avi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to convert DVD to AVI<\/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":[32],"tags":[34,33,398],"class_list":["post-299","post","type-post","status-publish","format-standard","hentry","category-video","tag-avi","tag-dvd","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":6,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"predecessor-version":[{"id":311,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/299\/revisions\/311"}],"wp:attachment":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}