[MPlayer-users] mpeg2 video failing to decode on current head(s)

Andy Furniss adf.lists at gmail.com
Tue Jul 29 12:07:19 CEST 2014


Reimar Döffinger wrote:
> On 29.07.2014, at 01:49, Andy Furniss <adf.lists at gmail.com> wrote:
>> Just updated mplayer + its ffmpeg and am getting errors below.
>>
>> It draws a couple/few frames then stops.
>>
>> Not that long since I last updated, but going back with mplayer fails to
>> build with current ffmpeg, and it's 1 am so I gave up :-)
>
> Potentially more productive to go back with FFmpeg revisions, alternatively make sure to leav configure at HEAD and only use older versions for the rest of the MPlayer files.
> Building FFmpeg separately and using external FFmpeg should also make this easier.
>
>> FWIW ffplay with ffmpeg in the same place is working OK.
>
> It doesn't use the get_buffer feature.
> In fact, very few programs do. So chances are good, it broke in FFmpeg, again.
> *sigh*
> Will gave to check later when I have a bit of time.
> A workaround is to change the do_dr1 = 1 in vd_ffmpeg to = 0, or compile against libmpeg2 and decode with that.

Already having libmpeg2 I tried -vc mpeg12 but it seems that has 
suffered a different and possibly much older regression.

Depending on sample it either renders distorted or crashes - it does 
this on "goods". I didn't persue that.

I bisected ffmpeg - one skip for a build fail though, here's the log

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
eba2233b58c2c4b468c58287d6537b2f1188a8cd
1df2f7b6a88ed871231a3a78319e997523d837a5
We cannot bisect more!
ph4[ffmpeg]$ git bisect log
git bisect start
# bad: [bbc5adfb9428e1cbfcc323db700578059f8fa253] avutil/opt: Fix 
parsing regression with constants starting with numbers
git bisect bad bbc5adfb9428e1cbfcc323db700578059f8fa253
# good: [d5ba19e611b0b25ec249f7db2b99594519db99da] avcodec/a64multienc 
use av_freep()
git bisect good d5ba19e611b0b25ec249f7db2b99594519db99da
# good: [5b998dae597a7d40a712f0d1add3cc06a2c72b12] Merge commit 
'a9f3f5fadb57bae3f3ff0be69e56b2c6014f2513'
git bisect good 5b998dae597a7d40a712f0d1add3cc06a2c72b12
# good: [627c044f50da3046809314f7cc742b8a10cf26a1] hevc/rext: fixing 
rdpcm and scaling list for Range Extension
git bisect good 627c044f50da3046809314f7cc742b8a10cf26a1
# good: [539e72727f12f7d251cd887d4f08c8eabb8746f8] avutil/opt: simplify 
set_string_number()
git bisect good 539e72727f12f7d251cd887d4f08c8eabb8746f8
# bad: [1df2f7b6a88ed871231a3a78319e997523d837a5] Merge commit 
'eba2233b58c2c4b468c58287d6537b2f1188a8cd'
git bisect bad 1df2f7b6a88ed871231a3a78319e997523d837a5
# good: [bc15b5238f9984458b5cceb99670e9db53fc74f1] Merge remote-tracking 
branch 'cehoyos/master'
git bisect good bc15b5238f9984458b5cceb99670e9db53fc74f1
# skip: [eba2233b58c2c4b468c58287d6537b2f1188a8cd] build: Add define for 
SIMD extensions requiring 16-byte aligned buffers
git bisect skip eba2233b58c2c4b468c58287d6537b2f1188a8cd
# good: [016cca45047483f508c05aa10d9448f6fcb6de0a] Merge commit 
'7bdd2ff6825951f7a6a6008303acfce7c2a63532'
git bisect good 016cca45047483f508c05aa10d9448f6fcb6de0a
# good: [013172ae9f1ab35b70732dcab6385743c5fed876] Merge commit 
'67bc1ba5d75953d136bfa02ce6c0a27e9fd9dac3'
git bisect good 013172ae9f1ab35b70732dcab6385743c5fed876

FWIW the build fail was

cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99 -Werror-implicit-function-declaration 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. 
-Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math 
-fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4  -fpie -DPIC 
-D_REENTRANT -I/usr/X11R6/include    -I/usr/include/freetype2 
-I/usr/include/bs2b     -c -o fmt-conversion.o fmt-conversion.c
fmt-conversion.c:137:31: error: 'AV_PIX_FMT_XVMC' undeclared here (not 
in a function)
      { IMGFMT_XVMC_IDCT_MPEG2, AV_PIX_FMT_XVMC },
                                ^
Makefile:759: recipe for target 'fmt-conversion.o' failed
make: *** [fmt-conversion.o] Error 1



More information about the MPlayer-users mailing list