NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 160 161 162 163 164 … 1231 Next »
Neat XviD Trick For config.xml

 
  • 0 Vote(s) - 0 Average
Neat XviD Trick For config.xml
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#1
2009-03-08, 11:53 AM (This post was last modified: 2009-03-21, 09:09 PM by BTJustice.)
I came across a neat XviD trick. Instead of setting the quality as a set number such as -qscale 5 it appears you can get better quality by not using -qscale at all. Also file size stays relatively the same.

For example, the default XviD configuration in GBPVR's config.xml is...

Code:
[b]<Conversion name="XviD" cmd="-y -i {SOURCE_FILE} -f avi -ab 224k -ac 2 -acodec mp3 -deinterlace -vcodec xvid -qscale 5 -vtag XVID {DEST_FILE}" targetExtension=".avi" />[/b]

For recorded TV, the following settings yield great looking video. A few things to note...

  1. Instead of using -qscale, I am using -qmin and -qmax which gives the video a variable rate of -q instead of a set value throughout.
  2. The bit rate for the .MP3 audio can be lowered without any noticeable difference other than smaller file sizes. I am using 128 audio bitrate with 44,100 audio sampling rate instead of 224/48,000.
  3. -threads auto is added so multi-core CPUs can encode faster.

So here is the code I am using now for XviD in config.xml...

Code:
[b]<Conversion name="XviD" cmd="-y -i {SOURCE_FILE} -ab 128k -ac 2 -acodec mp3 -ar 44100 -deinterlace -f avi -qmin 3 -qmax 5 -vcodec xvid -vtag XVID {DEST_FILE}" targetExtension=".avi" />[/b]

A recent 1 hour recording changed from a 2.38 GB .MPG file to a 544 MB XviD .AVI file.

If you don't want to lose the default XviD settings in config.xml, use this code instead...

Code:
[b]<Conversion name="New XviD" cmd="-y -i {SOURCE_FILE} -ab 128k -ac 2 -acodec mp3 -ar 44100 -deinterlace -f avi -qmin 3 -qmax 5 -vcodec xvid -vtag XVID {DEST_FILE}" targetExtension=".avi" />[/b]

Be sure to open the CONFIG program for GBPVR and change the PROCESSING tab type to New XviD.

Give it a try!!!

If you want to do 2-pass XviD encoding with FFmpeg for better quality, check this post out...

http://forums.nextpvr.com/showthread.php?p=327755
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't view channels in config donschjr 8 2,769 2010-08-13, 12:50 AM
Last Post: donschjr
  Easy way to toggle Client/Server without using Config? Dan the man 2 2,073 2010-08-02, 11:53 AM
Last Post: Reddwarf
  Strange database problem -- pvrx2 not seeing updates, EWA and Config.exe are. 86atc250r 5 2,399 2010-07-26, 10:09 AM
Last Post: martint123
  Problem with Config Vasbert 1 1,433 2010-06-23, 06:20 PM
Last Post: sub
  HVR 1600 There is sound but no picture ? config problem? frank532 7 2,971 2010-06-11, 06:59 PM
Last Post: ShiningDragon
  Config crashing. JP23 6 2,430 2010-05-30, 04:07 PM
Last Post: sub
  Config doesn't seem to be updating... Miller 1 1,633 2010-05-28, 12:50 AM
Last Post: JonnyCam
  hvr900h - works in config, not in pvrx2 carrots 1 1,409 2010-05-21, 01:42 PM
Last Post: sub
  cannot map the digital channel in config avengine 0 1,103 2010-05-01, 11:57 PM
Last Post: avengine
  Exception starting config.exe Whoopsadaisy 1 1,558 2010-03-31, 08:35 PM
Last Post: Cybernik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode