Difference between revisions of "Digital Video"

From Eugene Eric Kim
Eekim>Adsl-69-230-193-38.dsl.irvnca.pacbell.net
Eekim>Adsl-71-146-140-195.dsl.pltn13.sbcglobal.net
Line 41: Line 41:


(You can use 320x180 plus -padtop 30 and -padbottom 30 for 16:9 aspect ratio content. For mid-quality bitrates, use 350; for low-quality, use 250.) {nid N33}
(You can use 320x180 plus -padtop 30 and -padbottom 30 for 16:9 aspect ratio content. For mid-quality bitrates, use 350; for low-quality, use 250.) {nid N33}
== Handbrake {nid N3I} ==
I use a [http://handbrake.fr/ Handbrake] [http://iaudiophile.net/forums/archive/index.php/t-17525.html script] to rip movies directly to Cowon format. I'm considering playing with [http://forum.handbrake.fr/viewtopic.php?f=7&t=7095#p39935 other parameters]. {nid N3J}

Revision as of 06:09, 21 January 2009

I'm starting to deal with DigitalVideo much more, what with video from my camera, MythTV, my DVD collection, and my Cowon D2. Here are my notes on codecs, conversions, and the like. {nid N2T}

Cowon D2 {nid N2U}

The D2 plays the following video format: {nid N2V}

{{{

 AVI
 - XviD
 - 320x240
 - 30 fps
 - VBR 50
 MP3
 - 128 kbps {nid N2W}

}}}

Windows Media Player does not have the XviD codec by default, so you need to install it separately. {nid N2X}

ffmpeg settings: {nid N2Y}

Example 1: {nid N2Z}

{{{ ffmpeg -i INPUT -s 320x240 -vcodec mpeg4 -vtag XVID -b 500kb -mbd rd

      -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -r 29.97 -acodec mp3
      -ab 128 -ac 2 -async 1 OUTPUT.avi {nid N30}

}}}

Example 2: {nid N31}

{{{ ffmpeg -i INPUT -pass 1 -s 320x240 -vcodec mpeg4 -vtag XVID -b 500kb -mbd rd

      -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -acodec copy null.avi
      -threads 2

ffmpeg -i INPUT -pass 2 -s 320x240 -vcodec mpeg4 -vtag XVID -b 500kb -mbd rd

      -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -acodec mp3 -ab 128
      -ac 2 -async 1 OUTPUT.avi -threads 2 {nid N32}

}}}

(You can use 320x180 plus -padtop 30 and -padbottom 30 for 16:9 aspect ratio content. For mid-quality bitrates, use 350; for low-quality, use 250.) {nid N33}

Handbrake {nid N3I}

I use a Handbrake script to rip movies directly to Cowon format. I'm considering playing with other parameters. {nid N3J}