You are not logged in.

#1 2007-04-17 08:52:33

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] dvdrip creates too small files

hi,

The output .avi files have not the selected bitrate / size.

The Setteings in dvdrip are:

Bitrate: 3422
BPP: 0.581
Target-Size: 1100MB

the dvdrip.info file contains the right informations:

[Video]
Video format:          PAL
FPS:                   25.000
Size:                  640 x 368
Video bitrate (kbps):  3422
Video codec:           xvid4
2-pass-encoded:        yes
Fast resizing:         no
Deinterlacer filter:   
Antialiasing filter:   no Antialiasing

but the file is only ~740MB with 2230 kbps. hmm

Last edited by SiD (2007-04-18 16:50:56)

Offline

#2 2007-04-17 09:13:23

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: [solved] dvdrip creates too small files

I can't provide you usefull information regarding your problem, but I recently tried handbrake which is IMO better than dvdrip. Might be worth a look.


Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2007-04-17 10:32:17

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] dvdrip creates too small files

I'd like to use dvdrip...

but for a try,
just installed handbrake and it seems to be a commandline tool, although the screenshots on handbrake web page show a GUI.
hmm

Last edited by SiD (2007-04-17 10:32:33)

Offline

#4 2007-04-17 14:11:17

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: [solved] dvdrip creates too small files

Handbrake has been ported from BeOS to OSX and is now beeing ported to linux. The GUI hasn't been ported yet but the cli version is awesome!


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2007-04-17 14:47:10

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] dvdrip creates too small files

Ah, ok.

Is there any option to keep aspect ratio?

handbrake --help shows no such Option.

Keeps handbrake the aspect ratio by default?

I mean, when I use the --width option will handbrake keep the aspect ratio and calculate the correct height?

EDIT:
I found the answer in the HandBrake forums:
http://handbrake.m0k.org/forum/viewtopi … 369b7ec4f4

You get it by default in the CLI. Only turns off if you specify both width and height.

EDIT:
handbrake stops with ''Segmentation fault''. I opened another thread for it.
http://bbs.archlinux.org/viewtopic.php?id=32061

Problem is solved.
I like HandBrake. It's fast with, IMHO, good quality.
Thanks for the tip! smile 

EDIT:
No ideas about the dvdrip problem?

I removed dvdrip and all the configs, reinstalled it, reinstalled transcode and xvidcore; but the target files still doesn't match the selected target size.

A week ago it has worked.
So maybe I'll restore my last System Backup (from April, 12) and report the results here.

EDIT:
Seems to be related to the settings / config of the used video codec and the input file(s).
I have 2 movies on the DVD. The first one is encoded with correct target size (1100MB).
I tried it with dvdrip/transcode and also with HandBrake using xvid and ffmpeg/lavc.
The second is not encoded with selected target size. Using Handbrake with lavc as encoder, I noticed this message from lavc after the first pass:

Using all of requested bitrate is not necessary for this video with these parameters

I found this in the ffmpeg-devel list

Another thing: I just now changed the phrase:
"Using all of requested bitrate is not possible"
...to...
"Using all of requested bitrate is not necessary"

The former implies lavc is deficient in not doing what the user wants,
which isn't the case.

With B-frames, the PSNR is about the same, but note that the bitrate is
much lower. lavc printed a notice about that: "Using all of requested
bitrate is not necessary for this video with these parameters." The
reason, here, is that lavc uses higher quantizers to encode B-frames,
and, hence, a lower bitrate. With this clip, 7000 kbits/sec is so high
that lavc can't reallocate the saved bitrate by lowering the quantizers
of enough non B-frames--once all the I- and P-frames have a quantizer of
2, the minimum allowed, the rest of the bitrate cannot be used.

So I guess it's not a problem of dvdrip, but depends on the settings of lavc.
Since the file xvid creates is smaller than target size too, I guess it's a similar thing, but don't know...
I use the default settings, since I don't know anything about these PSNR, B, I and P frames. yikes

However, I'll set the topic to solved; cause it's not a problem of dvdrip.

Last edited by SiD (2007-04-18 16:50:19)

Offline

Board footer

Powered by FluxBB