[mythtv-commits] Ticket #2773: nuvexport doesn't specify dvd bitrate properly for ffmpeg
MythTV
mythtv at cvs.mythtv.org
Sun Dec 3 22:37:20 UTC 2006
#2773: nuvexport doesn't specify dvd bitrate properly for ffmpeg
--------------------------------+-------------------------------------------
Reporter: maxb at twinlanes.com | Owner: xris
Type: patch | Status: new
Priority: major | Milestone: unknown
Component: perl / nuvexport | Version: 0.20
Severity: medium |
--------------------------------+-------------------------------------------
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
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2773>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list