Opened 14 years ago

Closed 14 years ago

#24225 closed defect (worksforme)

mplayer-devel @27901_3 fails to build with x264 @20100224_0

Reported by: narrenschip1@… Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: mf2k (Frank Schima), ben-macports@…, joergahrens (Jörg Ahrens), kurtjaeke@…, grenander@…, othiman@…, todmorrison (Tod Morrison), macports@…, chicagozer@…
Port: mplayer-devel

Description

b_bframe_pyramid has been renamed to i_bframe_pyramid in the latest x264.
Files affected: libavcodec/libx264.c & libmpcodecs/ve_x264.c

Compilation fix for 'libavcodec/libx264.c':

diff libavcodec/libx264.c libavcodec/libx264_old.c 
190,191c190
<     x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
---
> //    x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
>     x4->params.i_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;

Compilation fix for 'libmpcodecs/ve_x264.c':

diff libmpcodecs/ve_x264.c libmpcodecs/ve_x264_old.c 
210,211c210
<     if (param.i_bframe > 1 && param.b_bframe_pyramid)
---
> //    if (param.i_bframe > 1 && param.b_bframe_pyramid)
>     if (param.i_bframe > 1 && param.i_bframe_pyramid)

This forces mplayer-devel to compile, but there are errors when trying to transcode video material to h264 using mencoder ('bus error').

Attachments (1)

mplayer-devel-log.gz (49.1 KB) - added by ben-macports@… 14 years ago.
sudo port -d -n upgrade --force mplayer-devel

Download all attachments as: .zip

Change History (15)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to acho@…
Port: mplayer-devel added

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:3 Changed 14 years ago by mf2k (Frank Schima)

Cc: ben-macports@… added

Cc reporter of duplicate #24229.

Changed 14 years ago by ben-macports@…

Attachment: mplayer-devel-log.gz added

sudo port -d -n upgrade --force mplayer-devel

comment:4 Changed 14 years ago by joergahrens (Jörg Ahrens)

Cc: joerg@… added

Cc Me!

comment:5 Changed 14 years ago by kurtjaeke@…

As a temporary workaround, compiling without the mencoder_extras variant works.

comment:6 Changed 14 years ago by kurtjaeke@…

Cc: kurtjaeke@… added

Cc Me!

comment:7 Changed 14 years ago by grenander@…

Cc: grenander@… added

Cc Me!

comment:8 Changed 14 years ago by othiman@…

Cc: othiman@… added

Cc Me!

comment:9 Changed 14 years ago by todmorrison (Tod Morrison)

Cc: todmorrison@… added

Cc Me!

comment:10 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:11 Changed 14 years ago by macports@…

This also seems to be a problem for ffmpeg-devel (and i would suspect ffmpeg as well although i haven't checked)

comment:12 Changed 14 years ago by chicagozer@…

Cc me!

comment:13 Changed 14 years ago by chicagozer@…

Cc: chicagozer@… added

Cc Me!

comment:14 Changed 14 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed

Works for me with ffmpeg @0.6_2, x264 @20100603_0 and mplayer-devel @31034.

Note: See TracTickets for help on using tickets.