Difference between revisions of "Digital Video"
From Eugene Eric Kim
Eekim>Adsl-69-230-193-38.dsl.irvnca.pacbell.net |
m (5 revisions: Importing pages from old eekim.com PurpleWiki) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
I'm starting to deal with | I'm starting to deal with [[Digital Video]] much more, what with video from my camera, [[Myth T V]], my DVD collection, and my Cowon D2. Here are my notes on codecs, conversions, and the like. | ||
= Cowon D2 | == Cowon D2 == | ||
The D2 plays the following video format: | The D2 plays the following video format: | ||
<pre> AVI | |||
- [[Xvi D]] | |||
- | |||
- 320x240 | - 320x240 | ||
- 30 fps | - 30 fps | ||
Line 13: | Line 12: | ||
MP3 | MP3 | ||
- 128 kbps | - 128 kbps</pre> | ||
Windows Media Player does not have the [http://www.xvidmovies.com/codec/ XviD codec] by default, so you need to install it separately. | |||
ffmpeg settings: | |||
[http://ubuntuforums.org/showpost.php?p=3989850&postcount=19 Example 1]: | |||
<pre>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</pre> | |||
[http://iaudiophile.net/forums/showpost.php?p=131712&postcount=2 Example 2]: | |||
(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.) | <pre>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</pre> | |||
(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.) | |||
=== Handbrake === | |||
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]. | |||
=== VLC === | |||
You can use VLC to [http://lifehacker.com/397573/master-your-digital-media-with-vlc rip video]. |
Revision as of 16:50, 20 May 2010
I'm starting to deal with Digital Video much more, what with video from my camera, Myth T V, my DVD collection, and my Cowon D2. Here are my notes on codecs, conversions, and the like.
Cowon D2
The D2 plays the following video format:
AVI - [[Xvi D]] - 320x240 - 30 fps - VBR 50 MP3 - 128 kbps
Windows Media Player does not have the XviD codec by default, so you need to install it separately.
ffmpeg settings:
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
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
(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.)
Handbrake
I use a Handbrake script to rip movies directly to Cowon format. I'm considering playing with other parameters.
VLC
You can use VLC to rip video.