Opened 17 years ago

Closed 17 years ago

#2773 closed patch (fixed)

nuvexport doesn't specify dvd bitrate properly for ffmpeg

Reported by: maxb@… Owned by: xris
Priority: major Milestone: unknown
Component: perl / nuvexport Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

While trying to make some DVD compatible .mpg files with nuvexport, I found that the answer to the VBR question made no difference in the .mpg file size or quality. No matter what I entered I got a very small low quality .mpg file. After poking around for quite a while, it seems like current versions of ffmpeg do not default to kbits (if they ever did) so that the -b 6000 option to ffmpeg silently barfs at setting the bitrate to only 6k and goes with the default bitrate of 200k.

I looked in the exports/ffmpeg/DVD.pm file and changed the line

$self->{'ffmpeg_xtra'} = ' -b ' . $self->{'v_bitrate'}

to

$self->{'ffmpeg_xtra'} = ' -b ' . $self->{'v_bitrate'} . 'k'

This makes the ffmpeg option -b 6000k and ffmpeg makes a high quality file. There may be other instances of this problem in the other ffmpeg export modules.

Max Behensky

Change History (1)

comment:1 Changed 17 years ago by xris

Resolution: fixed
Status: newclosed

(In [12184]) fix for ffmpeg's change in how to specify bitrate. closes #2773. Will push changes into 0.4 soon

Note: See TracTickets for help on using tickets.