Hi
After I have recording some TV program I have now them in .TS but I dont know what to do to make it good quality as possible to AVI (Xvid)
I have use mencoder and it work nice but I dont know if that is the best idea and give me the best quality.
That I do is I convert .TS to Xvid and then open avidemux to remove all commercial and save the file (use copy movie and sound)
The problem is that I dont know how big biterate I going to use to convert from .TS to Xvid if I dont know how long the movie going to be.
I have try open the .TS with the avidemux but I get out of sync with the sound when I save it in Xvid.
I was thinking about save the Xvid as good quality as possible to Xvid and then open the file with avidemux, remove the commercial and then save as Xvid in that size I want to have but have then two problem
1)
If that good to resave the movie in Xvid again??
2)
I have this code now (if the movie is in widescreen)
What do I have to change to make it say as best quality as possible?Code:mencoder moviein.ts -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:aspect=16/9:vbitrate=1267 -vf pp=de,crop=0:0:0:0,scale=704:400 -ffourcc DX50 -o movieout.avi
+ Reply to Thread
Results 1 to 10 of 10
-
-
software: AviSynth + VirtualDub + Xvid.
Forget bitrate, use single pass Target Quantizer mode in Xvid. Pick the quality you want by setting the quantizer. The file will come out to whatever size (vaiable bitrate) is needed to achieve that quality. -
Originally Posted by jagabo
I found in ffmpeg that is something that call -sameq.
It make the file have same quality as the original but I have now problem to get ffmpeg to work
Code:ffmpeg -i moviein.ts -vcodec libxvid -aspect 16:9 -acodec libmp3lame -ab 128k -sameq movieout.avi
Could not write header for output file #0 (incorrect codec parameters ? -
I just change the my old code a little
Code:mencoder moviein.ts -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:aspect=16/9::vqscale=2 -vf pp=de,crop=0:0:0:0,scale=704:400 -ffourcc DX50 -o movieout.avi
-
I don't use mencoder but vqscale appears to be the constant quantizer setting in mencoder. I suspect 2 will make your files pretty big. 3 might be a better compromise on size vs quality. You can use values in between too.
You may also want to use vrc_maxrate to prevent bitrate spikes that can choke set-top Divx/DVD players. -
Originally Posted by jagabo
I have to see what I going to do but right now I have something to start with
Similar Threads
-
[VirtualDub] Convert MP4 to AVI with the same quality ?!
By SB4 in forum EditingReplies: 2Last Post: 16th Nov 2010, 11:47 -
MKV to AVI - can you convert without losing quality?
By OM2 in forum Newbie / General discussionsReplies: 4Last Post: 12th Nov 2010, 07:52 -
How do I convert from MP4 to AVI without any quality lost?
By riahc3 in forum Video ConversionReplies: 19Last Post: 28th Feb 2009, 17:25 -
convert mkv to avi with the same quality. How ?
By SB4 in forum Video ConversionReplies: 10Last Post: 30th Jan 2009, 06:26 -
Best Quality Method to Convert DVD to AVI
By abazabam in forum DVD RippingReplies: 42Last Post: 20th Dec 2008, 13:39