Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#2334 closed defect (fixed)

build fails since 2017-10-21

Reported by: dodona Owned by: beastd
Priority: high Component: build system
Version: unspecified Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description (last modified by beastd)

Summary of the bug:
How to reproduce:
make

Attachments (1)

mplayer-bug (1.8 KB) - added by dodona 12 months ago.
make message

Download all attachments as: .zip

Change History (14)

Changed 12 months ago by dodona

make message

comment:1 Changed 12 months ago by beastd

  • Status changed from new to open

Yes, the build is broken with newest FFmpeg.

It's because lot's of stuff that was deprecated for quite some time, got disabled in FFmpeg master yesterday.

I am working on it since yesterday and I already have MPlayer compiling again, but it will probably take some more time to get it right.

comment:2 Changed 12 months ago by beastd

  • Description modified (diff)
  • Summary changed from build failes since 21.10.2017 to build fails since 2017-10-21

comment:3 Changed 12 months ago by beastd

For the record and for people that want to build against that version for now:

Last compatible version is at FFmpeg commit 4c0a8ff061 .

comment:4 follow-up: Changed 12 months ago by beastd

The build is fixed in r37998 now.

There are some caveats; mostly for mencoder. Also I am not sure it works for everyone. Thus I will leave this ticket open a bit longer.

Please report back if it works for you.

comment:5 in reply to: ↑ 4 Changed 12 months ago by dodona

Replying to beastd:

The build is fixed in r37998 now.

There are some caveats; mostly for mencoder. Also I am not sure it works for everyone. Thus I will leave this ticket open a bit longer.

Please report back if it works for you.

mplayer works fine, however, as you already mentioned, mencoder doesn't work 100, at least at the first glance. Therefor its OK to leave this ticket open a bit longer.

comment:6 follow-up: Changed 12 months ago by dodona

mencoder definitely doesn't work at all. Should I create a new ticket?

comment:7 in reply to: ↑ 6 Changed 12 months ago by beastd

Replying to dodona:

mencoder definitely doesn't work at all. Should I create a new ticket?

Creating a new ticket is not yet necessary.

Could you please elaborate a little about what's not working? E.g. paste a command line and corresponding output.

I had mencoder running with the major limitation of not being able to use any FFmpeg video or audio encoders. But apart from that mencoder seemed to behave the same as before.

comment:8 follow-up: Changed 12 months ago by dodona

I run mencoder from a 3 years working perfectly script using fixed parameters:
mencoder in.mp4 -oac mp3lame -ovc lavc -lavcopts\
vcodec=mpeg4:vbitrate=10000:mbd=2:v4mv:autoaspect -ffourcc divx -lameopts vbr=3 -o out.avi

the new mencoder doesn't know -lavcopts ('is not an MEncoder option'). Furthermore it doesn't like -ovc lavc, which I replaced by -ovc copy in a simplified command:

mencoder in.mp4 -oac mp3lame -ovc copy -ffourcc divx -lameopts vbr=3 -o out.avi

no error message. Running the resulting out.avi with the new mplayer results in an infinite loop with the (looping) message:

A: 10.6 V: 10.6 A-V: 0.000 ct: -0.267 320/320 0% 0% 0.2% 0 0
[mpeg4 @ 0x556117a38620]header damaged
Error while decoding frame!

comment:9 in reply to: ↑ 8 Changed 12 months ago by beastd

Replying to dodona:
[...]

the new mencoder doesn't know -lavcopts ('is not an MEncoder option'). Furthermore it doesn't like -ovc lavc,

That's like I mentioned expected for now. I hope we can fix that soon.

which I replaced by -ovc copy in a simplified command:

mencoder in.mp4 -oac mp3lame -ovc copy -ffourcc divx -lameopts vbr=3 -o out.avi

no error message. Running the resulting out.avi with the new mplayer results in an infinite loop with the (looping) message:

A: 10.6 V: 10.6 A-V: 0.000 ct: -0.267 320/320 0% 0% 0.2% 0 0
[mpeg4 @ 0x556117a38620]header damaged
Error while decoding frame!

Does it also happen if you encode with:

mencoder in.mp4 -oac mp3lame -ovc copy -lameopts vbr=3 -o out.avi

comment:10 follow-up: Changed 12 months ago by beastd

Can you rebuild with current SVN and check your mencoder command line again.

Starting with SVN r38001 you should be able to use lavc encoders with mencoder again.

Only thing left disabled is the video filter mcdeint.

comment:11 in reply to: ↑ 10 Changed 12 months ago by dodona

Replying to beastd:

Can you rebuild with current SVN and check your mencoder command line again.

Starting with SVN r38001 you should be able to use lavc encoders with mencoder again.

Only thing left disabled is the video filter mcdeint.

first of all: thanks a lot!
A svn co gave me a MPlayer SVN-r37946-7 (C) 2000-2017 MPlayer Team and not a r38001. Nevertheless lavc encoders are working.

comment:12 Changed 12 months ago by dodona

  • Resolution set to fixed
  • Status changed from open to closed

just closing...

comment:13 Changed 12 months ago by beastd

Thank you for testing again.

The quoted version seems strange though.

Does svn info show the lines below or something else?

Last Changed Rev: 38001
Last Changed Date: 2017-10-31 23:33:45 +0100 (Tue, 31 Oct 2017)
Note: See TracTickets for help on using tickets.