View Single Post
Old 12-10-2009, 07:43 PM  
FightThisPatent
Confirmed User
 
Join Date: Aug 2003
Location: Austin, TX
Posts: 4,090
need some mencoder/ffmpeg help

I am trying to get the right quality settings to do the following:

rip dvd chapters to file (using mencoder) in mpeg quality (so that its already in the form to turn back into dvd.

then, to encode into flash streaming file.

i have a bash script to loop through the chapters:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
-vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=98 00:vbitrate=5000:\
keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect =4/3 -ofps 30000/1001 \
-o $1/$2/$i/$1_$2_$i.mpg dvd://$i


and then i do:

#convert to flv
ffmpeg -i $1/$2/$i/$1_$2_$i.mpg -deinterlace -s 640x480 -ar 22050 -r 25 -qmin 3 -qmax 6 -f flv - | flvtool2 -U stdin $1/$2/$i/$1_$2_$i.flv




the problem with the .FLV file is that with some movement, i am seeing pixelation. i tried setting qmin and qmax to 2.. it make a huge file, but there were still alot of pixelation.

the mpeg file didn't have pixelation.

i am guessing that maybe the mpeg file that i have created is the problem.

there are also a lot of different ways to tweak the flv encoding.

i have 2 ways to tweak, encode from DVD to the mpeg format for the later use of easily going back to DVD video, but then encode to another format that would be a better source material (ie. AVI file) for the FLV conversions.

seeing if anyone could help me with some parameters that would get high quality output.


Fight the googled out!
__________________

http://www.t3report.com
(where's the traffic?) v5.0 is out! |
http://www.FightThePatent.com
| ICQ 52741957
FightThisPatent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote