[mythtv-commits] Ticket #3809: Nuvexport - Supporting ffmpeg codec name changes
MythTV
mythtv at cvs.mythtv.org
Tue Nov 6 19:18:07 UTC 2007
#3809: Nuvexport - Supporting ffmpeg codec name changes
--------------------------------+-------------------------------------------
Reporter: skd5aner at gmail.com | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: perl / nuvexport | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
--------------------------------+-------------------------------------------
Comment(by anonymous):
One more comment:
Newer ffmpeg versions refer to h264 as libx264. To use libx264 with
nuvexport requires another few modifications to [build
directory]/export/ffmpeg/MP4.pm:
======== Modification #1 =========
====change ...=====
{{{
elsif ($codec =~ /^h/) {
$self->{'mp4_codec'} = 'h264';
last;
}
}}}
====== to... =======
{{{
elsif ($codec =~ /^h/) {
$self->{'mp4_codec'} = 'libx264';
last;
}
}}}
======= End modification #1 ==========
======= Modification # 2==============
======= Change .... ==========
# Options required for the codecs separately
if ($self->{'mp4_codec'} eq 'h264') {
$ffmpeg_xtra .= ' -level 30'
======== To.... =========
# Options required for the codecs separately
if ($self->{'mp4_codec'} eq 'libx264') {
$ffmpeg_xtra .= ' -level 30'
======= End modification #2 =========
... I left all of the other references to 'h264' in MP4.pm the same.
My MP4.pm is attached.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3809#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list