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 … 480 481 482 483 484 … 1231 Next »
Transcoding to xvid creating huge files

 
  • 0 Vote(s) - 0 Average
Transcoding to xvid creating huge files
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#1
2007-09-05, 11:22 AM
So for a while I was using the nightly encoding feature to create xvid files using the stock ffmpeg settings. These were taking my 1.9 GB MPEG files and creating avis that were about 600 MBs or so. This was great, but the problem was the fixed bit rate was causing issues when lots of action would happen.

After reading some other posts, I decided to try using -qscale instead of -b. With a -qscale setting of 6, I get great quality, but the file sizes are still too big, anywhere from 800 MBs to 1.1 GBs.

In one case, it generated a 3.1 GB file from a 1.9 GB MPEG!

I tried using -sameq instead of -qscale, but that created a file that was at least as big as the source.

So clearly, something is wrong. Can someone take a look at this setting and tell me if I'm doing something wrong? How can I get smaller file sizes?

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

Also, I'm viewing all of this on an SDTV, so I don't know if I need to specifically tell ffmpeg to use a 4:3 aspect ratio or not.

Thanks!
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2007-09-05, 07:08 PM
Try a smaller qscale value. A qscale setting of 6 could give particularly large files.
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#3
2007-09-05, 08:12 PM
sub Wrote:Try a smaller qscale value. A qscale setting of 6 could give particularly large files.

Really? I thought the lower the qscale value, the higher the quality. So a value of 1 is the best quality with largest file size, and 30 is worst quality with lowest file size?

What's a good value to use? Or should I just experiment?

Thanks!
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#4
2007-09-05, 08:17 PM
It seems JMontana is right. From the ffmpeg documentation:

Quote:
To have a constant quality (but a variable bitrate), use the option '-qscale n' when 'n' is between 1 (excellent quality) and 31 (worst quality).

http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#5
2007-09-05, 08:28 PM
Sorry, a higher value then Big Grin
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#6
2007-09-05, 09:06 PM
sub Wrote:Sorry, a higher value then Big Grin

Smile Okay. thanks. Sounds like I should just keep upping the value until I get something that works. Just wanted to make sure I wasn't missing some other parameter.

BTW, is there an answer to my question about aspect ratio?
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#7
2007-09-05, 09:09 PM
Quote:Sounds like I should just keep upping the value until I get something that works.
Correct.

Quote:BTW, is there an answer to my question about aspect ratio?
If you dont specify any special command line parameters to adjust the aspect ratio, then it'll use the source aspect ratio.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge database (+27GB) - is it a problem? pme 7 3,203 2011-01-24, 12:37 AM
Last Post: gEd
  0 sized files pjm460 4 2,149 2010-12-17, 05:15 PM
Last Post: sub
  Zero-size recording files rawlings471 1 1,729 2010-12-05, 04:12 PM
Last Post: sub
  original files not deleting David B 2 1,824 2010-11-28, 07:22 PM
Last Post: David B
  Automatic Transcoding Not Working taz 3 2,342 2010-11-22, 09:01 AM
Last Post: goelectric
  Attempts to play .dvd files in Video Library results in PVRX2 not responding Jwbrit 2 2,137 2010-11-04, 11:37 PM
Last Post: Jwbrit
  Missing Crossbar Files? David B 8 3,255 2010-11-02, 01:12 AM
Last Post: David B
  Channels with identical names-manually creating a channel? keith_leitch 4 2,121 2010-09-25, 08:21 PM
Last Post: martint123
  FLV files as recordings keith_leitch 10 4,065 2010-09-22, 09:12 PM
Last Post: keith_leitch
  Unable to process .ts files for recording on DVD Trevor_de_S 1 1,605 2010-08-18, 10:50 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode